Home
last modified time | relevance | path

Searched refs:getLayoutIndex (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/bolt/lib/Passes/
H A DTailDuplication.cpp260 int Direction = (Succ.getLayoutIndex() > BB.getLayoutIndex()) ? 1 : -1; in isInCacheLine()
262 for (unsigned I = BB.getLayoutIndex() + Direction; I != Succ.getLayoutIndex(); in isInCacheLine()
286 if ((*Itr)->getLayoutIndex() == Tail.getLayoutIndex() + 1) in moderateDuplicate()
328 if (CurrBB->getConditionalSuccessor(false)->getLayoutIndex() == in aggressiveDuplicate()
329 CurrBB->getLayoutIndex() + 1 || in aggressiveDuplicate()
330 CurrBB->getConditionalSuccessor(true)->getLayoutIndex() == in aggressiveDuplicate()
331 CurrBB->getLayoutIndex() + 1) { in aggressiveDuplicate()
343 if (SuccBB->getLayoutIndex() != CurrBB->getLayoutIndex() + 1) in aggressiveDuplicate()
372 if (Pred->getLayoutIndex() + 1 == Tail->getLayoutIndex()) in shouldDuplicate()
H A DLoopInversionPass.cpp44 const unsigned BBIndex = BB->getLayoutIndex(); in runOnFunction()
45 const unsigned SuccBBIndex = SuccBB->getLayoutIndex(); in runOnFunction()
78 return BB1->getLayoutIndex() < BB2->getLayoutIndex(); in runOnFunction()
H A DIdenticalCodeFolding.cpp82 if (TargetA->getLayoutIndex() != TargetB->getLayoutIndex()) in equalJumpTables()
134 if (LPA->getLayoutIndex() != LPB->getLayoutIndex()) in isInstrEquivalentWith()
183 if (BB->getLayoutIndex() != OtherBB->getLayoutIndex()) in isIdenticalWith()
194 if (SuccBB->getLayoutIndex() != SuccOtherBB->getLayoutIndex()) in isIdenticalWith()
H A DExtTSPReorderAlgorithm.cpp188 Index(BB->getLayoutIndex()) {} in Block()
487 class Block &SuccBlock = AllBlocks[SuccBB->getLayoutIndex()]; in initialize()
550 Block.BB->getSuccessor()->getLayoutIndex() != 0) { in mergeFallthroughs()
551 size_t SuccIndex = Block.BB->getSuccessor()->getLayoutIndex(); in mergeFallthroughs()
654 size_t SrcIndex = SrcBB->getLayoutIndex(); in mergeColdChains()
655 size_t DstIndex = DstBB->getLayoutIndex(); in mergeColdChains()
H A DReorderAlgorithm.cpp419 Weight[BB->getLayoutIndex()].resize(N); in reorderBasicBlocks()
422 Weight[BB->getLayoutIndex()][SuccBB->getLayoutIndex()] = BI->Count; in reorderBasicBlocks()
500 if (Visited[BB->getLayoutIndex()] == false) in reorderBasicBlocks()
/llvm-project-15.0.7/bolt/lib/Profile/
H A DYAMLProfileWriter.cpp39 YamlBB.Index = BB->getLayoutIndex(); in convert()
126 YamlSI.Index = Successor->getLayoutIndex(); in convert()
/llvm-project-15.0.7/bolt/include/bolt/Core/
H A DBinaryFunction.h1586 return To->getLayoutIndex() > From->getLayoutIndex(); in isForwardBranch()
H A DBinaryBasicBlock.h901 unsigned getLayoutIndex() const { in getLayoutIndex() function
/llvm-project-15.0.7/bolt/lib/Core/
H A DBinaryFunction.cpp3521 if (BB->getLayoutIndex() != BinaryBasicBlock::InvalidIndex) in dfs()