| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | Address.h | 32 llvm::Type *ElementType; variable 36 AddressImpl(llvm::Value *Pointer, llvm::Type *ElementType, in AddressImpl() argument 38 : Pointer(Pointer), ElementType(ElementType), Alignment(Alignment) {} in AddressImpl() 40 llvm::Type *getElementType() const { return ElementType; } in getElementType() 48 llvm::PointerIntPair<llvm::Type *, 3, unsigned> ElementType; variable 51 AddressImpl(llvm::Value *Pointer, llvm::Type *ElementType, in AddressImpl() argument 53 : Pointer(Pointer), ElementType(ElementType) { in AddressImpl() 63 this->ElementType.setInt(AlignLog & 7); in AddressImpl() 82 : A(Pointer, ElementType, Alignment) { in Address() 84 assert(ElementType != nullptr && "Element type cannot be null"); in Address() [all …]
|
| H A D | CGValue.h | 51 llvm::Type *ElementType; variable 114 ER.ElementType = addr.getElementType(); 182 llvm::Type *ElementType; variable 242 ->isOpaqueOrPointeeTypeMatches(ElementType) && in Initialize() 347 ElementType = address.getElementType(); in setAddress() 411 R.ElementType = address.getElementType(); in MakeAddr() 422 R.ElementType = vecAddress.getElementType(); in MakeVectorElt() 435 R.ElementType = vecAddress.getElementType(); in MakeExtVectorElt() 454 R.ElementType = Addr.getElementType(); in MakeBitfield() 466 R.ElementType = nullptr; in MakeGlobalReg() [all …]
|
| H A D | CGExprCXX.cpp | 1012 if (!CGM.getTypes().isZeroInitializable(ElementType)) in EmitNewArrayInitializer() 1182 ImplicitValueInitExpr IVIE(ElementType); in EmitNewArrayInitializer() 1851 QualType ElementType; member 1855 QualType ElementType) in CallObjectDelete() 1856 : Ptr(Ptr), OperatorDelete(OperatorDelete), ElementType(ElementType) {} in CallObjectDelete() 1893 QualType ElementType, in EmitObjectDelete() argument 1902 ElementType); in EmitObjectDelete() 1958 Ptr, ElementType); in EmitObjectDelete() 1993 QualType ElementType; member 1999 QualType ElementType, in CallArrayDelete() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/containers/views/views.span/ |
| H A D | types.pass.cpp | 51 template <typename S, typename ElementType, std::size_t Size> 54 ASSERT_SAME_TYPE(typename S::element_type, ElementType); in testSpan() 55 ASSERT_SAME_TYPE(typename S::value_type, std::remove_cv_t<ElementType>); in testSpan() 58 ASSERT_SAME_TYPE(typename S::pointer, ElementType *); in testSpan() 59 ASSERT_SAME_TYPE(typename S::const_pointer, const ElementType *); in testSpan() 60 ASSERT_SAME_TYPE(typename S::reference, ElementType &); in testSpan() 61 ASSERT_SAME_TYPE(typename S::const_reference, const ElementType &); in testSpan()
|
| /llvm-project-15.0.7/clang/test/CodeGenCUDA/ |
| H A D | texture.cu | 16 ElementType = 0, enumerator 20 template <typename T, int dim = 1, enum ReadMode mode = ElementType> 32 texture<float, 2, ElementType> tex; 39 __attribute__((device)) v4f tex2d_ld(texture<float, 2, ElementType>, float, float) asm("llvm.nvvm.t…
|
| /llvm-project-15.0.7/clang/test/SemaCUDA/ |
| H A D | const-var.cu | 63 ElementType = 0, enumerator 67 template <typename T, int dim = 1, enum ReadMode mode = ElementType> 84 texture<float, 2, ElementType> tex; 98 __device__ static texture<float, 2, ElementType> *const p6; 109 __device__ texture<float, 2, ElementType> *const B::p6 = &tex;
|
| H A D | constexpr-var.cu | 64 ElementType = 0, enumerator 68 template <typename T, int dim = 1, enum ReadMode mode = ElementType> 85 texture<float, 2, ElementType> tex; 102 __device__ static constexpr texture<float, 2, ElementType> *const p6 = &tex;
|
| /llvm-project-15.0.7/llvm/tools/llvm-pdbutil/ |
| H A D | PrettyVariableDumper.cpp | 115 auto ElementType = Symbol.getElementType(); in dump() local 116 assert(ElementType); in dump() 117 if (!ElementType) in dump() 119 ElementType->dump(*this); in dump() 123 auto ElementType = Symbol.getElementType(); in dumpRight() local 124 assert(ElementType); in dumpRight() 125 if (!ElementType) in dumpRight() 128 ElementType->dumpRight(*this); in dumpRight()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | DerivedTypes.h | 373 static ArrayType *get(Type *ElementType, uint64_t NumElements); 425 static VectorType *get(Type *ElementType, ElementCount EC); 427 static VectorType *get(Type *ElementType, unsigned NumElements, in get() argument 429 return VectorType::get(ElementType, in get() 434 return VectorType::get(ElementType, Other->getElementCount()); in get() 531 static FixedVectorType *get(Type *ElementType, unsigned NumElts); 534 return get(ElementType, FVTy->getNumElements()); in get() 580 static ScalableVectorType *get(Type *ElementType, in get() argument 582 return get(ElementType, SVTy->getMinNumElements()); in get() 651 static PointerType *getUnqual(Type *ElementType) { in getUnqual() argument [all …]
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Type.cpp | 638 ArrayType *ArrayType::get(Type *ElementType, uint64_t NumElements) { in get() argument 641 LLVMContextImpl *pImpl = ElementType->getContext().pImpl; in get() 643 pImpl->ArrayTypes[std::make_pair(ElementType, NumElements)]; in get() 646 Entry = new (pImpl->Alloc) ArrayType(ElementType, NumElements); in get() 668 VectorType *VectorType::get(Type *ElementType, ElementCount EC) { in get() argument 672 return FixedVectorType::get(ElementType, EC.getKnownMinValue()); in get() 692 LLVMContextImpl *pImpl = ElementType->getContext().pImpl; in get() 693 VectorType *&Entry = ElementType->getContext() in get() 705 ScalableVectorType *ScalableVectorType::get(Type *ElementType, in get() argument 714 LLVMContextImpl *pImpl = ElementType->getContext().pImpl; in get() [all …]
|
| /llvm-project-15.0.7/libc/benchmarks/automemcpy/lib/ |
| H A D | CodeGen.cpp | 80 struct ElementType { struct 90 ElementType Element; 95 ElementType Element; 100 ElementType Element; 105 ElementType Element; 106 ElementType Alignment; 188 static raw_ostream &operator<<(raw_ostream &Stream, const ElementType &E) { in operator <<() 291 Impl.Individuals.push_back(Individual{I, ElementType{I}}); in getImplementation() 294 Impl.Overlaps.push_back(Overlap{2 * I, ElementType{I}}); in getImplementation() 296 Impl.Loop = Loop{L->Span.End, ElementType{L->BlockSize}}; in getImplementation() [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/Platform/QemuUser/ |
| H A D | PlatformQemuUserProperties.td | 18 ElementType<"String">, 22 ElementType<"String">,
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | span | 22 template <class ElementType, size_t Extent = dynamic_extent> 25 template<class ElementType, size_t Extent> 26 inline constexpr bool ranges::enable_view<span<ElementType, Extent>> = true; 28 template<class ElementType, size_t Extent> 32 template <class ElementType, size_t Extent> 34 (sizeof(ElementType) * Extent))> as_bytes(span<ElementType, Extent> s) noexcept; 36 template <class ElementType, size_t Extent> 38 (sizeof(ElementType) * Extent))> as_writable_bytes(span<ElementType, Extent> s) noexcept; 41 template <class ElementType, size_t Extent = dynamic_extent> 45 using element_type = ElementType; [all …]
|
| /llvm-project-15.0.7/lldb/include/lldb/Core/ |
| H A D | PropertiesBase.td | 54 class ElementType<string value> { 55 string ElementType = value;
|
| /llvm-project-15.0.7/llvm/bindings/go/llvm/ |
| H A D | string.go | 73 s += fmt.Sprintf("(%v[%v])", ts.typeString(t.ElementType()), t.ArrayLength()) 75 s += fmt.Sprintf("(%v)", ts.typeString(t.ElementType()))
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/COFF/ |
| H A D | types-array-advanced.ll | 49 ; CHECK: ElementType: int (0x74) 67 ; CHECK: ElementType: char (0x70) 74 ; CHECK: ElementType: 0x1005 81 ; CHECK: ElementType: 0x1006 102 ; CHECK: ElementType: incomplete_struct (0x1008) 162 ; CHECK: ElementType: const volatile int (0x100F)
|
| H A D | fortran-basic.ll | 23 ; CHECK-NEXT: ElementType: int 29 ; CHECK-NEXT: ElementType: int 35 ; CHECK-NEXT: ElementType: char
|
| H A D | types-array-unsized.ll | 17 ; CHECK-NEXT: ElementType: const char ({{.*}}) 25 ; CHECK-NEXT: ElementType: const char ({{.*}})
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | IVDescriptors.h | 369 return ElementType; in getElementType() 383 Type *ElementType = nullptr, 396 Type *ElementType = nullptr; variable
|
| /llvm-project-15.0.7/llvm/lib/Target/DirectX/ |
| H A D | DXILPointerType.h | 33 static TypedPointerType *get(Type *ElementType, unsigned AddressSpace);
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | IVDescriptors.cpp | 1239 Type *ElementType, in InductionDescriptor() argument 1242 ElementType(ElementType) { in InductionDescriptor() 1271 assert(ElementType && "Pointer induction must have element type"); in InductionDescriptor() 1273 assert(!ElementType && "Non-pointer induction cannot have element type"); in InductionDescriptor() 1545 Type *ElementType = PtrTy->isOpaque() in isInductionPHI() local 1548 if (!ElementType->isSized()) in isInductionPHI() 1553 TypeSize TySize = DL.getTypeAllocSize(ElementType); in isInductionPHI() 1567 /* BinOp */ nullptr, ElementType); in isInductionPHI()
|
| /llvm-project-15.0.7/llvm/include/llvm/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.h | 657 ReductionInfo(Type *ElementType, Value *Variable, Value *PrivateVariable, in ReductionInfo() 660 : ElementType(ElementType), Variable(Variable), in ReductionInfo() 664 ->isOpaqueOrPointeeTypeMatches(ElementType) && "Invalid elem type"); in ReductionInfo() 668 Type *ElementType; member
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Type.cpp | 136 ElementType(et) { in ArrayType() 223 QualType ElementType, in DependentVectorType() argument 229 ElementType->getDependence() | in DependentVectorType() 232 Context(Context), ElementType(ElementType), SizeExpr(SizeExpr), Loc(Loc) { in DependentVectorType() 240 ID.AddPointer(ElementType.getAsOpaquePtr()); in Profile() 250 ElementType->getDependence() | in DependentSizedExtVectorType() 253 Context(Context), SizeExpr(SizeExpr), ElementType(ElementType), loc(loc) { in DependentSizedExtVectorType() 260 ID.AddPointer(ElementType.getAsOpaquePtr()); in Profile() 301 ElementType(matrixType) {} in MatrixType() 325 ID.AddPointer(ElementType.getAsOpaquePtr()); in Profile() [all …]
|
| /llvm-project-15.0.7/polly/lib/Analysis/ |
| H A D | ScopInfo.cpp | 232 : BasePtr(BasePtr), ElementType(ElementType), Kind(Kind), DL(DL), S(*S) { in ScopArrayInfo() 283 if (NewElementType == ElementType) in updateElementType() 286 auto OldElementSize = DL.getTypeAllocSizeInBits(ElementType); in updateElementType() 293 ElementType = NewElementType; in updateElementType() 296 ElementType = IntegerType::get(ElementType->getContext(), GCD); in updateElementType() 336 return DL.getTypeAllocSize(ElementType); in getElemSizeInBytes() 859 Type *ElementType, bool Affine, in MemoryAccess() argument 864 BaseAddr(BaseAddress), ElementType(ElementType), in MemoryAccess() 884 ElementType = SAI->getElementType(); in MemoryAccess() 1750 SAI->updateElementType(ElementType); in getOrCreateScopArrayInfo() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/DebugInfo/CodeView/ |
| H A D | RandomAccessVisitorTest.cpp | 31 if (R1.ElementType != R2.ElementType) in operator ==() 99 AR.ElementType = TypeIndex::Int32(); in SetUpTestCase()
|