/external/llvm/unittests/IR/ |
TypesTest.cpp | 17 TEST(TypesTest, StructType) { 21 StructType *Struct = StructType::create(C, "FooBar"); 33 StructType *Foo = StructType::create(C, "Foo");
34 StructType *Bar = StructType::create(C, "Bar");
|
/external/llvm/include/llvm/Linker/ |
IRMover.h | 21 class StructType; 30 KeyTy(const StructType *ST); 34 static StructType *getEmptyKey(); 35 static StructType *getTombstoneKey(); 37 static unsigned getHashValue(const StructType *ST); 38 static bool isEqual(const KeyTy &LHS, const StructType *RHS); 39 static bool isEqual(const StructType *LHS, const StructType *RHS); 45 DenseSet<StructType *> OpaqueStructTypes; 48 DenseSet<StructType *, StructTypeKeyInfo> NonOpaqueStructTypes [all...] |
Linker.h | 18 class StructType;
|
/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( 60 llvm::StructType::create(Ctx, "opencl.image2d_depth_t"), ImgAddrSpc); 63 llvm::StructType::create(Ctx, "opencl.image2d_array_depth_t"), 67 llvm::StructType::create(Ctx, "opencl.image2d_msaa_t"), ImgAddrSpc); 70 llvm::StructType::create(Ctx, "opencl.image2d_array_msaa_t"), 74 llvm::StructType::create(Ctx, "opencl.image2d_msaa_depth_t") [all...] |
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
|
/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/libchrome/base/json/ |
json_value_converter.h | 91 template <typename StructType> 96 template<typename StructType> 101 virtual bool ConvertField(const base::Value& value, StructType* obj) 117 template <typename StructType, typename FieldType> 118 class FieldConverter : public FieldConverterBase<StructType> { 121 FieldType StructType::* field, 123 : FieldConverterBase<StructType>(path), 128 bool ConvertField(const base::Value& value, StructType* dst) const override { 133 FieldType StructType::* field_pointer_; 359 template <class StructType> [all...] |
/external/clang/test/Sema/ |
invalid-decl.c | 28 } StructType; 29 void f(StructType *buf) {
|
/external/llvm/include/llvm/IR/ |
GVMaterializer.h | 30 class StructType; 58 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 | 146 /// 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...] |
/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...] |
/external/llvm/lib/IR/ |
Operator.cpp | 30 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
|
Type.cpp | 103 if (auto *STy = dyn_cast<StructType>(this)) { 162 return cast<StructType>(this)->isSized(Visited); 186 return cast<StructType>(this)->getName(); 190 return cast<StructType>(this)->getNumElements(); 194 return cast<StructType>(this)->getElementType(N); 393 // StructType Implementation 398 StructType *StructType::get(LLVMContext &Context, ArrayRef<Type*> ETypes, 403 StructType *ST; 407 ST = new (Context.pImpl->TypeAllocator) StructType(Context) [all...] |
/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/deqp/external/vulkancts/modules/vulkan/ubo/ |
vktUniformBlockCase.hpp | 64 class StructType; 73 explicit VarType (const StructType* structPtr); 86 const StructType& getStruct (void) const { return *m_data.structPtr; } 110 const StructType* structPtr; 140 class StructType 146 StructType (const std::string& typeName) : m_typeName(typeName) {} 147 ~StructType (void) {} 212 typedef de::SharedPtr<StructType> StructTypeSP; 221 StructType& allocStruct (const std::string& name); 222 void getNamedStructs (std::vector<const StructType*>& structs) const [all...] |
/external/llvm/lib/Linker/ |
IRMover.cpp | 37 SmallVector<StructType *, 16> SpeculativeDstOpaqueTypes; 41 SmallVector<StructType *, 16> SrcDefinitionsToResolve; 45 SmallPtrSet<StructType *, 16> DstResolvedOpaqueTypes; 63 Type *get(Type *SrcTy, SmallPtrSet<StructType *, 8> &Visited); 65 void finishType(StructType *DTy, StructType *STy, ArrayRef<Type *> ETypes); 92 for (StructType *Ty : SpeculativeDstOpaqueTypes) 96 if (auto *STy = dyn_cast<StructType>(Ty)) 126 if (StructType *SSTy = dyn_cast<StructType>(SrcTy)) [all...] |
/frameworks/compile/libbcc/include/bcc/Renderscript/ |
RSUtils.h | 30 static inline llvm::StringRef getUnsuffixedStructName(const llvm::StructType *T) { 84 const llvm::StringRef StructName = getUnsuffixedStructName(llvm::dyn_cast<const llvm::StructType>(T));
|
/frameworks/compile/slang/ |
slang_rs_export_func.h | 33 class StructType; 102 bool checkParameterPacketType(llvm::StructType *ParamTy) const;
|
/external/llvm/lib/Target/NVPTX/ |
NVPTXLowerKernelArgs.cpp | 150 Type *StructType = PType->getElementType(); 151 AllocaInst *AllocA = new AllocaInst(StructType, Arg->getName(), FirstInst); 159 Arg, PointerType::get(StructType, ADDRESS_SPACE_PARAM), Arg->getName(),
|
/external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
vktSSBOLayoutCase.hpp | 113 glu::StructType& allocStruct (const char* name); 114 const glu::StructType* findStruct (const char* name) const; 115 void getNamedStructs (std::vector<const glu::StructType*>& structs) const; 126 std::vector<glu::StructType*> m_structs;
|
/external/llvm/lib/Target/ |
Target.cpp | 121 StructType *STy = unwrap<StructType>(StructTy); 127 StructType *STy = unwrap<StructType>(StructTy);
|