Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DCFG.h47 bool isCriticalEdge(const Instruction *TI, unsigned SuccNum,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DBasicBlockUtils.h174 BasicBlock *SplitCriticalEdge(Instruction *TI, unsigned SuccNum,
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DGVN.cpp2391 unsigned SuccNum = GetSuccessorNumber(PREPred, CurrentBlock); in performScalarPRE() local
2392 if (isCriticalEdge(PREPred->getTerminator(), SuccNum)) { in performScalarPRE()
2393 toSplit.push_back(std::make_pair(PREPred->getTerminator(), SuccNum)); in performScalarPRE()