Home
last modified time | relevance | path

Searched refs:TailMBB (Results 1 – 5 of 5) sorted by relevance

/external/llvm/lib/CodeGen/
DBranchFolding.cpp1103 void BranchFolder::setCommonTailEdgeWeights(MachineBasicBlock &TailMBB) { in setCommonTailEdgeWeights() argument
1104 SmallVector<BlockFrequency, 2> EdgeFreqLs(TailMBB.succ_size()); in setCommonTailEdgeWeights()
1117 if (TailMBB.succ_size() <= 1) in setCommonTailEdgeWeights()
1122 for (auto SuccI = TailMBB.succ_begin(), SuccE = TailMBB.succ_end(); in setCommonTailEdgeWeights()
1127 MBBFreqInfo.setBlockFreq(&TailMBB, AccumulatedMBBFreq); in setCommonTailEdgeWeights()
1129 if (TailMBB.succ_size() <= 1) in setCommonTailEdgeWeights()
1138 for (auto SuccI = TailMBB.succ_begin(), SuccE = TailMBB.succ_end(); in setCommonTailEdgeWeights()
1142 TailMBB.setSuccProbability(SuccI, Prob); in setCommonTailEdgeWeights()
DBranchFolding.h133 void setCommonTailEdgeWeights(MachineBasicBlock &TailMBB);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DBranchFolding.cpp1243 void BranchFolder::setCommonTailEdgeWeights(MachineBasicBlock &TailMBB) { in setCommonTailEdgeWeights() argument
1244 SmallVector<BlockFrequency, 2> EdgeFreqLs(TailMBB.succ_size()); in setCommonTailEdgeWeights()
1257 if (TailMBB.succ_size() <= 1) in setCommonTailEdgeWeights()
1262 for (auto SuccI = TailMBB.succ_begin(), SuccE = TailMBB.succ_end(); in setCommonTailEdgeWeights()
1267 MBBFreqInfo.setBlockFreq(&TailMBB, AccumulatedMBBFreq); in setCommonTailEdgeWeights()
1269 if (TailMBB.succ_size() <= 1) in setCommonTailEdgeWeights()
1278 for (auto SuccI = TailMBB.succ_begin(), SuccE = TailMBB.succ_end(); in setCommonTailEdgeWeights()
1282 TailMBB.setSuccProbability(SuccI, Prob); in setCommonTailEdgeWeights()
DBranchFolding.h163 void setCommonTailEdgeWeights(MachineBasicBlock &TailMBB);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/
DRISCVISelLowering.cpp586 MachineBasicBlock *TailMBB = F->CreateMachineBasicBlock(LLVM_BB); in EmitInstrWithCustomInserter() local
590 F->insert(I, TailMBB); in EmitInstrWithCustomInserter()
592 TailMBB->splice(TailMBB->begin(), HeadMBB, in EmitInstrWithCustomInserter()
596 TailMBB->transferSuccessorsAndUpdatePHIs(HeadMBB); in EmitInstrWithCustomInserter()
599 HeadMBB->addSuccessor(TailMBB); in EmitInstrWithCustomInserter()
610 .addMBB(TailMBB); in EmitInstrWithCustomInserter()
613 IfFalseMBB->addSuccessor(TailMBB); in EmitInstrWithCustomInserter()
616 BuildMI(*TailMBB, TailMBB->begin(), DL, TII.get(RISCV::PHI), in EmitInstrWithCustomInserter()
624 return TailMBB; in EmitInstrWithCustomInserter()