/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-10.0/llvm/lib/Transforms/Utils/ |
D | BreakCriticalEdges.cpp | 138 llvm::SplitCriticalEdge(Instruction *TI, unsigned SuccNum, in SplitCriticalEdge() argument 140 if (!isCriticalEdge(TI, SuccNum, Options.MergeIdenticalEdges)) in SplitCriticalEdge() 147 BasicBlock *DestBB = TI->getSuccessor(SuccNum); in SplitCriticalEdge() 154 if (isa<CallBrInst>(TI) && SuccNum > 0) in SplitCriticalEdge() 169 TI->setSuccessor(SuccNum, NewBB); in SplitCriticalEdge() 201 for (unsigned i = SuccNum+1, e = TI->getNumSuccessors(); i != e; ++i) { in SplitCriticalEdge()
|
D | DemoteRegToStack.cpp | 48 unsigned SuccNum = GetSuccessorNumber(II->getParent(), II->getNormalDest()); in DemoteRegToStack() local 49 assert(isCriticalEdge(II, SuccNum) && "Expected a critical edge!"); in DemoteRegToStack() 50 BasicBlock *BB = SplitCriticalEdge(II, SuccNum); in DemoteRegToStack()
|
D | BasicBlockUtils.cpp | 476 unsigned SuccNum = GetSuccessorNumber(BB, Succ); in SplitEdge() local 481 LatchTerm, SuccNum, in SplitEdge() 483 return LatchTerm->getSuccessor(SuccNum); in SplitEdge()
|
D | CodeExtractor.cpp | 1204 unsigned SuccNum = switchVal++; in emitCallAndSwitchStatement() local 1211 brVal = ConstantInt::get(Type::getInt1Ty(Context), !SuccNum); in emitCallAndSwitchStatement() 1214 brVal = ConstantInt::get(Type::getInt16Ty(Context), SuccNum); in emitCallAndSwitchStatement() 1222 SuccNum), in emitCallAndSwitchStatement()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | DemoteRegToStack.cpp | 48 unsigned SuccNum = GetSuccessorNumber(II->getParent(), II->getNormalDest()); in DemoteRegToStack() local 49 assert(isCriticalEdge(II, SuccNum) && "Expected a critical edge!"); in DemoteRegToStack() 50 BasicBlock *BB = SplitCriticalEdge(II, SuccNum); in DemoteRegToStack()
|
D | BreakCriticalEdges.cpp | 138 llvm::SplitCriticalEdge(Instruction *TI, unsigned SuccNum, in SplitCriticalEdge() argument 140 if (!isCriticalEdge(TI, SuccNum, Options.MergeIdenticalEdges)) in SplitCriticalEdge() 147 BasicBlock *DestBB = TI->getSuccessor(SuccNum); in SplitCriticalEdge() 211 TI->setSuccessor(SuccNum, NewBB); in SplitCriticalEdge() 238 for (unsigned i = SuccNum+1, e = TI->getNumSuccessors(); i != e; ++i) { in SplitCriticalEdge()
|
D | CodeExtractor.cpp | 1260 unsigned SuccNum = switchVal++; in emitCallAndSwitchStatement() local 1267 brVal = ConstantInt::get(Type::getInt1Ty(Context), !SuccNum); in emitCallAndSwitchStatement() 1270 brVal = ConstantInt::get(Type::getInt16Ty(Context), SuccNum); in emitCallAndSwitchStatement() 1278 SuccNum), in emitCallAndSwitchStatement()
|
D | BasicBlockUtils.cpp | 497 unsigned SuccNum = GetSuccessorNumber(BB, Succ); in SplitEdge() local 502 LatchTerm, SuccNum, in SplitEdge() 504 return LatchTerm->getSuccessor(SuccNum); in SplitEdge()
|
/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-10.0/llvm/lib/Analysis/ |
D | CFG.cpp | 88 bool llvm::isCriticalEdge(const Instruction *TI, unsigned SuccNum, in isCriticalEdge() argument 90 assert(SuccNum < TI->getNumSuccessors() && "Illegal edge specification!"); in isCriticalEdge() 91 return isCriticalEdge(TI, TI->getSuccessor(SuccNum), AllowIdenticalEdges); in isCriticalEdge()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | CFG.cpp | 95 bool llvm::isCriticalEdge(const Instruction *TI, unsigned SuccNum, in isCriticalEdge() argument 97 assert(SuccNum < TI->getNumSuccessors() && "Illegal edge specification!"); in isCriticalEdge() 98 return isCriticalEdge(TI, TI->getSuccessor(SuccNum), AllowIdenticalEdges); in isCriticalEdge()
|
/external/llvm/include/llvm/Analysis/ |
D | CFG.h | 49 bool isCriticalEdge(const TerminatorInst *TI, unsigned SuccNum,
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | CFG.h | 47 bool isCriticalEdge(const Instruction *TI, unsigned SuccNum,
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | CFG.h | 49 bool isCriticalEdge(const Instruction *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-10.0/llvm/include/llvm/Transforms/Utils/ |
D | BasicBlockUtils.h | 174 BasicBlock *SplitCriticalEdge(Instruction *TI, unsigned SuccNum,
|
/external/llvm-project/llvm/include/llvm/Transforms/Utils/ |
D | BasicBlockUtils.h | 197 BasicBlock *SplitCriticalEdge(Instruction *TI, unsigned SuccNum,
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | PGOInstrumentation.cpp | 780 unsigned SuccNum = GetSuccessorNumber(SrcBB, DestBB); in getInstrBB() local 781 BasicBlock *InstrBB = SplitCriticalEdge(TI, SuccNum); in getInstrBB() 1315 unsigned SuccNum = GetSuccessorNumber(SrcBB, DestBB); in setBranchWeights() local 1319 EdgeCounts[SuccNum] = EdgeCount; in setBranchWeights()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | MachineTraceMetrics.cpp | 227 unsigned SuccNum = TBI->Succ->getNumber(); in computeHeightResources() local 228 TraceBlockInfo *SuccTBI = &BlockInfo[SuccNum]; in computeHeightResources() 234 ArrayRef<unsigned> SuccPRHeights = getProcResourceHeights(SuccNum); in computeHeightResources()
|
/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()
|