Home
last modified time | relevance | path

Searched refs:LoadBB (Results 1 – 4 of 4) 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()