/external/swiftshader/third_party/llvm-7.0/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/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 | 90 template <typename StructType> 95 template<typename StructType> 100 virtual bool ConvertField(const base::Value& value, StructType* obj) 116 template <typename StructType, typename FieldType> 117 class FieldConverter : public FieldConverterBase<StructType> { 120 FieldType StructType::* field, in FieldConverter() 122 : FieldConverterBase<StructType>(path), in FieldConverter() 127 bool ConvertField(const base::Value& value, StructType* dst) const override { in ConvertField() 132 FieldType StructType::* field_pointer_; 359 template <class StructType> [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-7.0/llvm/lib/IR/ |
D | Type.cpp | 104 if (auto *STy = dyn_cast<StructType>(this)) { in isEmptyTy() 154 return cast<StructType>(this)->isSized(Visited); in isSizedDerivedType() 336 StructType *StructType::get(LLVMContext &Context, ArrayRef<Type*> ETypes, in get() 341 StructType *ST; in get() 345 ST = new (Context.pImpl->TypeAllocator) StructType(Context); in get() 356 void StructType::setBody(ArrayRef<Type*> Elements, bool isPacked) { in setBody() 373 void StructType::setName(StringRef Name) { in setName() 376 StringMap<StructType *> &SymbolTable = getContext().pImpl->NamedStructTypes; in setName() 378 using EntryTy = StringMap<StructType *>::MapEntryTy; in setName() 424 StructType *StructType::create(LLVMContext &Context, StringRef Name) { in create() [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()
|
/external/swiftshader/third_party/llvm-7.0/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()
|
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | DerivedTypes.h | 201 class StructType : public CompositeType { 202 StructType(LLVMContext &C) : CompositeType(C, StructTyID) {} in StructType() function 219 StructType(const StructType &) = delete; 220 StructType &operator=(const StructType &) = delete; 223 static StructType *create(LLVMContext &Context, StringRef Name); 224 static StructType *create(LLVMContext &Context); 226 static StructType *create(ArrayRef<Type *> Elements, StringRef Name, 228 static StructType *create(ArrayRef<Type *> Elements); 229 static StructType *create(LLVMContext &Context, ArrayRef<Type *> Elements, 231 static StructType *create(LLVMContext &Context, ArrayRef<Type *> Elements); [all …]
|
D | GetElementPtrTypeIterator.h | 37 PointerUnion<StructType *, Type *> CurTy; 72 return CurTy.get<StructType *>()->getTypeAtIndex(getOperand()); in getIndexedType() 83 CurTy = dyn_cast<StructType>(Ty); 107 bool isStruct() const { return CurTy.is<StructType *>(); } in isStruct() 110 StructType *getStructType() const { return CurTy.get<StructType *>(); } in getStructType() 112 StructType *getStructTypeOrNull() const { in getStructTypeOrNull() 113 return CurTy.dyn_cast<StructType *>(); in getStructTypeOrNull()
|
D | TypeFinder.h | 25 class StructType; variable 38 std::vector<StructType*> StructTypes; 47 using iterator = std::vector<StructType*>::iterator; 48 using const_iterator = std::vector<StructType*>::const_iterator; 60 StructType *&operator[](unsigned Idx) { return StructTypes[Idx]; }
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkQueryUtil.hpp | 128 template<typename StructType> 131 template<typename StructType> 132 const StructType* findStructure (const void* first) in findStructure() 134 …return reinterpret_cast<const StructType*>(findStructureInChain(first, getStructureType<StructType… in findStructure() 137 template<typename StructType> 138 StructType* findStructure (void* first) in findStructure() 140 return reinterpret_cast<StructType*>(findStructureInChain(first, getStructureType<StructType>())); in findStructure() 147 template<class StructType> 148 operator StructType() in operator StructType() 150 StructType result; in operator StructType() [all …]
|
/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() 102 …for (StructType::ConstIterator iter = m_data.structPtr->begin(); iter != m_data.structPtr->end(); … in getScalarSize() 156 void StructType::addMember (const char* name, const VarType& type) in addMember() 161 bool StructType::operator== (const StructType& other) const in operator ==() 166 bool StructType::operator!= (const StructType& other) const in operator !=() 379 const StructType* structPtr = curType->getStructPtr(); in operator <<() 414 …for (StructType::ConstIterator memberIter = decl.structPtr->begin(); memberIter != decl.structPtr-… in operator <<()
|
/external/swiftshader/third_party/llvm-7.0/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() 105 if (auto *STy = dyn_cast<StructType>(Ty)) in addTypeMapping() 135 if (StructType *SSTy = dyn_cast<StructType>(SrcTy)) { in areTypesIsomorphic() 147 if (cast<StructType>(DstTy)->isOpaque()) { in areTypesIsomorphic() 149 if (!DstResolvedOpaqueTypes.insert(cast<StructType>(DstTy)).second) in areTypesIsomorphic() [all …]
|
/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()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcUniformBlockCase.hpp | 64 class StructType; 73 explicit VarType(const StructType* structPtr); 107 const StructType& getStruct(void) const in getStruct() 133 const StructType* structPtr; 172 class StructType class 178 StructType(const char* typeName) : m_typeName(typeName) in StructType() function in deqp::ub::StructType 181 ~StructType(void) in ~StructType() 315 StructType& allocStruct(const char* name); 316 const StructType* findStruct(const char* name) const; 317 void getNamedStructs(std::vector<const StructType*>& structs) const; [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 | 78 class StructType; 87 explicit VarType (const StructType* structPtr, deUint32 flags = 0u); 100 const StructType& getStruct (void) const { return *m_data.structPtr; } in getStruct() 101 …const StructType* getStructPtr (void) const { DE_ASSERT(isStructType()); return m_data.structPtr; … in getStructPtr() 125 const StructType* structPtr; 155 class StructType class 161 StructType (const std::string& typeName) : m_typeName(typeName) {} in StructType() function in vkt::ubo::StructType 162 ~StructType (void) {} in ~StructType() 227 typedef de::SharedPtr<StructType> StructTypeSP; 236 StructType& allocStruct (const std::string& name); [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/transform_feedback/ |
D | vktTransformFeedbackFuzzLayoutCase.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; 150 class StructType class 156 StructType (const std::string& typeName) : m_typeName(typeName) {} in StructType() function in vkt::TransformFeedback::StructType 157 ~StructType (void) {} in ~StructType() 226 typedef de::SharedPtr<StructType> StructTypeSP; 235 StructType& allocStruct (const std::string& name); 236 void getNamedStructs (std::vector<const StructType*>& structs) const;
|
/external/v8/src/wasm/ |
D | struct-types.h | 18 class StructType : public ZoneObject { 20 StructType(uint32_t field_count, uint32_t* field_offsets, in StructType() function 49 bool operator==(const StructType& other) const { 57 bool operator!=(const StructType& other) const { return !(*this == other); } 97 StructType* Build() { in Build() 100 return zone_->New<StructType>(field_count_, offsets, buffer_, in Build()
|