Home
last modified time | relevance | path

Searched refs:isLoopHeader (Results 1 – 15 of 15) 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.cpp6726 if (!LI || !LI->isLoopHeader(PN->getParent()) || in getUnderlyingObjects()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/Analysis/
H A DSPIRVConvergenceRegionAnalysis.cpp202 if (!LI.isLoopHeader(To)) in isBackEdge()
233 if (LI.isLoopHeader(From)) { in findPathsToMatch()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Instrumentation/
H A DCFGMST.h166 if (InstrumentLoopEntries && LI->isLoopHeader(TargetBB)) { in buildEdges()
276 if (Ei->DestBB && LI->isLoopHeader(Ei->DestBB) && in validateLoopEntryInstrumentation()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h283 bool isLoopHeader() const { return Loop && Loop->isHeader(Node); } in isLoopHeader() function
286 return isLoopHeader() && Loop->Parent && Loop->Parent->isIrreducible() && in isDoubleLoopHeader()
291 if (!isLoopHeader()) in getContainingLoop()
342 bool isAPackage() const { return isLoopHeader() && Loop->IsPackaged; } in isAPackage()
1206 if (Working[Index].isLoopHeader()) {
1221 assert(HeaderData.isLoopHeader());
1323 assert(!Working[0].isLoopHeader() && "entry block is a loop header");
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopSimplifyCFG.cpp194 if (L.contains(Succ) && !LI.isLoopHeader(Succ) && RPO[BB] > RPO[Succ]) in hasIrreducibleCFG()
461 if (LI.isLoopHeader(BB)) { in deleteDeadLoopBlocks()
H A DLoopDeletion.cpp249 assert((LI.isLoopHeader(To) || !Visited.count(To)) && in canProveExitOnFirstIteration()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DGenericLoopInfo.h619 bool isLoopHeader(const BlockT *BB) const { in isLoopHeader() function
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PreTileConfig.cpp158 if (!MLI->isLoopHeader(Header)) in isLoopBackEdge()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp640 !LI->isLoopHeader(Br->getSuccessor(0)) && in canVectorizeOuterLoop()
641 !LI->isLoopHeader(Br->getSuccessor(1))) { in canVectorizeOuterLoop()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVStructurizer.cpp564 if (!LI.isLoopHeader(&BB)) in addMergeForLoops()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DPeepholeOptimizer.cpp1715 bool IsLoopHeader = MLI->isLoopHeader(&MBB); in run()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp290 if (!LI.isLoopHeader(&MBB)) in isLoopHeaderOfNoUnroll()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBasicBlockUtils.cpp1218 if (LI && LI->isLoopHeader(BB)) { in SplitBlockPredecessorsImpl()
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc17180 …1_", "llvm::LoopInfoBase<llvm::MachineBasicBlock, llvm::MachineLoop>::isLoopHeader(llvm::MachineBa…