Home
last modified time | relevance | path

Searched refs:PredTerm (Results 1 – 13 of 13) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DADCE.cpp645 TerminatorInst *PredTerm = BB->getTerminator(); in makeUnconditional() local
647 if (const DILocation *DL = PredTerm->getDebugLoc()) in makeUnconditional()
651 if (isUnconditionalBranch(PredTerm)) { in makeUnconditional()
652 PredTerm->setSuccessor(0, Target); in makeUnconditional()
653 InstInfo[PredTerm].Live = true; in makeUnconditional()
658 IRBuilder<> Builder(PredTerm); in makeUnconditional()
661 if (const DILocation *DL = PredTerm->getDebugLoc()) in makeUnconditional()
664 InstInfo.erase(PredTerm); in makeUnconditional()
665 PredTerm->eraseFromParent(); in makeUnconditional()
DJumpThreading.cpp2004 TerminatorInst *PredTerm = PredBB->getTerminator(); in ThreadEdge() local
2005 for (unsigned i = 0, e = PredTerm->getNumSuccessors(); i != e; ++i) in ThreadEdge()
2006 if (PredTerm->getSuccessor(i) == BB) { in ThreadEdge()
2008 PredTerm->setSuccessor(i, NewBB); in ThreadEdge()
2417 BranchInst *PredTerm = dyn_cast<BranchInst>(Pred->getTerminator()); in TryToUnfoldSelect() local
2418 if (!PredTerm || !PredTerm->isUnconditional()) in TryToUnfoldSelect()
2449 PredTerm->removeFromParent(); in TryToUnfoldSelect()
2450 NewBB->getInstList().insert(NewBB->end(), PredTerm); in TryToUnfoldSelect()
/external/llvm/utils/TableGen/
DCodeGenSchedule.cpp940 SmallVector<PredCheck, 4> PredTerm; member
1123 if (mutuallyExclusive(PredDef, TransVec[TransIdx].PredTerm)) in getIntersectingVariants()
1159 Trans.PredTerm.push_back(PredCheck(IsRead, VInfo.RWIdx,PredDef)); in pushVariant()
1263 TransVec.back().PredTerm = Trans.PredTerm; in substituteVariants()
1323 PI = I->PredTerm.begin(), PE = I->PredTerm.end(); PI != PE; ++PI) { in inferFromTransitions()
1328 SCTrans.PredTerm = Preds; in inferFromTransitions()
1385 if (LastTransitions[0].PredTerm.empty()) in inferFromRW()
1837 PCI = TI->PredTerm.begin(), PCE = TI->PredTerm.end(); in dump()
1839 if (PCI != TI->PredTerm.begin()) in dump()
DSubtargetEmitter.cpp1313 for (RecIter RI = T.PredTerm.begin(), RE = T.PredTerm.end(); in EmitSchedModelHelpers()
1315 if (RI != T.PredTerm.begin()) in EmitSchedModelHelpers()
DCodeGenSchedule.h100 RecVec PredTerm; member
/external/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp1571 TerminatorInst *PredTerm = PredBB->getTerminator(); in ThreadEdge() local
1572 for (unsigned i = 0, e = PredTerm->getNumSuccessors(); i != e; ++i) in ThreadEdge()
1573 if (PredTerm->getSuccessor(i) == BB) { in ThreadEdge()
1575 PredTerm->setSuccessor(i, NewBB); in ThreadEdge()
1853 BranchInst *PredTerm = dyn_cast<BranchInst>(Pred->getTerminator()); in TryToUnfoldSelect() local
1854 if (!PredTerm || !PredTerm->isUnconditional()) in TryToUnfoldSelect()
1881 PredTerm->removeFromParent(); in TryToUnfoldSelect()
1882 NewBB->getInstList().insert(NewBB->end(), PredTerm); in TryToUnfoldSelect()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DCodeGenSchedule.cpp1044 SmallVector<PredCheck, 4> PredTerm; member
1210 if (mutuallyExclusive(PredDef, TransVec[TransIdx].PredTerm)) in getIntersectingVariants()
1245 Trans.PredTerm.emplace_back(IsRead, VInfo.RWIdx,PredDef); in pushVariant()
1346 TransVec.back().PredTerm = Trans.PredTerm; in substituteVariants()
1398 transform(I->PredTerm, std::back_inserter(Preds), in inferFromTransitions()
1403 SCTrans.PredTerm = std::move(Preds); in inferFromTransitions()
1455 if (LastTransitions[0].PredTerm.empty()) in inferFromRW()
1938 PCI = TI->PredTerm.begin(), PCE = TI->PredTerm.end(); in dump()
1940 if (PCI != TI->PredTerm.begin()) in dump()
DSubtargetEmitter.cpp1492 for (RecIter RI = T.PredTerm.begin(), RE = T.PredTerm.end(); RI != RE; ++RI) { in emitPredicates()
1493 if (RI != T.PredTerm.begin()) { in emitPredicates()
1530 !all_of(T.PredTerm, [](const Record *Rec) { in emitSchedModelHelpersImpl()
DCodeGenSchedule.h98 RecVec PredTerm; member
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DBreakCriticalEdges.cpp315 TerminatorInst *PredTerm = PredBB->getTerminator(); in findIBRPredecessor() local
316 switch (PredTerm->getOpcode()) { in findIBRPredecessor()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DJumpThreading.cpp1432 TerminatorInst *PredTerm = PredBB->getTerminator(); in ThreadEdge() local
1433 for (unsigned i = 0, e = PredTerm->getNumSuccessors(); i != e; ++i) in ThreadEdge()
1434 if (PredTerm->getSuccessor(i) == BB) { in ThreadEdge()
1436 PredTerm->setSuccessor(i, NewBB); in ThreadEdge()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DScalarEvolution.cpp4303 TerminatorInst *PredTerm = Pred->getTerminator(); in ComputeExitLimit() local
4304 for (unsigned i = 0, e = PredTerm->getNumSuccessors(); i != e; ++i) { in ComputeExitLimit()
4305 BasicBlock *PredSucc = PredTerm->getSuccessor(i); in ComputeExitLimit()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp5765 TerminatorInst *PredTerm = Pred->getTerminator(); in computeExitLimit() local
5766 for (const BasicBlock *PredSucc : PredTerm->successors()) { in computeExitLimit()