Home
last modified time | relevance | path

Searched full:elemtype (Results 1 – 25 of 137) sorted by relevance

123456

/llvm-project/clang-tools-extra/test/clang-tidy/checkers/modernize/Inputs/loop-convert/
H A Dstructures.h120 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 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()
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 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
/llvm-project/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/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/mlir/lib/Conversion/GPUToSPIRV/
H A DGPUToSPIRV.cpp486 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 DLLVMMemorySlot.cpp40 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 DSPIRVISelLowering.cpp157 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 Dobj2yaml-tables.test7 # CHECK: ElemType: FUNCREF
13 # CHECK: ElemType: FUNCREF
19 # CHECK: ElemType: EXTERNREF
23 # CHECK: ElemType: OTHERREF
/llvm-project/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 Dtable-base.s19 # CHECK-DEFAULT-NEXT: ElemType: FUNCREF
48 # CHECK-100-NEXT: ElemType: FUNCREF
/llvm-project/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/mlir/lib/Dialect/MemRef/IR/
H A DMemRefMemorySlot.cpp86 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 DRISCVTargetTransformInfo.h236 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 Dtables.s115 # 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 DHexagonISelDAGToDAGHVX.cpp320 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 DLoopConvertCheck.cpp668 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 DEvaluationResult.cpp
/llvm-project/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()
/llvm-project/mlir/lib/Dialect/ArmSME/IR/
H A DUtils.cpp33 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 DAMDGPUToROCDL.cpp410 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 DArmNeon2dToIntr.cpp36 Type elemType = cast<VectorType>(op.getB().getType()).getElementType(); in matchAndRewrite() local
39 VectorType flattenedVectorType = VectorType::get({length}, elemType); in matchAndRewrite()

123456