Home
last modified time | relevance | path

Searched refs:ElemType (Results 1 – 25 of 80) sorted by relevance

1234

/llvm-project-15.0.7/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/
H A Ddefault.pass.cpp43 template <class ElemType>
48 using U = std::unique_ptr<ElemType, void (*)(void*)>; in test_sfinae()
53 using Del = CDeleter<ElemType>; in test_sfinae()
55 using U2 = std::unique_ptr<ElemType, Del&>; in test_sfinae()
56 using U3 = std::unique_ptr<ElemType, Del const&>; in test_sfinae()
64 template <class ElemType>
68 using U1 = std::unique_ptr<ElemType>; in test_basic()
69 using U2 = std::unique_ptr<ElemType, Deleter<ElemType> >; in test_basic()
75 std::unique_ptr<ElemType> p; in test_basic()
79 std::unique_ptr<ElemType, NCDeleter<ElemType> > p; in test_basic()
[all …]
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/modernize/Inputs/loop-convert/
H A Dstructures.h93 template<typename ElemType>
96 dependent<ElemType>();
98 const ElemType& operator*()const;
101 const ElemType *operator->() const;
105 ElemType& operator*();
107 ElemType *operator->();
116 ElemType & operator[](unsigned);
118 ElemType & at(unsigned);
119 ElemType & at(unsigned, unsigned);
120 const ElemType & at(unsigned) const;
[all …]
/llvm-project-15.0.7/lldb/test/API/functionalities/data-formatter/parray/
H A Dmain.cpp4 template<typename ElemType>
5 ElemType* alloc(size_t count, std::function<ElemType(size_t)> get) in alloc()
7 ElemType *elems = new ElemType[count]; in alloc()
/llvm-project-15.0.7/llvm/test/ObjectYAML/wasm/
H A Dmultiple-tables.yaml19 ElemType: FUNCREF
27 ElemType: FUNCREF
31 ElemType: EXTERNREF
35 ElemType: FUNCREF
80 # CHECK-NEXT: ElemType: FUNCREF
88 # CHECK-NEXT: ElemType: FUNCREF
92 # CHECK-NEXT: ElemType: EXTERNREF
96 # CHECK-NEXT: ElemType: FUNCREF
H A Dtable_section.yaml9 ElemType: FUNCREF
22 # CHECK: ElemType: FUNCREF
H A Dimport_section.yaml36 ElemType: FUNCREF
68 # CHECK: ElemType: FUNCREF
H A Delem_section.yaml9 ElemType: FUNCREF
/llvm-project-15.0.7/lldb/source/Plugins/Language/CPlusPlus/
H A DCxxStringTypes.cpp38 getElementTraits(StringElementType ElemType) { in getElementTraits() argument
39 switch (ElemType) { in getElementTraits()
51 template <StringElementType ElemType>
61 options.SetPrefixToken(getElementTraits(ElemType).first); in CharStringSummaryProvider()
63 if (!StringPrinter::ReadStringAndDumpToStream<ElemType>(options)) in CharStringSummaryProvider()
69 template <StringElementType ElemType>
81 constexpr auto ElemTraits = getElementTraits(ElemType); in CharSummaryProvider()
94 return StringPrinter::ReadBufferAndDumpToStream<ElemType>(options); in CharSummaryProvider()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/modernize/
H A Duse-emplace-ignore-implicit-constructors.cpp95 template <typename ElemType>
97 std::vector<ElemType> v; in dependOnElem()
98 v.push_back(ElemType(42)); in dependOnElem()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DLoopConvertCheck.cpp556 if (Descriptor.ElemType.isNull() || in doConversion()
558 Descriptor.ElemType = AliasVarType; in doConversion()
631 if (!Descriptor.ElemType.isNull() && Descriptor.ElemType->isFundamentalType()) in doConversion()
632 Type = Descriptor.ElemType.getUnqualifiedType(); in doConversion()
639 !Descriptor.ElemType.isNull() && in doConversion()
640 Descriptor.ElemType.isTriviallyCopyableType(*Context) && in doConversion()
642 Context->getTypeInfo(Descriptor.ElemType).Width <= 8 * MaxCopySize; in doConversion()
737 Descriptor.ElemType = Type; in getArrayLoopQualifiers()
758 Descriptor.ElemType = *DerefByValueType; in getIteratorLoopQualifiers()
768 Descriptor.ElemType = ValueType; in getIteratorLoopQualifiers()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAGHVX.cpp318 using ElemType = int; typedef
319 static constexpr ElemType Ignore = ElemType(-1);
373 std::vector<ElemType> Order;
426 ElemType Num = Size; in route()
433 ElemType I = P[J]; in route()
455 for (ElemType J = 0; J != Num; ++J) in route()
472 ElemType Num = Size; in route()
482 ElemType I = P[J]; in route()
527 for (ElemType J = 0; J != Num; ++J) in route()
546 ElemType Num = Size; in route()
[all …]
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DCastSizeChecker.cpp64 const Type *ElemType = Last->getType()->getArrayElementTypeNoTypeQual(); in evenFlexibleArraySize() local
68 FlexSize = Ctx.getTypeSizeInChars(ElemType); in evenFlexibleArraySize()
74 FlexSize = Ctx.getTypeSizeInChars(ElemType); in evenFlexibleArraySize()
H A DMallocSizeofChecker.cpp169 QualType ElemType = AT->getElementType(); in compatibleWithArrayType() local
172 T = ElemType; in compatibleWithArrayType()
/llvm-project-15.0.7/lld/test/wasm/
H A Dmulti-table.s55 # CHECK-NEXT: ElemType: FUNCREF
67 # CHECK-NEXT: ElemType: FUNCREF
71 # CHECK-NEXT: ElemType: EXTERNREF
75 # CHECK-NEXT: ElemType: FUNCREF
H A Dduplicate-table-imports.s57 # CHECK-NEXT: ElemType: FUNCREF
65 # CHECK-NEXT: ElemType: EXTERNREF
H A Dgrowable-table.test10 # CHECK-NEXT: ElemType: FUNCREF
H A Dexport-table.test10 # CHECK-NEXT: ElemType: FUNCREF
H A Dimport-table.test22 # CHECK-NEXT: ElemType: FUNCREF
H A Dexport-table-explicit.test13 # CHECK-NEXT: ElemType: FUNCREF
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DRelLookupTableConverter.cpp65 Type *ElemType = Array->getType()->getElementType(); in shouldConvertToRelLookupTable() local
66 if (!ElemType->isPointerTy() || DL.getPointerTypeSizeInBits(ElemType) != 64) in shouldConvertToRelLookupTable()
/llvm-project-15.0.7/llvm/test/MC/WebAssembly/
H A Dtables.s125 # BIN-NEXT: ElemType: EXTERNREF
129 # BIN-NEXT: ElemType: FUNCREF
133 # BIN-NEXT: ElemType: FUNCREF
137 # BIN-NEXT: ElemType: FUNCREF
/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVGlobalRegistry.h177 SPIRVType *getOpTypeVector(uint32_t NumElems, SPIRVType *ElemType,
180 SPIRVType *getOpTypeArray(uint32_t NumElems, SPIRVType *ElemType,
189 SPIRVType *getOpTypePointer(SPIRV::StorageClass SC, SPIRVType *ElemType,
H A DSPIRVGlobalRegistry.cpp103 SPIRVType *ElemType, in getOpTypeVector() argument
105 auto EleOpc = ElemType->getOpcode(); in getOpTypeVector()
112 .addUse(getSPIRVTypeID(ElemType)) in getOpTypeVector()
376 SPIRVType *ElemType, in getOpTypeArray() argument
379 assert((ElemType->getOpcode() != SPIRV::OpTypeVoid) && in getOpTypeArray()
385 .addUse(getSPIRVTypeID(ElemType)) in getOpTypeArray()
443 SPIRVType *ElemType, in getOpTypePointer() argument
451 .addUse(getSPIRVTypeID(ElemType)); in getOpTypePointer()
/llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/
H A DWasm.h84 uint8_t ElemType; member
471 return LHS.ElemType == RHS.ElemType && LHS.Limits == RHS.Limits;
/llvm-project-15.0.7/llvm/test/Object/
H A Dwasm-relocs-and-producers.yaml33 ElemType: FUNCREF

1234