Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/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.cpp342 for (unsigned I = 0; I < getBlocks().size(); ++I) { in print()
343 MachineBasicBlock *MBB = getBlocks()[I]; in print()
H A DWebAssemblyFixIrreducibleControlFlow.cpp199 BlockSet &getBlocks() { return Blocks; } in getBlocks() function in __anon5f812d3b0111::LoopBlocks
322 if (processRegion(LoopEntry, InnerBlocks.getBlocks(), MF)) { in processRegion()
/freebsd/contrib/llvm-project/clang/lib/CIR/Dialect/Transforms/
H A DCIRCanonicalize.cpp77 if (region.getBlocks().front().getOperations().size() == 1 && in matchAndRewrite()
78 isa<YieldOp>(region.getBlocks().front().front())) { in matchAndRewrite()
H A DFlattenCFG.cpp251 llvm::make_early_inc_range(op.getBody().getBlocks())) in matchAndRewrite()
323 for (mlir::Block &blk : region.getBlocks()) { in matchAndRewrite()
462 for (mlir::Block &blk : op.getBody().getBlocks()) { in matchAndRewrite()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DGenericLoopInfo.h90 BlockT *getHeader() const { return getBlocks().front(); } in getHeader()
173 ArrayRef<BlockT *> getBlocks() const { in getBlocks() function
178 block_iterator block_begin() const { return getBlocks().begin(); } in block_begin()
179 block_iterator block_end() const { return getBlocks().end(); } in block_end()
H A DGenericLoopInfoImpl.h422 for (unsigned i = 0; i < getBlocks().size(); ++i) { in print()
423 BlockT *BB = getBlocks()[i]; in print()
704 std::vector<BlockT *> BBs = L->getBlocks(); in compareLoops()
705 std::vector<BlockT *> OtherBBs = OtherL->getBlocks(); in compareLoops()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DEdgeBundles.h53 ArrayRef<unsigned> getBlocks(unsigned Bundle) const { return Blocks[Bundle]; } in getBlocks() function
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopVersioningLICM.cpp228 for (auto *Block : CurLoop->getBlocks()) { in legalLoopMemoryAccesses()
379 for (auto *Block : CurLoop->getBlocks()) in legalLoopInstructions()
H A DLoopDistribute.cpp158 for (auto *B : OrigLoop->getBlocks()) in populateUsedSet()
213 for (auto *Block : OrigLoop->getBlocks()) in removeUnusedInsts()
243 for (auto *BB : getDistributedLoop()->getBlocks()) in printBlocks()
H A DLoopUnrollAndJamPass.cpp247 if (SubLoop->getBlocks().size() != 1) { in computeUnrollAndJamCount()
258 for (BasicBlock *BB : SubLoop->getBlocks()) { in computeUnrollAndJamCount()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUnroll.cpp375 for (BasicBlock *BB : L->getBlocks()) { in simplifyLoopAfterUnroll()
494 std::vector<BasicBlock *> OriginalLoopBlocks = L->getBlocks(); in UnrollLoop()
678 std::vector<BasicBlock*> UnrolledLoopBlocks = L->getBlocks(); in UnrollLoop()
691 for (BasicBlock *BB : L->getBlocks()) in UnrollLoop()
707 identifyNoAliasScopesToClone(L->getBlocks(), LoopLocalNoAliasDeclScopes); in UnrollLoop()
H A DLoopSimplify.cpp316 for (unsigned i = 0; i != L->getBlocks().size(); ++i) { in separateNestedLoop()
317 BasicBlock *BB = L->getBlocks()[i]; in separateNestedLoop()
H A DLoopConstrainer.cpp470 for (BasicBlock *BB : OriginalLoop.getBlocks()) { in cloneLoop()
494 BasicBlock *OriginalBB = OriginalLoop.getBlocks()[i]; in cloneLoop()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIMachineScheduler.h250 getBlocks(SISchedulerBlockCreatorVariant BlockVariant);
351 std::vector<SIScheduleBlock*> getBlocks() { return BlocksScheduled; } in getBlocks() function
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86CmovConversion.cpp251 if (!collectCmovCandidates(CurrLoop->getBlocks(), CmovInstGroups)) in runOnMachineFunction()
254 if (!checkForProfitableCmovCandidates(CurrLoop->getBlocks(), in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DLoopExtractor.cpp244 CodeExtractor Extractor(L->getBlocks(), &DT, false, nullptr, nullptr, AC); in extractLoop()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCCTRLoops.cpp208 for (auto *MBB : reverse(ML->getBlocks())) { in processLoop()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FalkorHWPFFix.cpp672 for (MachineBasicBlock *MBB : L.getBlocks()) in runOnLoop()
706 for (MachineBasicBlock *MBB : L.getBlocks()) { in runOnLoop()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/Analysis/
H A DSPIRVConvergenceRegionAnalysis.cpp235 for (auto *BB : L->getBlocks()) { in findPathsToMatch()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSpillPlacement.cpp269 if (bundles->getBlocks(n).size() > 100) { in activate()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenFunction.cpp351 mlir::Block *entryBB = &fn.getBlocks().front(); in startFunction()
428 for (mlir::Block &block : func.getBlocks()) { in eraseEmptyAndUnusedBlocks()
H A DCIRGenStmt.cpp281 unsigned numBlocks = r.getBlocks().size(); in terminateBody()
282 for (auto &block : r.getBlocks()) { in terminateBody()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVETailPredication.cpp416 for (auto *BB : L->getBlocks()) in TryConvertActiveLaneMask()
H A DARMLowOverheadLoops.cpp605 assert(ML.getBlocks().size() == 1 && in ValidateTailPredicate()
1324 for (auto *MBB : ML->getBlocks()) in ProcessLoop()
1353 for (auto *MBB : reverse(ML->getBlocks())) { in ProcessLoop()

123