/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
H A D | DXILResource.cpp | 65 StringRef ResourceBase::getElementTypeName(ElementType ElTy) { in getElementTypeName() 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::F16: in getElementTypeName() [all …]
|
H A D | DXILResource.h | 49 static StringRef getElementTypeName(dxil::ElementType CompType); 51 dxil::ElementType CompType, unsigned Alignment, 56 std::optional<dxil::ElementType> ElementType; member
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | Address.h | 44 llvm::Type *ElementType; variable 48 RawAddress(std::nullptr_t) : ElementType(nullptr) {} in RawAddress() 51 RawAddress(llvm::Value *Pointer, llvm::Type *ElementType, CharUnits Alignment, 54 ElementType(ElementType), Alignment(Alignment) { in PointerAndKnownNonNull() 56 assert(ElementType != nullptr && "Element type cannot be null"); in PointerAndKnownNonNull() 79 return ElementType; in getElementType() 137 llvm::Type *ElementType = nullptr; variable 151 Address(std::nullptr_t) : ElementType(nullptr) {} in Address() 156 : Pointer(pointer, IsKnownNonNull), ElementType(elementType), in Pointer() 163 Address(llvm::Value *BasePtr, llvm::Type *ElementType, CharUnits Alignment, [all …]
|
H A D | CGHLSLRuntime.cpp | 189 llvm::hlsl::ElementType::Invalid, Buf.Binding); in finishCodeGen() 201 llvm::hlsl::ElementType ET, in addBufferResourceAnnotation() 228 static llvm::hlsl::ElementType 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::U64; in calculateElementType() [all …]
|
H A D | CGExprCXX.cpp | 996 const CXXNewExpr *E, QualType ElementType, llvm::Type *ElementTy, in EmitNewArrayInitializer() argument 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() [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | mdspan | 33 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 D | span | 36 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) * Extent))> as_writable_bytes(span<ElementType, Extent> s) noexcept; 55 template <class ElementType, size_t Extent = dynamic_extent> [all …]
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/ |
H A D | LVElement.h | 127 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/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | DerivedTypes.h | 387 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, unsigned MinNumElts); [all …]
|
H A D | TypedPointerType.h | 36 static TypedPointerType *get(Type *ElementType, unsigned AddressSpace);
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Type.cpp | 647 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) && "Element type of a VectorType must " in get() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | DXILResource.h | 55 dxil::ElementType ElementTy; 123 dxil::ElementType ElementTy, uint32_t ElementCount, 133 dxil::ElementType ElementTy, 137 uint32_t UniqueID, dxil::ElementType ElementTy, 142 dxil::ElementType ElementTy, uint32_t ElementCount, 155 dxil::ElementType ElementTy, 160 uint32_t UniqueID, dxil::ElementType ElementTy,
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/HLSL/ |
H A D | HLSLResource.h | 26 using dxil::ElementType; 34 FrontendResource(GlobalVariable *GV, ResourceKind RK, ElementType ElTy, 40 ElementType getElementType();
|
/freebsd/contrib/llvm-project/lldb/source/Core/ |
H A D | DumpRegisterInfo.cpp | 69 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/contrib/llvm-project/llvm/lib/Frontend/HLSL/ |
H A D | HLSLResource.cpp | 32 ElementType FrontendResource::getElementType() { in getElementType() 33 return static_cast<ElementType>( in getElementType() 59 ElementType ElTy, bool IsROV, in FrontendResource()
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/ |
H A D | LVElement.cpp | 31 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/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | DXILResource.cpp | 67 ElementType ElementTy, uint32_t ElementCount, in SRV() 98 uint32_t UniqueID, ElementType ElementTy, in Texture2DMS() 111 ElementType ElementTy, uint32_t ElementCount, uint32_t SampleCount) { in Texture2DMSArray() 122 ElementType ElementTy, uint32_t ElementCount, in UAV() 167 ElementType ElementTy, uint32_t ElementCount, in RWTexture2DMS() 183 ElementType ElementTy, uint32_t ElementCount, in RWTexture2DMSArray() 315 Tags.push_back(getIntMD(llvm::to_underlying(ExtPropTags::ElementType))); in getAsMetadata()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | DXILABI.h | 75 enum class ElementType : uint32_t { enum 99 ElementType = 0, enumerator
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/QemuUser/ |
H A D | PlatformQemuUserProperties.td | 18 ElementType<"String">, 22 ElementType<"String">,
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/ |
H A D | PropertiesBase.td | 54 class ElementType<string value> { 55 string ElementType = value;
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVCallLowering.cpp | 207 SPIRVType *ElementType = GR->getOrCreateSPIRVType( in getArgSPIRVType() local 210 ElementType, MIRBuilder, in getArgSPIRVType() 223 SPIRVType *ElementType = in getArgSPIRVType() local 226 ElementType, MIRBuilder, in getArgSPIRVType() 248 SPIRVType *ElementType = GR->getOrCreateSPIRVType(ElementTy, MIRBuilder); in getArgSPIRVType() local 250 ElementType, MIRBuilder, in getArgSPIRVType()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | ArrayBoundCheckerV2.cpp | 69 const std::optional<QualType> ElementType; member in __anonb48263820111::StateUpdateReporter 78 ElementType(determineElementType(E, C)), in StateUpdateReporter() 79 ElementSize(determineElementSize(ElementType, C)) {} in StateUpdateReporter() 522 if (UseIndex && ElementType) in getMessage() 523 Out << "the number of '" << ElementType->getAsString() in getMessage()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | Type.cpp | 157 ElementType(et) { in ArrayType() 179 QualType ElementType, in getNumAddressingBits() argument 181 uint64_t ElementSize = Context.getTypeSizeInChars(ElementType).getQuantity(); in getNumAddressingBits() 263 DependentVectorType::DependentVectorType(QualType ElementType, in DependentVectorType() argument 268 ElementType->getDependence() | in DependentVectorType() 271 ElementType(ElementType), SizeExpr(SizeExpr), Loc(Loc) { in DependentVectorType() 277 QualType ElementType, const Expr *SizeExpr, in Profile() argument 279 ID.AddPointer(ElementType.getAsOpaquePtr()); in Profile() 284 DependentSizedExtVectorType::DependentSizedExtVectorType(QualType ElementType, in DependentSizedExtVectorType() argument 290 ElementType->getDependence() | in DependentSizedExtVectorType() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaRISCV.cpp | 536 unsigned ElemSize = S.Context.getTypeSize(Info.ElementType); in CheckInvalidVLENandLMUL() 619 if (Context.getTypeSize(Info.ElementType) == 64 && !TI.hasFeature("v")) in CheckBuiltinFunctionCall() 726 uint64_t ElemSize = Context.getTypeSize(Info.ElementType); in CheckBuiltinFunctionCall() 1378 unsigned EltSize = SemaRef.Context.getTypeSize(Info.ElementType); in checkRVVTypeSupport() 1381 if (Info.ElementType->isSpecificBuiltinType(BuiltinType::Double) && in checkRVVTypeSupport() 1386 else if (((EltSize == 64 && Info.ElementType->isIntegerType()) || in checkRVVTypeSupport() 1390 else if (Info.ElementType->isFloat16Type() && !FeatureMap.lookup("zvfh") && in checkRVVTypeSupport() 1394 else if (Info.ElementType->isBFloat16Type() && !FeatureMap.lookup("zvfbfmin")) in checkRVVTypeSupport() 1396 else if (Info.ElementType->isSpecificBuiltinType(BuiltinType::Float) && in checkRVVTypeSupport()
|