/external/llvm/unittests/IR/ |
TypesTest.cpp | 17 TEST(TypesTest, StructType) { 21 StructType *Struct = StructType::create(C, "FooBar");
|
TypeBuilderTest.cpp | 186 static StructType *get(LLVMContext &Context) { 193 static StructType *const result = StructType::get(Context, st); 209 static StructType *get(LLVMContext &Context) { 216 static StructType *const result = StructType::get(Context, st); 233 EXPECT_EQ(PointerType::getUnqual(StructType::get( 239 EXPECT_EQ(PointerType::getUnqual(StructType::get( 245 EXPECT_EQ(PointerType::getUnqual(StructType::get(
|
/external/clang/lib/CodeGen/ |
CGOpenCLRuntime.cpp | 41 return llvm::PointerType::get(llvm::StructType::create( 44 return llvm::PointerType::get(llvm::StructType::create( 47 return llvm::PointerType::get(llvm::StructType::create( 50 return llvm::PointerType::get(llvm::StructType::create( 53 return llvm::PointerType::get(llvm::StructType::create( 56 return llvm::PointerType::get(llvm::StructType::create( 61 return llvm::PointerType::get(llvm::StructType::create(
|
CGRecordLayout.h | 20 class StructType; 118 llvm::StructType *CompleteObjectType; 122 llvm::StructType *BaseSubobjectType; 150 CGRecordLayout(llvm::StructType *CompleteObjectType, 151 llvm::StructType *BaseSubobjectType, 161 llvm::StructType *getLLVMType() const { 167 llvm::StructType *getBaseSubobjectLLVMType() const { 183 /// \brief Return llvm::StructType element number that corresponds to the
|
CodeGenTypes.h | 29 class StructType; 85 llvm::DenseMap<const Type*, llvm::StructType *> RecordDeclTypes; 225 llvm::StructType *Ty); 229 void addRecordTypeName(const RecordDecl *RD, llvm::StructType *Ty, 235 llvm::StructType *ConvertRecordDeclType(const RecordDecl *TD);
|
CodeGenTypes.cpp | 52 llvm::StructType *Ty, 103 llvm::DenseMap<const Type*, llvm::StructType *>::const_iterator I = 397 ResultType = llvm::StructType::get(EltTy, EltTy, NULL); 483 ResultType = llvm::StructType::get(getLLVMContext()); 493 ResultType = llvm::StructType::get(getLLVMContext()); 515 ResultType = llvm::StructType::get(getLLVMContext()); 544 T = llvm::StructType::create(getLLVMContext()); 597 ResultType = llvm::StructType::get(getLLVMContext(), 619 llvm::StructType *CodeGenTypes::ConvertRecordDeclType(const RecordDecl *RD) { 624 llvm::StructType *&Entry = RecordDeclTypes[Key] [all...] |
CGCUDANV.cpp | 90 llvm::StructType *ArgStackTy = llvm::StructType::get(
|
CGObjCGNU.cpp | 108 llvm::StructType *ObjCSuperTy; 194 llvm::GlobalVariable *MakeGlobal(llvm::StructType *Ty, [all...] |
/external/clang/test/Sema/ |
invalid-decl.c | 28 } StructType; 29 void f(StructType *buf) {
|
/external/llvm/include/llvm/IR/ |
TypeFinder.h | 24 class StructType; 36 std::vector<StructType*> StructTypes; 45 typedef std::vector<StructType*>::iterator iterator; 46 typedef std::vector<StructType*>::const_iterator const_iterator; 58 StructType *&operator[](unsigned Idx) { return StructTypes[Idx]; }
|
DerivedTypes.h | 142 /// CompositeType - Common super class of ArrayType, StructType, PointerType 167 /// StructType - Class to represent struct types. There are two different kinds 172 /// the StructType::get() forms. 179 /// StructType::create() forms. 187 class StructType : public CompositeType { 188 StructType(const StructType &) LLVM_DELETED_FUNCTION; 189 const StructType &operator=(const StructType &) LLVM_DELETED_FUNCTION; 190 StructType(LLVMContext &C [all...] |
Module.h | 30 class StructType; 302 typedef DenseMap<StructType*, unsigned, DenseMapInfo<StructType*> > 307 StructType *getTypeByName(StringRef Name) const;
|
DataLayout.h | 33 class StructType; 120 // The StructType -> StructLayout map. 360 const StructLayout *getStructLayout(StructType *Ty) const; 423 StructLayout(StructType *ST, const DataLayout &TD);
|
/external/llvm/lib/IR/ |
Type.cpp | 105 const StructType *STy = dyn_cast<StructType>(this); 171 return cast<StructType>(this)->isSized(); 195 return cast<StructType>(this)->getName(); 199 return cast<StructType>(this)->getNumElements(); 203 return cast<StructType>(this)->getElementType(N); 400 // StructType Implementation 405 StructType *StructType::get(LLVMContext &Context, ArrayRef<Type*> ETypes, 411 StructType *ST [all...] |
LLVMContextImpl.h | 103 KeyTy(const StructType* ST) : 117 static inline StructType* getEmptyKey() { 118 return DenseMapInfo<StructType*>::getEmptyKey(); 120 static inline StructType* getTombstoneKey() { 121 return DenseMapInfo<StructType*>::getTombstoneKey(); 128 static unsigned getHashValue(const StructType *ST) { 131 static bool isEqual(const KeyTy& LHS, const StructType *RHS) { 136 static bool isEqual(const StructType *LHS, const StructType *RHS) { 269 typedef ConstantAggrUniqueMap<StructType, ConstantStruct> StructConstantsTy [all...] |
DataLayout.cpp | 44 StructLayout::StructLayout(StructType *ST, const DataLayout &TD) { 413 typedef DenseMap<StructType*, StructLayout*> LayoutInfoTy; 427 StructLayout *&operator[](StructType *STy) { 447 const StructLayout *DataLayout::getStructLayout(StructType *Ty) const { 528 return getStructLayout(cast<StructType>(Ty))->getSizeInBits(); 583 if (cast<StructType>(Ty)->isPacked() && abi_or_pref) 587 const StructLayout *Layout = getStructLayout(cast<StructType>(Ty)); 675 if (StructType *STy = dyn_cast<StructType>(*TI)) {
|
TypeFinder.cpp | 99 if (StructType *STy = dyn_cast<StructType>(Ty))
|
/external/llvm/lib/Target/ |
Target.cpp | 104 StructType *STy = unwrap<StructType>(StructTy); 110 StructType *STy = unwrap<StructType>(StructTy);
|
/external/llvm/lib/Transforms/Utils/ |
ModuleUtils.cpp | 26 StructType *Ty = StructType::get(
|
/frameworks/compile/slang/ |
slang_rs_export_func.h | 33 class StructType; 104 bool checkParameterPacketType(llvm::StructType *ParamTy) const;
|
/external/llvm/lib/Linker/ |
LinkModules.cpp | 51 SmallVector<StructType*, 16> SrcDefinitionsToResolve; 55 SmallPtrSet<StructType*, 16> DstResolvedOpaqueTypes; 137 if (StructType *SSTy = dyn_cast<StructType>(SrcTy)) { 150 if (cast<StructType>(DstTy)->isOpaque()) { 152 if (!DstResolvedOpaqueTypes.insert(cast<StructType>(DstTy))) 174 } else if (StructType *DSTy = dyn_cast<StructType>(DstTy)) { 175 StructType *SSTy = cast<StructType>(SrcTy) [all...] |
/external/llvm/lib/CodeGen/ |
Analysis.cpp | 42 if (StructType *STy = dyn_cast<StructType>(Ty)) { 43 for (StructType::element_iterator EB = STy->element_begin(), 79 if (StructType *STy = dyn_cast<StructType>(Ty)) { 81 for (StructType::element_iterator EB = STy->element_begin(), 328 if (!isa<InsertValueInst>(RetVal) || !isa<StructType>(RetVal->getType())) 334 for (unsigned i = 0, e =cast<StructType>(RetVal->getType())->getNumElements();
|
ShadowStackGC.cpp | 48 StructType *StackEntryTy; 49 StructType *FrameMapTy; 145 Type *ExnTy = StructType::get(Type::getInt8PtrTy(C), 230 StructType *STy = StructType::create(EltTys, "gc_map."+utostr(NumMeta)); 265 return StructType::create(EltTys, "gc_stackentry."+F.getName().str()); 281 FrameMapTy = StructType::create(EltTys, "gc_map"); 290 StackEntryTy = StructType::create(M.getContext(), "gc_stackentry");
|
/external/llvm/lib/Transforms/Instrumentation/ |
BlackList.cpp | 103 if (StructType *SGType = dyn_cast<StructType>(GType)) {
|
/external/llvm/include/llvm/Transforms/Utils/ |
Local.h | 202 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
|