Home
last modified time | relevance | path

Searched refs:SuccNum (Results 1 – 25 of 31) sorted by relevance

12

/external/llvm/lib/Transforms/Utils/
DBreakCriticalEdges.cpp115 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()
DDemoteRegToStack.cpp47 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()
DCodeExtractor.cpp526 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()
DBasicBlockUtils.cpp212 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/
DBreakCriticalEdges.cpp138 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()
DDemoteRegToStack.cpp48 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()
DBasicBlockUtils.cpp476 unsigned SuccNum = GetSuccessorNumber(BB, Succ); in SplitEdge() local
481 LatchTerm, SuccNum, in SplitEdge()
483 return LatchTerm->getSuccessor(SuccNum); in SplitEdge()
DCodeExtractor.cpp1204 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/
DDemoteRegToStack.cpp48 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()
DBreakCriticalEdges.cpp138 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()
DCodeExtractor.cpp1260 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()
DBasicBlockUtils.cpp497 unsigned SuccNum = GetSuccessorNumber(BB, Succ); in SplitEdge() local
502 LatchTerm, SuccNum, in SplitEdge()
504 return LatchTerm->getSuccessor(SuccNum); in SplitEdge()
/external/llvm/lib/Analysis/
DCFG.cpp88 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/
DCFG.cpp88 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/
DCFG.cpp95 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/
DCFG.h49 bool isCriticalEdge(const TerminatorInst *TI, unsigned SuccNum,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DCFG.h47 bool isCriticalEdge(const Instruction *TI, unsigned SuccNum,
/external/llvm-project/llvm/include/llvm/Analysis/
DCFG.h49 bool isCriticalEdge(const Instruction *TI, unsigned SuccNum,
/external/llvm/lib/Transforms/Instrumentation/
DPGOInstrumentation.cpp333 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/
DBasicBlockUtils.h121 BasicBlock *SplitCriticalEdge(TerminatorInst *TI, unsigned SuccNum,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DBasicBlockUtils.h174 BasicBlock *SplitCriticalEdge(Instruction *TI, unsigned SuccNum,
/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DBasicBlockUtils.h197 BasicBlock *SplitCriticalEdge(Instruction *TI, unsigned SuccNum,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DPGOInstrumentation.cpp780 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/
DMachineTraceMetrics.cpp227 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/
DMachineTraceMetrics.cpp216 unsigned SuccNum = TBI->Succ->getNumber(); in computeHeightResources() local
217 TraceBlockInfo *SuccTBI = &BlockInfo[SuccNum]; in computeHeightResources()
223 ArrayRef<unsigned> SuccPRHeights = getProcResourceHeights(SuccNum); in computeHeightResources()

12