/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | BreakCriticalEdges.cpp | 91 bool llvm::isCriticalEdge(const TerminatorInst *TI, unsigned SuccNum, in isCriticalEdge() argument 93 assert(SuccNum < TI->getNumSuccessors() && "Illegal edge specification!"); in isCriticalEdge() 96 const BasicBlock *Dest = TI->getSuccessor(SuccNum); in isCriticalEdge() 169 BasicBlock *llvm::SplitCriticalEdge(TerminatorInst *TI, unsigned SuccNum, in SplitCriticalEdge() argument 172 if (!isCriticalEdge(TI, SuccNum, MergeIdenticalEdges)) return 0; in SplitCriticalEdge() 178 BasicBlock *DestBB = TI->getSuccessor(SuccNum); in SplitCriticalEdge() 192 TI->setSuccessor(SuccNum, NewBB); in SplitCriticalEdge() 224 for (unsigned i = SuccNum+1, e = TI->getNumSuccessors(); i != e; ++i) { in SplitCriticalEdge()
|
D | CodeExtractor.cpp | 493 unsigned SuccNum = switchVal++; in emitCallAndSwitchStatement() local 500 brVal = ConstantInt::get(Type::getInt1Ty(Context), !SuccNum); in emitCallAndSwitchStatement() 503 brVal = ConstantInt::get(Type::getInt16Ty(Context), SuccNum); in emitCallAndSwitchStatement() 511 SuccNum), in emitCallAndSwitchStatement()
|
D | BasicBlockUtils.cpp | 258 unsigned SuccNum = GetSuccessorNumber(BB, Succ); in SplitEdge() local 262 if (SplitCriticalEdge(LatchTerm, SuccNum, P)) in SplitEdge() 263 return LatchTerm->getSuccessor(SuccNum); in SplitEdge()
|
/external/llvm/lib/Transforms/Utils/ |
D | BreakCriticalEdges.cpp | 115 llvm::SplitCriticalEdge(TerminatorInst *TI, unsigned SuccNum, in SplitCriticalEdge() argument 117 if (!isCriticalEdge(TI, SuccNum, Options.MergeIdenticalEdges)) in SplitCriticalEdge() 124 BasicBlock *DestBB = TI->getSuccessor(SuccNum); in SplitCriticalEdge() 138 TI->setSuccessor(SuccNum, NewBB); in SplitCriticalEdge() 170 for (unsigned i = SuccNum+1, e = TI->getNumSuccessors(); i != e; ++i) { in SplitCriticalEdge()
|
D | DemoteRegToStack.cpp | 47 unsigned SuccNum = GetSuccessorNumber(II->getParent(), II->getNormalDest()); in DemoteRegToStack() local 48 assert(isCriticalEdge(II, SuccNum) && "Expected a critical edge!"); in DemoteRegToStack() 49 BasicBlock *BB = SplitCriticalEdge(II, SuccNum); in DemoteRegToStack()
|
D | CodeExtractor.cpp | 526 unsigned SuccNum = switchVal++; in emitCallAndSwitchStatement() local 533 brVal = ConstantInt::get(Type::getInt1Ty(Context), !SuccNum); in emitCallAndSwitchStatement() 536 brVal = ConstantInt::get(Type::getInt16Ty(Context), SuccNum); in emitCallAndSwitchStatement() 544 SuccNum), in emitCallAndSwitchStatement()
|
D | BasicBlockUtils.cpp | 212 unsigned SuccNum = GetSuccessorNumber(BB, Succ); in SplitEdge() local 216 if (SplitCriticalEdge(LatchTerm, SuccNum, CriticalEdgeSplittingOptions(DT, LI) in SplitEdge() 218 return LatchTerm->getSuccessor(SuccNum); in SplitEdge()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | DemoteRegToStack.cpp | 49 unsigned SuccNum = GetSuccessorNumber(II->getParent(), II->getNormalDest()); in DemoteRegToStack() local 50 assert(isCriticalEdge(II, SuccNum) && "Expected a critical edge!"); in DemoteRegToStack() 51 BasicBlock *BB = SplitCriticalEdge(II, SuccNum); in DemoteRegToStack()
|
D | BreakCriticalEdges.cpp | 132 llvm::SplitCriticalEdge(TerminatorInst *TI, unsigned SuccNum, in SplitCriticalEdge() argument 134 if (!isCriticalEdge(TI, SuccNum, Options.MergeIdenticalEdges)) in SplitCriticalEdge() 141 BasicBlock *DestBB = TI->getSuccessor(SuccNum); in SplitCriticalEdge() 155 TI->setSuccessor(SuccNum, NewBB); in SplitCriticalEdge() 187 for (unsigned i = SuccNum+1, e = TI->getNumSuccessors(); i != e; ++i) { in SplitCriticalEdge()
|
D | BasicBlockUtils.cpp | 265 unsigned SuccNum = GetSuccessorNumber(BB, Succ); in SplitEdge() local 269 if (SplitCriticalEdge(LatchTerm, SuccNum, CriticalEdgeSplittingOptions(DT, LI) in SplitEdge() 271 return LatchTerm->getSuccessor(SuccNum); in SplitEdge()
|
D | CodeExtractor.cpp | 979 unsigned SuccNum = switchVal++; in emitCallAndSwitchStatement() local 986 brVal = ConstantInt::get(Type::getInt1Ty(Context), !SuccNum); in emitCallAndSwitchStatement() 989 brVal = ConstantInt::get(Type::getInt16Ty(Context), SuccNum); in emitCallAndSwitchStatement() 997 SuccNum), in emitCallAndSwitchStatement()
|
/external/llvm/lib/Analysis/ |
D | CFG.cpp | 88 bool llvm::isCriticalEdge(const TerminatorInst *TI, unsigned SuccNum, in isCriticalEdge() argument 90 assert(SuccNum < TI->getNumSuccessors() && "Illegal edge specification!"); in isCriticalEdge() 93 const BasicBlock *Dest = TI->getSuccessor(SuccNum); in isCriticalEdge()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | CFG.cpp | 88 bool llvm::isCriticalEdge(const TerminatorInst *TI, unsigned SuccNum, in isCriticalEdge() argument 90 assert(SuccNum < TI->getNumSuccessors() && "Illegal edge specification!"); in isCriticalEdge() 93 const BasicBlock *Dest = TI->getSuccessor(SuccNum); in isCriticalEdge()
|
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/ |
D | BasicBlockUtils.h | 90 bool isCriticalEdge(const TerminatorInst *TI, unsigned SuccNum, 111 BasicBlock *SplitCriticalEdge(TerminatorInst *TI, unsigned SuccNum,
|
/external/llvm/include/llvm/Analysis/ |
D | CFG.h | 49 bool isCriticalEdge(const TerminatorInst *TI, unsigned SuccNum,
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | CFG.h | 49 bool isCriticalEdge(const TerminatorInst *TI, unsigned SuccNum,
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | PGOInstrumentation.cpp | 333 unsigned SuccNum = GetSuccessorNumber(SrcBB, DestBB); in getInstrBB() local 334 BasicBlock *InstrBB = SplitCriticalEdge(TI, SuccNum); in getInstrBB() 734 unsigned SuccNum = GetSuccessorNumber(SrcBB, DestBB); in setBranchWeights() local 738 EdgeCounts[SuccNum] = EdgeCount; in setBranchWeights()
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | BasicBlockUtils.h | 121 BasicBlock *SplitCriticalEdge(TerminatorInst *TI, unsigned SuccNum,
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/ |
D | BasicBlockUtils.h | 127 BasicBlock *SplitCriticalEdge(TerminatorInst *TI, unsigned SuccNum,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | PGOInstrumentation.cpp | 707 unsigned SuccNum = GetSuccessorNumber(SrcBB, DestBB); in getInstrBB() local 708 BasicBlock *InstrBB = SplitCriticalEdge(TI, SuccNum); in getInstrBB() 1185 unsigned SuccNum = GetSuccessorNumber(SrcBB, DestBB); in setBranchWeights() local 1189 EdgeCounts[SuccNum] = EdgeCount; in setBranchWeights()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | GVN.cpp | 1537 unsigned SuccNum = GetSuccessorNumber(Pred, LoadBB); in processNonLocalLoad() local 1538 NeedToSplit.push_back(std::make_pair(Pred->getTerminator(), SuccNum)); in processNonLocalLoad() 2301 unsigned SuccNum = GetSuccessorNumber(PREPred, CurrentBlock); in performPRE() local 2302 if (isCriticalEdge(PREPred->getTerminator(), SuccNum)) { in performPRE() 2303 toSplit.push_back(std::make_pair(PREPred->getTerminator(), SuccNum)); in performPRE()
|
/external/llvm/lib/CodeGen/ |
D | MachineTraceMetrics.cpp | 216 unsigned SuccNum = TBI->Succ->getNumber(); in computeHeightResources() local 217 TraceBlockInfo *SuccTBI = &BlockInfo[SuccNum]; in computeHeightResources() 223 ArrayRef<unsigned> SuccPRHeights = getProcResourceHeights(SuccNum); in computeHeightResources()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | MachineTraceMetrics.cpp | 228 unsigned SuccNum = TBI->Succ->getNumber(); in computeHeightResources() local 229 TraceBlockInfo *SuccTBI = &BlockInfo[SuccNum]; in computeHeightResources() 235 ArrayRef<unsigned> SuccPRHeights = getProcResourceHeights(SuccNum); in computeHeightResources()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | GVN.cpp | 2287 unsigned SuccNum = GetSuccessorNumber(PREPred, CurrentBlock); in performScalarPRE() local 2288 if (isCriticalEdge(PREPred->getTerminator(), SuccNum)) { in performScalarPRE() 2289 toSplit.push_back(std::make_pair(PREPred->getTerminator(), SuccNum)); in performScalarPRE()
|
/external/llvm/lib/Transforms/Scalar/ |
D | GVN.cpp | 2416 unsigned SuccNum = GetSuccessorNumber(PREPred, CurrentBlock); in performScalarPRE() local 2417 if (isCriticalEdge(PREPred->getTerminator(), SuccNum)) { in performScalarPRE() 2418 toSplit.push_back(std::make_pair(PREPred->getTerminator(), SuccNum)); in performScalarPRE()
|