• Home
  • Raw
  • Download

Lines Matching refs:InsertPoint

550 checkHoistValue(Value *V, Instruction *InsertPoint, DominatorTree &DT,  in checkHoistValue()  argument
554 assert(InsertPoint && "Null InsertPoint"); in checkHoistValue()
561 assert(DT.getNode(InsertPoint->getParent()) && "DT must contain Destination"); in checkHoistValue()
567 if (DT.dominates(I, InsertPoint)) { in checkHoistValue()
581 if (!checkHoistValue(Op, InsertPoint, DT, Unhoistables, &OpsHoistStops, in checkHoistValue()
895 Instruction *InsertPoint = getBranchInsertPoint(RI); in checkScopeHoistable() local
896 CHR_DEBUG(dbgs() << "InsertPoint " << *InsertPoint << "\n"); in checkScopeHoistable()
908 if (SI == InsertPoint) { in checkScopeHoistable()
913 bool IsHoistable = checkHoistValue(SI->getCondition(), InsertPoint, in checkScopeHoistable()
930 InsertPoint = getBranchInsertPoint(RI); in checkScopeHoistable()
931 CHR_DEBUG(dbgs() << "InsertPoint " << *InsertPoint << "\n"); in checkScopeHoistable()
932 if (RI.HasBranch && InsertPoint != Branch) { in checkScopeHoistable()
934 bool IsHoistable = checkHoistValue(Branch->getCondition(), InsertPoint, in checkScopeHoistable()
940 assert(InsertPoint != Branch && "Branch must not be the hoist point"); in checkScopeHoistable()
958 InsertPoint = Branch; in checkScopeHoistable()
961 CHR_DEBUG(dbgs() << "InsertPoint " << *InsertPoint << "\n"); in checkScopeHoistable()
964 assert(!DT.dominates(Branch, InsertPoint) && in checkScopeHoistable()
967 assert(checkHoistValue(Branch->getCondition(), InsertPoint, in checkScopeHoistable()
972 assert(!DT.dominates(SI, InsertPoint) && in checkScopeHoistable()
975 assert(checkHoistValue(SI->getCondition(), InsertPoint, DT, in checkScopeHoistable()
1059 static bool shouldSplit(Instruction *InsertPoint, in shouldSplit() argument
1064 assert(InsertPoint && "Null InsertPoint"); in shouldSplit()
1066 dbgs() << "shouldSplit " << *InsertPoint << " PrevConditionValues "; in shouldSplit()
1078 if (!checkHoistValue(V, InsertPoint, DT, Unhoistables, nullptr, Visited)) { in shouldSplit()
1166 Instruction *InsertPoint = getBranchInsertPoint(RI); in splitScope() local
1183 PrevInsertPoint = InsertPoint; in splitScope()
1203 PrevInsertPoint = InsertPoint; in splitScope()
1218 PrevInsertPoint = InsertPoint; in splitScope()
1396 Instruction *InsertPoint = OutermostScope->BranchInsertPoint; in setCHRRegions() local
1408 bool IsHoistable = checkHoistValue(BI->getCondition(), InsertPoint, DT, in setCHRRegions()
1420 bool IsHoistable = checkHoistValue(SI->getCondition(), InsertPoint, DT, in setCHRRegions()