Home
last modified time | relevance | path

Searched refs:HoistPoint (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp675 Instruction *HoistPoint = EntryBB->getTerminator(); in getBranchInsertPoint() local
680 HoistPoint = SI; in getBranchInsertPoint()
684 assert(HoistPoint && "Null HoistPoint"); in getBranchInsertPoint()
696 assert(&I == HoistPoint && in getBranchInsertPoint()
702 return HoistPoint; in getBranchInsertPoint()
1424 static void hoistValue(Value *V, Instruction *HoistPoint, Region *R, in hoistValue() argument
1433 if (I == HoistPoint) in hoistValue()
1449 assert(DT.getNode(HoistPoint->getParent()) && in hoistValue()
1451 if (DT.dominates(I, HoistPoint)) in hoistValue()
1464 I->moveBefore(HoistPoint); in hoistValue()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLICM.cpp987 Instruction *HoistPoint = nullptr; in hoistRegion() local
994 if (!HoistPoint || !DT->dominates(HoistPoint->getParent(), Dominator)) { in hoistRegion()
995 if (HoistPoint) in hoistRegion()
996 assert(DT->dominates(Dominator, HoistPoint->getParent()) && in hoistRegion()
998 HoistPoint = Dominator->getTerminator(); in hoistRegion()
1001 << HoistPoint->getParent()->getNameOrAsOperand() in hoistRegion()
1003 moveInstructionBefore(*I, *HoistPoint, *SafetyInfo, MSSAU, SE); in hoistRegion()
1004 HoistPoint = I; in hoistRegion()