/external/llvm/include/llvm/Linker/ |
D | IRMover.h | 22 class StructType; variable 32 KeyTy(const StructType *ST); 36 static StructType *getEmptyKey(); 37 static StructType *getTombstoneKey(); 39 static unsigned getHashValue(const StructType *ST); 40 static bool isEqual(const KeyTy &LHS, const StructType *RHS); 41 static bool isEqual(const StructType *LHS, const StructType *RHS); 50 DenseSet<StructType *> OpaqueStructTypes; 53 DenseSet<StructType *, StructTypeKeyInfo> NonOpaqueStructTypes; 56 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/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Type.cpp | 120 const StructType *STy = dyn_cast<StructType>(this); in isEmptyTy() 185 if (cast<StructType>(this)->isOpaque()) in isSizedDerivedType() 378 StructType *StructType::get(LLVMContext &Context, ArrayRef<Type*> ETypes, in get() 390 StructType *&ST = Context.pImpl->AnonStructTypes[Key]; in get() 394 ST = new (Context.pImpl->TypeAllocator) StructType(Context); in get() 400 void StructType::setBody(ArrayRef<Type*> Elements, bool isPacked) { in setBody() 415 void StructType::setName(StringRef Name) { in setName() 429 StringMapEntry<StructType*> *Entry = in setName() 457 StructType *StructType::create(LLVMContext &Context, StringRef Name) { in create() 458 StructType *ST = new (Context.pImpl->TypeAllocator) StructType(Context); in create() [all …]
|
/external/llvm/lib/IR/ |
D | Type.cpp | 97 if (auto *STy = dyn_cast<StructType>(this)) { in isEmptyTy() 147 return cast<StructType>(this)->isSized(Visited); in isSizedDerivedType() 330 StructType *StructType::get(LLVMContext &Context, ArrayRef<Type*> ETypes, in get() 335 StructType *ST; in get() 339 ST = new (Context.pImpl->TypeAllocator) StructType(Context); in get() 350 void StructType::setBody(ArrayRef<Type*> Elements, bool isPacked) { in setBody() 367 void StructType::setName(StringRef Name) { in setName() 370 StringMap<StructType *> &SymbolTable = getContext().pImpl->NamedStructTypes; in setName() 371 typedef StringMap<StructType *>::MapEntryTy EntryTy; in setName() 417 StructType *StructType::create(LLVMContext &Context, StringRef Name) { in create() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | DerivedTypes.h | 189 class StructType : public CompositeType { 190 StructType(const StructType &); // Do not implement 191 const StructType &operator=(const StructType &); // Do not implement 192 StructType(LLVMContext &C) in StructType() function 208 ~StructType() { in ~StructType() 213 static StructType *create(LLVMContext &Context, StringRef Name); 214 static StructType *create(LLVMContext &Context); 216 static StructType *create(ArrayRef<Type*> Elements, 219 static StructType *create(ArrayRef<Type*> Elements); 220 static StructType *create(LLVMContext &Context, [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 | 219 static StructType *get(LLVMContext &Context) { in get() 226 static StructType *const result = StructType::get(Context, st); in get() 242 static StructType *get(LLVMContext &Context) { in get() 249 static StructType *const result = StructType::get(Context, st); in get() 267 EXPECT_EQ(PointerType::getUnqual(StructType::get( in TEST() 273 PointerType::getUnqual(StructType::get( in TEST() 279 PointerType::getUnqual(StructType::get( in TEST()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | DerivedTypes.h | 199 class StructType : public CompositeType { 200 StructType(LLVMContext &C) in StructType() function 218 StructType(const StructType &) = delete; 219 StructType &operator=(const StructType &) = delete; 222 static StructType *create(LLVMContext &Context, StringRef Name); 223 static StructType *create(LLVMContext &Context); 225 static StructType *create(ArrayRef<Type *> Elements, StringRef Name, 227 static StructType *create(ArrayRef<Type *> Elements); 228 static StructType *create(LLVMContext &Context, ArrayRef<Type *> Elements, 230 static StructType *create(LLVMContext &Context, ArrayRef<Type *> Elements); [all …]
|
/external/llvm/include/llvm/IR/ |
D | DerivedTypes.h | 196 class StructType : public CompositeType { 197 StructType(const StructType &) = delete; 198 const StructType &operator=(const StructType &) = delete; 199 StructType(LLVMContext &C) in StructType() function 217 static StructType *create(LLVMContext &Context, StringRef Name); 218 static StructType *create(LLVMContext &Context); 220 static StructType *create(ArrayRef<Type *> Elements, StringRef Name, 222 static StructType *create(ArrayRef<Type *> Elements); 223 static StructType *create(LLVMContext &Context, ArrayRef<Type *> Elements, 225 static StructType *create(LLVMContext &Context, ArrayRef<Type *> Elements); [all …]
|
D | TypeFinder.h | 26 class StructType; variable 38 std::vector<StructType*> StructTypes; 47 typedef std::vector<StructType*>::iterator iterator; 48 typedef std::vector<StructType*>::const_iterator const_iterator; 60 StructType *&operator[](unsigned Idx) { return StructTypes[Idx]; }
|
/external/llvm/lib/Linker/ |
D | IRMover.cpp | 40 SmallVector<StructType *, 16> SpeculativeDstOpaqueTypes; 44 SmallVector<StructType *, 16> SrcDefinitionsToResolve; 48 SmallPtrSet<StructType *, 16> DstResolvedOpaqueTypes; 66 Type *get(Type *SrcTy, SmallPtrSet<StructType *, 8> &Visited); 68 void finishType(StructType *DTy, StructType *STy, ArrayRef<Type *> ETypes); 95 for (StructType *Ty : SpeculativeDstOpaqueTypes) in addTypeMapping() 99 if (auto *STy = dyn_cast<StructType>(Ty)) in addTypeMapping() 129 if (StructType *SSTy = dyn_cast<StructType>(SrcTy)) { in areTypesIsomorphic() 141 if (cast<StructType>(DstTy)->isOpaque()) { in areTypesIsomorphic() 143 if (!DstResolvedOpaqueTypes.insert(cast<StructType>(DstTy)).second) in areTypesIsomorphic() [all …]
|
/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/clang/lib/CodeGen/ |
D | CGOpenCLRuntime.cpp | 46 llvm::StructType::create(Ctx, "opencl." #ImgType "_" #Suffix "_t"), \ in convertOpenCLSpecificType() 52 return llvm::PointerType::get(llvm::StructType::create( in convertOpenCLSpecificType() 56 llvm::StructType::create(Ctx, "opencl.clk_event_t"), 0); in convertOpenCLSpecificType() 59 llvm::StructType::create(Ctx, "opencl.queue_t"), 0); in convertOpenCLSpecificType() 62 llvm::StructType::create(Ctx, "opencl.ndrange_t"), 0); in convertOpenCLSpecificType() 65 llvm::StructType::create(Ctx, "opencl.reserve_id_t"), 0); in convertOpenCLSpecificType() 73 PipeTy = llvm::PointerType::get(llvm::StructType::create( in getPipeType()
|
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() 331 return llvm::StructType::get(getLLVMContext()); in ConvertFunctionType() 339 return llvm::StructType::get(getLLVMContext()); in ConvertFunctionType() 359 ResultType = llvm::StructType::get(getLLVMContext()); in ConvertFunctionType() 493 ResultType = llvm::StructType::get(EltTy, EltTy, nullptr); in ConvertType() 574 T = llvm::StructType::create(getLLVMContext()); in ConvertType() 612 ResultType = llvm::StructType::create(getLLVMContext()); in ConvertType() 632 ResultType = llvm::StructType::get(getLLVMContext(), in ConvertType() 658 llvm::StructType *CodeGenTypes::ConvertRecordDeclType(const RecordDecl *RD) { in ConvertRecordDeclType() [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 | 71 class StructType; 80 explicit VarType (const StructType* structPtr, deUint32 flags = 0u); 93 const StructType& getStruct (void) const { return *m_data.structPtr; } in getStruct() 117 const StructType* structPtr; 147 class StructType class 153 StructType (const std::string& typeName) : m_typeName(typeName) {} in StructType() function in vkt::ubo::StructType 154 ~StructType (void) {} in ~StructType() 219 typedef de::SharedPtr<StructType> StructTypeSP; 228 StructType& allocStruct (const std::string& name); 229 void getNamedStructs (std::vector<const StructType*>& structs) const;
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkQueryUtil.hpp | 112 template<typename StructType> 115 template<typename StructType> 116 const StructType* findStructure (const void* first) in findStructure() 118 …return reinterpret_cast<const StructType*>(findStructureInChain(first, getStructureType<StructType… in findStructure() 121 template<typename StructType> 122 StructType* findStructure (void* first) in findStructure() 124 return reinterpret_cast<StructType*>(findStructureInChain(first, getStructureType<StructType>())); in findStructure()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/ |
D | builder.cpp | 59 …mV4FP32Ty = StructType::get(pJitMgr->mContext, std::vector<Type*>(4, mFP32Ty), false); // vector4 … in Builder() 60 …mV4Int32Ty = StructType::get(pJitMgr->mContext, std::vector<Type*>(4, mInt32Ty), false); // vector… in Builder() 67 … mSimdVectorTy = StructType::get(pJitMgr->mContext, std::vector<Type*>(4, mSimdFP32Ty), false); in Builder() 68 … mSimdVectorTRTy = StructType::get(pJitMgr->mContext, std::vector<Type*>(5, mSimdFP32Ty), false); in Builder()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | EfficiencySanitizer.cpp | 165 bool shouldIgnoreStructType(StructType *StructTy); 167 StructType *StructTy, SmallString<MaxStructCounterNameSize> &NameStr); 169 Module &M, const DataLayout &DL, StructType *StructTy, 179 bool insertCounterUpdate(Instruction *I, StructType *StructTy, 181 unsigned getFieldCounterIdx(StructType *StructTy) { in getFieldCounterIdx() 184 unsigned getArrayCounterIdx(StructType *StructTy) { in getArrayCounterIdx() 187 unsigned getStructCounterSize(StructType *StructTy) { in getStructCounterSize() 289 bool EfficiencySanitizer::shouldIgnoreStructType(StructType *StructTy) { in shouldIgnoreStructType() 296 StructType *StructTy, SmallString<MaxStructCounterNameSize> &NameStr) { in createStructCounterName() 325 Module &M, const DataLayout &DL, StructType *StructTy, in createCacheFragAuxGV() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Linker/ |
D | LinkModules.cpp | 43 SmallVector<StructType*, 16> DefinitionsToResolve; 113 if (StructType *SSTy = dyn_cast<StructType>(SrcTy)) { in areTypesIsomorphic() 123 if (cast<StructType>(DstTy)->isOpaque()) { in areTypesIsomorphic() 143 } else if (StructType *DSTy = dyn_cast<StructType>(DstTy)) { in areTypesIsomorphic() 144 StructType *SSTy = cast<StructType>(SrcTy); in areTypesIsomorphic() 179 StructType *SrcSTy = DefinitionsToResolve.pop_back_val(); in linkDefinedTypeBodies() 180 StructType *DstSTy = cast<StructType>(MappedTypes[SrcSTy]); in linkDefinedTypeBodies() 229 if (!isa<StructType>(Ty) || cast<StructType>(Ty)->isLiteral()) { in getImpl() 271 return *Entry = StructType::get(Ty->getContext(), ElementTypes, in getImpl() 272 cast<StructType>(Ty)->isPacked()); in getImpl() [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | ModuleUtils.cpp | 31 StructType *EltTy; in appendToGlobalArray() 34 StructType *OldEltTy = cast<StructType>(ATy->getElementType()); in appendToGlobalArray() 37 EltTy = StructType::get(IRB.getInt32Ty(), PointerType::getUnqual(FnTy), in appendToGlobalArray() 57 EltTy = StructType::get(IRB.getInt32Ty(), PointerType::getUnqual(FnTy), in appendToGlobalArray()
|
/external/swiftshader/third_party/LLVM/lib/Target/ |
D | Target.cpp | 96 StructType *STy = unwrap<StructType>(StructTy); in LLVMElementAtOffset() 102 StructType *STy = unwrap<StructType>(StructTy); in LLVMOffsetOfElement()
|
/external/swiftshader/third_party/LLVM/unittests/Support/ |
D | TypeBuilderTest.cpp | 187 static StructType *get(LLVMContext &Context) { in get() 194 static StructType *const result = StructType::get(Context, st); in get() 210 static StructType *get(LLVMContext &Context) { in get() 217 static StructType *const result = StructType::get(Context, st); in get() 234 EXPECT_EQ(PointerType::getUnqual(StructType::get( in TEST() 240 EXPECT_EQ(PointerType::getUnqual(StructType::get( in TEST() 246 EXPECT_EQ(PointerType::getUnqual(StructType::get( in TEST()
|