/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | SIRemoveShortExecBranches.cpp | 40 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()
|
D | AMDILCFGStructurizer.cpp | 209 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 …]
|
D | SIInsertSkips.cpp | 393 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()
|
D | AMDGPURegisterBankInfo.cpp | 2135 MachineBasicBlock *SrcMBB = MI.getOperand(I + 1).getMBB(); in applyMappingImpl() local 2136 B.setInsertPt(*SrcMBB, SrcMBB->getFirstTerminator()); in applyMappingImpl()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDILCFGStructurizer.cpp | 216 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/ |
D | AMDILCFGStructurizer.cpp | 209 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 …]
|
D | SIInsertSkips.cpp | 322 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()
|
D | AMDGPURegisterBankInfo.cpp | 1497 MachineBasicBlock *SrcMBB = MI.getOperand(I + 1).getMBB(); in applyMappingImpl() local 1498 B.setInsertPt(*SrcMBB, SrcMBB->getFirstTerminator()); in applyMappingImpl()
|
/external/llvm/lib/CodeGen/ |
D | BranchFolding.cpp | 1111 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/ |
D | BranchFolding.cpp | 1153 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/ |
D | BranchFolding.cpp | 1197 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()
|