Home
last modified time | relevance | path

Searched refs:StructType (Results 1 – 20 of 20) 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()
84 …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/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.cpp1179 return llvm::StructType::get(C, Elements, true); in convertToLLVMType()
1183 return llvm::StructType::get(C, Elements, true); in convertToLLVMType()
1430 return llvm::StructType::get(C, X, false); in convertToLLVMType()
1572 llvm::StructType *ST = llvm::StructType::get(getRSContext()->getLLVMContext(), in convertToLLVMType()
/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/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/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_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()
/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()