Searched refs:blockArg (Results 1 – 8 of 8) sorted by relevance
233 if (auto blockArg = value.dyn_cast<BlockArgument>()) in introduceCopies() local234 introduceBlockArgCopy(blockArg); in introduceCopies()247 void introduceBlockArgCopy(BlockArgument blockArg) { in introduceBlockArgCopy() argument251 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()
34 auto blockArg = operand.cast<BlockArgument>(); in runOnOperation() local36 << blockArg.getArgNumber() << "\n"; in runOnOperation()
289 auto blockArg = value.cast<BlockArgument>(); in print() local290 os << "arg" << blockArg.getArgNumber() << "@" in print()291 << blockIds[blockArg.getOwner()]; in print()
101 if (auto blockArg = operand.dyn_cast<BlockArgument>()) { in getBackwardSliceImpl() local110 } else if (blockArg.getOwner() != in getBackwardSliceImpl()
1907 BlockArgument blockArg = curBlock->addArgument(blockArgType); in processPhi() local1908 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() local2068 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() local2108 mergeBlock->addArgument(blockArg.getType()); in structurizeImpl()
341 auto blockArg = val.cast<BlockArgument>(); in setInsertionPointAfterValue() local342 setInsertionPointToStart(blockArg.getOwner()); in setInsertionPointAfterValue()
480 if (auto blockArg = tensor.dyn_cast<BlockArgument>()) { in getProducerOfTensor() local481 if (auto forOp = blockArg.getDefiningOp<scf::ForOp>()) { in getProducerOfTensor()482 tensor = forOp.getResult(blockArg.getArgNumber()); in getProducerOfTensor()
240 auto blockArg = operand.cast<BlockArgument>();242 << blockArg.getArgNumber() << "\n";