Home
last modified time | relevance | path

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

/freebsd/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()
774 if (BFI.Working[N.Index].isLoopHeader()) in createIrreducibleLoop()
H A DValueTracking.cpp6611 if (!LI || !LI->isLoopHeader(PN->getParent()) || in getUnderlyingObjects()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/Analysis/
H A DSPIRVConvergenceRegionAnalysis.cpp212 if (!LI.isLoopHeader(To)) in isBackEdge()
242 if (LI.isLoopHeader(From)) { in findPathsToMatch()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h286 bool isLoopHeader() const { return Loop && Loop->isHeader(Node); } in isLoopHeader() function
289 return isLoopHeader() && Loop->Parent && Loop->Parent->isIrreducible() && in isDoubleLoopHeader()
294 if (!isLoopHeader()) in getContainingLoop()
345 bool isAPackage() const { return isLoopHeader() && Loop->IsPackaged; } in isAPackage()
1211 if (Working[Index].isLoopHeader()) {
1226 assert(HeaderData.isLoopHeader());
1328 assert(!Working[0].isLoopHeader() && "entry block is a loop header");
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopSimplifyCFG.cpp192 if (L.contains(Succ) && !LI.isLoopHeader(Succ) && RPO[BB] > RPO[Succ]) in hasIrreducibleCFG()
447 if (LI.isLoopHeader(BB)) { in deleteDeadLoopBlocks()
H A DLoopDeletion.cpp249 assert((LI.isLoopHeader(To) || !Visited.count(To)) && in canProveExitOnFirstIteration()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFixIrreducible.cpp303 assert(LI.isLoopHeader(Headers.front())); in makeReducible()
H A DBasicBlockUtils.cpp1358 if (LI && LI->isLoopHeader(BB)) { in SplitBlockPredecessorsImpl()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp642 !LI->isLoopHeader(Br->getSuccessor(0)) && in canVectorizeOuterLoop()
643 !LI->isLoopHeader(Br->getSuccessor(1))) { in canVectorizeOuterLoop()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PreTileConfig.cpp135 if (!MLI->isLoopHeader(Header)) in isLoopBackEdge()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DGenericLoopInfo.h615 bool isLoopHeader(const BlockT *BB) const {
625 bool isLoopHeader(const BlockT *BB) const { isLoopHeader() function
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DPeepholeOptimizer.cpp1702 bool IsLoopHeader = MLI->isLoopHeader(&MBB); in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp422 if (!LI.isLoopHeader(&MBB)) in isLoopHeaderOfNoUnroll()