/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | MachineSink.cpp | 315 MachineBasicBlock *ToBB, in SplitCriticalEdge() argument 317 if (!isWorthBreakingCriticalEdge(MI, FromBB, ToBB)) in SplitCriticalEdge() 321 if (!SplitEdges || FromBB == ToBB) in SplitCriticalEdge() 325 if (LI->getLoopFor(FromBB) == LI->getLoopFor(ToBB) && in SplitCriticalEdge() 326 LI->isLoopHeader(ToBB)) in SplitCriticalEdge() 369 for (MachineBasicBlock::pred_iterator PI = ToBB->pred_begin(), in SplitCriticalEdge() 370 E = ToBB->pred_end(); PI != E; ++PI) { in SplitCriticalEdge() 373 if (!DT->dominates(ToBB, *PI)) in SplitCriticalEdge() 378 return FromBB->SplitCriticalEdge(ToBB, this); in SplitCriticalEdge()
|
D | IfConversion.cpp | 909 static bool canFallThroughTo(MachineBasicBlock *BB, MachineBasicBlock *ToBB) { in canFallThroughTo() argument 912 MachineFunction::iterator TI = ToBB; in canFallThroughTo() 940 static void InsertUncondBranch(MachineBasicBlock *BB, MachineBasicBlock *ToBB, in InsertUncondBranch() argument 944 TII->InsertBranch(*BB, ToBB, NULL, NoCond, dl); in InsertUncondBranch()
|
/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/include/llvm/Analysis/ |
D | LazyValueInfo.h | 51 BasicBlock *FromBB, BasicBlock *ToBB); 60 Constant *getConstantOnEdge(Value *V, BasicBlock *FromBB, 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/lib/Analysis/ |
D | LazyValueInfo.cpp | 428 LVILatticeVal getValueOnEdge(Value *V, BasicBlock *FromBB,BasicBlock *ToBB); 920 getValueOnEdge(Value *V, BasicBlock *FromBB, BasicBlock *ToBB) { in getValueOnEdge() argument 922 << FromBB->getName() << "' to '" << ToBB->getName() << "'\n"); in getValueOnEdge() 925 if (!getEdgeValue(V, FromBB, ToBB, Result)) { in getValueOnEdge() 927 bool WasFastQuery = getEdgeValue(V, FromBB, ToBB, Result); in getValueOnEdge() 1040 BasicBlock *ToBB) { in getConstantOnEdge() argument 1041 LVILatticeVal Result = getCache(PImpl).getValueOnEdge(V, FromBB, ToBB); in getConstantOnEdge() 1058 BasicBlock *FromBB, BasicBlock *ToBB) { in getPredicateOnEdge() argument 1059 LVILatticeVal Result = getCache(PImpl).getValueOnEdge(V, FromBB, ToBB); in getPredicateOnEdge()
|
/external/llvm/include/llvm/Analysis/ |
D | LazyValueInfo.h | 71 BasicBlock *FromBB, BasicBlock *ToBB, 91 Constant *getConstantOnEdge(Value *V, BasicBlock *FromBB, BasicBlock *ToBB,
|
/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()
|