| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | FunctionInterfaces.h | 117 assert(index < op.getNumArguments() && "invalid argument number"); in setArgAttrs() 119 op, getArgDictAttrName(), op.getNumArguments(), index, in setArgAttrs() 125 op, getArgDictAttrName(), op.getNumArguments(), index, in setArgAttrs() 218 unsigned numArgs = op.getNumArguments(); in verifyTrait()
|
| H A D | FunctionInterfaces.td | 95 if (entryBlock.getNumArguments() != numArguments) 276 unsigned getNumArguments() { return $_op.getArgumentTypes().size(); } 305 unsigned originalNumArgs = $_op.getNumArguments(); 335 BitVector argsToErase($_op.getNumArguments()); 422 result.append($_op.getNumArguments(), 458 assert(attributes.size() == $_op.getNumArguments()); 462 assert(attributes.size() == $_op.getNumArguments()); 466 assert(attributes.size() == $_op.getNumArguments()); 585 assert(index < $_op.getNumArguments() && "invalid argument number");
|
| /llvm-project-15.0.7/mlir/test/lib/IR/ |
| H A D | TestFunc.cpp | 99 BitVector indicesToErase(func.getNumArguments()); in runOnOperation() 100 for (auto argIndex : llvm::seq<int>(0, func.getNumArguments())) in runOnOperation()
|
| H A D | TestClone.cpp | 41 if (terminator->getNumOperands() != regionEntry.getNumArguments()) in runOnOperation()
|
| H A D | TestPrintNesting.cpp | 64 << "Block with " << block.getNumArguments() << " arguments, " in printBlock()
|
| H A D | TestMatchers.cpp | 45 assert(f.getNumArguments() == 3 && "matcher test funcs must have 3 args"); in test1()
|
| /llvm-project-15.0.7/mlir/test/lib/Dialect/GPU/ |
| H A D | TestGpuMemoryPromotion.cpp | 45 for (unsigned i = 0, e = op.getNumArguments(); i < e; ++i) { in runOnOperation()
|
| /llvm-project-15.0.7/llvm/tools/llvm-diff/lib/ |
| H A D | DiffLog.cpp | 26 unsigned LogBuilder::getNumArguments() const { return Arguments.size(); } in getNumArguments() function in LogBuilder
|
| H A D | DiffLog.h | 55 unsigned getNumArguments() const;
|
| /llvm-project-15.0.7/mlir/test/lib/Dialect/Affine/ |
| H A D | TestAffineLoopParametricTiling.cpp | 45 assert(funcOp.getNumArguments() >= band.size() && "Too few tile sizes"); in checkIfTilingParametersExist()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/LLVMIR/Transforms/ |
| H A D | LegalizeForExport.cpp | 34 if (successor->getNumArguments() == 0) in ensureDistinctSuccessors()
|
| /llvm-project-15.0.7/mlir/lib/Analysis/DataFlow/ |
| H A D | SparseAnalysis.cpp | 138 if (block->getNumArguments() == 0) in visitBlock() 147 argLattices.reserve(block->getNumArguments()); in visitBlock()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Tosa/Transforms/ |
| H A D | TosaInferShapes.cpp | 44 if (frontBlock.getNumArguments() + 1 != ifOp.getNumOperands()) in propagateShapesToTosaIf() 58 for (int i = 0, e = frontBlock.getNumArguments(); i < e; i++) { in propagateShapesToTosaIf()
|
| /llvm-project-15.0.7/mlir/lib/Interfaces/ |
| H A D | ControlFlowInterfaces.cpp | 66 if (operandCount != destBB->getNumArguments()) in verifyBranchSuccessorOperands() 70 << destBB->getNumArguments(); in verifyBranchSuccessorOperands()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SCF/IR/ |
| H A D | SCF.cpp | 135 if (getRegion().front().getNumArguments() > 0) in verify() 682 assert(oldBlock.getNumArguments() == newBlockTransferArgs.size() && in matchAndRewrite() 1060 if (body->getNumArguments() != getRank()) in verify() 2170 if (body->getNumArguments() != stepValues.size()) in verify() 2172 << body->getNumArguments() in verify() 2429 (outerBody.getNumArguments() + innerBody.getNumArguments())); in matchAndRewrite() 2432 iterVals.take_front(outerBody.getNumArguments())); in matchAndRewrite() 2434 iterVals.take_back(innerBody.getNumArguments())); in matchAndRewrite() 2492 if (block.getNumArguments() != 2 || in verifyRegions() 3027 SmallVector<Value> newAfterBlockArgs(afterBlock.getNumArguments()); in matchAndRewrite() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Conversion/FuncToLLVM/ |
| H A D | FuncToLLVM.cpp | 139 prependResAttrsToArgAttrs(rewriter, attributes, funcOp.getNumArguments()); in wrapForExternalCallers() 206 prependResAttrsToArgAttrs(builder, attributes, funcOp.getNumArguments()); in wrapExternalFunction() 292 TypeConverter::SignatureConversion result(funcOp.getNumArguments()); in convertFuncOpToLLVMFuncOp() 317 for (unsigned i = 0, e = funcOp.getNumArguments(); i < e; ++i) { in convertFuncOpToLLVMFuncOp()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/OpenMP/IR/ |
| H A D | OpenMPDialect.cpp | 607 if (initializerEntryBlock.getNumArguments() != 1 || in verifyRegions() 623 if (reductionEntryBlock.getNumArguments() != 2 || in verifyRegions() 640 if (atomicReductionEntryBlock.getNumArguments() != 2 || in verifyRegions() 858 if (region().getNumArguments() != 1) in verifyRegions()
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | FunctionInterfaces.cpp | 282 unsigned oldNumArgs = funcOp.getNumArguments(); in setFunctionType() 285 unsigned newNumArgs = funcOp.getNumArguments(); in setFunctionType()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/GPUToSPIRV/ |
| H A D | GPUToSPIRV.cpp | 248 for (auto argIndex : llvm::seq<unsigned>(0, funcOp.getNumArguments())) { in getDefaultABIAttrs() 271 for (auto argIndex : llvm::seq<unsigned>(0, funcOp.getNumArguments())) { in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/TosaToSCF/ |
| H A D | TosaToSCF.cpp | 39 llvm::to_vector<4>(llvm::seq<unsigned>(0, headBlock->getNumArguments()))); in inlineIfCase()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/GPU/IR/ |
| H A D | GPUDialect.cpp | 254 unsigned expectedNumArguments = kernelGPUFunction.getNumArguments(); in verifyOperationAttribute() 316 if (body().getNumArguments() != 2) in verifyRegions() 461 if (body().getNumArguments() != in verifyRegions() 1000 unsigned numFuncArguments = getNumArguments(); in verifyBody() 1002 unsigned numBlockArguments = front().getNumArguments(); in verifyBody()
|
| /llvm-project-15.0.7/mlir/lib/Transforms/Utils/ |
| H A D | InliningUtils.cpp | 242 if (inlinedOperands.size() != entryBlock->getNumArguments()) in inlineRegionImpl() 346 if (callOperands.size() != entryBlock->getNumArguments() || in inlineCall()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/SCFToSPIRV/ |
| H A D | SCFToSPIRV.cpp | 191 body->getNumArguments()); in matchAndRewrite() 193 for (unsigned i = 1, e = body->getNumArguments(); i < e; i++) in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/GPUCommon/ |
| H A D | GPUOpsLowering.cpp | 50 gpuFuncOp.front().getNumArguments()); in matchAndRewrite() 84 unsigned numProperArguments = gpuFuncOp.getNumArguments(); in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/PDLInterp/IR/ |
| H A D | PDLInterp.cpp | 194 if (getRegion().getNumArguments() != 1) in verify()
|