Home
last modified time | relevance | path

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

123456

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
H A DMipsMCInstLower.cpp125 Symbol = MO.getMBB()->getSymbol(); in LowerSymbolOperand()
242 MCSymbolRefExpr::create(MI->getOperand(1).getMBB()->getSymbol(), *Ctx); in lowerLongBranchLUi()
247 OutMI.addOperand(createSub(MI->getOperand(1).getMBB(), in lowerLongBranchLUi()
248 MI->getOperand(2).getMBB(), Kind)); in lowerLongBranchLUi()
284 MCSymbolRefExpr::create(MI->getOperand(2).getMBB()->getSymbol(), *Ctx); in lowerLongBranchADDiu()
289 OutMI.addOperand(createSub(MI->getOperand(2).getMBB(), in lowerLongBranchADDiu()
290 MI->getOperand(3).getMBB(), Kind)); in lowerLongBranchADDiu()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXInstrInfo.cpp111 TBB = LastInst.getOperand(0).getMBB(); in analyzeBranch()
115 TBB = LastInst.getOperand(1).getMBB(); in analyzeBranch()
133 TBB = SecondLastInst.getOperand(1).getMBB(); in analyzeBranch()
135 FBB = LastInst.getOperand(0).getMBB(); in analyzeBranch()
143 TBB = SecondLastInst.getOperand(0).getMBB(); in analyzeBranch()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AVR/
H A DAVRInstrInfo.cpp297 TBB = I->getOperand(0).getMBB(); in analyzeBranch()
310 if (MBB.isLayoutSuccessor(I->getOperand(0).getMBB())) { in analyzeBranch()
319 TBB = I->getOperand(0).getMBB(); in analyzeBranch()
331 MachineBasicBlock *TargetBB = I->getOperand(0).getMBB(); in analyzeBranch()
356 .addMBB(UnCondBrIter->getOperand(0).getMBB()); in analyzeBranch()
370 TBB = I->getOperand(0).getMBB(); in analyzeBranch()
382 if (TBB != I->getOperand(0).getMBB()) { in analyzeBranch()
520 return MI.getOperand(0).getMBB(); in getBranchDestBlock()
523 return MI.getOperand(1).getMBB(); in getBranchDestBlock()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCEarlyReturn.cpp77 if (J->getOperand(0).getMBB() == &ReturnMBB) { in processBlock()
90 if (J->getOperand(2).getMBB() == &ReturnMBB) { in processBlock()
107 if (J->getOperand(1).getMBB() == &ReturnMBB) { in processBlock()
130 J->getOperand(i).getMBB() == &ReturnMBB) in processBlock()
H A DPPCPreEmitPeephole.cpp509 MBB.removeSuccessor(Br->getOperand(1).getMBB()); in runOnMachineFunction()
520 if (!MBB.isLayoutSuccessor(Br->getOperand(1).getMBB())) { in runOnMachineFunction()
522 TII->insertBranch(MBB, Br->getOperand(1).getMBB(), nullptr, in runOnMachineFunction()
526 if (Succ != Br->getOperand(1).getMBB()) { in runOnMachineFunction()
H A DPPCBranchSelector.cpp336 Dest = I->getOperand(2).getMBB(); in runOnMachineFunction()
339 Dest = I->getOperand(1).getMBB(); in runOnMachineFunction()
343 Dest = I->getOperand(0).getMBB(); in runOnMachineFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrInfo.cpp127 TBB = MI.getOperand(0).getMBB(); in analyzeBranch()
135 TBB = MI.getOperand(0).getMBB(); in analyzeBranch()
140 TBB = MI.getOperand(0).getMBB(); in analyzeBranch()
142 FBB = MI.getOperand(0).getMBB(); in analyzeBranch()
H A DWebAssemblyFixIrreducibleControlFlow.cpp467 if (Op.isMBB() && Indices.count(Op.getMBB())) in makeSingleEntryLoop()
468 Op.setMBB(Map[{Op.getMBB(), PredInLoop}]); in makeSingleEntryLoop()
481 .getMBB()); in makeSingleEntryLoop()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/MSP430/
H A DMSP430InstrInfo.cpp194 TBB = I->getOperand(0).getMBB(); in analyzeBranch()
205 if (MBB.isLayoutSuccessor(I->getOperand(0).getMBB())) { in analyzeBranch()
213 TBB = I->getOperand(0).getMBB(); in analyzeBranch()
227 TBB = I->getOperand(0).getMBB(); in analyzeBranch()
239 if (TBB != I->getOperand(0).getMBB()) in analyzeBranch()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/XCore/
H A DXCoreInstrInfo.cpp208 TBB = LastInst->getOperand(0).getMBB(); in analyzeBranch()
219 TBB = LastInst->getOperand(1).getMBB(); in analyzeBranch()
240 TBB = SecondLastInst->getOperand(1).getMBB(); in analyzeBranch()
244 FBB = LastInst->getOperand(0).getMBB(); in analyzeBranch()
252 TBB = SecondLastInst->getOperand(0).getMBB(); in analyzeBranch()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DMVETPAndVPTOptimisationsPass.cpp119 if (T.getOpcode() == ARM::t2LoopEnd && T.getOperand(1).getMBB() == Header) { in findLoopComponents()
124 T.getOperand(2).getMBB() == Header) { in findLoopComponents()
160 (LoopPhi->getOperand(2).getMBB() != Latch && in findLoopComponents()
161 LoopPhi->getOperand(4).getMBB() != Latch)) { in findLoopComponents()
167 Register StartReg = LoopPhi->getOperand(2).getMBB() == Latch in findLoopComponents()
391 if (LoopPhi->getOperand(2).getMBB() == ML->getLoopLatch()) { in MergeLoopEnd()
472 (Phi->getOperand(2).getMBB() != ML->getLoopLatch() && in ConvertTailPredLoop()
473 Phi->getOperand(4).getMBB() != ML->getLoopLatch())) { in ConvertTailPredLoop()
477 CountReg = Phi->getOperand(2).getMBB() == ML->getLoopLatch() in ConvertTailPredLoop()
H A DARMBlockPlacement.cpp96 MachineBasicBlock *LoopExit = WlsInstr->getOperand(2).getMBB(); in fixBackwardsWLS()
123 MachineBasicBlock *WLSTarget = Terminator.getOperand(2).getMBB(); in fixBackwardsWLS()
H A DARMLowOverheadLoops.cpp1031 ? End->getOperand(1).getMBB() in Validate()
1032 : End->getOperand(2).getMBB(); in Validate()
1050 BBUtils->getOffsetOf(Start->getOperand(2).getMBB()) || in Validate()
1051 !BBUtils->isBBInRange(Start, Start->getOperand(2).getMBB(), 4094))) { in Validate()
1293 MachineBasicBlock *DestBB = MI->getOperand(2).getMBB(); in RevertWhile()
1328 MachineBasicBlock *DestBB = MI->getOperand(1).getMBB(); in RevertLoopEnd()
1351 MachineBasicBlock *DestBB = MI->getOperand(2).getMBB(); in RevertLoopEndDec()
1607 MachineBasicBlock *Succ = Terminator->getOperand(0).getMBB(); in Expand()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp269 MachineBasicBlock &IRTranslator::getMBB(const BasicBlock &BB) { in getMBB() function in IRTranslator
355 &RI, &MIRBuilder.getMBB(), SwiftError.getFunctionArg()); in translateRet()
560 auto &CurMBB = MIRBuilder.getMBB(); in translateBr()
561 auto *Succ0MBB = &getMBB(*BrInst.getSuccessor(0)); in translateBr()
570 CurMBB.addSuccessor(&getMBB(*Succ)); in translateBr()
577 MachineBasicBlock *Succ1MBB = &getMBB(*BrInst.getSuccessor(1)); in translateBr()
681 MachineBasicBlock *Succ = &getMBB(*I.getCaseSuccessor()); in translateSwitch()
690 MachineBasicBlock *DefaultMBB = &getMBB(*SI.getDefaultDest()); in translateSwitch()
697 MachineBasicBlock *SwitchMBB = &getMBB(*SI.getParent()); in translateSwitch()
1244 MachineBasicBlock &CurBB = MIRBuilder.getMBB(); in translateIndirectBr()
[all …]
H A DCSEMIRBuilder.cpp22 auto MBBEnd = getMBB().end(); in dominates()
39 MachineBasicBlock *CurMBB = &getMBB(); in getDominatingInstrForID()
100 B.addNodeIDMBB(&getMBB()); in profileMBBOpcode()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/BPF/
H A DBPFInstrInfo.cpp190 TBB = I->getOperand(0).getMBB(); in analyzeBranch()
201 if (MBB.isLayoutSuccessor(I->getOperand(0).getMBB())) { in analyzeBranch()
209 TBB = I->getOperand(0).getMBB(); in analyzeBranch()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DMachineSSAUpdater.cpp102 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 DUnreachableBlockElim.cpp133 start->getOperand(i).getMBB() == &BB) { in runOnMachineFunction()
165 if (!preds.count(phi->getOperand(i).getMBB())) { in runOnMachineFunction()
H A DPHIElimination.cpp420 --VRegPHIUseCount[BBVRegPair(MPhi->getOperand(i+1).getMBB()->getNumber(), in LowerPHINode()
436 MachineBasicBlock &opBlock = *MPhi->getOperand(i*2+2).getMBB(); in LowerPHINode()
621 ++VRegPHIUseCount[BBVRegPair(BBI.getOperand(i+1).getMBB()->getNumber(), in analyzePHINodes()
641 MachineBasicBlock *PreMBB = BBI->getOperand(i+1).getMBB(); in SplitPHIEdges()
H A DTailDuplicator.cpp114 MachineBasicBlock *PHIBB = MI->getOperand(i + 1).getMBB(); in VerifyPHIs()
130 MachineBasicBlock *PHIBB = MI->getOperand(i + 1).getMBB(); in VerifyPHIs()
310 if (MI->getOperand(i + 1).getMBB() == SrcBB) in getPHISrcRegOpIdx()
481 if (MO.getMBB() == FromBB) { in updateSuccessorsPHIs()
496 if (MO.getMBB() == FromBB) { in updateSuccessorsPHIs()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARC/
H A DARCBranchFinalize.cpp120 .addMBB(MI->getOperand(0).getMBB()) in replaceWithBRcc()
138 .addMBB(MI->getOperand(0).getMBB()) in replaceWithCmpBcc()
/netbsd-src/external/apache2/llvm/dist/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.cpp259 MachineBasicBlock *T1B = T1I->getOperand(1).getMBB(); in matchFlowPattern()
264 : 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Sparc/
H A DSparcInstrInfo.cpp156 Target = LastInst->getOperand(0).getMBB(); in parseCondBranch()
178 TBB = LastInst->getOperand(0).getMBB(); in analyzeBranch()
202 TBB = LastInst->getOperand(0).getMBB(); in analyzeBranch()
218 FBB = LastInst->getOperand(0).getMBB(); in analyzeBranch()
225 TBB = SecondLastInst->getOperand(0).getMBB(); in analyzeBranch()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64RedundantCopyElimination.cpp132 MBB == CondBr.getOperand(1).getMBB()) || in knownRegValInBlock()
134 MBB != CondBr.getOperand(1).getMBB())) { in knownRegValInBlock()
149 MachineBasicBlock *BrTarget = CondBr.getOperand(1).getMBB(); in knownRegValInBlock()

123456