Home
last modified time | relevance | path

Searched refs:isLoopHeader (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DMachineLoopInfo.h141 inline bool isLoopHeader(const MachineBasicBlock *BB) const { in isLoopHeader() function
142 return LI.isLoopHeader(BB); in isLoopHeader()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DBlockFrequencyInfoImpl.cpp319 auto isLoopHeader = [&OuterLoop](const BlockNode &Node) { in addToDist() local
329 if (!isLoopHeader(Resolved)) in addToDist()
338 if (isLoopHeader(Resolved)) { in addToDist()
351 if (!isLoopHeader(Pred)) { in addToDist()
364 assert(OuterLoop && OuterLoop->isIrreducible() && !isLoopHeader(Resolved) && in addToDist()
797 if (BFI.Working[N.Index].isLoopHeader()) in createIrreducibleLoop()
H A DValueTracking.cpp4535 if (!LI || !LI->isLoopHeader(PN->getParent()) || in getUnderlyingObjects()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h285 bool isLoopHeader() const { return Loop && Loop->isHeader(Node); } in isLoopHeader() function
288 return isLoopHeader() && Loop->Parent && Loop->Parent->isIrreducible() && in isDoubleLoopHeader()
293 if (!isLoopHeader()) in getContainingLoop()
344 bool isAPackage() const { return isLoopHeader() && Loop->IsPackaged; } in isAPackage()
1218 if (Working[Index].isLoopHeader()) {
1233 assert(HeaderData.isLoopHeader());
1335 assert(!Working[0].isLoopHeader() && "entry block is a loop header");
H A DLoopInfo.h1002 bool isLoopHeader(const BlockT *BB) const { in isLoopHeader() function
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopSimplifyCFG.cpp194 if (L.contains(Succ) && !LI.isLoopHeader(Succ) && RPO[BB] > RPO[Succ]) in hasIrreducibleCFG()
447 if (LI.isLoopHeader(BB)) { in deleteDeadLoopBlocks()
H A DLoopDeletion.cpp252 assert((LI.isLoopHeader(To) || !Visited.count(To)) && in canProveExitOnFirstIteration()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DFixIrreducible.cpp306 assert(LI.isLoopHeader(Headers.front())); in makeReducible()
H A DBasicBlockUtils.cpp1114 if (LI && LI->isLoopHeader(BB)) { in SplitBlockPredecessorsImpl()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp498 !LI->isLoopHeader(Br->getSuccessor(0)) && in canVectorizeOuterLoop()
499 !LI->isLoopHeader(Br->getSuccessor(1))) { in canVectorizeOuterLoop()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86PreTileConfig.cpp135 if (!MLI->isLoopHeader(Header)) in isLoopBackEdge()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DPeepholeOptimizer.cpp1650 bool IsLoopHeader = MLI->isLoopHeader(&MBB); in runOnMachineFunction()
/llvm-project-15.0.7/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp415 if (!LI.isLoopHeader(&MBB)) in isLoopHeaderOfNoUnroll()
/llvm-project-15.0.7/polly/lib/Analysis/
H A DScopDetection.cpp1414 if (LI.isLoopHeader(&BB)) in isErrorBlockImpl()