Home
last modified time | relevance | path

Searched refs:BranchMI (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDILCFGStructurizer.cpp293 void mergeIfthenelseBlock(MachineInstr *BranchMI,
673 MachineInstr *BranchMI = getLoopendBlockBranchInstr(SrcMBB); in replaceInstrUseOfBlockWith() local
674 if (BranchMI && isCondBranch(BranchMI) && in replaceInstrUseOfBlockWith()
675 getTrueBranch(BranchMI) == OldMBB) in replaceInstrUseOfBlockWith()
676 setTrueBranch(BranchMI, NewBlk); in replaceInstrUseOfBlockWith()
942 MachineInstr *BranchMI = getNormalBlockBranchInstr(MBB); in ifPatternMatch() local
943 if (!BranchMI) in ifPatternMatch()
946 assert(isCondBranch(BranchMI)); in ifPatternMatch()
949 MachineBasicBlock *TrueMBB = getTrueBranch(BranchMI); in ifPatternMatch()
952 MachineBasicBlock *FalseMBB = getFalseBranch(MBB, BranchMI); in ifPatternMatch()
[all …]
/external/llvm/lib/Target/AMDGPU/
DAMDILCFGStructurizer.cpp295 void mergeIfthenelseBlock(MachineInstr *BranchMI,
671 MachineInstr *BranchMI = getLoopendBlockBranchInstr(SrcMBB); in replaceInstrUseOfBlockWith() local
672 if (BranchMI && isCondBranch(BranchMI) && in replaceInstrUseOfBlockWith()
673 getTrueBranch(BranchMI) == OldMBB) in replaceInstrUseOfBlockWith()
674 setTrueBranch(BranchMI, NewBlk); in replaceInstrUseOfBlockWith()
967 MachineInstr *BranchMI = getNormalBlockBranchInstr(MBB); in ifPatternMatch() local
968 if (!BranchMI) in ifPatternMatch()
971 assert(isCondBranch(BranchMI)); in ifPatternMatch()
974 MachineBasicBlock *TrueMBB = getTrueBranch(BranchMI); in ifPatternMatch()
977 MachineBasicBlock *FalseMBB = getFalseBranch(MBB, BranchMI); in ifPatternMatch()
[all …]