/llvm-project/mlir/lib/Interfaces/ |
H A D | FunctionInterfaces.cpp | 157 assert(index < op.getNumArguments() && "invalid argument number"); in setArgAttrs() 159 op, op.getNumArguments(), index, in setArgAttrs() 167 op, op.getNumArguments(), index, in setArgAttrs() 326 unsigned oldNumArgs = op.getNumArguments(); in setFunctionType() 329 unsigned newNumArgs = op.getNumArguments(); in setFunctionType()
|
H A D | ControlFlowInterfaces.cpp | 66 if (operandCount != destBB->getNumArguments()) in verifyBranchSuccessorOperands() 70 << destBB->getNumArguments(); in verifyBranchSuccessorOperands()
|
/llvm-project/mlir/lib/Transforms/Utils/ |
H A D | CFGToSCF.cpp | 244 {entryBlock, multiplexerBlock->getNumArguments()}); 282 multiplexerBlock->getNumArguments() - extraArgs.size(); 287 SmallVector<Value> newSuccOperands(multiplexerBlock->getNumArguments()); 291 index < result->second + edge.getSuccessor()->getNumArguments()) { 341 offset, succ->getNumArguments())); 605 latchBlock->getArguments().take_front(loopHeader->getNumArguments()), in createSingleExitingLatch() 665 assert(exitBlock->getNumArguments() == 0 && in transformToReduceLoop() 1152 subRegionEntryBlock->getNumArguments()); in transformToStructuredCFBranches()
|
H A D | InliningUtils.cpp | 194 callable.getCallableRegion()->getNumArguments(), in handleResultImpl() 365 if (inlinedOperands.size() != entryBlock->getNumArguments()) in inlineRegion() 471 if (callOperands.size() != entryBlock->getNumArguments() || in inlineCall()
|
/llvm-project/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 | 48 if (terminator->getNumOperands() != regionEntry.getNumArguments()) in runOnOperation()
|
H A D | TestPrintNesting.cpp | 64 << "Block with " << block.getNumArguments() << " arguments, " in printBlock()
|
/llvm-project/mlir/include/mlir/Interfaces/ |
H A D | FunctionInterfaces.td | 97 if (entryBlock.getNumArguments() != numArguments) 242 unsigned getNumArguments() { return $_op.getArgumentTypes().size(); } 271 unsigned originalNumArgs = $_op.getNumArguments(); 301 ::llvm::BitVector argsToErase($_op.getNumArguments()); 386 result.append($_op.getNumArguments(), 422 assert(attributes.size() == $_op.getNumArguments()); 426 assert(attributes.size() == $_op.getNumArguments()); 430 assert(attributes.size() == $_op.getNumArguments()); 547 assert(index < $_op.getNumArguments() && "invalid argument number");
|
H A D | FunctionInterfaces.h | 163 unsigned numArgs = op.getNumArguments(); in verifyTrait()
|
/llvm-project/mlir/lib/Dialect/Func/TransformOps/ |
H A D | FuncTransformOps.cpp | 133 if (targetFunction.getNumArguments() != inputs.size()) { in apply() 136 << targetFunction.getNumArguments() << " and number of inputs " in apply()
|
/llvm-project/mlir/test/lib/Dialect/GPU/ |
H A D | TestGpuMemoryPromotion.cpp | 46 for (unsigned i = 0, e = op.getNumArguments(); i < e; ++i) { in runOnOperation()
|
/llvm-project/mlir/lib/Dialect/Transform/Transforms/ |
H A D | InferEffects.cpp | 46 for (unsigned i = 0, e = func.getNumArguments(); i < e; ++i) { in inferSideEffectAnnotations()
|
/llvm-project/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/mlir/lib/Dialect/Tosa/Transforms/ |
H A D | TosaInferShapes.cpp | 142 if (frontBlock.getNumArguments() + 1 != ifOp.getNumOperands()) in propagateShapesToTosaIf() 156 for (int i = 0, e = frontBlock.getNumArguments(); i < e; i++) { in propagateShapesToTosaWhile()
|
/llvm-project/mlir/test/lib/Dialect/Affine/ |
H A D | TestAffineLoopParametricTiling.cpp | 46 if (funcOp.getNumArguments() < band.size()) in checkIfTilingParametersExist()
|
/llvm-project/mlir/lib/Dialect/LLVMIR/Transforms/ |
H A D | LegalizeForExport.cpp | 43 if (successor->getNumArguments() == 0) in ensureDistinctSuccessors()
|
/llvm-project/mlir/lib/Transforms/ |
H A D | Mem2Reg.cpp | 628 assert(succOperands.size() == mergePoint->getNumArguments() || in promoteSlot() 629 succOperands.size() + 1 == mergePoint->getNumArguments()); in promoteSlot() 630 if (succOperands.size() + 1 == mergePoint->getNumArguments())
|
/llvm-project/mlir/lib/Conversion/ControlFlowToSPIRV/ |
H A D | ControlFlowToSPIRV.cpp | 35 for (unsigned i = 0; i < block.getNumArguments(); ++i) { in legalizeBlockArguments()
|
/llvm-project/mlir/lib/Dialect/OpenMP/IR/ |
H A D | OpenMPDialect.cpp | 1169 auto getNumArguments = [&] { in parseMapEntries() 1170 return std::visit([](auto &f) { return f.getNumArguments(); }, *funcOp); in parseMapEntries() 1182 if (getNumArguments() != 2) in printMapEntries() 2453 if (initializerEntryBlock.getNumArguments() == 1) { in verify() 2457 } else if (initializerEntryBlock.getNumArguments() == 2) { in verify() 2481 if (reductionEntryBlock.getNumArguments() != 2 || in build() 2496 if (atomicReductionEntryBlock.getNumArguments() != 2 || in verify() 2512 if (cleanupEntryBlock.getNumArguments() != 1 || in verify() 3104 if (region.getNumArguments() != expectedNumArgs) 3108 << " region arguments, got: " << region.getNumArguments(); 765 auto getNumArguments = [&] { verifyCopyPrivateVarList() local [all...] |
/llvm-project/mlir/lib/Conversion/SCFToOpenMP/ |
H A D | SCFToOpenMP.cpp | 47 if (block.getNumArguments() != 2) in matchSimpleReduction() 421 assert(redRegion.getNumArguments() == 2 && in matchAndRewrite() 508 numLoops, loopOpEntryBlock.getNumArguments() - numLoops); in matchAndRewrite()
|
/llvm-project/mlir/examples/transform/Ch4/lib/ |
H A D | MyExtension.cpp | 174 if (bodyBlock.getNumArguments() != 1 || in verify()
|
/llvm-project/mlir/lib/Dialect/SCF/IR/ |
H A D | SCF.cpp | 162 if (getRegion().front().getNumArguments() > 0) in verify() 577 getBody()->getNumArguments())); in replaceWithAdditionalYields() 924 assert(oldBlock.getNumArguments() == newBlockTransferArgs.size() && 1141 if (body->getNumArguments() != numLoops + getOutputs().size()) in verify() 2906 if (body->getNumArguments() != stepValues.size()) in verify() 2908 << body->getNumArguments() in verify() 3160 (outerBody.getNumArguments() + innerBody.getNumArguments())); in matchAndRewrite() 3163 iterVals.take_front(outerBody.getNumArguments())); in matchAndRewrite() 3165 iterVals.take_back(innerBody.getNumArguments())); in matchAndRewrite() [all...] |
/llvm-project/mlir/lib/Conversion/SCFToSPIRV/ |
H A D | SCFToSPIRV.cpp | 161 body->getNumArguments()); in matchAndRewrite() 163 for (unsigned i = 1, e = body->getNumArguments(); i < e; i++) in matchAndRewrite()
|
/llvm-project/mlir/lib/Query/ |
H A D | Query.cpp | 92 while (currentIndex < funcOp.getNumArguments()) { in extractFunction()
|