/external/llvm/include/llvm/Linker/ |
D | IRMover.h | 21 class StructType; variable 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; 51 void addNonOpaque(StructType *Ty); [all …]
|
/external/libchrome/base/json/ |
D | 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, in FieldConverter() 123 : FieldConverterBase<StructType>(path), in FieldConverter() 128 bool ConvertField(const base::Value& value, StructType* dst) const override { in ConvertField() 133 FieldType StructType::* field_pointer_; 359 template <class StructType> [all …]
|
/external/clang/lib/CodeGen/ |
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() 60 llvm::StructType::create(Ctx, "opencl.image2d_depth_t"), ImgAddrSpc); in convertOpenCLSpecificType() 63 llvm::StructType::create(Ctx, "opencl.image2d_array_depth_t"), in convertOpenCLSpecificType() 67 llvm::StructType::create(Ctx, "opencl.image2d_msaa_t"), ImgAddrSpc); in convertOpenCLSpecificType() 70 llvm::StructType::create(Ctx, "opencl.image2d_array_msaa_t"), in convertOpenCLSpecificType() 74 llvm::StructType::create(Ctx, "opencl.image2d_msaa_depth_t"), in convertOpenCLSpecificType() [all …]
|
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()
|
D | CodeGenTypes.cpp | 48 llvm::StructType *Ty, in addRecordTypeName() 99 llvm::DenseMap<const Type*, llvm::StructType *>::const_iterator I = in isRecordLayoutComplete() 320 return llvm::StructType::get(getLLVMContext()); in ConvertFunctionType() 328 return llvm::StructType::get(getLLVMContext()); in ConvertFunctionType() 348 ResultType = llvm::StructType::get(getLLVMContext()); in ConvertFunctionType() 490 ResultType = llvm::StructType::get(EltTy, EltTy, nullptr); in ConvertType() 571 T = llvm::StructType::create(getLLVMContext()); in ConvertType() 607 return llvm::StructType::create(getLLVMContext()); in ConvertType() 626 ResultType = llvm::StructType::get(getLLVMContext(), in ConvertType() 648 llvm::StructType *CodeGenTypes::ConvertRecordDeclType(const RecordDecl *RD) { in ConvertRecordDeclType() [all …]
|
D | CodeGenTypes.h | 30 class StructType; variable 142 llvm::DenseMap<const Type*, llvm::StructType *> RecordDeclTypes; 297 llvm::StructType *Ty); 301 void addRecordTypeName(const RecordDecl *RD, llvm::StructType *Ty, 307 llvm::StructType *ConvertRecordDeclType(const RecordDecl *TD);
|
D | CGObjCGNU.cpp | 104 llvm::StructType *ObjCSuperTy; 192 llvm::GlobalVariable *MakeGlobal(llvm::StructType *Ty, in MakeGlobal() 709 llvm::StructType *SlotStructTy = llvm::StructType::get(PtrTy, in CGObjCGNUstep() 953 ObjCSuperTy = llvm::StructType::get(IdTy, IdTy, nullptr); in CGObjCGNU() 1178 MakeGlobal(llvm::StructType::get(PtrToInt8Ty, PtrToInt8Ty, nullptr), in GetEHType() 1216 llvm::StructType::get(PtrToIdTy, PtrToInt8Ty, IntTy, nullptr), in GenerateConstantString() 1295 llvm::Type *CastTy = llvm::StructType::get(IdTy, IdTy, nullptr); in GenerateMessageSendSuper() 1304 llvm::StructType *ObjCSuperTy = llvm::StructType::get( in GenerateMessageSendSuper() 1494 llvm::StructType *ObjCMethodTy = llvm::StructType::get( in GenerateMethodList() 1524 llvm::StructType *ObjCMethodListTy = llvm::StructType::create(VMContext); in GenerateMethodList() [all …]
|
/external/llvm/lib/IR/ |
D | Type.cpp | 103 if (auto *STy = dyn_cast<StructType>(this)) { in isEmptyTy() 162 return cast<StructType>(this)->isSized(Visited); in isSizedDerivedType() 186 return cast<StructType>(this)->getName(); in getStructName() 190 return cast<StructType>(this)->getNumElements(); in getStructNumElements() 194 return cast<StructType>(this)->getElementType(N); in getStructElementType() 398 StructType *StructType::get(LLVMContext &Context, ArrayRef<Type*> ETypes, in get() 403 StructType *ST; in get() 407 ST = new (Context.pImpl->TypeAllocator) StructType(Context); in get() 418 void StructType::setBody(ArrayRef<Type*> Elements, bool isPacked) { in setBody() 435 void StructType::setName(StringRef Name) { in setName() [all …]
|
/external/llvm/unittests/IR/ |
D | TypesTest.cpp | 17 TEST(TypesTest, StructType) { in TEST() argument 21 StructType *Struct = StructType::create(C, "FooBar"); in TEST() 33 StructType *Foo = StructType::create(C, "Foo"); in TEST() 34 StructType *Bar = StructType::create(C, "Bar"); in TEST()
|
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()
|
/external/llvm/include/llvm/IR/ |
D | DerivedTypes.h | 190 class StructType : public CompositeType { 191 StructType(const StructType &) = delete; 192 const StructType &operator=(const StructType &) = delete; 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, StringRef Name, 217 static StructType *create(ArrayRef<Type *> Elements); 218 static StructType *create(LLVMContext &Context, ArrayRef<Type *> Elements, 220 static StructType *create(LLVMContext &Context, ArrayRef<Type *> Elements); [all …]
|
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]; }
|
D | GVMaterializer.h | 30 class StructType; variable 58 virtual std::vector<StructType *> getIdentifiedStructTypes() const = 0;
|
/external/deqp/framework/opengl/ |
D | 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; … in getStructPtr() 110 const StructType* structPtr; 140 class StructType class 146 StructType (const char* typeName) : m_typeName(typeName) {} in StructType() function in glu::StructType 147 ~StructType (void) {} in ~StructType() 162 bool operator== (const StructType& other) const; 163 bool operator!= (const StructType& other) const; 296 …DeclareStructTypePtr (const StructType* structPtr_, int indentLevel_) : structPtr(structPtr_), ind… in DeclareStructTypePtr() [all …]
|
D | gluVarType.cpp | 57 VarType::VarType (const StructType* structPtr) in VarType() 101 …for (StructType::ConstIterator iter = m_data.structPtr->begin(); iter != m_data.structPtr->end(); … in getScalarSize() 155 void StructType::addMember (const char* name, const VarType& type) in addMember() 160 bool StructType::operator== (const StructType& other) const in operator ==() 165 bool StructType::operator!= (const StructType& other) const in operator !=() 378 const StructType* structPtr = curType->getStructPtr(); in operator <<() 413 …for (StructType::ConstIterator memberIter = decl.structPtr->begin(); memberIter != decl.structPtr-… in operator <<()
|
/external/llvm/lib/Linker/ |
D | 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) in addTypeMapping() 96 if (auto *STy = dyn_cast<StructType>(Ty)) in addTypeMapping() 126 if (StructType *SSTy = dyn_cast<StructType>(SrcTy)) { in areTypesIsomorphic() 138 if (cast<StructType>(DstTy)->isOpaque()) { in areTypesIsomorphic() 140 if (!DstResolvedOpaqueTypes.insert(cast<StructType>(DstTy)).second) in areTypesIsomorphic() [all …]
|
/external/deqp/modules/glshared/ |
D | glsUniformBlockCase.hpp | 69 class StructType; 78 explicit VarType (const StructType* structPtr); 91 const StructType& getStruct (void) const { return *m_data.structPtr; } in getStruct() 115 const StructType* structPtr; 141 class StructType class 147 StructType (const char* typeName) : m_typeName(typeName) {} in StructType() function in deqp::gls::ub::StructType 148 ~StructType (void) {} in ~StructType() 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/ |
D | vktUniformBlockCase.hpp | 64 class StructType; 73 explicit VarType (const StructType* structPtr); 86 const StructType& getStruct (void) const { return *m_data.structPtr; } in getStruct() 110 const StructType* structPtr; 140 class StructType class 146 StructType (const std::string& typeName) : m_typeName(typeName) {} in StructType() function in vkt::ubo::StructType 147 ~StructType (void) {} in ~StructType() 212 typedef de::SharedPtr<StructType> StructTypeSP; 221 StructType& allocStruct (const std::string& name); 222 void getNamedStructs (std::vector<const StructType*>& structs) const;
|
/external/llvm/lib/Target/ |
D | Target.cpp | 121 StructType *STy = unwrap<StructType>(StructTy); in LLVMElementAtOffset() 127 StructType *STy = unwrap<StructType>(StructTy); in LLVMOffsetOfElement()
|
/external/deqp/modules/gles31/functional/ |
D | 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;
|
D | es31fUniformLocationTests.hpp | 31 class StructType; 41 typedef std::vector<glu::StructType*> StructList;
|
/external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
D | 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/CodeGen/ |
D | ShadowStackGCLowering.cpp | 36 StructType *StackEntryTy; 37 StructType *FrameMapTy; 146 StructType::get(Type::getInt8PtrTy(C), Type::getInt32Ty(C), nullptr); in Next() 222 StructType *STy = StructType::create(EltTys, "gc_map." + utostr(NumMeta)); in GetFrameMap() 256 return StructType::create(EltTys, ("gc_stackentry." + F.getName()).str()); in GetConcreteStackEntryType() 282 FrameMapTy = StructType::create(EltTys, "gc_map"); in doInitialization() 291 StackEntryTy = StructType::create(M.getContext(), "gc_stackentry"); in doInitialization()
|
/external/clang/test/Sema/ |
D | invalid-decl.c | 28 } StructType; typedef 29 void f(StructType *buf) { in f()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXLowerKernelArgs.cpp | 150 Type *StructType = PType->getElementType(); in handleByValParam() local 151 AllocaInst *AllocA = new AllocaInst(StructType, Arg->getName(), FirstInst); in handleByValParam() 159 Arg, PointerType::get(StructType, ADDRESS_SPACE_PARAM), Arg->getName(), in handleByValParam()
|