| /llvm-project-15.0.7/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/ |
| H A D | default.pass.cpp | 43 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 D | structures.h | 93 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 D | main.cpp | 4 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 D | multiple-tables.yaml | 19 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 D | table_section.yaml | 9 ElemType: FUNCREF 22 # CHECK: ElemType: FUNCREF
|
| H A D | import_section.yaml | 36 ElemType: FUNCREF 68 # CHECK: ElemType: FUNCREF
|
| H A D | elem_section.yaml | 9 ElemType: FUNCREF
|
| /llvm-project-15.0.7/lldb/source/Plugins/Language/CPlusPlus/ |
| H A D | CxxStringTypes.cpp | 38 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 D | use-emplace-ignore-implicit-constructors.cpp | 95 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 D | LoopConvertCheck.cpp | 556 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 D | HexagonISelDAGToDAGHVX.cpp | 318 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 D | CastSizeChecker.cpp | 64 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 D | MallocSizeofChecker.cpp | 169 QualType ElemType = AT->getElementType(); in compatibleWithArrayType() local 172 T = ElemType; in compatibleWithArrayType()
|
| /llvm-project-15.0.7/lld/test/wasm/ |
| H A D | multi-table.s | 55 # CHECK-NEXT: ElemType: FUNCREF 67 # CHECK-NEXT: ElemType: FUNCREF 71 # CHECK-NEXT: ElemType: EXTERNREF 75 # CHECK-NEXT: ElemType: FUNCREF
|
| H A D | duplicate-table-imports.s | 57 # CHECK-NEXT: ElemType: FUNCREF 65 # CHECK-NEXT: ElemType: EXTERNREF
|
| H A D | growable-table.test | 10 # CHECK-NEXT: ElemType: FUNCREF
|
| H A D | export-table.test | 10 # CHECK-NEXT: ElemType: FUNCREF
|
| H A D | import-table.test | 22 # CHECK-NEXT: ElemType: FUNCREF
|
| H A D | export-table-explicit.test | 13 # CHECK-NEXT: ElemType: FUNCREF
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | RelLookupTableConverter.cpp | 65 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 D | tables.s | 125 # 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 D | SPIRVGlobalRegistry.h | 177 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 D | SPIRVGlobalRegistry.cpp | 103 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 D | Wasm.h | 84 uint8_t ElemType; member 471 return LHS.ElemType == RHS.ElemType && LHS.Limits == RHS.Limits;
|
| /llvm-project-15.0.7/llvm/test/Object/ |
| H A D | wasm-relocs-and-producers.yaml | 33 ElemType: FUNCREF
|