Home
last modified time | relevance | path

Searched refs:SrcMBB (Results 1 – 11 of 11) sorted by relevance

/external/llvm-project/llvm/lib/Target/AMDGPU/
DSIRemoveShortExecBranches.cpp40 bool getBlockDestinations(MachineBasicBlock &SrcMBB,
46 bool removeExeczBranch(MachineInstr &MI, MachineBasicBlock &SrcMBB);
68 MachineBasicBlock &SrcMBB, MachineBasicBlock *&TrueMBB, in getBlockDestinations() argument
70 if (TII->analyzeBranch(SrcMBB, TrueMBB, FalseMBB, Cond)) in getBlockDestinations()
74 FalseMBB = SrcMBB.getNextNode(); in getBlockDestinations()
118 MachineBasicBlock &SrcMBB) { in removeExeczBranch() argument
123 if (!getBlockDestinations(SrcMBB, TrueMBB, FalseMBB, Cond)) in removeExeczBranch()
127 if ((SrcMBB.getNumber() >= TrueMBB->getNumber()) || in removeExeczBranch()
133 SrcMBB.removeSuccessor(TrueMBB); in removeExeczBranch()
DAMDILCFGStructurizer.cpp209 PathToKind singlePathTo(MachineBasicBlock *SrcMBB, MachineBasicBlock *DstMBB,
255 MachineBasicBlock *SrcMBB);
261 void replaceInstrUseOfBlockWith(MachineBasicBlock *SrcMBB,
289 MachineBasicBlock *SrcMBB, MachineBasicBlock *DstMBB);
291 MachineBasicBlock *SrcMBB);
328 void migrateInstruction(MachineBasicBlock *SrcMBB,
389 MachineBasicBlock *SrcMBB, MachineBasicBlock *DstMBB, in singlePathTo() argument
392 if (SrcMBB == DstMBB) in singlePathTo()
394 while (SrcMBB && SrcMBB->succ_size() == 1) { in singlePathTo()
395 SrcMBB = *SrcMBB->succ_begin(); in singlePathTo()
[all …]
DSIInsertSkips.cpp393 MachineBasicBlock &SrcMBB) { in skipMaskBranch() argument
396 if (!shouldSkip(**SrcMBB.succ_begin(), *DestBB)) in skipMaskBranch()
402 BuildMI(SrcMBB, InsPt, DL, TII->get(AMDGPU::S_CBRANCH_EXECZ)) in skipMaskBranch()
DAMDGPURegisterBankInfo.cpp2135 MachineBasicBlock *SrcMBB = MI.getOperand(I + 1).getMBB(); in applyMappingImpl() local
2136 B.setInsertPt(*SrcMBB, SrcMBB->getFirstTerminator()); in applyMappingImpl()
/external/llvm/lib/Target/AMDGPU/
DAMDILCFGStructurizer.cpp216 PathToKind singlePathTo(MachineBasicBlock *SrcMBB, MachineBasicBlock *DstMBB,
258 MachineBasicBlock *SrcMBB) ;
263 void replaceInstrUseOfBlockWith(MachineBasicBlock *SrcMBB,
291 MachineBasicBlock *SrcMBB, MachineBasicBlock *DstMBB);
293 MachineBasicBlock *SrcMBB);
327 void migrateInstruction(MachineBasicBlock *SrcMBB,
384 MachineBasicBlock *SrcMBB, MachineBasicBlock *DstMBB, in singlePathTo() argument
387 if (SrcMBB == DstMBB) in singlePathTo()
389 while (SrcMBB && SrcMBB->succ_size() == 1) { in singlePathTo()
390 SrcMBB = *SrcMBB->succ_begin(); in singlePathTo()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDILCFGStructurizer.cpp209 PathToKind singlePathTo(MachineBasicBlock *SrcMBB, MachineBasicBlock *DstMBB,
255 MachineBasicBlock *SrcMBB);
261 void replaceInstrUseOfBlockWith(MachineBasicBlock *SrcMBB,
289 MachineBasicBlock *SrcMBB, MachineBasicBlock *DstMBB);
291 MachineBasicBlock *SrcMBB);
328 void migrateInstruction(MachineBasicBlock *SrcMBB,
389 MachineBasicBlock *SrcMBB, MachineBasicBlock *DstMBB, in singlePathTo() argument
392 if (SrcMBB == DstMBB) in singlePathTo()
394 while (SrcMBB && SrcMBB->succ_size() == 1) { in singlePathTo()
395 SrcMBB = *SrcMBB->succ_begin(); in singlePathTo()
[all …]
DSIInsertSkips.cpp322 MachineBasicBlock &SrcMBB) { in skipMaskBranch() argument
325 if (!shouldSkip(**SrcMBB.succ_begin(), *DestBB)) in skipMaskBranch()
331 BuildMI(SrcMBB, InsPt, DL, TII->get(AMDGPU::S_CBRANCH_EXECZ)) in skipMaskBranch()
DAMDGPURegisterBankInfo.cpp1497 MachineBasicBlock *SrcMBB = MI.getOperand(I + 1).getMBB(); in applyMappingImpl() local
1498 B.setInsertPt(*SrcMBB, SrcMBB->getFirstTerminator()); in applyMappingImpl()
/external/llvm/lib/CodeGen/
DBranchFolding.cpp1111 const MachineBasicBlock *SrcMBB = Src.getBlock(); in setCommonTailEdgeWeights() local
1112 BlockFrequency BlockFreq = MBBFreqInfo.getBlockFreq(SrcMBB); in setCommonTailEdgeWeights()
1124 *EdgeFreq += BlockFreq * MBPI.getEdgeProbability(SrcMBB, *SuccI); in setCommonTailEdgeWeights()
/external/llvm-project/llvm/lib/CodeGen/
DBranchFolding.cpp1153 const MachineBasicBlock *SrcMBB = Src.getBlock(); in setCommonTailEdgeWeights() local
1154 BlockFrequency BlockFreq = MBBFreqInfo.getBlockFreq(SrcMBB); in setCommonTailEdgeWeights()
1166 *EdgeFreq += BlockFreq * MBPI.getEdgeProbability(SrcMBB, *SuccI); in setCommonTailEdgeWeights()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DBranchFolding.cpp1197 const MachineBasicBlock *SrcMBB = Src.getBlock(); in setCommonTailEdgeWeights() local
1198 BlockFrequency BlockFreq = MBBFreqInfo.getBlockFreq(SrcMBB); in setCommonTailEdgeWeights()
1210 *EdgeFreq += BlockFreq * MBPI.getEdgeProbability(SrcMBB, *SuccI); in setCommonTailEdgeWeights()