Home
last modified time | relevance | path

Searched refs:getBlocks (Results 1 – 25 of 101) sorted by relevance

12345

/llvm-project-15.0.7/mlir/lib/IR/
H A DBlock.cpp42 block->getParent()->getBlocks().insert(block->getIterator(), this); in insertBefore()
49 block->getParent()->getBlocks().splice( in moveBefore()
50 block->getIterator(), getParent()->getBlocks(), getIterator()); in moveBefore()
56 getParent()->getBlocks().erase(this); in erase()
293 getParent()->getBlocks().insert(std::next(Region::iterator(this)), newBB); in splitBlock()
H A DPatternMatch.cpp341 parent.getBlocks().splice(before, region.getBlocks()); in inlineRegionBefore()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyExceptionInfo.h78 ArrayRef<MachineBasicBlock *> getBlocks() const { return Blocks; } in getBlocks() function
80 block_iterator block_begin() const { return getBlocks().begin(); } in block_begin()
81 block_iterator block_end() const { return getBlocks().end(); } in block_end()
H A DWebAssemblyExceptionInfo.cpp340 for (unsigned I = 0; I < getBlocks().size(); ++I) { in print()
341 MachineBasicBlock *MBB = getBlocks()[I]; in print()
H A DWebAssemblyFixIrreducibleControlFlow.cpp199 BlockSet &getBlocks() { return Blocks; } in getBlocks() function in __anon537f6e6b0111::LoopBlocks
322 if (processRegion(LoopEntry, InnerBlocks.getBlocks(), MF)) { in processRegion()
/llvm-project-15.0.7/mlir/test/lib/IR/
H A DTestPrintNesting.cpp54 printIndent() << "Region with " << region.getBlocks().size() in printRegion()
57 for (Block &block : region.getBlocks()) in printRegion()
/llvm-project-15.0.7/mlir/lib/Dialect/Shape/Transforms/
H A DBufferizableOpInterfaceImpl.cpp41 assert(assumingOp.getDoRegion().getBlocks().size() == 1 && in getAliasingOpOperand()
64 assert(assumingOp.getDoRegion().getBlocks().size() == 1 && in bufferize()
/llvm-project-15.0.7/mlir/lib/Transforms/
H A DStripDebugInfo.cpp31 for (Block &block : region.getBlocks()) { in runOnOperation()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DEdgeBundles.h47 ArrayRef<unsigned> getBlocks(unsigned Bundle) const { return Blocks[Bundle]; } in getBlocks() function
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DLoopUnroll.cpp237 for (BasicBlock *BB : L->getBlocks()) { in simplifyLoopAfterUnroll()
309 std::vector<BasicBlock *> OriginalLoopBlocks = L->getBlocks(); in UnrollLoop()
497 std::vector<BasicBlock*> UnrolledLoopBlocks = L->getBlocks(); in UnrollLoop()
510 for (BasicBlock *BB : L->getBlocks()) in UnrollLoop()
526 identifyNoAliasScopesToClone(L->getBlocks(), LoopLocalNoAliasDeclScopes); in UnrollLoop()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopVersioningLICM.cpp404 for (auto *Block : CurLoop->getBlocks()) in legalLoopInstructions()
558 for (auto *Block : CurLoop->getBlocks()) { in setNoAliasToLoop()
609 for (auto *Block : L->getBlocks()) { in runOnLoop()
H A DLoopUnrollAndJamPass.cpp252 if (SubLoop->getBlocks().size() != 1) { in computeUnrollAndJamCount()
263 for (BasicBlock *BB : SubLoop->getBlocks()) { in computeUnrollAndJamCount()
H A DLoopDistribute.cpp162 for (auto *B : OrigLoop->getBlocks()) in populateUsedSet()
217 for (auto *Block : OrigLoop->getBlocks()) in removeUnusedInsts()
247 for (auto *BB : getDistributedLoop()->getBlocks()) in printBlocks()
/llvm-project-15.0.7/mlir/lib/CAPI/Dialect/
H A DLinalg.cpp27 assert(op->getRegion(0).getBlocks().empty() && in mlirLinalgFillBuiltinNamedOpRegion()
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/
H A DVectorDistribute.cpp160 cast<vector::YieldOp>(newOpBody.getBlocks().begin()->getTerminator()); in moveRegionToNewWarpOpAndReplaceReturns()
176 warpOp.getBodyRegion().getBlocks().begin()->getTerminator()); in moveRegionToNewWarpOpAndAppendReturns()
213 warpOp.getBodyRegion().getBlocks().begin()->getTerminator()); in getWarpResult()
633 warpOp.getBodyRegion().getBlocks().begin()->getTerminator()); in matchAndRewrite()
664 warpOp.getBodyRegion().getBlocks().begin()->getTerminator()); in matchAndRewrite()
786 warpOp.getBodyRegion().getBlocks().begin()->getTerminator()); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/CAPI/IR/
H A DIR.cpp525 auto &blockList = unwrap(region)->getBlocks(); in mlirRegionInsertOwnedBlock()
533 cppRegion->getBlocks().insert(cppRegion->begin(), unwrap(block)); in mlirRegionInsertOwnedBlockAfter()
539 cppRegion->getBlocks().insertAfter(Region::iterator(unwrap(reference)), in mlirRegionInsertOwnedBlockAfter()
550 unwrap(region)->getBlocks().insert(Region::iterator(unwrap(reference)), in mlirRegionInsertOwnedBlockBefore()
644 b->getParent()->getBlocks().remove(b); in mlirBlockDetach()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DLoopInfoImpl.h390 for (unsigned i = 0; i < getBlocks().size(); ++i) { in print()
391 BlockT *BB = getBlocks()[i]; in print()
672 std::vector<BlockT *> BBs = L->getBlocks(); in compareLoops()
673 std::vector<BlockT *> OtherBBs = OtherL->getBlocks(); in compareLoops()
H A DLoopInfo.h104 BlockT *getHeader() const { return getBlocks().front(); } in getHeader()
187 ArrayRef<BlockT *> getBlocks() const { in getBlocks() function
192 block_iterator block_begin() const { return getBlocks().begin(); } in block_begin()
193 block_iterator block_end() const { return getBlocks().end(); } in block_end()
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DRegion.h45 BlockListType &getBlocks() { return blocks; } in getBlocks() function
245 blocks.splice(blocks.end(), other.getBlocks()); in takeBody()
/llvm-project-15.0.7/mlir/lib/Dialect/Async/Transforms/
H A DAsyncToAsyncRuntime.cpp128 assert(!func.getBlocks().empty() && "Function must have an entry block"); in setupCoroMachinery()
131 Block *entryBlock = &func.getBlocks().front(); in setupCoroMachinery()
183 for (Block &block : func.getBody().getBlocks()) { in setupCoroMachinery()
621 for (Block &block : func.getBlocks()) { in rewriteFuncAsCoroutine()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIMachineScheduler.h250 getBlocks(SISchedulerBlockCreatorVariant BlockVariant);
351 std::vector<SIScheduleBlock*> getBlocks() { return BlocksScheduled; } in getBlocks() function
/llvm-project-15.0.7/mlir/lib/Transforms/Utils/
H A DInliningUtils.cpp175 insertRegion->getBlocks().splice(postInsertBlock->getIterator(), in inlineRegionImpl()
176 src->getBlocks(), src->begin(), in inlineRegionImpl()
H A DDialectConversion.cpp58 if (failed(computeConversionSet(region.getBlocks(), region.getLoc(), in computeConversionSet()
845 mappedRegion->getBlocks().splice(mappedRegion->end(), region->getBlocks(), in insertConversion()
1037 for (Block &block : region.getBlocks()) { in detachNestedAndErase()
1205 auto &blockList = action.originalPosition.region->getBlocks(); in undoBlockActions()
1231 originalRegion->getBlocks().splice( in undoBlockActions()
1234 action.block->getParent()->getBlocks(), action.block); in undoBlockActions()
1380 blockConversions.size() == region->getBlocks().size() - 1) && in convertNonEntryRegionTypes()
1541 block->getParent()->getBlocks().remove(block); in eraseBlock()
2445 if (failed(computeConversionSet(region.getBlocks(), region.getLoc(), in convertOperations()
/llvm-project-15.0.7/mlir/lib/Dialect/SCF/Transforms/
H A DBufferizableOpInterfaceImpl.cpp56 assert(executeRegionOp.getRegion().getBlocks().size() == 1 && in getAliasingOpOperand()
79 assert(executeRegionOp.getRegion().getBlocks().size() == 1 && in bufferize()
716 assert(whileOp.getBefore().getBlocks().size() == 1 && in bufferize()
719 assert(whileOp.getAfter().getBlocks().size() == 1 && in bufferize()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86CmovConversion.cpp249 if (!collectCmovCandidates(CurrLoop->getBlocks(), CmovInstGroups)) in runOnMachineFunction()
252 if (!checkForProfitableCmovCandidates(CurrLoop->getBlocks(), in runOnMachineFunction()

12345