Home
last modified time | relevance | path

Searched refs:IntegerType (Results 1 – 12 of 12) sorted by relevance

/frameworks/libs/binary_translation/guest_abi/arm/include/berberis/guest_abi/
Dguest_abi_arch.h36 template <typename IntegerType, CallingConventionsVariant kCallingConventionsVarіant>
38 IntegerType,
40 std::enable_if_t<std::is_integral_v<IntegerType> && std::is_signed_v<IntegerType> &&
41 sizeof(IntegerType) < 4>> {
43 constexpr static unsigned kSize = sizeof(IntegerType);
46 constexpr static unsigned kAlignment = sizeof(IntegerType);
51 template <typename IntegerType, CallingConventionsVariant kCallingConventionsVarіant>
53 IntegerType,
55 std::enable_if_t<std::is_integral_v<IntegerType> && !std::is_signed_v<IntegerType> &&
56 sizeof(IntegerType) < 4>> {
[all …]
/frameworks/libs/binary_translation/interpreter/riscv64/
Dregs.h28 template <typename IntegerType>
30 -> std::enable_if_t<std::is_integral_v<IntegerType> && sizeof(IntegerType) <= sizeof(uint64_t),
31 IntegerType> {
32 return static_cast<IntegerType>(arg);
35 template <typename IntegerType>
36 inline auto IntegerToGPRReg(IntegerType arg)
37 -> std::enable_if_t<std::is_integral_v<IntegerType> && sizeof(IntegerType) <= sizeof(uint64_t),
39 if constexpr (sizeof(IntegerType) <= sizeof(uint32_t)) {
/frameworks/libs/binary_translation/guest_abi/riscv64/include/berberis/guest_abi/
Dguest_abi_arch.h40 template <typename IntegerType, CallingConventionsVariant kCallingConventionsVariant>
41 class alignas(sizeof(uint64_t)) GuestArgument<IntegerType,
43 std::enable_if_t<std::is_integral_v<IntegerType>>> {
45 using Type = IntegerType;
46 GuestArgument(const IntegerType& value) : value_(Box(value)) {} in GuestArgument()
47 GuestArgument(IntegerType&& value) : value_(Box(value)) {} in GuestArgument()
54 operator IntegerType() const { return Unbox(value_); } in IntegerType() function
77 static constexpr uint64_t Box(IntegerType value) { in Box()
78 if constexpr (sizeof(IntegerType) == sizeof(uint64_t)) { in Box()
80 } else if constexpr (std::is_signed_v<IntegerType>) { in Box()
[all …]
/frameworks/libs/binary_translation/guest_abi/arm64/include/berberis/guest_abi/
Dguest_abi_arch.h38 template <typename IntegerType>
39 struct GuestArgumentInfo<IntegerType, std::enable_if_t<std::is_integral_v<IntegerType>>> {
41 constexpr static unsigned kSize = sizeof(IntegerType);
44 constexpr static unsigned kAlignment = sizeof(IntegerType);
45 using GuestType = GuestType<IntegerType>;
46 using HostType = IntegerType;
/frameworks/libs/binary_translation/guest_abi/include/berberis/guest_abi/
Dguest_type.h63 template <typename IntegerType>
65 sizeof(IntegerType)) GuestType<IntegerType, std::enable_if_t<std::is_integral_v<IntegerType>>> {
67 using Type = IntegerType;
68 constexpr GuestType(const IntegerType& value) : value_(value) {} in GuestType()
69 constexpr GuestType(IntegerType&& value) : value_(value) {} in GuestType()
76 constexpr operator IntegerType() const { return value_; } in IntegerType() function
78 typename = std::enable_if_t<!std::is_same_v<IntegerType, AnotherIntegerType> &&
84 typename = std::enable_if_t<!std::is_same_v<IntegerType, AnotherIntegerType> &&
109 IntegerType value_ = 0;
/frameworks/compile/libbcc/lib/
DRSScriptGroupFusion.cpp154 llvm::Type* I32Ty = llvm::IntegerType::get(Context.getLLVMContext(), 32); in getFusedFuncType()
DRSKernelExpand.cpp534 llvm::IntegerType *I32Ty = llvm::Type::getInt32Ty(*Context); in GEPHelper()
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitcodeReader.cpp975 ResultTy = IntegerType::get(Context, Record[0]); in ParseTypeTableBody()
1202 ResultTy = IntegerType::get(Context, Record[0]); in ParseOldTypeTable()
1683 cast<IntegerType>(CurTy)->getBitWidth()); in ParseConstants()
3100 Type *Int32Ty = IntegerType::getInt32Ty(CurBB->getContext()); in ParseFunctionBody()
/frameworks/compile/slang/BitWriter_3_2/
DBitcodeWriter.cpp267 TypeVals.push_back(cast<IntegerType>(T)->getBitWidth()); in WriteTypeTable()
955 if (isa<IntegerType>(EltTy)) { in WriteConstants()
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
DBitcodeReader.cpp1251 ResultTy = IntegerType::get(Context, Record[0]); in ParseTypeTableBody()
1497 ResultTy = IntegerType::get(Context, Record[0]); in ParseOldTypeTable()
1976 cast<IntegerType>(CurTy)->getBitWidth()); in ParseConstants()
/frameworks/compile/slang/BitWriter_2_9/
DBitcodeWriter.cpp279 TypeVals.push_back(cast<IntegerType>(T)->getBitWidth()); in WriteTypeTable()
/frameworks/compile/slang/BitWriter_2_9_func/
DBitcodeWriter.cpp264 TypeVals.push_back(cast<IntegerType>(T)->getBitWidth()); in WriteTypeTable()