Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineLoopInfo.h142 inline bool isLoopHeader(const MachineBasicBlock *BB) const { in isLoopHeader() function
143 return LI.isLoopHeader(BB); in isLoopHeader()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DBlockFrequencyInfoImpl.cpp320 auto isLoopHeader = [&OuterLoop](const BlockNode &Node) { in addToDist() local
330 if (!isLoopHeader(Resolved)) in addToDist()
339 if (isLoopHeader(Resolved)) { in addToDist()
352 if (!isLoopHeader(Pred)) { in addToDist()
365 assert(OuterLoop && OuterLoop->isIrreducible() && !isLoopHeader(Resolved) && in addToDist()
798 if (BFI.Working[N.Index].isLoopHeader()) in createIrreducibleLoop()
H A DValueTracking.cpp4431 if (!LI || !LI->isLoopHeader(PN->getParent()) || in getUnderlyingObjects()
/freebsd-13.1/contrib/llvm-project/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.h980 bool isLoopHeader(const BlockT *BB) const { in isLoopHeader() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanPredicator.cpp218 if (PrevBlock && !VPLI->isLoopHeader(CurrBlock) && in linearizeRegionRec()
H A DLoopVectorizationLegality.cpp470 !LI->isLoopHeader(Br->getSuccessor(0)) && in canVectorizeOuterLoop()
471 !LI->isLoopHeader(Br->getSuccessor(1))) { in canVectorizeOuterLoop()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopSimplifyCFG.cpp201 if (L.contains(Succ) && !LI.isLoopHeader(Succ) && RPO[BB] > RPO[Succ]) in hasIrreducibleCFG()
451 if (LI.isLoopHeader(BB)) { in deleteDeadLoopBlocks()
H A DLoopDeletion.cpp236 assert((LI.isLoopHeader(To) || !Visited.count(To)) && in canProveExitOnFirstIteration()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFixIrreducible.cpp297 assert(LI.isLoopHeader(Headers.front())); in makeReducible()
H A DBasicBlockUtils.cpp1090 if (LI && LI->isLoopHeader(BB)) { in SplitBlockPredecessorsImpl()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineSink.cpp643 LI->isLoopHeader(ToBB)) in PostponeSplitCriticalEdge()
824 (DefMI->isPHI() && LI->isLoopHeader(DefMI->getParent()))) in isProfitableToSinkTo()
1363 if (!TryBreak && LI->isLoopHeader(SuccToSinkTo)) { in SinkInstruction()
H A DPeepholeOptimizer.cpp1650 bool IsLoopHeader = MLI->isLoopHeader(&MBB); in runOnMachineFunction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PreTileConfig.cpp128 if (!MLI->isLoopHeader(Header)) in isLoopBackEdge()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp414 if (!LI.isLoopHeader(&MBB)) in isLoopHeaderOfNoUnroll()