Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineLoopInfo.h150 inline bool isLoopHeader(const MachineBasicBlock *BB) const { in isLoopHeader() function
151 return LI.isLoopHeader(BB); in isLoopHeader()
/freebsd-14.2/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()
789 if (BFI.Working[N.Index].isLoopHeader()) in createIrreducibleLoop()
H A DValueTracking.cpp5986 if (!LI || !LI->isLoopHeader(PN->getParent()) || in getUnderlyingObjects()
/freebsd-14.2/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()
1214 if (Working[Index].isLoopHeader()) {
1229 assert(HeaderData.isLoopHeader());
1331 assert(!Working[0].isLoopHeader() && "entry block is a loop header");
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopSimplifyCFG.cpp193 if (L.contains(Succ) && !LI.isLoopHeader(Succ) && RPO[BB] > RPO[Succ]) in hasIrreducibleCFG()
448 if (LI.isLoopHeader(BB)) { in deleteDeadLoopBlocks()
H A DLoopDeletion.cpp249 assert((LI.isLoopHeader(To) || !Visited.count(To)) && in canProveExitOnFirstIteration()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFixIrreducible.cpp303 assert(LI.isLoopHeader(Headers.front())); in makeReducible()
H A DBasicBlockUtils.cpp1346 if (LI && LI->isLoopHeader(BB)) { in SplitBlockPredecessorsImpl()
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DGenericLoopInfo.h615 bool isLoopHeader(const BlockT *BB) const { in isLoopHeader() function
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PreTileConfig.cpp134 if (!MLI->isLoopHeader(Header)) in isLoopBackEdge()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DPeepholeOptimizer.cpp1702 bool IsLoopHeader = MLI->isLoopHeader(&MBB); in runOnMachineFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp419 if (!LI.isLoopHeader(&MBB)) in isLoopHeaderOfNoUnroll()