Home
last modified time | relevance | path

Searched refs:LoadBB (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DJumpThreading.cpp819 BasicBlock *LoadBB = LI->getParent(); in SimplifyPartiallyRedundantLoad() local
820 if (LoadBB->getSinglePredecessor()) in SimplifyPartiallyRedundantLoad()
828 if (PtrOp->getParent() == LoadBB) in SimplifyPartiallyRedundantLoad()
836 FindAvailableLoadedValue(LoadedPtr, LoadBB, BBIt, 6)) { in SimplifyPartiallyRedundantLoad()
852 if (BBIt != LoadBB->begin()) in SimplifyPartiallyRedundantLoad()
863 for (pred_iterator PI = pred_begin(LoadBB), PE = pred_end(LoadBB); in SimplifyPartiallyRedundantLoad()
911 for (pred_iterator PI = pred_begin(LoadBB), PE = pred_end(LoadBB); in SimplifyPartiallyRedundantLoad()
924 SplitBlockPredecessors(LoadBB, &PredsToSplit[0], PredsToSplit.size(), in SimplifyPartiallyRedundantLoad()
946 pred_iterator PB = pred_begin(LoadBB), PE = pred_end(LoadBB); in SimplifyPartiallyRedundantLoad()
948 LoadBB->begin()); in SimplifyPartiallyRedundantLoad()
DGVN.cpp1458 BasicBlock *LoadBB = LI->getParent(); in processNonLocalLoad() local
1459 BasicBlock *TmpBB = LoadBB; in processNonLocalLoad()
1466 if (TmpBB == LoadBB) // Infinite (unreachable) loop. in processNonLocalLoad()
1481 LoadBB = TmpBB; in processNonLocalLoad()
1515 for (pred_iterator PI = pred_begin(LoadBB), E = pred_end(LoadBB); in processNonLocalLoad()
1530 if (LoadBB->isLandingPad()) { in processNonLocalLoad()
1537 unsigned SuccNum = GetSuccessorNumber(Pred, LoadBB); in processNonLocalLoad()
1575 LoadPtr = Address.PHITranslateWithInsertion(LoadBB, UnavailablePred, in processNonLocalLoad()
1578 Address.PHITranslateValue(LoadBB, UnavailablePred, DT); in processNonLocalLoad()
/external/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp932 BasicBlock *LoadBB = LI->getParent(); in SimplifyPartiallyRedundantLoad() local
933 if (LoadBB->getSinglePredecessor()) in SimplifyPartiallyRedundantLoad()
939 if (LoadBB->isEHPad()) in SimplifyPartiallyRedundantLoad()
947 if (PtrOp->getParent() == LoadBB) in SimplifyPartiallyRedundantLoad()
955 FindAvailableLoadedValue(LI, LoadBB, BBIt, DefMaxInstsToScan)) { in SimplifyPartiallyRedundantLoad()
973 if (BBIt != LoadBB->begin()) in SimplifyPartiallyRedundantLoad()
988 for (BasicBlock *PredBB : predecessors(LoadBB)) { in SimplifyPartiallyRedundantLoad()
1039 for (BasicBlock *P : predecessors(LoadBB)) { in SimplifyPartiallyRedundantLoad()
1049 UnavailablePred = SplitBlockPreds(LoadBB, PredsToSplit, "thread-pre-split"); in SimplifyPartiallyRedundantLoad()
1074 pred_iterator PB = pred_begin(LoadBB), PE = pred_end(LoadBB); in SimplifyPartiallyRedundantLoad()
[all …]
DGVN.cpp1409 BasicBlock *LoadBB = LI->getParent(); in PerformLoadPRE() local
1410 BasicBlock *TmpBB = LoadBB; in PerformLoadPRE()
1414 if (TmpBB == LoadBB) // Infinite (unreachable) loop. in PerformLoadPRE()
1429 LoadBB = TmpBB; in PerformLoadPRE()
1441 for (BasicBlock *Pred : predecessors(LoadBB)) { in PerformLoadPRE()
1462 if (LoadBB->isEHPad()) { in PerformLoadPRE()
1490 BasicBlock *NewPred = splitCriticalEdges(OrigPred, LoadBB); in PerformLoadPRE()
1494 << LoadBB->getName() << '\n'); in PerformLoadPRE()
1512 LoadPtr = Address.PHITranslateWithInsertion(LoadBB, UnavailablePred, in PerformLoadPRE()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp1271 BasicBlock *LoadBB = LoadI->getParent(); in SimplifyPartiallyRedundantLoad() local
1272 if (LoadBB->getSinglePredecessor()) in SimplifyPartiallyRedundantLoad()
1278 if (LoadBB->isEHPad()) in SimplifyPartiallyRedundantLoad()
1285 if (isOpDefinedInBlock(LoadedPtr, LoadBB) && !isa<PHINode>(LoadedPtr)) in SimplifyPartiallyRedundantLoad()
1293 LoadI, LoadBB, BBIt, DefMaxInstsToScan, AA, &IsLoadCSE)) { in SimplifyPartiallyRedundantLoad()
1317 if (BBIt != LoadBB->begin()) in SimplifyPartiallyRedundantLoad()
1335 for (BasicBlock *PredBB : predecessors(LoadBB)) { in SimplifyPartiallyRedundantLoad()
1349 Value *Ptr = LoadedPtr->DoPHITranslation(LoadBB, PredBB); in SimplifyPartiallyRedundantLoad()
1403 for (auto I = LoadBB->begin(); &*I != LoadI; ++I) in SimplifyPartiallyRedundantLoad()
1423 for (BasicBlock *P : predecessors(LoadBB)) { in SimplifyPartiallyRedundantLoad()
[all …]
DGVN.cpp1058 BasicBlock *LoadBB = LI->getParent(); in PerformLoadPRE() local
1059 BasicBlock *TmpBB = LoadBB; in PerformLoadPRE()
1088 if (TmpBB == LoadBB) // Infinite (unreachable) loop. in PerformLoadPRE()
1108 LoadBB = TmpBB; in PerformLoadPRE()
1120 for (BasicBlock *Pred : predecessors(LoadBB)) { in PerformLoadPRE()
1142 if (LoadBB->isEHPad()) { in PerformLoadPRE()
1170 BasicBlock *NewPred = splitCriticalEdges(OrigPred, LoadBB); in PerformLoadPRE()
1174 << LoadBB->getName() << '\n'); in PerformLoadPRE()
1192 LoadPtr = Address.PHITranslateWithInsertion(LoadBB, UnavailablePred, in PerformLoadPRE()