Home
last modified time | relevance | path

Searched refs:ElementType (Results 1 – 25 of 102) sorted by relevance

12345

/freebsd-src/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILResource.cpp65 StringRef ResourceBase::getElementTypeName(ElementType ElTy) {
67 case ElementType::Invalid: in getElementTypeName()
69 case ElementType::I1: in getElementTypeName()
71 case ElementType::I16: in getElementTypeName()
73 case ElementType::U16: in getElementTypeName()
75 case ElementType::I32: in getElementTypeName()
77 case ElementType::U32: in getElementTypeName()
79 case ElementType::I64: in getElementTypeName()
81 case ElementType::U64: in getElementTypeName()
83 case ElementType in getElementTypeName()
[all...]
H A DDXILResource.h49 static StringRef getElementTypeName(dxil::ElementType CompType);
51 dxil::ElementType CompType, unsigned Alignment,
56 std::optional<dxil::ElementType> ElementType;
55 std::optional<hlsl::ElementType> ElementType; global() member
/freebsd-src/contrib/llvm-project/clang/lib/CodeGen/
H A DAddress.h44 llvm::Type *ElementType; in PointerAndKnownNonNull()
48 RawAddress(std::nullptr_t) : ElementType(nullptr) {} in isValid()
51 RawAddress(llvm::Value *Pointer, llvm::Type *ElementType, CharUnits Alignment, in getPointer()
54 ElementType(ElementType), Alignment(Alignment) { in getPointer()
56 assert(ElementType != nullptr && "Element type cannot be null");
79 return ElementType; in getAlignment()
137 llvm::Type *ElementType = nullptr; in withElementType()
151 Address(std::nullptr_t) : ElementType(nullptr) {}
156 : Pointer(pointer, IsKnownNonNull), ElementType(elementTyp in isa()
31 llvm::Type *ElementType; global() variable
[all...]
H A DCGValue.h51 llvm::Type *ElementType; global() variable
182 llvm::Type *ElementType; global() variable
H A DCGHLSLRuntime.cpp189 llvm::hlsl::ElementType::Invalid, Buf.Binding);
201 llvm::hlsl::ElementType ET, in addBufferResourceAnnotation()
228 static llvm::hlsl::ElementType in calculateElementType()
230 using llvm::hlsl::ElementType; in calculateElementType()
250 return ElementType::I16; in calculateElementType()
252 return ElementType::I32; in calculateElementType()
254 return ElementType::I64; in calculateElementType()
259 return ElementType::U16; in calculateElementType()
261 return ElementType::U32; in calculateElementType()
263 return ElementType in calculateElementType()
[all...]
H A DCGExprCXX.cpp996 const CXXNewExpr *E, QualType ElementType, llvm::Type *ElementTy, in EmitNewArrayInitializer()
1010 QualType::DestructionKind DtorKind = ElementType.isDestructedType(); in EmitNewArrayInitializer()
1014 CharUnits ElementSize = getContext().getTypeSizeInChars(ElementType); in EmitNewArrayInitializer()
1022 if (!CGM.getTypes().isZeroInitializable(ElementType)) in EmitNewArrayInitializer()
1034 getContext().getTypeSizeInChars(ElementType).getQuantity() * in EmitNewArrayInitializer()
1067 AggValueSlot::forAddr(CurPtr, ElementType.getQualifiers(), in EmitNewArrayInitializer()
1119 EndOfInit, ElementType, ElementAlign, in EmitNewArrayInitializer()
1210 ImplicitValueInitExpr IVIE(ElementType); in EmitNewArrayInitializer()
1223 assert(getContext().hasSameUnqualifiedType(ElementType, Init->getType()) && in EmitNewArrayInitializer()
1290 CurPtr.emitRawPointer(*this), ElementType, in EmitNewArrayInitializer()
993 EmitNewArrayInitializer(const CXXNewExpr * E,QualType ElementType,llvm::Type * ElementTy,Address BeginPtr,llvm::Value * NumElements,llvm::Value * AllocSizeWithoutCookie) EmitNewArrayInitializer() argument
1313 EmitNewInitializer(CodeGenFunction & CGF,const CXXNewExpr * E,QualType ElementType,llvm::Type * ElementTy,Address NewPtr,llvm::Value * NumElements,llvm::Value * AllocSizeWithoutCookie) EmitNewInitializer() argument
1880 QualType ElementType; global() member
1896 pushCallObjectDeleteCleanup(const FunctionDecl * OperatorDelete,llvm::Value * CompletePtr,QualType ElementType) pushCallObjectDeleteCleanup() argument
1907 EmitDestroyingObjectDelete(CodeGenFunction & CGF,const CXXDeleteExpr * DE,Address Ptr,QualType ElementType) EmitDestroyingObjectDelete() argument
1922 EmitObjectDelete(CodeGenFunction & CGF,const CXXDeleteExpr * DE,Address Ptr,QualType ElementType,llvm::BasicBlock * UnconditionalDeleteBlock) EmitObjectDelete() argument
2022 QualType ElementType; global() member
[all...]
/freebsd-src/contrib/llvm-project/libcxx/include/
H A Dmdspan33 template<class ElementType>
37 template<class ElementType, class Extents, class LayoutPolicy = layout_right,
38 class AccessorPolicy = default_accessor<ElementType>>
257 template<class ElementType>
260 using element_type = ElementType;
261 using reference = ElementType&;
262 using data_handle_type = ElementType*;
275 template<class ElementType, class Extents, class LayoutPolicy = layout_right,
276 class AccessorPolicy = default_accessor<ElementType>>
283 using element_type = ElementType;
[all...]
H A Dspan36 template <class ElementType, size_t Extent = dynamic_extent>
39 template<class ElementType, size_t Extent>
40 inline constexpr bool ranges::enable_view<span<ElementType, Extent>> = true;
42 template<class ElementType, size_t Extent>
43 inline constexpr bool ranges::enable_borrowed_range<span<ElementType, Extent>> = true;
46 template <class ElementType, size_t Extent>
48 (sizeof(ElementType) * Extent))> as_bytes(span<ElementType, Extent> s) noexcept;
50 template <class ElementType, size_t Extent>
52 (sizeof(ElementType) * Exten
[all...]
/freebsd-src/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DPrettyVariableDumper.cpp115 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()
/freebsd-src/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVElement.h127 LVElement *ElementType = nullptr;
175 bool isTyped() const override { return ElementType != nullptr; } in isTyped()
179 bool getIsKindType() const { return ElementType && ElementType->getIsType(); } in getIsKindType()
181 return ElementType && ElementType->getIsScope(); in getIsKindScope()
297 LVElement *getType() const { return ElementType; } in getType()
302 ElementType = Element;
313 return ElementType ? ElementType->getQualifiedName() : ""; in getTypeQualifiedName()
/freebsd-src/contrib/llvm-project/llvm/include/llvm/IR/
H A DDerivedTypes.h387 static ArrayType *get(Type *ElementType, uint64_t NumElements);
439 static VectorType *get(Type *ElementType, ElementCount EC);
441 static VectorType *get(Type *ElementType, unsigned NumElements, in get() argument
443 return VectorType::get(ElementType, in get()
447 static VectorType *get(Type *ElementType, const VectorType *Other) { in get() argument
448 return VectorType::get(ElementType, Other->getElementCount()); in get()
545 static FixedVectorType *get(Type *ElementType, unsigned NumElts);
547 static FixedVectorType *get(Type *ElementType, const FixedVectorType *FVTy) { in get() argument
548 return get(ElementType, FVTy->getNumElements()); in get()
592 static ScalableVectorType *get(Type *ElementType, unsigne
594 get(Type * ElementType,const ScalableVectorType * SVTy) get() argument
662 getUnqual(Type * ElementType) getUnqual() argument
[all...]
H A DTypedPointerType.h36 static TypedPointerType *get(Type *ElementType, unsigned AddressSpace);
H A DConstants.h732 /// element type taken from argument `ElementType', and count taken from
737 static Constant *getFP(Type *ElementType, ArrayRef<uint16_t> Elts);
738 static Constant *getFP(Type *ElementType, ArrayRef<uint32_t> Elts);
739 static Constant *getFP(Type *ElementType, ArrayRef<uint64_t> Elts);
804 /// element type taken from argument `ElementType', and count taken from
809 static Constant *getFP(Type *ElementType, ArrayRef<uint16_t> Elts);
810 static Constant *getFP(Type *ElementType, ArrayRef<uint32_t> Elts);
811 static Constant *getFP(Type *ElementType, ArrayRef<uint64_t> Elts);
/freebsd-src/contrib/llvm-project/llvm/lib/IR/
H A DType.cpp647 ArrayType *ArrayType::get(Type *ElementType, uint64_t NumElements) { in get() argument
648 assert(isValidElementType(ElementType) && "Invalid type for array element!"); in get()
650 LLVMContextImpl *pImpl = ElementType->getContext().pImpl; in get()
652 pImpl->ArrayTypes[std::make_pair(ElementType, NumElements)]; in get()
655 Entry = new (pImpl->Alloc) ArrayType(ElementType, NumElements); in get()
676 VectorType *VectorType::get(Type *ElementType, ElementCount EC) { in get() argument
678 return ScalableVectorType::get(ElementType, EC.getKnownMinValue()); in get()
680 return FixedVectorType::get(ElementType, EC.getKnownMinValue()); in get()
692 FixedVectorType *FixedVectorType::get(Type *ElementType, unsigned NumElts) { in get() argument
694 assert(isValidElementType(ElementType) in get()
713 get(Type * ElementType,unsigned MinNumElts) get() argument
[all...]
H A DConstants.cpp2912 /// element type taken from argument `ElementType', and count taken from in getSplat()
2917 Constant *ConstantDataArray::getFP(Type *ElementType, ArrayRef<uint16_t> Elts) { in getElementAsInteger()
2918 assert((ElementType->isHalfTy() || ElementType->isBFloatTy()) && in getElementAsInteger()
2920 Type *Ty = ArrayType::get(ElementType, Elts.size()); in getElementAsInteger()
2924 Constant *ConstantDataArray::getFP(Type *ElementType, ArrayRef<uint32_t> Elts) { in getElementAsInteger()
2925 assert(ElementType->isFloatTy() && "Element type is not a 32-bit float type"); in getElementAsInteger()
2926 Type *Ty = ArrayType::get(ElementType, Elts.size()); in getElementAsInteger()
2930 Constant *ConstantDataArray::getFP(Type *ElementType, ArrayRef<uint64_t> Elts) { in getElementAsInteger()
2931 assert(ElementType in getElementAsInteger()
2772 getFP(Type * ElementType,ArrayRef<uint16_t> Elts) getFP() argument
2779 getFP(Type * ElementType,ArrayRef<uint32_t> Elts) getFP() argument
2785 getFP(Type * ElementType,ArrayRef<uint64_t> Elts) getFP() argument
2846 getFP(Type * ElementType,ArrayRef<uint16_t> Elts) getFP() argument
2854 getFP(Type * ElementType,ArrayRef<uint32_t> Elts) getFP() argument
2861 getFP(Type * ElementType,ArrayRef<uint64_t> Elts) getFP() argument
[all...]
/freebsd-src/contrib/llvm-project/lldb/source/Core/
H A DDumpRegisterInfo.cpp69 template <typename ElementType>
71 const std::vector<ElementType> &list, in DumpList()
72 std::function<void(Stream &, ElementType)> emitter) { in DumpList()
79 for (ElementType elem : list) { in DumpList()
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Frontend/HLSL/
H A DHLSLResource.h26 using dxil::ElementType;
34 FrontendResource(GlobalVariable *GV, ResourceKind RK, ElementType ElTy,
40 ElementType getElementType();
59 enum class ElementType : uint32_t { global() enum
/freebsd-src/contrib/llvm-project/llvm/lib/Frontend/HLSL/
H A DHLSLResource.cpp32 ElementType FrontendResource::getElementType() { in getElementType()
33 return static_cast<ElementType>( in getElementType()
59 ElementType ElTy, bool IsROV, in FrontendResource()
/freebsd-src/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVElement.cpp31 return ElementType && ElementType->getIsType() in getTypeAsType()
32 ? static_cast<LVType *>(ElementType) in getTypeAsType()
37 return ElementType && ElementType->getIsScope() in getTypeAsScope()
38 ? static_cast<LVScope *>(ElementType) in getTypeAsScope()
75 return ElementType ? ElementType->getName() : StringRef(); in getTypeName()
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/Platform/QemuUser/
H A DPlatformQemuUserProperties.td18 ElementType<"String">,
22 ElementType<"String">,
/freebsd-src/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVDuplicatesTracker.h129 inline SpecialTypeDescriptor make_descr_pointee(const Type *ElementType,
131 return std::make_tuple(ElementType, AddressSpace, in SamplerTypeDescriptor()
166 const Type *ElementType; global() member
/freebsd-src/contrib/llvm-project/lldb/include/lldb/Core/
H A DPropertiesBase.td54 class ElementType<string value> {
55 string ElementType = value;
/freebsd-src/contrib/llvm-project/clang/lib/AST/
H A DType.cpp157 ElementType(et) { in ArrayType()
179 QualType ElementType, in getNumAddressingBits()
181 uint64_t ElementSize = Context.getTypeSizeInChars(ElementType).getQuantity(); in getNumAddressingBits()
263 DependentVectorType::DependentVectorType(QualType ElementType, in Profile()
268 ElementType->getDependence() | in DependentSizedExtVectorType() argument
271 ElementType(ElementType), SizeExpr(SizeExpr), Loc(Loc) { in DependentSizedExtVectorType()
277 QualType ElementType, const Expr *SizeExpr, in DependentSizedExtVectorType()
279 ID.AddPointer(ElementType.getAsOpaquePtr());
284 DependentSizedExtVectorType::DependentSizedExtVectorType(QualType ElementType, in Profile()
163 getNumAddressingBits(const ASTContext & Context,QualType ElementType,const llvm::APInt & NumElements) getNumAddressingBits() argument
247 DependentVectorType(QualType ElementType,QualType CanonType,Expr * SizeExpr,SourceLocation Loc,VectorKind VecKind) DependentVectorType() argument
261 Profile(llvm::FoldingSetNodeID & ID,const ASTContext & Context,QualType ElementType,const Expr * SizeExpr,VectorKind VecKind) Profile() argument
282 Profile(llvm::FoldingSetNodeID & ID,const ASTContext & Context,QualType ElementType,Expr * SizeExpr) Profile() argument
335 DependentSizedMatrixType(QualType ElementType,QualType CanonicalType,Expr * RowExpr,Expr * ColumnExpr,SourceLocation loc) DependentSizedMatrixType() argument
346 Profile(llvm::FoldingSetNodeID & ID,const ASTContext & CTX,QualType ElementType,Expr * RowExpr,Expr * ColumnExpr) Profile() argument
1514 QualType ElementType = VT->getElementType(); UseExcessPrecision() local
[all...]
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/SymbolLocator/Debuginfod/
H A DSymbolLocatorDebuginfodProperties.td5 ElementType<"String">,
/freebsd-src/contrib/llvm-project/clang/include/clang/AST/
H A DType.h3111 QualType ElementType;
3115 ElementType(Element) {}
3118 QualType getElementType() const { return ElementType; }
3543 QualType ElementType;
3552 QualType getElementType() const { return ElementType; }
3684 QualType ElementType,
3927 QualType ElementType;
3931 DependentSizedExtVectorType(QualType ElementType, QualType can,
3936 QualType getElementType() const { return ElementType; }
3951 QualType ElementType, Exp
[all...]

12345