Home
last modified time | relevance | path

Searched refs:getMBB (Results 1 – 25 of 132) sorted by relevance

123456

/freebsd-12.1/contrib/llvm/lib/Target/Mips/
H A DMipsMCInstLower.cpp126 Symbol = MO.getMBB()->getSymbol(); in LowerSymbolOperand()
245 MCSymbolRefExpr::create(MI->getOperand(1).getMBB()->getSymbol(), *Ctx); in lowerLongBranchLUi()
250 OutMI.addOperand(createSub(MI->getOperand(1).getMBB(), in lowerLongBranchLUi()
251 MI->getOperand(2).getMBB(), Kind)); in lowerLongBranchLUi()
287 MCSymbolRefExpr::create(MI->getOperand(2).getMBB()->getSymbol(), *Ctx); in lowerLongBranchADDiu()
292 OutMI.addOperand(createSub(MI->getOperand(2).getMBB(), in lowerLongBranchADDiu()
293 MI->getOperand(3).getMBB(), Kind)); in lowerLongBranchADDiu()
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXInstrInfo.cpp112 TBB = LastInst.getOperand(0).getMBB(); in analyzeBranch()
116 TBB = LastInst.getOperand(1).getMBB(); in analyzeBranch()
134 TBB = SecondLastInst.getOperand(1).getMBB(); in analyzeBranch()
136 FBB = LastInst.getOperand(0).getMBB(); in analyzeBranch()
144 TBB = SecondLastInst.getOperand(0).getMBB(); in analyzeBranch()
/freebsd-12.1/contrib/llvm/lib/Target/AVR/
H A DAVRInstrInfo.cpp298 TBB = I->getOperand(0).getMBB(); in analyzeBranch()
311 if (MBB.isLayoutSuccessor(I->getOperand(0).getMBB())) { in analyzeBranch()
320 TBB = I->getOperand(0).getMBB(); in analyzeBranch()
332 MachineBasicBlock *TargetBB = I->getOperand(0).getMBB(); in analyzeBranch()
357 .addMBB(UnCondBrIter->getOperand(0).getMBB()); in analyzeBranch()
371 TBB = I->getOperand(0).getMBB(); in analyzeBranch()
383 if (TBB != I->getOperand(0).getMBB()) { in analyzeBranch()
520 return MI.getOperand(0).getMBB(); in getBranchDestBlock()
523 return MI.getOperand(1).getMBB(); in getBranchDestBlock()
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCPreEmitPeephole.cpp137 MBB.removeSuccessor(Br->getOperand(1).getMBB()); in runOnMachineFunction()
148 if (!MBB.isLayoutSuccessor(Br->getOperand(1).getMBB())) { in runOnMachineFunction()
150 TII->insertBranch(MBB, Br->getOperand(1).getMBB(), nullptr, in runOnMachineFunction()
154 if (Succ != Br->getOperand(1).getMBB()) { in runOnMachineFunction()
H A DPPCEarlyReturn.cpp82 if (J->getOperand(0).getMBB() == &ReturnMBB) { in processBlock()
94 if (J->getOperand(2).getMBB() == &ReturnMBB) { in processBlock()
108 if (J->getOperand(1).getMBB() == &ReturnMBB) { in processBlock()
129 J->getOperand(i).getMBB() == &ReturnMBB) in processBlock()
H A DPPCBranchSelector.cpp165 Dest = I->getOperand(2).getMBB(); in runOnMachineFunction()
168 Dest = I->getOperand(1).getMBB(); in runOnMachineFunction()
172 Dest = I->getOperand(0).getMBB(); in runOnMachineFunction()
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrInfo.cpp115 TBB = MI.getOperand(0).getMBB(); in analyzeBranch()
126 TBB = MI.getOperand(0).getMBB(); in analyzeBranch()
134 TBB = MI.getOperand(0).getMBB(); in analyzeBranch()
136 FBB = MI.getOperand(0).getMBB(); in analyzeBranch()
H A DWebAssemblyFixIrreducibleControlFlow.cpp341 if (Op.isMBB() && Indices.count(Op.getMBB())) in run()
342 Op.setMBB(Map[Op.getMBB()]); in run()
350 .getMBB()); in run()
/freebsd-12.1/contrib/llvm/lib/Target/MSP430/
H A DMSP430InstrInfo.cpp207 TBB = I->getOperand(0).getMBB(); in analyzeBranch()
218 if (MBB.isLayoutSuccessor(I->getOperand(0).getMBB())) { in analyzeBranch()
226 TBB = I->getOperand(0).getMBB(); in analyzeBranch()
240 TBB = I->getOperand(0).getMBB(); in analyzeBranch()
252 if (TBB != I->getOperand(0).getMBB()) in analyzeBranch()
/freebsd-12.1/contrib/llvm/lib/Target/XCore/
H A DXCoreInstrInfo.cpp209 TBB = LastInst->getOperand(0).getMBB(); in analyzeBranch()
220 TBB = LastInst->getOperand(1).getMBB(); in analyzeBranch()
241 TBB = SecondLastInst->getOperand(1).getMBB(); in analyzeBranch()
245 FBB = LastInst->getOperand(0).getMBB(); in analyzeBranch()
253 TBB = SecondLastInst->getOperand(0).getMBB(); in analyzeBranch()
/freebsd-12.1/contrib/llvm/lib/CodeGen/GlobalISel/
H A DCSEMIRBuilder.cpp22 auto MBBEnd = getMBB().end(); in dominates()
39 MachineBasicBlock *CurMBB = &getMBB(); in getDominatingInstrForID()
85 B.addNodeIDMBB(&getMBB()); in profileMBBOpcode()
H A DIRTranslator.cpp400 MachineBasicBlock &TrueBB = getMBB(TrueTgt); in translateBr()
405 MachineBasicBlock &TgtBB = getMBB(BrTgt); in translateBr()
406 MachineBasicBlock &CurBB = MIRBuilder.getMBB(); in translateBr()
414 CurBB.addSuccessor(&getMBB(*Succ)); in translateBr()
438 MachineBasicBlock &TrueMBB = getMBB(*TrueBB); in translateSwitch()
474 CurBB.addSuccessor(&getMBB(*Succ)); in translateIndirectBr()
1237 MIRBuilder.getMBB().addSuccessor(&ReturnMBB); in translateInvoke()
1238 MIRBuilder.getMBB().addSuccessor(&EHPadMBB); in translateInvoke()
1248 MachineBasicBlock &MBB = MIRBuilder.getMBB(); in translateLandingPad()
1764 EntryBB->addSuccessor(&getMBB(F.front())); in runOnMachineFunction()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/BPF/
H A DBPFInstrInfo.cpp191 TBB = I->getOperand(0).getMBB(); in analyzeBranch()
202 if (MBB.isLayoutSuccessor(I->getOperand(0).getMBB())) { in analyzeBranch()
210 TBB = I->getOperand(0).getMBB(); in analyzeBranch()
/freebsd-12.1/contrib/llvm/lib/Target/RISCV/
H A DRISCVInstrInfo.cpp188 Target = LastInst.getOperand(2).getMBB(); in parseCondBranch()
259 TBB = I->getOperand(0).getMBB(); in analyzeBranch()
273 FBB = I->getOperand(0).getMBB(); in analyzeBranch()
406 return MI.getOperand(NumOp - 1).getMBB(); in getBranchDestBlock()
/freebsd-12.1/contrib/llvm/lib/Target/ARC/
H A DARCBranchFinalize.cpp120 .addMBB(MI->getOperand(0).getMBB()) in replaceWithBRcc()
138 .addMBB(MI->getOperand(0).getMBB()) in replaceWithCmpBcc()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DMachineSSAUpdater.cpp100 MachineBasicBlock *SrcBB = I->getOperand(i+1).getMBB(); in LookForIdenticalPHI()
216 return MI->getOperand(i+1).getMBB(); in findCorrespondingPred()
271 return PHI->getOperand(idx+1).getMBB(); in getIncomingBlock()
H A DPHIElimination.cpp365 --VRegPHIUseCount[BBVRegPair(MPhi->getOperand(i+1).getMBB()->getNumber(), in LowerPHINode()
381 MachineBasicBlock &opBlock = *MPhi->getOperand(i*2+2).getMBB(); in LowerPHINode()
553 ++VRegPHIUseCount[BBVRegPair(BBI.getOperand(i+1).getMBB()->getNumber(), in analyzePHINodes()
572 MachineBasicBlock *PreMBB = BBI->getOperand(i+1).getMBB(); in SplitPHIEdges()
H A DUnreachableBlockElim.cpp166 start->getOperand(i).getMBB() == BB) { in runOnMachineFunction()
192 if (!preds.count(phi->getOperand(i).getMBB())) { in runOnMachineFunction()
H A DTailDuplicator.cpp108 MachineBasicBlock *PHIBB = MI->getOperand(i + 1).getMBB(); in VerifyPHIs()
124 MachineBasicBlock *PHIBB = MI->getOperand(i + 1).getMBB(); in VerifyPHIs()
302 if (MI->getOperand(i + 1).getMBB() == SrcBB) in getPHISrcRegOpIdx()
473 if (MO.getMBB() == FromBB) { in updateSuccessorsPHIs()
488 if (MO.getMBB() == FromBB) { in updateSuccessorsPHIs()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonCFGOptimizer.cpp180 CondBranchTarget = MI.getOperand(1).getMBB(); in runOnMachineFunction()
193 LayoutSucc->front().getOperand(0).getMBB(); in runOnMachineFunction()
H A DHexagonEarlyIfConv.cpp260 MachineBasicBlock *T1B = T1I->getOperand(1).getMBB(); in matchFlowPattern()
265 : T2I->getOperand(0).getMBB(); in matchFlowPattern()
464 const MachineBasicBlock *BB = MI.getOperand(i+1).getMBB(); in computePhiCost()
741 MachineBasicBlock *TB = MI->getOperand(0).getMBB(); in predicateInstr()
821 if (BO.getMBB() == FP.SplitB) in updatePhiNodes()
823 else if (BO.getMBB() == FP.TrueB) in updatePhiNodes()
825 else if (BO.getMBB() == FP.FalseB) in updatePhiNodes()
/freebsd-12.1/contrib/llvm/lib/Target/Sparc/
H A DSparcInstrInfo.cpp157 Target = LastInst->getOperand(0).getMBB(); in parseCondBranch()
179 TBB = LastInst->getOperand(0).getMBB(); in analyzeBranch()
203 TBB = LastInst->getOperand(0).getMBB(); in analyzeBranch()
219 FBB = LastInst->getOperand(0).getMBB(); in analyzeBranch()
226 TBB = SecondLastInst->getOperand(0).getMBB(); in analyzeBranch()
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64RedundantCopyElimination.cpp133 MBB == CondBr.getOperand(1).getMBB()) || in knownRegValInBlock()
135 MBB != CondBr.getOperand(1).getMBB())) { in knownRegValInBlock()
150 MachineBasicBlock *BrTarget = CondBr.getOperand(1).getMBB(); in knownRegValInBlock()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUMCInstLower.cpp101 = MCSymbolRefExpr::create(MO.getMBB()->getSymbol(), Ctx); in getLongBranchBlockExpr()
135 MCSymbolRefExpr::create(MO.getMBB()->getSymbol(), Ctx)); in lowerOperand()
272 const MachineBasicBlock *MBB = MI->getOperand(0).getMBB(); in EmitInstruction()
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/GlobalISel/
H A DMachineIRBuilder.h244 const MachineBasicBlock &getMBB() const { in getMBB() function
249 MachineBasicBlock &getMBB() { in getMBB() function
251 const_cast<const MachineIRBuilder *>(this)->getMBB()); in getMBB()

123456