/external/llvm/lib/CodeGen/ |
D | MachineSink.cpp | 407 MachineBasicBlock *ToBB, in PostponeSplitCriticalEdge() argument 409 if (!isWorthBreakingCriticalEdge(MI, FromBB, ToBB)) in PostponeSplitCriticalEdge() 413 if (!SplitEdges || FromBB == ToBB) in PostponeSplitCriticalEdge() 417 if (LI->getLoopFor(FromBB) == LI->getLoopFor(ToBB) && in PostponeSplitCriticalEdge() 418 LI->isLoopHeader(ToBB)) in PostponeSplitCriticalEdge() 461 for (MachineBasicBlock::pred_iterator PI = ToBB->pred_begin(), in PostponeSplitCriticalEdge() 462 E = ToBB->pred_end(); PI != E; ++PI) { in PostponeSplitCriticalEdge() 465 if (!DT->dominates(ToBB, *PI)) in PostponeSplitCriticalEdge() 470 ToSplit.insert(std::make_pair(FromBB, ToBB)); in PostponeSplitCriticalEdge()
|
D | MachineDominators.cpp | 96 MachineBasicBlock *Succ = Edge.ToBB; in applySplitCriticalEdges() 138 DT->changeImmediateDominator(DT->getNode(Edge.ToBB), NewDTNode); in applySplitCriticalEdges()
|
D | IfConversion.cpp | 1002 static bool canFallThroughTo(MachineBasicBlock *BB, MachineBasicBlock *ToBB) { in canFallThroughTo() argument 1005 MachineFunction::iterator TI = ToBB->getIterator(); in canFallThroughTo() 1032 static void InsertUncondBranch(MachineBasicBlock *BB, MachineBasicBlock *ToBB, in InsertUncondBranch() argument 1036 TII->InsertBranch(*BB, ToBB, nullptr, NoCond, dl); in InsertUncondBranch()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | LazyValueInfo.h | 73 BasicBlock *FromBB, BasicBlock *ToBB, 93 Constant *getConstantOnEdge(Value *V, BasicBlock *FromBB, BasicBlock *ToBB, 100 BasicBlock *ToBB,
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineDominators.h | 46 MachineBasicBlock *ToBB; member 236 MachineBasicBlock *ToBB, in recordSplitCriticalEdge() argument 242 CriticalEdgesToSplit.push_back({FromBB, ToBB, NewBB}); in recordSplitCriticalEdge()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | MachineDominators.h | 52 MachineBasicBlock *ToBB; member 244 MachineBasicBlock *ToBB, in recordSplitCriticalEdge() argument 250 CriticalEdgesToSplit.push_back({FromBB, ToBB, NewBB}); in recordSplitCriticalEdge()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | MachineSink.cpp | 448 MachineBasicBlock *ToBB, in PostponeSplitCriticalEdge() argument 450 if (!isWorthBreakingCriticalEdge(MI, FromBB, ToBB)) in PostponeSplitCriticalEdge() 454 if (!SplitEdges || FromBB == ToBB) in PostponeSplitCriticalEdge() 458 if (LI->getLoopFor(FromBB) == LI->getLoopFor(ToBB) && in PostponeSplitCriticalEdge() 459 LI->isLoopHeader(ToBB)) in PostponeSplitCriticalEdge() 502 for (MachineBasicBlock::pred_iterator PI = ToBB->pred_begin(), in PostponeSplitCriticalEdge() 503 E = ToBB->pred_end(); PI != E; ++PI) { in PostponeSplitCriticalEdge() 506 if (!DT->dominates(ToBB, *PI)) in PostponeSplitCriticalEdge() 511 ToSplit.insert(std::make_pair(FromBB, ToBB)); in PostponeSplitCriticalEdge()
|
D | MachineDominators.cpp | 106 MachineBasicBlock *Succ = Edge.ToBB; in applySplitCriticalEdges() 148 DT->changeImmediateDominator(DT->getNode(Edge.ToBB), NewDTNode); in applySplitCriticalEdges()
|
/external/llvm/include/llvm/Analysis/ |
D | LazyValueInfo.h | 71 BasicBlock *FromBB, BasicBlock *ToBB, 91 Constant *getConstantOnEdge(Value *V, BasicBlock *FromBB, BasicBlock *ToBB,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | LazyValueInfo.cpp | 447 BasicBlock *ToBB, 1438 getValueOnEdge(Value *V, BasicBlock *FromBB, BasicBlock *ToBB, in getValueOnEdge() argument 1441 << FromBB->getName() << "' to '" << ToBB->getName() in getValueOnEdge() 1445 if (!getEdgeValue(V, FromBB, ToBB, Result, CxtI)) { in getValueOnEdge() 1447 bool WasFastQuery = getEdgeValue(V, FromBB, ToBB, Result, CxtI); in getValueOnEdge() 1588 BasicBlock *ToBB, in getConstantOnEdge() argument 1592 getImpl(PImpl, AC, &DL, DT).getValueOnEdge(V, FromBB, ToBB, CxtI); in getConstantOnEdge() 1606 BasicBlock *ToBB, in getConstantRangeOnEdge() argument 1611 getImpl(PImpl, AC, &DL, DT).getValueOnEdge(V, FromBB, ToBB, CxtI); in getConstantRangeOnEdge() 1693 BasicBlock *FromBB, BasicBlock *ToBB, in getPredicateOnEdge() argument [all …]
|
/external/llvm/lib/Analysis/ |
D | LazyValueInfo.cpp | 511 LVILatticeVal getValueOnEdge(Value *V, BasicBlock *FromBB,BasicBlock *ToBB, 1350 getValueOnEdge(Value *V, BasicBlock *FromBB, BasicBlock *ToBB, in getValueOnEdge() argument 1353 << FromBB->getName() << "' to '" << ToBB->getName() << "'\n"); in getValueOnEdge() 1356 if (!getEdgeValue(V, FromBB, ToBB, Result, CxtI)) { in getValueOnEdge() 1358 bool WasFastQuery = getEdgeValue(V, FromBB, ToBB, Result, CxtI); in getValueOnEdge() 1516 BasicBlock *ToBB, in getConstantOnEdge() argument 1520 getCache(PImpl, AC, &DL, DT).getValueOnEdge(V, FromBB, ToBB, CxtI); in getConstantOnEdge() 1604 BasicBlock *FromBB, BasicBlock *ToBB, in getPredicateOnEdge() argument 1608 getCache(PImpl, AC, &DL, DT).getValueOnEdge(V, FromBB, ToBB, CxtI); in getPredicateOnEdge()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | CorrelatedValuePropagation.cpp | 161 BasicBlock *ToBB = P->getParent(); in simplifyCommonValuePhi() local 163 if (!DT->dominates(CommonInst, ToBB)) in simplifyCommonValuePhi() 172 if (C != LVI->getConstantOnEdge(CommonValue, IncomingBB, ToBB, P)) in simplifyCommonValuePhi()
|