Home
last modified time | relevance | path

Searched refs:EltTys (Results 1 – 8 of 8) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DShadowStackGC.cpp230 Type *EltTys[] = { DescriptorElts[0]->getType(),DescriptorElts[1]->getType()}; in GetFrameMap() local
231 StructType *STy = StructType::create(EltTys, "gc_map."+utostr(NumMeta)); in GetFrameMap()
261 std::vector<Type*> EltTys; in GetConcreteStackEntryType() local
262 EltTys.push_back(StackEntryTy); in GetConcreteStackEntryType()
264 EltTys.push_back(Roots[I].second->getAllocatedType()); in GetConcreteStackEntryType()
266 return StructType::create(EltTys, "gc_stackentry."+F.getName().str()); in GetConcreteStackEntryType()
277 std::vector<Type*> EltTys; in initializeCustomLowering() local
279 EltTys.push_back(Type::getInt32Ty(M.getContext())); in initializeCustomLowering()
281 EltTys.push_back(Type::getInt32Ty(M.getContext())); in initializeCustomLowering()
282 FrameMapTy = StructType::create(EltTys, "gc_map"); in initializeCustomLowering()
[all …]
/external/llvm/lib/CodeGen/
DShadowStackGCLowering.cpp225 Type *EltTys[] = {DescriptorElts[0]->getType(), DescriptorElts[1]->getType()}; in GetFrameMap() local
226 StructType *STy = StructType::create(EltTys, "gc_map." + utostr(NumMeta)); in GetFrameMap()
255 std::vector<Type *> EltTys; in GetConcreteStackEntryType() local
256 EltTys.push_back(StackEntryTy); in GetConcreteStackEntryType()
258 EltTys.push_back(Roots[I].second->getAllocatedType()); in GetConcreteStackEntryType()
260 return StructType::create(EltTys, ("gc_stackentry." + F.getName()).str()); in GetConcreteStackEntryType()
281 std::vector<Type *> EltTys; in doInitialization() local
283 EltTys.push_back(Type::getInt32Ty(M.getContext())); in doInitialization()
285 EltTys.push_back(Type::getInt32Ty(M.getContext())); in doInitialization()
286 FrameMapTy = StructType::create(EltTys, "gc_map"); in doInitialization()
[all …]
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp779 SmallVector<llvm::Metadata *, 8> EltTys; in CreateType() local
787 EltTys.push_back(CreateMemberType(Unit, FType, "reserved", &FieldOffset)); in CreateType()
788 EltTys.push_back(CreateMemberType(Unit, FType, "Size", &FieldOffset)); in CreateType()
790 Elements = DBuilder.getOrCreateArray(EltTys); in CreateType()
791 EltTys.clear(); in CreateType()
807 EltTys.push_back(CreateMemberType(Unit, FType, "__isa", &FieldOffset)); in CreateType()
809 EltTys.push_back(CreateMemberType(Unit, FType, "__flags", &FieldOffset)); in CreateType()
810 EltTys.push_back(CreateMemberType(Unit, FType, "__reserved", &FieldOffset)); in CreateType()
812 EltTys.push_back(CreateMemberType(Unit, FType, "__FuncPtr", &FieldOffset)); in CreateType()
817 EltTys.push_back(DBuilder.createMemberType(Unit, "__descriptor", nullptr, LineNo, in CreateType()
[all …]
DCGDebugInfo.h216 SmallVectorImpl<llvm::Metadata *> &EltTys,
264 SmallVectorImpl<llvm::Metadata *> &EltTys);
/external/swiftshader/third_party/LLVM/lib/Bitcode/Reader/
DBitcodeReader.cpp641 std::vector<Type*> EltTys; in ParseTypeTableBody() local
644 EltTys.push_back(T); in ParseTypeTableBody()
648 if (EltTys.size() != Record.size()-1) in ParseTypeTableBody()
650 ResultTy = StructType::get(Context, EltTys, Record[0]); in ParseTypeTableBody()
674 SmallVector<Type*, 8> EltTys; in ParseTypeTableBody() local
677 EltTys.push_back(T); in ParseTypeTableBody()
681 if (EltTys.size() != Record.size()-1) in ParseTypeTableBody()
683 Res->setBody(EltTys, Record[0]); in ParseTypeTableBody()
847 std::vector<Type*> EltTys; in ParseOldTypeTable() local
850 EltTys.push_back(Elt); in ParseOldTypeTable()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter9/
Dtoy.cpp843 SmallVector<Metadata *, 8> EltTys; in CreateFunctionType() local
847 EltTys.push_back(DblTy); in CreateFunctionType()
850 EltTys.push_back(DblTy); in CreateFunctionType()
852 return DBuilder->createSubroutineType(DBuilder->getOrCreateTypeArray(EltTys)); in CreateFunctionType()
/external/llvm/unittests/IR/
DConstantsTest.cpp468 Type *EltTys[] = {i32, U}; in TEST() local
469 auto *S = StructType::create(EltTys); in TEST()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp1735 SmallVector<Type*, 8> EltTys; in parseTypeTableBody() local
1738 EltTys.push_back(T); in parseTypeTableBody()
1742 if (EltTys.size() != Record.size()-1) in parseTypeTableBody()
1744 ResultTy = StructType::get(Context, EltTys, Record[0]); in parseTypeTableBody()
1768 SmallVector<Type*, 8> EltTys; in parseTypeTableBody() local
1771 EltTys.push_back(T); in parseTypeTableBody()
1775 if (EltTys.size() != Record.size()-1) in parseTypeTableBody()
1777 Res->setBody(EltTys, Record[0]); in parseTypeTableBody()