Searched refs:LoadBB (Results 1 – 6 of 6) sorted by relevance
/external/llvm/lib/Transforms/Scalar/ |
D | JumpThreading.cpp | 932 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 …]
|
D | GVN.cpp | 1409 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-10.0/llvm/lib/Transforms/Scalar/ |
D | JumpThreading.cpp | 1258 BasicBlock *LoadBB = LoadI->getParent(); in SimplifyPartiallyRedundantLoad() local 1259 if (LoadBB->getSinglePredecessor()) in SimplifyPartiallyRedundantLoad() 1265 if (LoadBB->isEHPad()) in SimplifyPartiallyRedundantLoad() 1272 if (isOpDefinedInBlock(LoadedPtr, LoadBB) && !isa<PHINode>(LoadedPtr)) in SimplifyPartiallyRedundantLoad() 1280 LoadI, LoadBB, BBIt, DefMaxInstsToScan, AA, &IsLoadCSE)) { in SimplifyPartiallyRedundantLoad() 1304 if (BBIt != LoadBB->begin()) in SimplifyPartiallyRedundantLoad() 1322 for (BasicBlock *PredBB : predecessors(LoadBB)) { in SimplifyPartiallyRedundantLoad() 1336 Value *Ptr = LoadedPtr->DoPHITranslation(LoadBB, PredBB); in SimplifyPartiallyRedundantLoad() 1390 for (auto I = LoadBB->begin(); &*I != LoadI; ++I) in SimplifyPartiallyRedundantLoad() 1410 for (BasicBlock *P : predecessors(LoadBB)) { in SimplifyPartiallyRedundantLoad() [all …]
|
D | GVN.cpp | 1041 BasicBlock *LoadBB = LI->getParent(); in PerformLoadPRE() local 1042 BasicBlock *TmpBB = LoadBB; in PerformLoadPRE() 1064 if (TmpBB == LoadBB) // Infinite (unreachable) loop. in PerformLoadPRE() 1083 LoadBB = TmpBB; in PerformLoadPRE() 1095 for (BasicBlock *Pred : predecessors(LoadBB)) { in PerformLoadPRE() 1125 if (LoadBB->isEHPad()) { in PerformLoadPRE() 1153 BasicBlock *NewPred = splitCriticalEdges(OrigPred, LoadBB); in PerformLoadPRE() 1157 << LoadBB->getName() << '\n'); in PerformLoadPRE() 1177 while (Cur != LoadBB) { in PerformLoadPRE() 1190 LoadPtr = Address.PHITranslateWithInsertion(LoadBB, UnavailablePred, *DT, in PerformLoadPRE()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | JumpThreading.cpp | 1299 BasicBlock *LoadBB = LoadI->getParent(); in simplifyPartiallyRedundantLoad() local 1300 if (LoadBB->getSinglePredecessor()) in simplifyPartiallyRedundantLoad() 1306 if (LoadBB->isEHPad()) in simplifyPartiallyRedundantLoad() 1313 if (isOpDefinedInBlock(LoadedPtr, LoadBB) && !isa<PHINode>(LoadedPtr)) in simplifyPartiallyRedundantLoad() 1321 LoadI, LoadBB, BBIt, DefMaxInstsToScan, AA, &IsLoadCSE)) { in simplifyPartiallyRedundantLoad() 1345 if (BBIt != LoadBB->begin()) in simplifyPartiallyRedundantLoad() 1363 for (BasicBlock *PredBB : predecessors(LoadBB)) { in simplifyPartiallyRedundantLoad() 1377 Value *Ptr = LoadedPtr->DoPHITranslation(LoadBB, PredBB); in simplifyPartiallyRedundantLoad() 1431 for (auto I = LoadBB->begin(); &*I != LoadI; ++I) in simplifyPartiallyRedundantLoad() 1451 for (BasicBlock *P : predecessors(LoadBB)) { in simplifyPartiallyRedundantLoad() [all …]
|
D | GVN.cpp | 1142 BasicBlock *LoadBB = LI->getParent(); in PerformLoadPRE() local 1143 BasicBlock *TmpBB = LoadBB; in PerformLoadPRE() 1165 if (TmpBB == LoadBB) // Infinite (unreachable) loop. in PerformLoadPRE() 1184 LoadBB = TmpBB; in PerformLoadPRE() 1196 for (BasicBlock *Pred : predecessors(LoadBB)) { in PerformLoadPRE() 1226 if (LoadBB->isEHPad()) { in PerformLoadPRE() 1235 if (DT->dominates(LoadBB, Pred)) { in PerformLoadPRE() 1266 if (!isSafeToSpeculativelyExecute(LI, LoadBB->getFirstNonPHI(), DT)) in PerformLoadPRE() 1275 BasicBlock *NewPred = splitCriticalEdges(OrigPred, LoadBB); in PerformLoadPRE() 1279 << LoadBB->getName() << '\n'); in PerformLoadPRE() [all …]
|