Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp682 Instruction *HoistPoint = EntryBB->getTerminator(); in getBranchInsertPoint() local
687 HoistPoint = SI; in getBranchInsertPoint()
691 assert(HoistPoint && "Null HoistPoint"); in getBranchInsertPoint()
703 assert(&I == HoistPoint && in getBranchInsertPoint()
709 return HoistPoint; in getBranchInsertPoint()
1423 static void hoistValue(Value *V, Instruction *HoistPoint, Region *R, in hoistValue() argument
1432 if (I == HoistPoint) in hoistValue()
1448 assert(DT.getNode(HoistPoint->getParent()) && in hoistValue()
1450 if (DT.dominates(I, HoistPoint)) in hoistValue()
1461 hoistValue(Op, HoistPoint, R, HoistStopMap, HoistedSet, TrivialPHIs, DT); in hoistValue()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanTransforms.cpp1606 VPRecipeBase *HoistPoint = nullptr; in hoistPreviousBeforeFORUsers() local
1611 if (!HoistPoint || VPDT.properlyDominates(R, HoistPoint)) in hoistPreviousBeforeFORUsers()
1612 HoistPoint = R; in hoistPreviousBeforeFORUsers()
1615 [&VPDT, HoistPoint](VPUser *U) { in hoistPreviousBeforeFORUsers()
1617 return HoistPoint == R || in hoistPreviousBeforeFORUsers()
1618 VPDT.properlyDominates(HoistPoint, R); in hoistPreviousBeforeFORUsers()
1622 auto NeedsHoisting = [HoistPoint, &VPDT, in hoistPreviousBeforeFORUsers()
1643 if (VPDT.properlyDominates(HoistCandidate, HoistPoint)) in hoistPreviousBeforeFORUsers()
1686 HoistCandidate->moveBefore(*HoistPoint->getParent(), in hoistPreviousBeforeFORUsers()
1687 HoistPoint->getIterator()); in hoistPreviousBeforeFORUsers()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLICM.cpp1012 Instruction *HoistPoint = nullptr; in hoistRegion() local
1019 if (!HoistPoint || !DT->dominates(HoistPoint->getParent(), Dominator)) { in hoistRegion()
1020 if (HoistPoint) in hoistRegion()
1021 assert(DT->dominates(Dominator, HoistPoint->getParent()) && in hoistRegion()
1023 HoistPoint = Dominator->getTerminator(); in hoistRegion()
1026 << HoistPoint->getParent()->getNameOrAsOperand() in hoistRegion()
1028 moveInstructionBefore(*I, HoistPoint->getIterator(), *SafetyInfo, MSSAU, in hoistRegion()
1030 HoistPoint = I; in hoistRegion()