Home
last modified time | relevance | path

Searched refs:blockArg (Results 1 – 8 of 8) sorted by relevance

/external/llvm-project/mlir/lib/Transforms/
DBufferDeallocation.cpp233 if (auto blockArg = value.dyn_cast<BlockArgument>()) in introduceCopies() local
234 introduceBlockArgCopy(blockArg); in introduceCopies()
247 void introduceBlockArgCopy(BlockArgument blockArg) { in introduceBlockArgCopy() argument
251 Block *block = blockArg.getOwner(); in introduceBlockArgCopy()
260 .getValue()[blockArg.getArgNumber()]; in introduceBlockArgCopy()
271 .slice(blockArg.getArgNumber(), 1) in introduceBlockArgCopy()
287 regionInterface, argRegion->getParentOp()->getRegions(), blockArg, in introduceBlockArgCopy()
309 [llvm::find(it->getSuccessorInputs(), blockArg).getIndex()]; in introduceBlockArgCopy()
/external/llvm-project/mlir/test/lib/IR/
DTestPrintDefUse.cpp34 auto blockArg = operand.cast<BlockArgument>(); in runOnOperation() local
36 << blockArg.getArgNumber() << "\n"; in runOnOperation()
/external/llvm-project/mlir/lib/Analysis/
DLiveness.cpp289 auto blockArg = value.cast<BlockArgument>(); in print() local
290 os << "arg" << blockArg.getArgNumber() << "@" in print()
291 << blockIds[blockArg.getOwner()]; in print()
DSliceAnalysis.cpp101 if (auto blockArg = operand.dyn_cast<BlockArgument>()) { in getBackwardSliceImpl() local
110 } else if (blockArg.getOwner() != in getBackwardSliceImpl()
/external/llvm-project/mlir/lib/Dialect/SPIRV/Serialization/
DDeserializer.cpp1907 BlockArgument blockArg = curBlock->addArgument(blockArgType); in processPhi() local
1908 valueMap[operands[1]] = blockArg; in processPhi()
1909 LLVM_DEBUG(llvm::dbgs() << "[phi] created block argument " << blockArg in processPhi()
2067 for (BlockArgument blockArg : block->getArguments()) { in structurizeImpl() local
2068 auto newArg = newBlock->addArgument(blockArg.getType()); in structurizeImpl()
2069 mapper.map(blockArg, newArg); in structurizeImpl()
2070 LLVM_DEBUG(llvm::dbgs() << "[cf] remapped block argument " << blockArg in structurizeImpl()
2107 for (BlockArgument blockArg : headerBlock->getArguments()) { in structurizeImpl() local
2108 mergeBlock->addArgument(blockArg.getType()); in structurizeImpl()
/external/llvm-project/mlir/include/mlir/IR/
DBuilders.h341 auto blockArg = val.cast<BlockArgument>(); in setInsertionPointAfterValue() local
342 setInsertionPointToStart(blockArg.getOwner()); in setInsertionPointAfterValue()
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
DFusion.cpp480 if (auto blockArg = tensor.dyn_cast<BlockArgument>()) { in getProducerOfTensor() local
481 if (auto forOp = blockArg.getDefiningOp<scf::ForOp>()) { in getProducerOfTensor()
482 tensor = forOp.getResult(blockArg.getArgNumber()); in getProducerOfTensor()
/external/llvm-project/mlir/docs/Tutorials/
DUnderstandingTheIRStructure.md240 auto blockArg = operand.cast<BlockArgument>();
242 << blockArg.getArgNumber() << "\n";