/arkcompiler/runtime_core/static_core/compiler/tests/aarch64/ |
H A D | encoder64_test.h | 80 using UExp = typename std::conditional<(sizeof(U) * BYTE_SIZE) >= WORD_SIZE, U, uint32_t>::type; in CallCode() 81 using TExp = typename std::conditional<(sizeof(T) * BYTE_SIZE) >= WORD_SIZE, T, uint32_t>::type; in CallCode() 124 using UExp = typename std::conditional<(sizeof(U) * BYTE_SIZE) >= WORD_SIZE, U, uint32_t>::type; in CallCode() 125 using TExp = typename std::conditional<(sizeof(T) * BYTE_SIZE) >= WORD_SIZE, T, uint32_t>::type; in CallCode() 167 using TExp = typename std::conditional<(sizeof(T) * BYTE_SIZE) >= WORD_SIZE, T, uint32_t>::type; in CallCode() 205 using TExp = typename std::conditional<(sizeof(T) * BYTE_SIZE) >= WORD_SIZE, T, uint32_t>::type; in CallCode()
|
H A D | encoder64_test_2.cpp | 206 using DstExt = typename std::conditional<(sizeof(Dst) * BYTE_SIZE) >= WORD_SIZE, Dst, uint32_t>::type; in TestCast() 239 using DstExt = typename std::conditional<(sizeof(Dst) * BYTE_SIZE) >= WORD_SIZE, Dst, uint32_t>::type; in TestCast() 1358 EncoderApiTestEncodeMemCopy(BYTE_SIZE, "ldrb w16, [x0]\nstrb w16, [x1]"); in TEST_F()
|
/arkcompiler/runtime_core/static_core/compiler/tests/amd64/ |
H A D | encoder64_test.h | 72 using TExp = typename std::conditional<(sizeof(T) * BYTE_SIZE) >= WORD_SIZE, T, uint32_t>::type; in CallCode() 73 using UExp = typename std::conditional<(sizeof(U) * BYTE_SIZE) >= WORD_SIZE, U, uint32_t>::type; in CallCode() 116 using TExp = typename std::conditional<(sizeof(T) * BYTE_SIZE) >= WORD_SIZE, T, uint32_t>::type; in CallCode() 117 using UExp = typename std::conditional<(sizeof(U) * BYTE_SIZE) >= WORD_SIZE, U, uint32_t>::type; in CallCode() 160 using TExp = typename std::conditional<(sizeof(T) * BYTE_SIZE) >= WORD_SIZE, T, uint32_t>::type; in CallCode() 198 using TExp = typename std::conditional<(sizeof(T) * BYTE_SIZE) >= WORD_SIZE, T, uint32_t>::type; in CallCode()
|
H A D | encoder64_test_2.cpp | 102 using DstExt = typename std::conditional<(sizeof(Dst) * BYTE_SIZE) >= WORD_SIZE, Dst, uint32_t>::type; in TestCast() 136 using DstExt = typename std::conditional<(sizeof(Dst) * BYTE_SIZE) >= WORD_SIZE, Dst, uint32_t>::type; in TestCast()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/ |
H A D | type_info.h | 36 constexpr uint8_t BYTE_SIZE = 8; member 148 return BYTE_SIZE; in GetSize() 289 if (sizeBits == BYTE_SIZE) { in GetScalarTypeBySize()
|
H A D | spill_fill_encoder.cpp | 175 auto storeSize = Codegen::ConvertDataType(sfType, codegen_->GetArch()).GetSize() / BYTE_SIZE; in EncodeImmWithCorrectType()
|
/arkcompiler/runtime_core/platforms/unix/libpandabase/ |
H A D | file.h | 29 #undef BYTE_SIZE macro
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/aarch64/ |
H A D | encode.cpp | 788 ASSERT(src.GetSize() > BYTE_SIZE); in EncodeReverseBytes() 1311 int32_t setBit = (dst.GetSize() == BYTE_SIZE) ? (1UL << (BYTE_SIZE - 1)) : (1UL << (HALF_SIZE - 1)); in EncodeCastFloatWithSmallDst() 1358 case BYTE_SIZE: in EncodeCastSigned() 1389 case BYTE_SIZE: in EncodeCastUnsigned() 2069 if (dst.GetSize() == BYTE_SIZE) { in EncodeLdr() 2078 if (dst.GetSize() == BYTE_SIZE) { in EncodeLdr() 2129 if (dst.GetSize() == BYTE_SIZE) { in EncodeLdrAcquireScalar() 2145 if (dst.GetSize() == BYTE_SIZE) { in EncodeLdrAcquireScalar() 2159 ASSERT(size == WORD_SIZE || size == BYTE_SIZE || siz in CheckAlignment() [all...] |
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/aarch32/ |
H A D | encode.cpp | 108 case BYTE_SIZE: in Convert() 123 case BYTE_SIZE: in Convert() 1221 ASSERT(src.GetSize() > BYTE_SIZE); in EncodeReverseBytes() 1466 case BYTE_SIZE: in EncodeCastScalarToFloat() 1564 case BYTE_SIZE: in EncodeCastFloatToScalarWithSmallDst() 1598 uint32_t setBit = (dst.GetSize() == BYTE_SIZE) ? (1U << static_cast<uint32_t>(BYTE_SIZE - 1)) in EncoderCastExtendFromInt32() 1712 case BYTE_SIZE: in EncodeCastScalarFromSignedScalar() 1749 case BYTE_SIZE: in EncodeCastScalarFromUnsignedScalar() 2116 if ((dst.GetSize() == BYTE_SIZE) in EncodeMod() [all...] |
/arkcompiler/runtime_core/compiler/tests/ |
H A D | encoder_operands.cpp | 124 ASSERT_EQ(BYTE_SIZE, HALF_SIZE / 2); in TEST() 128 ASSERT_EQ(arr[0].GetSize(), BYTE_SIZE); in TEST()
|
/arkcompiler/runtime_core/static_core/runtime/interpreter/ |
H A D | vregister.h | 121 auto v = down_cast<helpers::TypeHelperT<OBJECT_POINTER_SIZE * BYTE_SIZE, true>>(value); in Set() 178 static constexpr int8_t BYTE_SIZE = 8; member in ark::interpreter::VRegisterIface
|
/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/ |
H A D | file.h | 31 #undef BYTE_SIZE macro
|
/arkcompiler/runtime_core/static_core/compiler/tests/ |
H A D | encoder_operands.cpp | 49 ASSERT_EQ(BYTE_SIZE, HALF_SIZE / 2U); in CheckSizes() 53 ASSERT_EQ(arr_[0U].GetSize(), BYTE_SIZE); in CheckSizes()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/amd64/ |
H A D | encode.cpp | 162 case BYTE_SIZE: in ArchReg() 1937 case BYTE_SIZE: in EncodeAnd() 2178 GetMasm()->set(ArchCc(cc), ArchReg(dst, BYTE_SIZE)); in EncodeCompare() 2185 GetMasm()->setp(ArchReg(dst, BYTE_SIZE)); in EncodeCompare() 2188 GetMasm()->set(ArchCc(cc, true), ArchReg(dst, BYTE_SIZE)); in EncodeCompare() 2200 GetMasm()->set(ArchCcTest(cc), ArchReg(dst, BYTE_SIZE)); in EncodeCompareTest() 2205 GetMasm()->lock().or_(asmjit::x86::byte_ptr(ArchReg(addr)), ArchReg(value, ark::compiler::BYTE_SIZE)); in EncodeAtomicByteOr() 2232 GetMasm()->setne(ArchReg(dst, BYTE_SIZE)); in EncodeCmp() 2415 ASSERT(src.GetSize() > BYTE_SIZE); in EncodeReverseBytes() 2425 GetMasm()->rol(ArchReg(dst), BYTE_SIZE); in EncodeReverseBytes() local [all...] |
/arkcompiler/runtime_core/static_core/compiler/tests/aarch32/ |
H A D | encoder32_test.h | 145 (std::is_integral_v<T> && (sizeof(T) * BYTE_SIZE < WORD_SIZE)), uint32_t, T>>
|
H A D | encoder32_test_2.cpp | 164 using DstExt = typename std::conditional<(sizeof(Dst) * BYTE_SIZE) >= WORD_SIZE, Dst, uint32_t>::type; in TestCast() 197 using DstExt = typename std::conditional<(sizeof(Dst) * BYTE_SIZE) >= WORD_SIZE, Dst, uint32_t>::type; in TestCast()
|
/arkcompiler/runtime_core/compiler/tests/amd64/ |
H A D | encoder64_test.cpp | 235 typedef typename std::conditional<(sizeof(U) * BYTE_SIZE) >= WORD_SIZE, U, uint32_t>::type U_exp; in CallCode() 236 typedef typename std::conditional<(sizeof(T) * BYTE_SIZE) >= WORD_SIZE, T, uint32_t>::type T_exp; in CallCode() 279 typedef typename std::conditional<(sizeof(U) * BYTE_SIZE) >= WORD_SIZE, U, uint32_t>::type U_exp; in CallCode() 280 typedef typename std::conditional<(sizeof(T) * BYTE_SIZE) >= WORD_SIZE, T, uint32_t>::type T_exp; in CallCode() 323 typedef typename std::conditional<(sizeof(T) * BYTE_SIZE) >= WORD_SIZE, T, uint32_t>::type T_exp; in CallCode() 361 typedef typename std::conditional<(sizeof(T) * BYTE_SIZE) >= WORD_SIZE, T, uint32_t>::type T_exp; in CallCode() 2473 typedef typename std::conditional<(sizeof(Dst) * BYTE_SIZE) >= WORD_SIZE, Dst, uint32_t>::type DstExt; in TestCast() 2511 typedef typename std::conditional<(sizeof(Dst) * BYTE_SIZE) >= WORD_SIZE, Dst, uint32_t>::type DstExt; in TestCast()
|
/arkcompiler/runtime_core/compiler/tests/aarch64/ |
H A D | encoder64_test.cpp | 237 typedef typename std::conditional<(sizeof(U) * BYTE_SIZE) >= WORD_SIZE, U, uint32_t>::type U_exp; in CallCode() 238 typedef typename std::conditional<(sizeof(T) * BYTE_SIZE) >= WORD_SIZE, T, uint32_t>::type T_exp; in CallCode() 281 typedef typename std::conditional<(sizeof(U) * BYTE_SIZE) >= WORD_SIZE, U, uint32_t>::type U_exp; in CallCode() 282 typedef typename std::conditional<(sizeof(T) * BYTE_SIZE) >= WORD_SIZE, T, uint32_t>::type T_exp; in CallCode() 325 typedef typename std::conditional<(sizeof(T) * BYTE_SIZE) >= WORD_SIZE, T, uint32_t>::type T_exp; in CallCode() 363 typedef typename std::conditional<(sizeof(T) * BYTE_SIZE) >= WORD_SIZE, T, uint32_t>::type T_exp; in CallCode() 2580 typedef typename std::conditional<(sizeof(Dst) * BYTE_SIZE) >= WORD_SIZE, Dst, uint32_t>::type DstExt; in TestCast() 2617 typedef typename std::conditional<(sizeof(Dst) * BYTE_SIZE) >= WORD_SIZE, Dst, uint32_t>::type DstExt; in TestCast() 3674 encoder.EncodeMemCopy(MemRef(Reg(0, INT64_TYPE)), MemRef(Reg(1, INT64_TYPE)), BYTE_SIZE); in TEST_F()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | bytecodes.cpp | 558 auto last = (static_cast<uint16_t>(Bytecodes::LAST_CALLRUNTIME_OPCODE) & OPCODE_MASK) >> BYTE_SIZE; in Bytecodes() 564 last = (static_cast<uint16_t>(Bytecodes::LAST_DEPRECATED_OPCODE) & OPCODE_MASK) >> BYTE_SIZE; in Bytecodes() 570 last = (static_cast<uint16_t>(Bytecodes::LAST_WIDE_OPCODE) & OPCODE_MASK) >> BYTE_SIZE; in Bytecodes() 576 last = (static_cast<uint16_t>(Bytecodes::LAST_THROW_OPCODE) & OPCODE_MASK) >> BYTE_SIZE; in Bytecodes()
|
H A D | bytecodes.h | 278 static constexpr uint32_t BYTE_SIZE = 8; member in panda::ecmascript::kungfu::Bytecodes
|
/arkcompiler/runtime_core/compiler/tests/aarch32/ |
H A D | encoder32_test.cpp | 305 (std::is_integral_v<T> && (sizeof(T) * BYTE_SIZE < WORD_SIZE)), uint32_t, T>> 2447 typedef typename std::conditional<(sizeof(Dst) * BYTE_SIZE) >= WORD_SIZE, Dst, uint32_t>::type DstExt; in TestCast() 2484 typedef typename std::conditional<(sizeof(Dst) * BYTE_SIZE) >= WORD_SIZE, Dst, uint32_t>::type DstExt; in TestCast()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
H A D | graph_checker.cpp | 1487 [[maybe_unused]] size_t fieldSize = GetTypeSize(inst->GetType(), graph->GetArch()) / BYTE_SIZE; in CheckUserOfInt32() 1577 [[maybe_unused]] size_t fieldSize = GetTypeSize(inst->GetType(), graph->GetArch()) / BYTE_SIZE; in CheckUserOfInt32()
|