/external/llvm-project/llvm/lib/CodeGen/ |
D | ShadowStackGCLowering.cpp | 128 Type *EltTys[] = {DescriptorElts[0]->getType(), DescriptorElts[1]->getType()}; in GetFrameMap() local 129 StructType *STy = StructType::create(EltTys, "gc_map." + utostr(NumMeta)); in GetFrameMap() 158 std::vector<Type *> EltTys; in GetConcreteStackEntryType() local 159 EltTys.push_back(StackEntryTy); in GetConcreteStackEntryType() 161 EltTys.push_back(Roots[I].second->getAllocatedType()); in GetConcreteStackEntryType() 163 return StructType::create(EltTys, ("gc_stackentry." + F.getName()).str()); in GetConcreteStackEntryType() 184 std::vector<Type *> EltTys; in doInitialization() local 186 EltTys.push_back(Type::getInt32Ty(M.getContext())); in doInitialization() 188 EltTys.push_back(Type::getInt32Ty(M.getContext())); in doInitialization() 189 FrameMapTy = StructType::create(EltTys, "gc_map"); in doInitialization() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | ShadowStackGCLowering.cpp | 128 Type *EltTys[] = {DescriptorElts[0]->getType(), DescriptorElts[1]->getType()}; in GetFrameMap() local 129 StructType *STy = StructType::create(EltTys, "gc_map." + utostr(NumMeta)); in GetFrameMap() 158 std::vector<Type *> EltTys; in GetConcreteStackEntryType() local 159 EltTys.push_back(StackEntryTy); in GetConcreteStackEntryType() 161 EltTys.push_back(Roots[I].second->getAllocatedType()); in GetConcreteStackEntryType() 163 return StructType::create(EltTys, ("gc_stackentry." + F.getName()).str()); in GetConcreteStackEntryType() 184 std::vector<Type *> EltTys; in doInitialization() local 186 EltTys.push_back(Type::getInt32Ty(M.getContext())); in doInitialization() 188 EltTys.push_back(Type::getInt32Ty(M.getContext())); in doInitialization() 189 FrameMapTy = StructType::create(EltTys, "gc_map"); in doInitialization() [all …]
|
/external/llvm/lib/CodeGen/ |
D | ShadowStackGCLowering.cpp | 225 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/ |
D | CGDebugInfo.cpp | 779 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 …]
|
D | CGDebugInfo.h | 216 SmallVectorImpl<llvm::Metadata *> &EltTys, 264 SmallVectorImpl<llvm::Metadata *> &EltTys);
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGDebugInfo.cpp | 1104 unsigned LineNo, SmallVectorImpl<llvm::Metadata *> &EltTys) { in collectDefaultElementTypesForBlockPointer() argument 1116 EltTys.push_back(CreateMemberType(Unit, FType, "__size", &FieldOffset)); in collectDefaultElementTypesForBlockPointer() 1117 EltTys.push_back(CreateMemberType(Unit, FType, "__align", &FieldOffset)); in collectDefaultElementTypesForBlockPointer() 1120 EltTys.push_back(CreateMemberType(Unit, FType, "__isa", &FieldOffset)); in collectDefaultElementTypesForBlockPointer() 1122 EltTys.push_back(CreateMemberType(Unit, FType, "__flags", &FieldOffset)); in collectDefaultElementTypesForBlockPointer() 1123 EltTys.push_back(CreateMemberType(Unit, FType, "__reserved", &FieldOffset)); in collectDefaultElementTypesForBlockPointer() 1125 EltTys.push_back(CreateMemberType(Unit, FType, "__FuncPtr", &FieldOffset)); in collectDefaultElementTypesForBlockPointer() 1129 EltTys.push_back(DBuilder.createMemberType( in collectDefaultElementTypesForBlockPointer() 1140 SmallVector<llvm::Metadata *, 8> EltTys; in CreateType() local 1147 EltTys.push_back(CreateMemberType(Unit, FType, "reserved", &FieldOffset)); in CreateType() [all …]
|
D | CGDebugInfo.h | 254 SmallVectorImpl<llvm::Metadata *> &EltTys, 261 SmallVectorImpl<llvm::Metadata *> &EltTys, llvm::DIType *RecordTy, 327 SmallVectorImpl<llvm::Metadata *> &EltTys, 350 SmallVectorImpl<llvm::Metadata *> &EltTys);
|
/external/llvm/examples/Kaleidoscope/Chapter9/ |
D | toy.cpp | 843 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-project/llvm/examples/Kaleidoscope/Chapter9/ |
D | toy.cpp | 856 SmallVector<Metadata *, 8> EltTys; in CreateFunctionType() local 860 EltTys.push_back(DblTy); in CreateFunctionType() 863 EltTys.push_back(DblTy); in CreateFunctionType() 865 return DBuilder->createSubroutineType(DBuilder->getOrCreateTypeArray(EltTys)); in CreateFunctionType()
|
/external/swiftshader/src/Reactor/ |
D | LLVMReactorDebugInfo.cpp | 104 SmallVector<Metadata *, 8> EltTys; in DebugInfo() local 105 auto funcTy = diBuilder->createSubroutineType(diBuilder->getOrCreateTypeArray(EltTys)); in DebugInfo()
|
/external/llvm/unittests/IR/ |
D | ConstantsTest.cpp | 468 Type *EltTys[] = {i32, U}; in TEST() local 469 auto *S = StructType::create(EltTys); in TEST()
|
/external/llvm-project/llvm/unittests/IR/ |
D | ConstantsTest.cpp | 468 Type *EltTys[] = {i32, U}; in TEST() local 469 auto *S = StructType::create(EltTys); in TEST()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 1827 SmallVector<Type*, 8> EltTys; in parseTypeTableBody() local 1830 EltTys.push_back(T); in parseTypeTableBody() 1834 if (EltTys.size() != Record.size()-1) in parseTypeTableBody() 1836 ResultTy = StructType::get(Context, EltTys, Record[0]); in parseTypeTableBody() 1860 SmallVector<Type*, 8> EltTys; in parseTypeTableBody() local 1863 EltTys.push_back(T); in parseTypeTableBody() 1867 if (EltTys.size() != Record.size()-1) in parseTypeTableBody() 1869 Res->setBody(EltTys, Record[0]); in parseTypeTableBody()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 1735 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()
|
/external/llvm-project/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 1835 SmallVector<Type*, 8> EltTys; in parseTypeTableBody() local 1838 EltTys.push_back(T); in parseTypeTableBody() 1842 if (EltTys.size() != Record.size()-1) in parseTypeTableBody() 1844 ResultTy = StructType::get(Context, EltTys, Record[0]); in parseTypeTableBody() 1868 SmallVector<Type*, 8> EltTys; in parseTypeTableBody() local 1871 EltTys.push_back(T); in parseTypeTableBody() 1875 if (EltTys.size() != Record.size()-1) in parseTypeTableBody() 1877 Res->setBody(EltTys, Record[0]); in parseTypeTableBody()
|