Home
last modified time | relevance | path

Searched refs:StructType (Results 1 – 25 of 548) sorted by relevance

12345678910>>...22

/external/llvm/include/llvm/Linker/
DIRMover.h22 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/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Linker/
DIRMover.h21 class StructType; variable
31 KeyTy(const StructType *ST);
35 static StructType *getEmptyKey();
36 static StructType *getTombstoneKey();
38 static unsigned getHashValue(const StructType *ST);
39 static bool isEqual(const KeyTy &LHS, const StructType *RHS);
40 static bool isEqual(const StructType *LHS, const StructType *RHS);
49 DenseSet<StructType *> OpaqueStructTypes;
52 DenseSet<StructType *, StructTypeKeyInfo> NonOpaqueStructTypes;
55 void addNonOpaque(StructType *Ty);
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Linker/
DIRMover.h22 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/cronet/stable/base/json/
Djson_value_converter.h90 template <typename StructType>
95 template <typename StructType>
105 StructType* obj) const = 0;
119 template <typename StructType, typename FieldType>
120 class FieldConverter : public FieldConverterBase<StructType> {
123 FieldType StructType::*field, in FieldConverter()
125 : FieldConverterBase<StructType>(path), in FieldConverter()
132 bool ConvertField(const base::Value& value, StructType* dst) const override { in ConvertField()
137 FieldType StructType::*field_pointer_;
365 template <class StructType>
[all …]
/external/cronet/tot/base/json/
Djson_value_converter.h90 template <typename StructType>
95 template <typename StructType>
105 StructType* obj) const = 0;
119 template <typename StructType, typename FieldType>
120 class FieldConverter : public FieldConverterBase<StructType> {
123 FieldType StructType::*field, in FieldConverter()
125 : FieldConverterBase<StructType>(path), in FieldConverter()
132 bool ConvertField(const base::Value& value, StructType* dst) const override { in ConvertField()
137 FieldType StructType::*field_pointer_;
365 template <class StructType>
[all …]
/external/libchrome/base/json/
Djson_value_converter.h90 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/
DType.cpp97 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-10.0/llvm/lib/IR/
DType.cpp104 if (auto *STy = dyn_cast<StructType>(this)) { in isEmptyTy()
158 return cast<StructType>(this)->isSized(Visited); in isSizedDerivedType()
346 StructType *StructType::get(LLVMContext &Context, ArrayRef<Type*> ETypes, in get()
351 StructType *ST; in get()
361 ST = new (Context.pImpl->Alloc) StructType(Context); in get()
373 void StructType::setBody(ArrayRef<Type*> Elements, bool isPacked) { in setBody()
390 void StructType::setName(StringRef Name) { in setName()
393 StringMap<StructType *> &SymbolTable = getContext().pImpl->NamedStructTypes; in setName()
395 using EntryTy = StringMap<StructType *>::MapEntryTy; in setName()
441 StructType *StructType::create(LLVMContext &Context, StringRef Name) { in create()
[all …]
/external/llvm/unittests/IR/
DTypesTest.cpp17 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/google-cloud-java/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/
DStructType.java30 public final class StructType extends com.google.protobuf.GeneratedMessageV3 class
36 private StructType(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { in StructType() method in StructType
40 private StructType() {} in StructType() method in StructType
45 return new StructType(); in newInstance()
75 com.google.cloud.automl.v1beta1.StructType.class, in internalGetFieldAccessorTable()
76 com.google.cloud.automl.v1beta1.StructType.Builder.class); in internalGetFieldAccessorTable()
242 if (!(obj instanceof com.google.cloud.automl.v1beta1.StructType)) { in equals()
245 com.google.cloud.automl.v1beta1.StructType other = in equals()
246 (com.google.cloud.automl.v1beta1.StructType) obj; in equals()
269 public static com.google.cloud.automl.v1beta1.StructType parseFrom(java.nio.ByteBuffer data) in parseFrom()
[all …]
/external/llvm/include/llvm/IR/
DDerivedTypes.h196 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 …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DDerivedTypes.h199 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/deqp/external/vulkancts/framework/vulkan/
DvkQueryUtil.hpp165 template <typename StructType>
168 template <typename StructType>
169 const StructType *findStructure(const void *first) in findStructure()
171 …return reinterpret_cast<const StructType *>(findStructureInChain(first, getStructureType<StructTyp… in findStructure()
174 template <typename StructType>
175 StructType *findStructure(void *first) in findStructure()
177 …return reinterpret_cast<StructType *>(findStructureInChain(first, getStructureType<StructType>())); in findStructure()
186 template <class StructType>
187 operator StructType() in operator StructType()
189 StructType result; in operator StructType()
[all …]
/external/llvm/lib/Linker/
DIRMover.cpp40 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/
DgluVarType.hpp36 class StructType;
55 explicit VarType(const StructType *structPtr); //!< Struct type constructor.
93 const StructType *getStructPtr(void) const in getStructPtr()
139 const StructType *structPtr;
182 class StructType class
188 StructType(const char *typeName) : m_typeName(typeName) in StructType() function in glu::StructType
191 ~StructType(void) in ~StructType()
232 bool operator==(const StructType &other) const;
233 bool operator!=(const StructType &other) const;
371 DeclareStructTypePtr(const StructType *structPtr_, int indentLevel_) in DeclareStructTypePtr()
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/lib/IR/
DType.cpp152 if (auto *STy = dyn_cast<StructType>(this)) { in isEmptyTy()
217 return cast<StructType>(this)->isSized(Visited); in isSizedDerivedType()
408 StructType *StructType::get(LLVMContext &Context, ArrayRef<Type*> ETypes, in get()
413 StructType *ST; in get()
423 ST = new (Context.pImpl->Alloc) StructType(Context); in get()
435 bool StructType::containsScalableVectorType() const { in containsScalableVectorType()
439 if (auto *STy = dyn_cast<StructType>(Ty)) in containsScalableVectorType()
447 void StructType::setBody(ArrayRef<Type*> Elements, bool isPacked) { in setBody()
464 void StructType::setName(StringRef Name) { in setName()
467 StringMap<StructType *> &SymbolTable = getContext().pImpl->NamedStructTypes; in setName()
[all …]
/external/clang/lib/CodeGen/
DCGOpenCLRuntime.cpp46 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()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDerivedTypes.h238 class StructType : public CompositeType {
239 StructType(LLVMContext &C) : CompositeType(C, StructTyID) {} in StructType() function
256 StructType(const StructType &) = delete;
257 StructType &operator=(const StructType &) = delete;
260 static StructType *create(LLVMContext &Context, StringRef Name);
261 static StructType *create(LLVMContext &Context);
263 static StructType *create(ArrayRef<Type *> Elements, StringRef Name,
265 static StructType *create(ArrayRef<Type *> Elements);
266 static StructType *create(LLVMContext &Context, ArrayRef<Type *> Elements,
268 static StructType *create(LLVMContext &Context, ArrayRef<Type *> Elements);
[all …]
DGetElementPtrTypeIterator.h36 PointerUnion<StructType *, Type *> CurTy;
71 return CurTy.get<StructType *>()->getTypeAtIndex(getOperand()); in getIndexedType()
82 CurTy = dyn_cast<StructType>(Ty);
106 bool isStruct() const { return CurTy.is<StructType *>(); } in isStruct()
109 StructType *getStructType() const { return CurTy.get<StructType *>(); } in getStructType()
111 StructType *getStructTypeOrNull() const { in getStructTypeOrNull()
112 return CurTy.dyn_cast<StructType *>(); in getStructTypeOrNull()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Linker/
DIRMover.cpp39 SmallVector<StructType *, 16> SpeculativeDstOpaqueTypes;
43 SmallVector<StructType *, 16> SrcDefinitionsToResolve;
47 SmallPtrSet<StructType *, 16> DstResolvedOpaqueTypes;
65 Type *get(Type *SrcTy, SmallPtrSet<StructType *, 8> &Visited);
67 void finishType(StructType *DTy, StructType *STy, ArrayRef<Type *> ETypes);
94 for (StructType *Ty : SpeculativeDstOpaqueTypes) in addTypeMapping()
104 if (auto *STy = dyn_cast<StructType>(Ty)) in addTypeMapping()
134 if (StructType *SSTy = dyn_cast<StructType>(SrcTy)) { in areTypesIsomorphic()
146 if (cast<StructType>(DstTy)->isOpaque()) { in areTypesIsomorphic()
148 if (!DstResolvedOpaqueTypes.insert(cast<StructType>(DstTy)).second) in areTypesIsomorphic()
[all …]
/external/deqp/modules/glshared/
DglsUniformBlockCase.hpp69 class StructType;
78 explicit VarType(const StructType *structPtr, uint32_t flags = 0u);
112 const StructType &getStruct(void) const in getStruct()
139 const StructType *structPtr;
178 class StructType class
184 StructType(const char *typeName) : m_typeName(typeName) in StructType() function in deqp::gls::ub::StructType
187 ~StructType(void) in ~StructType()
321 StructType &allocStruct(const char *name);
322 const StructType *findStruct(const char *name) const;
323 void getNamedStructs(std::vector<const StructType *> &structs) const;
[all …]
/external/deqp/external/openglcts/modules/common/
DglcUniformBlockCase.hpp64 class StructType;
73 explicit VarType(const StructType *structPtr);
107 const StructType &getStruct(void) const in getStruct()
134 const StructType *structPtr;
173 class StructType class
179 StructType(const char *typeName) : m_typeName(typeName) in StructType() function in deqp::ub::StructType
182 ~StructType(void) in ~StructType()
316 StructType &allocStruct(const char *name);
317 const StructType *findStruct(const char *name) const;
318 void getNamedStructs(std::vector<const StructType *> &structs) const;
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/IR/
DGetElementPtrTypeIterator.h34 PointerUnion<StructType *, Type *> CurTy;
73 return CurTy.get<StructType *>()->getTypeAtIndex(getOperand()); in getIndexedType()
85 CurTy = dyn_cast<StructType>(Ty);
111 bool isStruct() const { return CurTy.is<StructType *>(); } in isStruct()
114 StructType *getStructType() const { return CurTy.get<StructType *>(); } in getStructType()
116 StructType *getStructTypeOrNull() const { in getStructTypeOrNull()
117 return CurTy.dyn_cast<StructType *>(); in getStructTypeOrNull()
DDerivedTypes.h213 class StructType : public Type {
214 StructType(LLVMContext &C) : Type(C, StructTyID) {} in StructType() function
231 StructType(const StructType &) = delete;
232 StructType &operator=(const StructType &) = delete;
235 static StructType *create(LLVMContext &Context, StringRef Name);
236 static StructType *create(LLVMContext &Context);
238 static StructType *create(ArrayRef<Type *> Elements, StringRef Name,
240 static StructType *create(ArrayRef<Type *> Elements);
241 static StructType *create(LLVMContext &Context, ArrayRef<Type *> Elements,
243 static StructType *create(LLVMContext &Context, ArrayRef<Type *> Elements);
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Linker/
DIRMover.cpp50 SmallVector<StructType *, 16> SpeculativeDstOpaqueTypes;
54 SmallVector<StructType *, 16> SrcDefinitionsToResolve;
58 SmallPtrSet<StructType *, 16> DstResolvedOpaqueTypes;
76 Type *get(Type *SrcTy, SmallPtrSet<StructType *, 8> &Visited);
78 void finishType(StructType *DTy, StructType *STy, ArrayRef<Type *> ETypes);
105 for (StructType *Ty : SpeculativeDstOpaqueTypes) in addTypeMapping()
115 if (auto *STy = dyn_cast<StructType>(Ty)) in addTypeMapping()
145 if (StructType *SSTy = dyn_cast<StructType>(SrcTy)) { in areTypesIsomorphic()
157 if (cast<StructType>(DstTy)->isOpaque()) { in areTypesIsomorphic()
159 if (!DstResolvedOpaqueTypes.insert(cast<StructType>(DstTy)).second) in areTypesIsomorphic()
[all …]

12345678910>>...22