/llvm-project/clang-tools-extra/test/clang-tidy/checkers/modernize/Inputs/loop-convert/ |
H A D | structures.h | 120 template<typename ElemType> 123 dependent<ElemType>(); 125 const ElemType& operator*()const; 128 const ElemType *operator->() const; 132 ElemType& operator*(); 134 ElemType *operator->(); 143 ElemType & operator[](unsigned); 144 const ElemType & operator[](unsigned) const; 145 ElemType & at(unsigned); 146 ElemType & at(unsigned, unsigned); [all …]
|
/llvm-project/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() 54 using U1 = std::unique_ptr<ElemType, NonDefaultDeleter>; 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() [all …]
|
/llvm-project/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
|
/llvm-project/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/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/mlir/lib/Conversion/GPUToSPIRV/ |
H A D | GPUToSPIRV.cpp | 486 enum class ElemType { Float, Boolean, Integer }; in createGroupReduceOp() 490 ElemType elemType; in createGroupReduceOp() 495 ElemType elementType; in createGroupReduceOp() 497 elementType = ElemType::Float; in createGroupReduceOp() 499 elementType = (intTy.getIntOrFloatBitWidth() == 1) ? ElemType::Boolean in createGroupReduceOp() 500 : ElemType::Integer; in createGroupReduceOp() 512 {ReduceType::ADD, ElemType::Integer, in createGroupReduceOp() 515 {ReduceType::ADD, ElemType::Float, in createGroupReduceOp() 518 {ReduceType::MUL, ElemType in createGroupReduceOp() 489 enum class ElemType { Float, Boolean, Integer }; createGroupReduceOp() enum 493 ElemType elemType; createGroupReduceOp() member [all...] |
/llvm-project/mlir/lib/Dialect/LLVMIR/IR/ |
H A D | LLVMMemorySlot.cpp | 40 return builder.create<LLVM::UndefOp>(getLoc(), slot.elemType); in getDefaultValue() 90 Type elemType = destructurableType.getTypeAtIndex(index); in destructure() local 91 assert(elemType && "used index must exist"); in destructure() 93 getLoc(), LLVM::LLVMPointerType::get(getContext()), elemType, in destructure() 96 slotMap.try_emplace<MemorySlot>(index, {subAlloca.getResult(), elemType}); in destructure() 344 assert(reachingDef && reachingDef.getType() == slot.elemType && in getStored() 362 slot.elemType, /*narrowingConversion=*/true) && in canUsesBeRemoved() 390 areConversionCompatible(dataLayout, slot.elemType, in canUsesBeRemoved() 407 dataLayout.getTypeSize(slot.elemType); in isValidAccessType() 428 cast<DestructurableTypeInterface>(slot.elemType) in getTypeAtIndex() 1052 Type elemType = types->at(index); rewire() local [all...] |
/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVISelLowering.cpp | 157 SPIRVType *ElemType = GR.getSPIRVTypeForVReg(ElemTypeReg, MF); in validatePtrTypes() 158 if (!ElemType) in validatePtrTypes() 162 bool IsEqualTypes = IsSameMF ? ElemType == ResType in validatePtrTypes() 163 : GR.getTypeForSPIRVType(ElemType) == ResTy; in validatePtrTypes() local 189 SPIRVType *ElemType = GR.getSPIRVTypeForVReg(OpType->getOperand(2).getReg()); in validateGroupWaitEventsPtr() 190 if (!ElemType || ElemType->getOpcode() == SPIRV::OpTypeEvent) in validateGroupWaitEventsPtr() 218 SPIRVType *ElemType = in validateGroupAsyncCopyPtr() 220 SPIRVType *NewPtrType = GR.getOrCreateSPIRVPointerType(ElemType, MIB, SC); in validateGroupAsyncCopyPtr() 234 SPIRVType *ElemType in validateGroupAsyncCopyPtr() 195 SPIRVType *ElemType = GR.getSPIRVTypeForVReg(OpType->getOperand(2).getReg()); validateGroupWaitEventsPtr() local 216 SPIRVType *ElemType = GR.getSPIRVTypeForVReg(OpType->getOperand(2).getReg()); validateGroupAsyncCopyPtr() local [all...] |
/llvm-project/llvm/test/Object/Wasm/ |
H A D | obj2yaml-tables.test | 7 # CHECK: ElemType: FUNCREF 13 # CHECK: ElemType: FUNCREF 19 # CHECK: ElemType: EXTERNREF 23 # CHECK: ElemType: OTHERREF
|
/llvm-project/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 | table-base.s | 19 # CHECK-DEFAULT-NEXT: ElemType: FUNCREF 48 # CHECK-100-NEXT: ElemType: FUNCREF
|
/llvm-project/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/mlir/lib/Dialect/MemRef/IR/ |
H A D | MemRefMemorySlot.cpp | 86 assert(isSupportedElementType(slot.elemType)); in getDefaultValue() 88 return TypeSwitch<Type, Value>(slot.elemType) in getDefaultValue() 138 Type elemType = memrefType.getTypeAtIndex(usedIndex); in destructure() local 139 MemRefType elemPtr = MemRefType::get({}, elemType); in destructure() 143 {subAlloca.getResult(), elemType}); in destructure() 181 getResult().getType() == slot.elemType; in canUsesBeRemoved() 261 getValue() != slot.ptr && getValue().getType() == slot.elemType; in canUsesBeRemoved()
|
/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVTargetTransformInfo.h | 236 EVT ElemType = DataTypeVT.getScalarType(); in isLegalMaskedLoadStore() 237 if (!ST->enableUnalignedVectorMem() && Alignment < ElemType.getStoreSize()) 240 return TLI->isLegalElementTypeForRVV(ElemType); in isLegalMaskedLoad() 266 EVT ElemType = DataTypeVT.getScalarType(); in isLegalMaskedScatter() 267 if (!ST->enableUnalignedVectorMem() && Alignment < ElemType.getStoreSize()) in isLegalMaskedScatter() 270 return TLI->isLegalElementTypeForRVV(ElemType); in forceScalarizeMaskedGather() 230 EVT ElemType = DataTypeVT.getScalarType(); isLegalMaskedLoadStore() local 255 EVT ElemType = DataTypeVT.getScalarType(); isLegalMaskedGatherScatter() local
|
/llvm-project/llvm/test/MC/WebAssembly/ |
H A D | tables.s | 115 # BIN-NEXT: ElemType: EXTERNREF 119 # BIN-NEXT: ElemType: FUNCREF 123 # BIN-NEXT: ElemType: FUNCREF 127 # BIN-NEXT: ElemType: FUNCREF
|
/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonISelDAGToDAGHVX.cpp | 320 using ElemType = int; 321 static constexpr ElemType Ignore = ElemType(-1); 333 PermNetwork(ArrayRef<ElemType> Ord, unsigned Mult = 1) { 363 uint8_t ctl(ElemType Pos, unsigned Step) const { in getControls() 375 std::vector<ElemType> Order; in steps() 381 ForwardDeltaNetwork(ArrayRef<ElemType> Ord) : PermNetwork(Ord) {} 391 bool route(ElemType *P, RowType *T, unsigned Size, unsigned Step); in run() 395 ReverseDeltaNetwork(ArrayRef<ElemType> Ord) : PermNetwork(Ord) {} 405 bool route(ElemType * in run() 324 using ElemType = int; global() typedef [all...] |
/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
H A D | LoopConvertCheck.cpp | 668 if (Descriptor.ElemType.isNull() || in doConversion() 669 !Context->hasSameUnqualifiedType(AliasVarType, Descriptor.ElemType)) in doConversion() 670 Descriptor.ElemType = AliasVarType; in doConversion() 750 if (!Descriptor.ElemType.isNull() && Descriptor.ElemType->isFundamentalType()) in doConversion() 751 Type = Descriptor.ElemType.getUnqualifiedType(); in doConversion() 758 !Descriptor.ElemType.isNull() && in doConversion() 759 Descriptor.ElemType.isTriviallyCopyableType(*Context) && in doConversion() 760 !Descriptor.ElemType->isDependentSizedArrayType() && in doConversion() 762 Context->getTypeInfo(Descriptor.ElemType) in doConversion() [all...] |
/llvm-project/clang/lib/AST/Interp/ |
H A D | EvaluationResult.cpp |
|
/llvm-project/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()
|
/llvm-project/mlir/lib/Dialect/ArmSME/IR/ |
H A D | Utils.cpp | 33 auto elemType = vType.getElementType(); in isValidSMETileVectorType() local 34 if (!isValidSMETileElementType(elemType)) in isValidSMETileVectorType() 37 unsigned minNumElts = getSMETileSliceMinNumElts(elemType); in isValidSMETileVectorType()
|
/llvm-project/mlir/lib/Conversion/AMDGPUToROCDL/ |
H A D | AMDGPUToROCDL.cpp | 410 Type elemType = vectorType.getElementType(); 412 if (elemType.isBF16()) in wmmaPushOutputOperand() 415 if (!elemType.isInteger(8)) { in wmmaPushOutputOperand() 428 if (elemType.isUnsignedInteger(8)) { in wmmaPushOutputOperand() 430 } else if (elemType.isSignedInteger(8)) { 459 Type elemType = vectorType.getElementType(); in mfmaOpToIntrinsic() 460 if (elemType.isBF16()) in mfmaOpToIntrinsic() 464 if (elemType.isF16() || elemType.isBF16() || elemType in mfmaOpToIntrinsic() 375 Type elemType = vectorType.getElementType(); wmmaPushInputOperand() local 418 Type elemType = vectorType.getElementType(); wmmaPushOutputOperand() local [all...] |
/llvm-project/mlir/lib/Conversion/ArmNeon2dToIntr/ |
H A D | ArmNeon2dToIntr.cpp | 36 Type elemType = cast<VectorType>(op.getB().getType()).getElementType(); in matchAndRewrite() local 39 VectorType flattenedVectorType = VectorType::get({length}, elemType); in matchAndRewrite()
|