/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/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/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/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-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/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/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 …]
|
/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()
|
/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/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-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/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 …]
|
/external/syzkaller/sys/test/gen/ |
D | 64.go | 41 &StructType{Key: StructKey{Name: "anybitfields"}, FldName: "f5"}, 42 …: TypeCommon{TypeName: "array", FldName: "f6", IsVarlen: true}, Type: &StructType{Key: StructKey{N… 69 &StructType{Key: StructKey{Name: "align0"}, FldName: "align0"}, 85 &StructType{Key: StructKey{Name: "len_temp3[int8]"}, FldName: "f1"}, 86 &StructType{Key: StructKey{Name: "len_temp3[int64]"}, FldName: "f2"}, 95 &StructType{Key: StructKey{Name: "len_nontemp4"}, FldName: "f2"}, 101 &StructType{Key: StructKey{Name: "len_nontemp4"}, FldName: "f2"}, 106 &StructType{Key: StructKey{Name: "len_temp2[int16]"}, FldName: "inner"}, 146 &StructType{Key: StructKey{Name: "syz_align2_packed"}, FldName: "f1"}, 148 &StructType{Key: StructKey{Name: "syz_align2_not_packed"}, FldName: "f2"}, [all …]
|
D | 32.go | 27 &StructType{Key: StructKey{Name: "anybitfields"}, FldName: "f5"}, 28 …: TypeCommon{TypeName: "array", FldName: "f6", IsVarlen: true}, Type: &StructType{Key: StructKey{N… 68 &StructType{Key: StructKey{Name: "len_temp3[int8]"}, FldName: "f1"}, 69 &StructType{Key: StructKey{Name: "len_temp3[int64]"}, FldName: "f2"}, 78 &StructType{Key: StructKey{Name: "len_nontemp4"}, FldName: "f2"}, 84 &StructType{Key: StructKey{Name: "len_nontemp4"}, FldName: "f2"}, 89 &StructType{Key: StructKey{Name: "len_temp2[int16]"}, FldName: "inner"}, 129 &StructType{Key: StructKey{Name: "syz_align2_packed"}, FldName: "f1"}, 131 &StructType{Key: StructKey{Name: "syz_align2_not_packed"}, FldName: "f2"}, 141 &StructType{Key: StructKey{Name: "syz_align3_noalign"}, FldName: "f1"}, [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()
|
/external/syzkaller/sys/linux/gen/ |
D | 386.go | 166 …&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ROOT_FLAGS, int16], nla_bitfield32]"}, FldNam… 167 …&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ROOT_TIME_DELTA, int16], int32]"}, FldName: "… 174 …&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_TAB, int16], array[nlattr_t[int32[0:TCA_A… 225 &StructType{Key: StructKey{Name: "arp_generic_packet"}, FldName: "generic"}, 226 &StructType{Key: StructKey{Name: "arp_ether_ipv4_packet"}, FldName: "ether_ipv4"}, 227 &StructType{Key: StructKey{Name: "arp_ether_ipv6_packet"}, FldName: "ether_ipv6"}, 230 &StructType{Key: StructKey{Name: "sockaddr_in"}, FldName: "arp_pa"}, 231 &StructType{Key: StructKey{Name: "sockaddr_ethernet"}, FldName: "arp_ha"}, 233 &StructType{Key: StructKey{Name: "sockaddr_in"}, FldName: "arp_netmask"}, 238 &StructType{Key: StructKey{Name: "sockaddr_in", Dir: 2}, FldName: "arp_pa"}, [all …]
|
D | arm64.go | 172 …&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ROOT_FLAGS, int16], nla_bitfield32]"}, FldNam… 173 …&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ROOT_TIME_DELTA, int16], int32]"}, FldName: "… 180 …&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_TAB, int16], array[nlattr_t[int32[0:TCA_A… 231 &StructType{Key: StructKey{Name: "arp_generic_packet"}, FldName: "generic"}, 232 &StructType{Key: StructKey{Name: "arp_ether_ipv4_packet"}, FldName: "ether_ipv4"}, 233 &StructType{Key: StructKey{Name: "arp_ether_ipv6_packet"}, FldName: "ether_ipv6"}, 236 &StructType{Key: StructKey{Name: "sockaddr_in"}, FldName: "arp_pa"}, 237 &StructType{Key: StructKey{Name: "sockaddr_ethernet"}, FldName: "arp_ha"}, 239 &StructType{Key: StructKey{Name: "sockaddr_in"}, FldName: "arp_netmask"}, 244 &StructType{Key: StructKey{Name: "sockaddr_in", Dir: 2}, FldName: "arp_pa"}, [all …]
|
D | arm.go | 171 …&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ROOT_FLAGS, int16], nla_bitfield32]"}, FldNam… 172 …&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ROOT_TIME_DELTA, int16], int32]"}, FldName: "… 179 …&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_TAB, int16], array[nlattr_t[int32[0:TCA_A… 230 &StructType{Key: StructKey{Name: "arp_generic_packet"}, FldName: "generic"}, 231 &StructType{Key: StructKey{Name: "arp_ether_ipv4_packet"}, FldName: "ether_ipv4"}, 232 &StructType{Key: StructKey{Name: "arp_ether_ipv6_packet"}, FldName: "ether_ipv6"}, 235 &StructType{Key: StructKey{Name: "sockaddr_in"}, FldName: "arp_pa"}, 236 &StructType{Key: StructKey{Name: "sockaddr_ethernet"}, FldName: "arp_ha"}, 238 &StructType{Key: StructKey{Name: "sockaddr_in"}, FldName: "arp_netmask"}, 243 &StructType{Key: StructKey{Name: "sockaddr_in", Dir: 2}, FldName: "arp_pa"}, [all …]
|
D | ppc64le.go | 163 …&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ROOT_FLAGS, int16], nla_bitfield32]"}, FldNam… 164 …&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ROOT_TIME_DELTA, int16], int32]"}, FldName: "… 171 …&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_TAB, int16], array[nlattr_t[int32[0:TCA_A… 222 &StructType{Key: StructKey{Name: "arp_generic_packet"}, FldName: "generic"}, 223 &StructType{Key: StructKey{Name: "arp_ether_ipv4_packet"}, FldName: "ether_ipv4"}, 224 &StructType{Key: StructKey{Name: "arp_ether_ipv6_packet"}, FldName: "ether_ipv6"}, 227 &StructType{Key: StructKey{Name: "sockaddr_in"}, FldName: "arp_pa"}, 228 &StructType{Key: StructKey{Name: "sockaddr_ethernet"}, FldName: "arp_ha"}, 230 &StructType{Key: StructKey{Name: "sockaddr_in"}, FldName: "arp_netmask"}, 235 &StructType{Key: StructKey{Name: "sockaddr_in", Dir: 2}, FldName: "arp_pa"}, [all …]
|
/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 …]
|