Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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.cpp4643 if (!LI || !LI->isLoopHeader(PN->getParent()) || in getUnderlyingObjects()
/openbsd-src/gnu/llvm/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.h1005 bool isLoopHeader(const BlockT *BB) const { in isLoopHeader() function
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DLoopSimplifyCFG.cpp195 if (L.contains(Succ) && !LI.isLoopHeader(Succ) && RPO[BB] > RPO[Succ]) in hasIrreducibleCFG()
450 if (LI.isLoopHeader(BB)) { in deleteDeadLoopBlocks()
H A DLoopDeletion.cpp251 assert((LI.isLoopHeader(To) || !Visited.count(To)) && in canProveExitOnFirstIteration()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DFixIrreducible.cpp306 assert(LI.isLoopHeader(Headers.front())); in makeReducible()
H A DBasicBlockUtils.cpp1212 if (LI && LI->isLoopHeader(BB)) { in SplitBlockPredecessorsImpl()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp509 !LI->isLoopHeader(Br->getSuccessor(0)) && in canVectorizeOuterLoop()
510 !LI->isLoopHeader(Br->getSuccessor(1))) { in canVectorizeOuterLoop()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86PreTileConfig.cpp135 if (!MLI->isLoopHeader(Header)) in isLoopBackEdge()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DPeepholeOptimizer.cpp1648 bool IsLoopHeader = MLI->isLoopHeader(&MBB); in runOnMachineFunction()
/openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp413 if (!LI.isLoopHeader(&MBB)) in isLoopHeaderOfNoUnroll()