Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600MachineCFGStructurizer.cpp262 void mergeIfthenelseBlock(MachineInstr *BranchMI,
638 MachineInstr *BranchMI = getLoopendBlockBranchInstr(SrcMBB); in replaceInstrUseOfBlockWith() local
639 if (BranchMI && isCondBranch(BranchMI) && in replaceInstrUseOfBlockWith()
640 getTrueBranch(BranchMI) == OldMBB) in replaceInstrUseOfBlockWith()
641 setTrueBranch(BranchMI, NewBlk); in replaceInstrUseOfBlockWith()
900 MachineInstr *BranchMI = getNormalBlockBranchInstr(MBB); in ifPatternMatch() local
901 if (!BranchMI) in ifPatternMatch()
904 assert(isCondBranch(BranchMI)); in ifPatternMatch()
907 MachineBasicBlock *TrueMBB = getTrueBranch(BranchMI); in ifPatternMatch()
910 MachineBasicBlock *FalseMBB = getFalseBranch(MBB, BranchMI); in ifPatternMatch()
[all …]
H A DSIPreEmitPeephole.cpp214 for (auto *BranchMI : ToRemove) { in optimizeVccBranch() local
215 MachineOperand &Dst = BranchMI->getOperand(0); in optimizeVccBranch()
218 BranchMI->eraseFromParent(); in optimizeVccBranch()
H A DSILateBranchLowering.cpp194 auto BranchMI = BuildMI(MBB, MI, DL, TII->get(AMDGPU::S_CBRANCH_SCC0)) in earlyTerm() local
199 splitBlock(MBB, *BranchMI, MDT); in earlyTerm()
H A DSILowerControlFlow.cpp755 MachineInstr *BranchMI = BuildMI(*FallThrough, FallThrough->end(), in removeMBBifRedundant() local
759 LIS->InsertMachineInstrInMaps(*BranchMI); in removeMBBifRedundant()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp3538 [this](const MachineJumpTableInfo &, const MachineInstr &BranchMI, in discoverJumpTableBranches()
3539 int64_t) { requestLabelBeforeInsn(&BranchMI); }); in discoverJumpTableBranches()
3546 [this, MF](const MachineJumpTableInfo &JTI, const MachineInstr &BranchMI, in collectDebugInfoForJumpTables() argument
3553 const MCSymbol *Branch = getLabelBeforeInsn(&BranchMI); in collectDebugInfoForJumpTables()
3572 Asm->getCodeViewJumpTableInfo(JumpTableIndex, &BranchMI, Branch); in collectDebugInfoForJumpTables()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp1685 auto BranchMI = MIB.buildInstr(Opc, {}, {CompareReg}).addMBB(DestMBB); in emitCBZ() local
1686 constrainSelectedInstRegOperands(*BranchMI, TII, TRI, RBI); in emitCBZ()
1687 return &*BranchMI; in emitCBZ()