Searched refs:SuccNum (Results 1 – 9 of 9) sorted by relevance
/external/llvm/lib/Transforms/Utils/ |
D | BreakCriticalEdges.cpp | 133 BasicBlock *llvm::SplitCriticalEdge(TerminatorInst *TI, unsigned SuccNum, in SplitCriticalEdge() argument 135 if (!isCriticalEdge(TI, SuccNum, Options.MergeIdenticalEdges)) in SplitCriticalEdge() 142 BasicBlock *DestBB = TI->getSuccessor(SuccNum); in SplitCriticalEdge() 156 TI->setSuccessor(SuccNum, NewBB); in SplitCriticalEdge() 188 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 | 539 unsigned SuccNum = switchVal++; in emitCallAndSwitchStatement() local 546 brVal = ConstantInt::get(Type::getInt1Ty(Context), !SuccNum); in emitCallAndSwitchStatement() 549 brVal = ConstantInt::get(Type::getInt16Ty(Context), SuccNum); in emitCallAndSwitchStatement() 557 SuccNum), in emitCallAndSwitchStatement()
|
D | BasicBlockUtils.cpp | 236 unsigned SuccNum = GetSuccessorNumber(BB, Succ); in SplitEdge() local 240 if (SplitCriticalEdge(LatchTerm, SuccNum, CriticalEdgeSplittingOptions(DT, LI) in SplitEdge() 242 return LatchTerm->getSuccessor(SuccNum); in SplitEdge()
|
/external/llvm/lib/Analysis/ |
D | CFG.cpp | 87 bool llvm::isCriticalEdge(const TerminatorInst *TI, unsigned SuccNum, in isCriticalEdge() argument 89 assert(SuccNum < TI->getNumSuccessors() && "Illegal edge specification!"); in isCriticalEdge() 92 const BasicBlock *Dest = TI->getSuccessor(SuccNum); in isCriticalEdge()
|
/external/llvm/include/llvm/Analysis/ |
D | CFG.h | 49 bool isCriticalEdge(const TerminatorInst *TI, unsigned SuccNum,
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | BasicBlockUtils.h | 140 BasicBlock *SplitCriticalEdge(TerminatorInst *TI, unsigned SuccNum,
|
/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/llvm/lib/Transforms/Scalar/ |
D | GVN.cpp | 2567 unsigned SuccNum = GetSuccessorNumber(PREPred, CurrentBlock); in performScalarPRE() local 2568 if (isCriticalEdge(PREPred->getTerminator(), SuccNum)) { in performScalarPRE() 2569 toSplit.push_back(std::make_pair(PREPred->getTerminator(), SuccNum)); in performScalarPRE()
|