reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Analysis/LoopInfoImpl.h
  336   if (VisitedBBs.size() != getNumBlocks()) {
include/llvm/Analysis/LoopIterator.h
  116     L(Container), PostNumbers(NextPowerOf2(Container->getNumBlocks())) {
  117     PostBlocks.reserve(Container->getNumBlocks());
  126   bool isComplete() const { return PostBlocks.size() == L->getNumBlocks(); }
  218     assert(DFS.L->getNumBlocks() && "po_iterator cannot handle an empty graph");
lib/Analysis/LoopInfo.cpp
  695   if (Unloop.getNumBlocks()) {
  720     assert(NIters < Unloop.getNumBlocks() && "runaway iterative algorithm");
lib/CodeGen/MachineBlockPlacement.cpp
 2147   if (L.getNumBlocks() == 1) {
lib/CodeGen/MachinePipeliner.cpp
  309   if (L.getNumBlocks() != 1)
lib/Target/AMDGPU/AMDILCFGStructurizer.cpp
 1027     if (ExaminedLoop->getNumBlocks() == 0 || Visited[ExaminedLoop])
lib/Target/ARM/ARMTargetTransformInfo.cpp
 1022                     << "Blocks: " << L->getNumBlocks() << "\n"
 1032   if (ST->hasBranchPredictor() && L->getNumBlocks() > 4)
lib/Target/ARM/ARMTargetTransformInfo.h
   99     return ST->isMClass() && ST->isThumb2() && L->getNumBlocks() == 1;
lib/Target/Hexagon/HexagonVectorLoopCarriedReuse.cpp
  328   if (L->getNumBlocks() != 1)
  657   assert((CurLoop->getNumBlocks() == 1) &&
lib/Target/WebAssembly/WebAssemblyCFGSort.cpp
   68   unsigned getNumBlocks() const override { return Region->getNumBlocks(); }
   96     if ((ML && !WE) || (ML && WE && ML->getNumBlocks() < WE->getNumBlocks())) {
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
 1196   if (ApplyCodeSizeHeuristics && CurLoop->getNumBlocks() > 1) {
 1496   if (CurLoop->getNumBackEdges() != 1 || CurLoop->getNumBlocks() != 1)
 1598   if (CurLoop->getNumBackEdges() != 1 || CurLoop->getNumBlocks() != 1)
 2133   if (!CurLoop->isLoopSimplifyForm() || CurLoop->getNumBlocks() > 2) {
lib/Transforms/Scalar/LoopRerollPass.cpp
 1654                     << Header->getName() << " (" << L->getNumBlocks()
 1658   if (L->getNumBlocks() > 1)
lib/Transforms/Scalar/LoopSimplifyCFG.cpp
  258     assert(L.getNumBlocks() == LiveLoopBlocks.size() + DeadLoopBlocks.size() &&
  566         L.getNumBlocks()) {
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
  978   NewBlocks.reserve(L.getNumBlocks() + ExitBlocks.size());
 1145     ClonedL.reserveBlocks(OrigL.getNumBlocks());
lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
  931   assert(TheLoop->getNumBlocks() > 1 && "Single block loops are vectorizable");
 1131   unsigned NumBlocks = TheLoop->getNumBlocks();
tools/polly/lib/Support/ScopHelper.cpp
  484   unsigned NumBlocks = L->getNumBlocks();