| /minix3/external/bsd/llvm/dist/llvm/include/llvm/Linker/ |
| H A D | Linker.h | 20 class StructType; variable 34 KeyTy(const StructType *ST); 38 static StructType *getEmptyKey(); 39 static StructType *getTombstoneKey(); 41 static unsigned getHashValue(const StructType *ST); 42 static bool isEqual(const KeyTy &LHS, const StructType *RHS); 43 static bool isEqual(const StructType *LHS, const StructType *RHS); 46 typedef DenseSet<StructType *, StructTypeKeyInfo> NonOpaqueStructTypeSet; 47 typedef DenseSet<StructType *> OpaqueStructTypeSet; 56 void addNonOpaque(StructType *Ty); [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/IR/ |
| H A D | Type.cpp | 109 const StructType *STy = dyn_cast<StructType>(this); in isEmptyTy() 169 return cast<StructType>(this)->isSized(Visited); in isSizedDerivedType() 193 return cast<StructType>(this)->getName(); in getStructName() 197 return cast<StructType>(this)->getNumElements(); in getStructNumElements() 201 return cast<StructType>(this)->getElementType(N); in getStructElementType() 402 StructType *StructType::get(LLVMContext &Context, ArrayRef<Type*> ETypes, in get() 407 StructType *ST; in get() 411 ST = new (Context.pImpl->TypeAllocator) StructType(Context); in get() 422 void StructType::setBody(ArrayRef<Type*> Elements, bool isPacked) { in setBody() 437 void StructType::setName(StringRef Name) { in setName() [all …]
|
| H A D | LLVMContextImpl.h | 84 KeyTy(const StructType *ST) in KeyTy() 97 static inline StructType* getEmptyKey() { in getEmptyKey() 98 return DenseMapInfo<StructType*>::getEmptyKey(); in getEmptyKey() 100 static inline StructType* getTombstoneKey() { in getTombstoneKey() 101 return DenseMapInfo<StructType*>::getTombstoneKey(); in getTombstoneKey() 108 static unsigned getHashValue(const StructType *ST) { in getHashValue() 111 static bool isEqual(const KeyTy& LHS, const StructType *RHS) { in isEqual() 116 static bool isEqual(const StructType *LHS, const StructType *RHS) { in isEqual() 342 typedef DenseSet<StructType *, AnonStructTypeKeyInfo> StructTypeSet; 344 StringMap<StructType*> NamedStructTypes;
|
| H A D | AsmWriter.h | 53 DenseMap<StructType*, unsigned> NumberedTypes; 63 void printStructBody(StructType *Ty, raw_ostream &OS);
|
| H A D | DataLayout.cpp | 45 StructLayout::StructLayout(StructType *ST, const DataLayout &DL) { in StructLayout() 489 typedef DenseMap<StructType*, StructLayout*> LayoutInfoTy; 502 StructLayout *&operator[](StructType *STy) { in operator []() 521 const StructLayout *DataLayout::getStructLayout(StructType *Ty) const { in getStructLayout() 673 if (cast<StructType>(Ty)->isPacked() && abi_or_pref) in getAlignment() 677 const StructLayout *Layout = getStructLayout(cast<StructType>(Ty)); in getAlignment() 763 if (StructType *STy = dyn_cast<StructType>(*TI)) { in getIndexedOffset()
|
| /minix3/external/bsd/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGOpenCLRuntime.cpp | 44 return llvm::PointerType::get(llvm::StructType::create( in convertOpenCLSpecificType() 47 return llvm::PointerType::get(llvm::StructType::create( in convertOpenCLSpecificType() 50 return llvm::PointerType::get(llvm::StructType::create( in convertOpenCLSpecificType() 53 return llvm::PointerType::get(llvm::StructType::create( in convertOpenCLSpecificType() 56 return llvm::PointerType::get(llvm::StructType::create( in convertOpenCLSpecificType() 59 return llvm::PointerType::get(llvm::StructType::create( in convertOpenCLSpecificType() 64 return llvm::PointerType::get(llvm::StructType::create( in convertOpenCLSpecificType()
|
| H A D | CGRecordLayout.h | 20 class StructType; variable 118 llvm::StructType *CompleteObjectType; 122 llvm::StructType *BaseSubobjectType; 150 CGRecordLayout(llvm::StructType *CompleteObjectType, in CGRecordLayout() 151 llvm::StructType *BaseSubobjectType, in CGRecordLayout() 161 llvm::StructType *getLLVMType() const { in getLLVMType() 167 llvm::StructType *getBaseSubobjectLLVMType() const { in getBaseSubobjectLLVMType()
|
| H A D | CodeGenTypes.cpp | 49 llvm::StructType *Ty, in addRecordTypeName() 100 llvm::DenseMap<const Type*, llvm::StructType *>::const_iterator I = in isRecordLayoutComplete() 409 ResultType = llvm::StructType::get(EltTy, EltTy, nullptr); in ConvertType() 495 ResultType = llvm::StructType::get(getLLVMContext()); in ConvertType() 505 ResultType = llvm::StructType::get(getLLVMContext()); in ConvertType() 527 ResultType = llvm::StructType::get(getLLVMContext()); in ConvertType() 556 T = llvm::StructType::create(getLLVMContext()); in ConvertType() 592 return llvm::StructType::create(getLLVMContext()); in ConvertType() 611 ResultType = llvm::StructType::get(getLLVMContext(), in ConvertType() 633 llvm::StructType *CodeGenTypes::ConvertRecordDeclType(const RecordDecl *RD) { in ConvertRecordDeclType() [all …]
|
| H A D | CodeGenTypes.h | 30 class StructType; variable 142 llvm::DenseMap<const Type*, llvm::StructType *> RecordDeclTypes; 285 llvm::StructType *Ty); 289 void addRecordTypeName(const RecordDecl *RD, llvm::StructType *Ty, 295 llvm::StructType *ConvertRecordDeclType(const RecordDecl *TD);
|
| H A D | CGObjCGNU.cpp | 109 llvm::StructType *ObjCSuperTy; 195 llvm::GlobalVariable *MakeGlobal(llvm::StructType *Ty, in MakeGlobal() 699 llvm::StructType *SlotStructTy = llvm::StructType::get(PtrTy, in CGObjCGNUstep() 943 ObjCSuperTy = llvm::StructType::get(IdTy, IdTy, nullptr); in CGObjCGNU() 1163 MakeGlobal(llvm::StructType::get(PtrToInt8Ty, PtrToInt8Ty, in GetEHType() 1199 llvm::StructType::get(PtrToIdTy, PtrToInt8Ty, IntTy, nullptr), in GenerateConstantString() 1280 llvm::StructType::get(IdTy, IdTy, nullptr))); in GenerateMessageSendSuper() 1286 llvm::StructType *ObjCSuperTy = llvm::StructType::get( in GenerateMessageSendSuper() 1473 llvm::StructType *ObjCMethodTy = llvm::StructType::get( in GenerateMethodList() 1503 llvm::StructType *ObjCMethodListTy = llvm::StructType::create(VMContext); in GenerateMethodList() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/ |
| H A D | DerivedTypes.h | 190 class StructType : public CompositeType { 191 StructType(const StructType &) LLVM_DELETED_FUNCTION; 192 const StructType &operator=(const StructType &) LLVM_DELETED_FUNCTION; 193 StructType(LLVMContext &C) in StructType() function 212 static StructType *create(LLVMContext &Context, StringRef Name); 213 static StructType *create(LLVMContext &Context); 215 static StructType *create(ArrayRef<Type*> Elements, 218 static StructType *create(ArrayRef<Type*> Elements); 219 static StructType *create(LLVMContext &Context, 223 static StructType *create(LLVMContext &Context, ArrayRef<Type*> Elements); [all …]
|
| H A D | TypeFinder.h | 24 class StructType; variable 37 std::vector<StructType*> StructTypes; 46 typedef std::vector<StructType*>::iterator iterator; 47 typedef std::vector<StructType*>::const_iterator const_iterator; 59 StructType *&operator[](unsigned Idx) { return StructTypes[Idx]; }
|
| H A D | GVMaterializer.h | 28 class StructType; variable 56 virtual std::vector<StructType *> getIdentifiedStructTypes() const = 0;
|
| H A D | DataLayout.h | 39 class StructType; variable 427 const StructLayout *getStructLayout(StructType *Ty) const; 494 StructLayout(StructType *ST, const DataLayout &DL); 513 return getStructLayout(cast<StructType>(Ty))->getSizeInBits(); in getTypeSizeInBits()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Linker/ |
| H A D | LinkModules.cpp | 51 SmallVector<StructType*, 16> SpeculativeDstOpaqueTypes; 55 SmallVector<StructType*, 16> SrcDefinitionsToResolve; 59 SmallPtrSet<StructType*, 16> DstResolvedOpaqueTypes; 77 Type *get(Type *SrcTy, SmallPtrSet<StructType *, 8> &Visited); 79 void finishType(StructType *DTy, StructType *STy, ArrayRef<Type *> ETypes); 117 for (StructType *Ty : SpeculativeDstOpaqueTypes) in addTypeMapping() 121 if (auto *STy = dyn_cast<StructType>(Ty)) in addTypeMapping() 151 if (StructType *SSTy = dyn_cast<StructType>(SrcTy)) { in areTypesIsomorphic() 163 if (cast<StructType>(DstTy)->isOpaque()) { in areTypesIsomorphic() 165 if (!DstResolvedOpaqueTypes.insert(cast<StructType>(DstTy)).second) in areTypesIsomorphic() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/unittests/IR/ |
| H A D | TypesTest.cpp | 17 TEST(TypesTest, StructType) { in TEST() argument 21 StructType *Struct = StructType::create(C, "FooBar"); in TEST()
|
| H A D | TypeBuilderTest.cpp | 186 static StructType *get(LLVMContext &Context) { in get() 193 static StructType *const result = StructType::get(Context, st); in get() 209 static StructType *get(LLVMContext &Context) { in get() 216 static StructType *const result = StructType::get(Context, st); in get() 233 EXPECT_EQ(PointerType::getUnqual(StructType::get( in TEST() 239 EXPECT_EQ(PointerType::getUnqual(StructType::get( in TEST() 245 EXPECT_EQ(PointerType::getUnqual(StructType::get( in TEST()
|
| /minix3/external/bsd/llvm/dist/clang/test/Sema/ |
| H A D | invalid-decl.c | 28 } StructType; typedef 29 void f(StructType *buf) { in f()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/ |
| H A D | Target.cpp | 124 StructType *STy = unwrap<StructType>(StructTy); in LLVMElementAtOffset() 130 StructType *STy = unwrap<StructType>(StructTy); in LLVMOffsetOfElement()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXLowerStructArgs.cpp | 64 Type *StructType = PType->getElementType(); in handleParam() local 65 AllocaInst *AllocA = new AllocaInst(StructType, Arg->getName(), FirstInst); in handleParam() 91 CallCVT, PointerType::get(StructType, ADDRESS_SPACE_PARAM), in handleParam()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Utils/ |
| H A D | ModuleUtils.cpp | 31 StructType *EltTy; in appendToGlobalArray() 36 EltTy = cast<StructType>(ATy->getElementType()); in appendToGlobalArray() 46 EltTy = StructType::get(IRB.getInt32Ty(), PointerType::getUnqual(FnTy), in appendToGlobalArray()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/ |
| H A D | ShadowStackGC.cpp | 49 StructType *StackEntryTy; 50 StructType *FrameMapTy; 146 Type *ExnTy = StructType::get(Type::getInt8PtrTy(C), in Next() 231 StructType *STy = StructType::create(EltTys, "gc_map."+utostr(NumMeta)); in GetFrameMap() 266 return StructType::create(EltTys, "gc_stackentry."+F.getName().str()); in GetConcreteStackEntryType() 282 FrameMapTy = StructType::create(EltTys, "gc_map"); in initializeCustomLowering() 291 StackEntryTy = StructType::create(M.getContext(), "gc_stackentry"); in initializeCustomLowering()
|
| H A D | Analysis.cpp | 45 if (StructType *STy = dyn_cast<StructType>(Ty)) { in ComputeLinearIndex() 46 for (StructType::element_iterator EB = STy->element_begin(), in ComputeLinearIndex() 89 if (StructType *STy = dyn_cast<StructType>(Ty)) { in ComputeValueVTs() 91 for (StructType::element_iterator EB = STy->element_begin(), in ComputeValueVTs() 378 return Idx < cast<StructType>(T)->getNumElements(); in indexReallyValid()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/IPO/ |
| H A D | ArgumentPromotion.cpp | 150 StructType *StructTy = cast<StructType>(type); in isDenselyPacked() 256 if (StructType *STy = dyn_cast<StructType>(AgTy)) { in PromoteArguments() 286 if (StructType *STy = dyn_cast<StructType>(AgTy)) { in PromoteArguments() 626 StructType *STy = cast<StructType>(AgTy); in DoPromotion() 767 StructType *STy = cast<StructType>(AgTy); in DoPromotion() 901 StructType *STy = cast<StructType>(AgTy); in DoPromotion()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.h | 235 std::vector<StructType *> getIdentifiedStructTypes() const override; 249 std::vector<StructType *> IdentifiedStructTypes; 250 StructType *createIdentifiedStructType(LLVMContext &Context, StringRef Name); 251 StructType *createIdentifiedStructType(LLVMContext &Context);
|