Home
last modified time | relevance | path

Searched refs:DstBlock (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DBranchProbabilityInfo.cpp254 const auto &DstBlock = Edge.second; in isLoopEnteringEdge() local
255 return (DstBlock.getLoop() && in isLoopEnteringEdge()
256 !DstBlock.getLoop()->contains(SrcBlock.getLoop())) || in isLoopEnteringEdge()
258 (DstBlock.getSccNum() != -1 && in isLoopEnteringEdge()
259 SrcBlock.getSccNum() != DstBlock.getSccNum()); in isLoopEnteringEdge()
273 const auto &DstBlock = Edge.second; in isLoopBackEdge() local
274 return SrcBlock.belongsToSameLoop(DstBlock) && in isLoopBackEdge()
275 ((DstBlock.getLoop() && in isLoopBackEdge()
276 DstBlock.getLoop()->getHeader() == DstBlock.getBlock()) || in isLoopBackEdge()
277 (DstBlock.getSccNum() != -1 && in isLoopBackEdge()
[all …]
H A DDependenceAnalysis.cpp747 const BasicBlock *DstBlock = Dst->getParent(); in establishNestingLevels() local
749 unsigned DstLevel = LI->getLoopDepth(DstBlock); in establishNestingLevels()
751 const Loop *DstLoop = LI->getLoopFor(DstBlock); in establishNestingLevels()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLICM.cpp825 static bool worthSinkOrHoistInst(Instruction &I, BasicBlock *DstBlock, in worthSinkOrHoistInst() argument
831 if (!DstBlock->getParent()->hasProfileData()) in worthSinkOrHoistInst()
838 if (BFI->getBlockFreq(DstBlock).getFrequency() / HoistSinkColdnessThreshold > in worthSinkOrHoistInst()