Home
last modified time | relevance | path

Searched defs:numElements (Results 1 – 25 of 50) sorted by relevance

12

/llvm-project-15.0.7/mlir/lib/CAPI/IR/
H A DBuiltinAttributes.cpp44 MlirAttribute mlirArrayAttrGet(MlirContext ctx, intptr_t numElements, in mlirArrayAttrGet()
335 intptr_t numElements, in mlirDenseElementsAttrGet()
408 intptr_t numElements, in mlirDenseElementsAttrBoolGet()
418 intptr_t numElements, in getDenseAttribute()
426 intptr_t numElements, in mlirDenseElementsAttrUInt8Get()
431 intptr_t numElements, in mlirDenseElementsAttrInt8Get()
436 intptr_t numElements, in mlirDenseElementsAttrUInt16Get()
441 intptr_t numElements, in mlirDenseElementsAttrInt16Get()
451 intptr_t numElements, in mlirDenseElementsAttrInt32Get()
461 intptr_t numElements, in mlirDenseElementsAttrInt64Get()
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/LLVMIR/IR/
H A DLLVMTypes.cpp39 LLVMArrayType LLVMArrayType::get(Type elementType, unsigned numElements) { in get()
46 Type elementType, unsigned numElements) { in getChecked()
60 Type elementType, unsigned numElements) { in verify()
650 Type elementType, unsigned numElements) { in verifyVectorConstructionInvariants()
661 unsigned numElements) { in get()
668 Type elementType, unsigned numElements) { in getChecked()
688 Type elementType, unsigned numElements) { in verify()
739 Type elementType, unsigned numElements) { in verify()
925 Type mlir::LLVM::getVectorType(Type elementType, unsigned numElements, in getVectorType()
940 Type mlir::LLVM::getFixedVectorType(Type elementType, unsigned numElements) { in getFixedVectorType()
[all …]
H A DTypeDetail.h431 unsigned numElements; member
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/Utils/
H A DLayoutUtils.cpp104 const auto numElements = vectorType.getNumElements(); in decorateType() local
123 const auto numElements = arrayType.getNumElements(); in decorateType() local
/llvm-project-15.0.7/mlir/lib/CAPI/Dialect/
H A DLLVM.cpp27 MlirType mlirLLVMArrayTypeGet(MlirType elementType, unsigned numElements) { in mlirLLVMArrayTypeGet()
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/Transforms/
H A DRewriteInsertsPass.cpp83 auto numElements = in collectInsertionChain() local
/llvm-project-15.0.7/mlir/lib/Dialect/Tosa/Transforms/
H A DTosaFoldConstantTranspose.cpp50 int64_t numElements = inputType.getNumElements(); in matchAndRewrite() local
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DThreading.h38 unsigned numElements = static_cast<unsigned>(std::distance(begin, end)); in failableParallelForEach() local
/llvm-project-15.0.7/mlir/lib/Conversion/GPUCommon/
H A DGPUOpsLowering.cpp29 uint64_t numElements = type.getNumElements(); in matchAndRewrite() local
126 Value numElements = rewriter.create<LLVM::ConstantOp>( in matchAndRewrite() local
H A DGPUToLLVMConversion.cpp810 Value numElements = getNumElements(rewriter, loc, memRefType, srcDesc); in matchAndRewrite() local
852 Value numElements = getNumElements(rewriter, loc, memRefType, dstDesc); in matchAndRewrite() local
/llvm-project-15.0.7/mlir/lib/IR/
H A DTypeDetail.h131 unsigned numElements; member
H A DBuiltinAttributes.cpp1107 int64_t numElements = type.getNumElements(); in isValidRawBuffer() local
1409 int64_t numElements = data.size() / dataEltSize; in getRawComplex() local
1425 int64_t numElements = data.size() / dataEltSize; in getRawIntOrFloat() local
1433 size_t numElements) { in convertEndianOfCharForBEmachine()
1477 size_t numElements = type.getNumElements(); in convertEndianOfArrayRefForBEmachine() local
H A DAttributeDetail.h113 size_t numElements = ty.getNumElements(); in getKey() local
/llvm-project-15.0.7/mlir/lib/Conversion/MathToLibm/
H A DMathToLibm.cpp71 int64_t numElements = vecType.getNumElements(); in matchAndRewrite() local
/llvm-project-15.0.7/mlir/lib/Target/LLVMIR/
H A DConvertFromLLVMIR.cpp292 auto numElements = LLVM::getVectorNumElements(type); in getStdTypeForAttr() local
316 auto numElements = LLVM::getVectorNumElements(arrayType.getElementType()); in getStdTypeForAttr() local
515 unsigned numElements = c->getNumOperands(); in processConstant() local
/llvm-project-15.0.7/mlir/lib/Conversion/VectorToSPIRV/
H A DVectorToSPIRV.cpp270 int numElements = srcVectorType.getDimSize(0); in matchAndRewrite() local
/llvm-project-15.0.7/mlir/lib/Interfaces/
H A DViewLikeInterface.cpp21 Operation *op, StringRef name, unsigned numElements, ArrayAttr attr, in verifyListOfOperandsOrIntegers()
H A DDataLayoutInterfaces.cpp510 unsigned numElements = elements.size(); in verifyDataLayoutSpec() local
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/
H A DConstantFold.cpp134 int64_t numElements = outputType.getNumElements(); in matchAndRewrite() local
/llvm-project-15.0.7/mlir/lib/Conversion/LLVMCommon/
H A DPattern.cpp191 Value numElements = in getNumElements() local
/llvm-project-15.0.7/mlir/lib/Conversion/NVGPUToNVVM/
H A DNVGPUToNVVM.cpp383 int64_t numElements = adaptor.getNumElements().getZExtValue(); in matchAndRewrite() local
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGCXXABI.cpp250 llvm::Value *&numElements, in ReadArrayCookie()
H A DCGExprCXX.cpp698 llvm::Value *&numElements, in EmitCXXNewAllocSize()
1571 llvm::Value *numElements = nullptr; in EmitCXXNewExpr() local
2016 llvm::Value *numElements = nullptr; in EmitArrayDelete() local
/llvm-project-15.0.7/mlir/lib/Conversion/SPIRVToLLVM/
H A DSPIRVToLLVM.cpp139 static Value broadcast(Location loc, Value toBroadcast, unsigned numElements, in broadcast()
160 unsigned numElements = vectorType.getNumElements(); in optionallyBroadcast() local
258 unsigned numElements = type.getNumElements(); in convertArrayType() local
/llvm-project-15.0.7/mlir/lib/Dialect/Affine/Analysis/
H A DUtils.cpp371 int64_t numElements = 1; in getConstantBoundingSizeAndShape() local
632 Optional<int64_t> numElements = getConstantBoundingSizeAndShape(); in getRegionSize() local

12