Home
last modified time | relevance | path

Searched refs:StructType (Results 1 – 25 of 25) sorted by relevance

/frameworks/compile/libbcc/lib/
DRSInvokeHelperPass.cpp48 llvm::StructType* rsAllocationType;
49 llvm::StructType* rsElementType;
50 llvm::StructType* rsSamplerType;
51 llvm::StructType* rsScriptType;
52 llvm::StructType* rsTypeType;
77 rsAllocationType = llvm::StructType::create(rsBaseObj, kAllocationTypeName); in doInitialization()
78 rsElementType = llvm::StructType::create(rsBaseObj, kElementTypeName); in doInitialization()
79 rsSamplerType = llvm::StructType::create(rsBaseObj, kSamplerTypeName); in doInitialization()
80 rsScriptType = llvm::StructType::create(rsBaseObj, kScriptTypeName); in doInitialization()
81 rsTypeType = llvm::StructType::create(rsBaseObj, kTypeTypeName); in doInitialization()
[all …]
DRSUtils.h30 static inline llvm::StringRef getUnsuffixedStructName(const llvm::StructType *T) { in getUnsuffixedStructName()
87 …st llvm::StringRef StructName = getUnsuffixedStructName(llvm::dyn_cast<const llvm::StructType>(T)); in getRsDataTypeForType()
DRSX86TranslateGEPPass.cpp48 if (llvm::dyn_cast<llvm::StructType>(*GTI)) { in GEPIndexesStructType()
75 if (llvm::StructType *STy = llvm::dyn_cast<llvm::StructType>(*GTI)) { in computeGEPOffset()
DRSInvariant.cpp82 if (auto ArgPtrDomainStructType = llvm::dyn_cast<llvm::StructType>(ArgPtrDomainType)) { in runOnFunction()
DRSKernelExpand.cpp281 llvm::StructType *RsLaunchDimensionsTy = in buildTypes()
282 llvm::StructType::create(RsLaunchDimensionsTypes, "RsLaunchDimensions"); in buildTypes()
323 llvm::StructType::create(RsExpandKernelDriverInfoPfxTypes, "RsExpandKernelDriverInfoPfx"); in buildTypes()
DCompiler.cpp79 llvm::StructType *const exportedType = module.getTypeByName(exportedTypeName); in validateLayoutOfExportedTypes()
/frameworks/libs/binary_translation/guest_abi/include/berberis/guest_abi/
Dguest_type.h41 template <typename StructType>
43 StructType,
44 std::enable_if_t<(std::is_class_v<StructType> ||
45 std::is_union_v<StructType>)&&std::is_standard_layout_v<StructType> &&
46 std::is_trivially_copyable_v<StructType>>> {
48 using Type = StructType;
49 constexpr GuestType(const StructType& value) : value_(value) {} in GuestType()
50 constexpr GuestType(StructType&& value) : value_(value) {} in GuestType()
57 constexpr operator StructType() const { return value_; } in StructType() function
60 StructType value_ = {};
/frameworks/libs/native_bridge_support/android_api/libvulkan/proxy/
Dcpp_types_test.go39 typе := StructType("TestStruct", []FieldInfo{
50 typе = StructType("TestStruct", []FieldInfo{
97 typе := StructType("TestStruct", []FieldInfo{
169 if IsInputCompatible(StructType("Test", []FieldInfo{
175 if IsInputCompatible(StructType("Test", []FieldInfo{
Dgen_vulkan_test.go26 foo_type := vulkan_xml.ExtendedStruct(cpp_types.StructType("Foo", []cpp_types.FieldInfo{
28 bar_type := vulkan_xml.ExtendedStruct(cpp_types.StructType("Bar", []cpp_types.FieldInfo{
Dvulkan_xml.go1012 …return ExtendedStruct(cpp_types.StructType(typе.Name, fields_info), optional_struct, optional_enum…
Dcpp_types.go200 func StructType(name string, fields_info []FieldInfo) Type { func
/frameworks/compile/slang/
Dslang_rs_export_func.h33 class StructType; variable
98 bool checkParameterPacketType(llvm::StructType *ParamTy) const;
Dslang_backend.cpp837 llvm::StructType **paddedStructType, in PadHelperFunctionStruct()
839 llvm::StructType *origStructType) { in PadHelperFunctionStruct()
886 ? llvm::StructType::get(llvmContext, paddedFieldTypes) in PadHelperFunctionStruct()
917 llvm::StructType *OrigHelperFunctionParameterTy = nullptr; in dumpExportFunctionInfo()
918 llvm::StructType *PaddedHelperFunctionParameterTy = nullptr; in dumpExportFunctionInfo()
948 llvm::StructType::get(mLLVMContext, HelperFunctionParameterTys); in dumpExportFunctionInfo()
Dslang_rs_export_func.cpp127 RSExportFunc::checkParameterPacketType(llvm::StructType *ParamTy) const { in checkParameterPacketType()
Dslang_rs_export_type.cpp1185 return llvm::StructType::get(C, Elements, true); in convertToLLVMType()
1189 return llvm::StructType::get(C, Elements, true); in convertToLLVMType()
1436 return llvm::StructType::get(C, X, false); in convertToLLVMType()
1578 llvm::StructType *ST = llvm::StructType::get(getRSContext()->getLLVMContext(), in convertToLLVMType()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_foreach_multi.java82 ScriptField_RetStruct StructType = new ScriptField_RetStruct(RS, Xdim); in initializeGlobals() local
83 Out3 = StructType.getAllocation(); in initializeGlobals()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_foreach_multi.java84 ScriptField_RetStruct StructType = new ScriptField_RetStruct(RS, Xdim); in initializeGlobals() local
85 Out3 = StructType.getAllocation(); in initializeGlobals()
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitcodeReader.cpp266 std::vector<StructType *> getIdentifiedStructTypes() const override;
285 std::vector<StructType *> IdentifiedStructTypes;
286 StructType *createIdentifiedStructType(LLVMContext &Context, StringRef Name);
287 StructType *createIdentifiedStructType(LLVMContext &Context);
791 StructType *BitcodeReader::createIdentifiedStructType(LLVMContext &Context, in createIdentifiedStructType()
793 auto *Ret = StructType::create(Context, Name); in createIdentifiedStructType()
798 StructType *BitcodeReader::createIdentifiedStructType(LLVMContext &Context) { in createIdentifiedStructType()
799 auto *Ret = StructType::create(Context); in createIdentifiedStructType()
1022 ResultTy = StructType::get(Context, EltTys, Record[0]); in ParseTypeTableBody()
1038 StructType *Res = cast_or_null<StructType>(TypeList[NumRecords]); in ParseTypeTableBody()
[all …]
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
DBitcodeReader.cpp151 Type *LPadSlotTy = StructType::get(ExnTy, SelTy, nullptr); in UpgradeExceptionHandling()
503 std::vector<StructType *> getIdentifiedStructTypes() const override;
522 std::vector<StructType *> IdentifiedStructTypes;
523 StructType *createIdentifiedStructType(LLVMContext &Context, StringRef Name);
524 StructType *createIdentifiedStructType(LLVMContext &Context);
1066 StructType *BitcodeReader::createIdentifiedStructType(LLVMContext &Context, in createIdentifiedStructType()
1068 auto *Ret = StructType::create(Context, Name); in createIdentifiedStructType()
1073 StructType *BitcodeReader::createIdentifiedStructType(LLVMContext &Context) { in createIdentifiedStructType()
1074 auto *Ret = StructType::create(Context); in createIdentifiedStructType()
1317 ResultTy = StructType::get(Context, EltTys, Record[0]); in ParseTypeTableBody()
[all …]
/frameworks/compile/slang/BitWriter_2_9_func/
DValueEnumerator.cpp372 if (StructType *STy = dyn_cast<StructType>(Ty)) in EnumerateType()
DBitcodeWriter.cpp289 StructType *ST = cast<StructType>(T); in WriteTypeTable()
293 for (StructType::element_iterator I = ST->element_begin(), in WriteTypeTable()
/frameworks/compile/slang/BitWriter_2_9/
DValueEnumerator.cpp372 if (StructType *STy = dyn_cast<StructType>(Ty)) in EnumerateType()
DBitcodeWriter.cpp180 StructType *ST = cast<StructType>(T); in WriteTypeSymbolTable()
304 StructType *ST = cast<StructType>(T); in WriteTypeTable()
308 for (StructType::element_iterator I = ST->element_begin(), in WriteTypeTable()
/frameworks/compile/slang/BitWriter_3_2/
DValueEnumerator.cpp372 if (StructType *STy = dyn_cast<StructType>(Ty)) in EnumerateType()
DBitcodeWriter.cpp291 StructType *ST = cast<StructType>(T); in WriteTypeTable()
295 for (StructType::element_iterator I = ST->element_begin(), in WriteTypeTable()