/external/llvm/include/llvm/Linker/ |
Linker.h | 20 class StructType; 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 [all...] |
/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/deqp/modules/gles31/functional/ |
es31fUniformLocationTests.hpp | 31 class StructType; 41 typedef std::vector<glu::StructType*> StructList;
|
es31fSSBOLayoutCase.hpp | 123 glu::StructType& allocStruct (const char* name); 124 const glu::StructType* findStruct (const char* name) const; 125 void getNamedStructs (std::vector<const glu::StructType*>& structs) const; 136 std::vector<glu::StructType*> m_structs;
|
/external/clang/lib/CodeGen/ |
CGOpenCLRuntime.cpp | 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( 59 return llvm::PointerType::get(llvm::StructType::create( 64 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.cpp | 49 llvm::StructType *Ty, 100 llvm::DenseMap<const Type*, llvm::StructType *>::const_iterator I = 409 ResultType = llvm::StructType::get(EltTy, EltTy, nullptr); 495 ResultType = llvm::StructType::get(getLLVMContext()); 505 ResultType = llvm::StructType::get(getLLVMContext()); 527 ResultType = llvm::StructType::get(getLLVMContext()); 556 T = llvm::StructType::create(getLLVMContext()); 592 return llvm::StructType::create(getLLVMContext()); 611 ResultType = llvm::StructType::get(getLLVMContext(), 633 llvm::StructType *CodeGenTypes::ConvertRecordDeclType(const RecordDecl *RD) [all...] |
CodeGenTypes.h | 30 class StructType; 145 llvm::DenseMap<const Type*, llvm::StructType *> RecordDeclTypes; 290 llvm::StructType *Ty); 294 void addRecordTypeName(const RecordDecl *RD, llvm::StructType *Ty, 300 llvm::StructType *ConvertRecordDeclType(const RecordDecl *TD);
|
/external/clang/test/Sema/ |
invalid-decl.c | 28 } StructType; 29 void f(StructType *buf) {
|
/external/llvm/include/llvm/IR/ |
GVMaterializer.h | 28 class StructType; 59 virtual std::vector<StructType *> getIdentifiedStructTypes() const = 0;
|
TypeFinder.h | 24 class StructType; 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]; }
|
DerivedTypes.h | 145 /// CompositeType - Common super class of ArrayType, StructType, PointerType 170 /// StructType - Class to represent struct types. There are two different kinds 175 /// the StructType::get() forms. 182 /// StructType::create() forms. 190 class StructType : public CompositeType { 191 StructType(const StructType &) = delete; 192 const StructType &operator=(const StructType &) = delete; 193 StructType(LLVMContext &C [all...] |
/external/deqp/framework/opengl/ |
gluVarType.hpp | 36 class StructType; 55 explicit VarType (const StructType* structPtr); //!< Struct type constructor. 68 const StructType* getStructPtr (void) const { DE_ASSERT(isStructType()); return m_data.structPtr; } 110 const StructType* structPtr; 140 class StructType 146 StructType (const char* typeName) : m_typeName(typeName) {} 147 ~StructType (void) {} 162 bool operator== (const StructType& other) const; 163 bool operator!= (const StructType& other) const; 296 DeclareStructTypePtr (const StructType* structPtr_, int indentLevel_) : structPtr(structPtr_), indentLevel(indentLevel_) { [all...] |
gluVarType.cpp | 57 VarType::VarType (const StructType* structPtr) 101 for (StructType::ConstIterator iter = m_data.structPtr->begin(); iter != m_data.structPtr->end(); iter++) 153 // StructType implementation. 155 void StructType::addMember (const char* name, const VarType& type) 160 bool StructType::operator== (const StructType& other) const 165 bool StructType::operator!= (const StructType& other) const 378 const StructType* structPtr = curType->getStructPtr(); 413 for (StructType::ConstIterator memberIter = decl.structPtr->begin(); memberIter != decl.structPtr->end(); memberIt (…) [all...] |
/external/llvm/lib/IR/ |
Type.cpp | 109 const StructType *STy = dyn_cast<StructType>(this); 169 return cast<StructType>(this)->isSized(Visited); 193 return cast<StructType>(this)->getName(); 197 return cast<StructType>(this)->getNumElements(); 201 return cast<StructType>(this)->getElementType(N); 397 // StructType Implementation 402 StructType *StructType::get(LLVMContext &Context, ArrayRef<Type*> ETypes, 407 StructType *ST [all...] |
/frameworks/compile/libbcc/lib/Renderscript/ |
RSInvokeHelperPass.cpp | 49 llvm::StructType* rsAllocationType; 50 llvm::StructType* rsElementType; 51 llvm::StructType* rsSamplerType; 52 llvm::StructType* rsScriptType; 53 llvm::StructType* rsTypeType; 78 rsAllocationType = llvm::StructType::create(rsBaseObj, kAllocationTypeName); 79 rsElementType = llvm::StructType::create(rsBaseObj, kElementTypeName); 80 rsSamplerType = llvm::StructType::create(rsBaseObj, kSamplerTypeName); 81 rsScriptType = llvm::StructType::create(rsBaseObj, kScriptTypeName); 82 rsTypeType = llvm::StructType::create(rsBaseObj, kTypeTypeName) [all...] |
/frameworks/compile/libbcc/include/bcc/Renderscript/ |
RSUtils.h | 27 static inline llvm::StringRef getUnsuffixedStructName(const llvm::StructType *T) { 53 const llvm::StringRef StructName = getUnsuffixedStructName(llvm::dyn_cast<const llvm::StructType>(T));
|
/external/deqp/modules/glshared/ |
glsUniformBlockCase.hpp | 69 class StructType; 78 explicit VarType (const StructType* structPtr); 91 const StructType& getStruct (void) const { return *m_data.structPtr; } 115 const StructType* structPtr; 141 class StructType 147 StructType (const char* typeName) : m_typeName(typeName) {} 148 ~StructType (void) {} 217 StructType& allocStruct (const char* name); 218 const StructType* findStruct (const char* name) const; 219 void getNamedStructs (std::vector<const StructType*>& structs) const [all...] |
/external/llvm/lib/Target/NVPTX/ |
NVPTXLowerStructArgs.cpp | 66 Type *StructType = PType->getElementType(); 67 AllocaInst *AllocA = new AllocaInst(StructType, Arg->getName(), FirstInst); 93 CallCVT, PointerType::get(StructType, ADDRESS_SPACE_PARAM),
|
/external/llvm/lib/Linker/ |
LinkModules.cpp | 52 SmallVector<StructType*, 16> SpeculativeDstOpaqueTypes; 56 SmallVector<StructType*, 16> SrcDefinitionsToResolve; 60 SmallPtrSet<StructType*, 16> DstResolvedOpaqueTypes; 78 Type *get(Type *SrcTy, SmallPtrSet<StructType *, 8> &Visited); 80 void finishType(StructType *DTy, StructType *STy, ArrayRef<Type *> ETypes); 118 for (StructType *Ty : SpeculativeDstOpaqueTypes) 122 if (auto *STy = dyn_cast<StructType>(Ty)) 152 if (StructType *SSTy = dyn_cast<StructType>(SrcTy)) [all...] |
/frameworks/compile/slang/ |
slang_rs_export_func.h | 33 class StructType; 102 bool checkParameterPacketType(llvm::StructType *ParamTy) const;
|
/external/llvm/lib/Transforms/Utils/ |
ModuleUtils.cpp | 32 StructType *EltTy; 37 EltTy = cast<StructType>(ATy->getElementType()); 47 EltTy = StructType::get(IRB.getInt32Ty(), PointerType::getUnqual(FnTy),
|
/external/llvm/lib/Target/ |
Target.cpp | 121 StructType *STy = unwrap<StructType>(StructTy); 127 StructType *STy = unwrap<StructType>(StructTy);
|
/external/llvm/lib/CodeGen/ |
ShadowStackGCLowering.cpp | 36 StructType *StackEntryTy; 37 StructType *FrameMapTy; 146 StructType::get(Type::getInt8PtrTy(C), Type::getInt32Ty(C), nullptr); 218 StructType *STy = StructType::create(EltTys, "gc_map." + utostr(NumMeta)); 252 return StructType::create(EltTys, ("gc_stackentry." + F.getName()).str()); 278 FrameMapTy = StructType::create(EltTys, "gc_map"); 287 StackEntryTy = StructType::create(M.getContext(), "gc_stackentry");
|