Home
last modified time | relevance | path

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

1234567

/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Target/AVR/
H A DAVRInstrInfo.cpp293 TBB = I->getOperand(0).getMBB(); in analyzeBranch()
304 if (MBB.isLayoutSuccessor(I->getOperand(0).getMBB())) { in analyzeBranch()
313 TBB = I->getOperand(0).getMBB(); in analyzeBranch()
325 MachineBasicBlock *TargetBB = I->getOperand(0).getMBB(); in analyzeBranch()
350 .addMBB(UnCondBrIter->getOperand(0).getMBB()); in analyzeBranch()
364 TBB = I->getOperand(0).getMBB(); in analyzeBranch()
376 if (TBB != I->getOperand(0).getMBB()) { in analyzeBranch()
519 return MI.getOperand(0).getMBB(); in getBranchDestBlock()
522 return MI.getOperand(1).getMBB(); in getBranchDestBlock()
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCEarlyReturn.cpp76 if (J->getOperand(0).getMBB() == &ReturnMBB) { in processBlock()
89 if (J->getOperand(2).getMBB() == &ReturnMBB) { in processBlock()
106 if (J->getOperand(1).getMBB() == &ReturnMBB) { in processBlock()
129 J->getOperand(i).getMBB() == &ReturnMBB) in processBlock()
H A DPPCCTRLoops.cpp339 assert(ML->contains(BrInstr->getOperand(1).getMBB()) && in expandCTRLoops()
344 assert(!ML->contains(BrInstr->getOperand(1).getMBB()) && in expandCTRLoops()
353 .addMBB(BrInstr->getOperand(1).getMBB()); in expandCTRLoops()
H A DPPCBranchSelector.cpp330 Dest = I->getOperand(2).getMBB(); in runOnMachineFunction()
333 Dest = I->getOperand(1).getMBB(); in runOnMachineFunction()
337 Dest = I->getOperand(0).getMBB(); in runOnMachineFunction()
H A DPPCPreEmitPeephole.cpp555 MBB.removeSuccessor(Br->getOperand(1).getMBB()); in runOnMachineFunction()
566 if (!MBB.isLayoutSuccessor(Br->getOperand(1).getMBB())) { in runOnMachineFunction()
568 TII->insertBranch(MBB, Br->getOperand(1).getMBB(), nullptr, in runOnMachineFunction()
572 if (Succ != Br->getOperand(1).getMBB()) { in runOnMachineFunction()
/openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrInfo.cpp112 TBB = MI.getOperand(0).getMBB(); in analyzeBranch()
120 TBB = MI.getOperand(0).getMBB(); in analyzeBranch()
125 TBB = MI.getOperand(0).getMBB(); in analyzeBranch()
127 FBB = MI.getOperand(0).getMBB(); in analyzeBranch()
H A DWebAssemblyFixIrreducibleControlFlow.cpp466 if (Op.isMBB() && Indices.count(Op.getMBB())) in makeSingleEntryLoop()
467 Op.setMBB(Map[{Op.getMBB(), PredInLoop}]); in makeSingleEntryLoop()
480 .getMBB()); in makeSingleEntryLoop()
/openbsd-src/gnu/llvm/llvm/lib/Target/MSP430/
H A DMSP430InstrInfo.cpp195 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()
/openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVInstrInfo.cpp184 TBB = MI->getOperand(0).getMBB(); in analyzeBranch()
188 TBB = MI->getOperand(1).getMBB(); in analyzeBranch()
190 FBB = MI->getOperand(2).getMBB(); in analyzeBranch()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DMVETPAndVPTOptimisationsPass.cpp124 if (T.getOpcode() == ARM::t2LoopEnd && T.getOperand(1).getMBB() == Header) { in findLoopComponents()
129 T.getOperand(2).getMBB() == Header) { in findLoopComponents()
165 (LoopPhi->getOperand(2).getMBB() != Latch && in findLoopComponents()
166 LoopPhi->getOperand(4).getMBB() != Latch)) { in findLoopComponents()
172 Register StartReg = LoopPhi->getOperand(2).getMBB() == Latch in findLoopComponents()
399 if (LoopPhi->getOperand(2).getMBB() == ML->getLoopLatch()) { in MergeLoopEnd()
496 (Phi->getOperand(2).getMBB() != ML->getLoopLatch() && in ConvertTailPredLoop()
497 Phi->getOperand(4).getMBB() != ML->getLoopLatch())) { in ConvertTailPredLoop()
501 CountReg = Phi->getOperand(2).getMBB() == ML->getLoopLatch() in ConvertTailPredLoop()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DSIOptimizeVGPRLiveRange.cpp178 return BR.getOperand(2).getMBB(); in getElseTarget()
271 auto *Pred = MI.getOperand(Idx + 1).getMBB(); in collectCandidateRegisters()
311 auto *IncomingMBB = UseMI->getOperand(I.getOperandNo() + 1).getMBB(); in collectCandidateRegisters()
433 PHIIncoming.insert(UseMI->getOperand(I.getOperandNo() + 1).getMBB()); in updateLiveRangeInThenRegion()
645 MachineBasicBlock *IfTarget = MI.getOperand(2).getMBB(); in runOnMachineFunction()
673 auto *LoopHeader = MI.getOperand(0).getMBB(); in runOnMachineFunction()
/openbsd-src/gnu/llvm/llvm/lib/Target/BPF/
H A DBPFInstrInfo.cpp192 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()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARC/
H A DARCBranchFinalize.cpp120 .addMBB(MI->getOperand(0).getMBB()) in replaceWithBRcc()
138 .addMBB(MI->getOperand(0).getMBB()) in replaceWithCmpBcc()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DMachineSSAUpdater.cpp102 MachineBasicBlock *SrcBB = I->getOperand(i+1).getMBB(); in LookForIdenticalPHI()
226 return MI->getOperand(i+1).getMBB(); in findCorrespondingPred()
281 return PHI->getOperand(idx+1).getMBB(); in getIncomingBlock()
H A DUnreachableBlockElim.cpp127 start->getOperand(i).getMBB() == &BB) { in runOnMachineFunction()
158 if (!preds.count(phi->getOperand(i).getMBB())) { in runOnMachineFunction()
H A DPHIElimination.cpp431 MPhi->getOperand(i + 1).getMBB()->getNumber(), in LowerPHINode()
449 MachineBasicBlock &opBlock = *MPhi->getOperand(i*2+2).getMBB(); in LowerPHINode()
643 BBI.getOperand(i + 1).getMBB()->getNumber(), in analyzePHINodes()
666 MachineBasicBlock *PreMBB = BBI->getOperand(i+1).getMBB(); in SplitPHIEdges()
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonCFGOptimizer.cpp177 CondBranchTarget = MI.getOperand(1).getMBB(); in runOnMachineFunction()
190 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()
/openbsd-src/gnu/llvm/llvm/lib/Target/Sparc/
H A DSparcInstrInfo.cpp193 Target = LastInst->getOperand(0).getMBB(); in parseCondBranch()
220 return MI.getOperand(0).getMBB(); in getBranchDestBlock()
243 TBB = LastInst->getOperand(0).getMBB(); in analyzeBranch()
267 TBB = LastInst->getOperand(0).getMBB(); in analyzeBranch()
283 FBB = LastInst->getOperand(0).getMBB(); in analyzeBranch()
290 TBB = SecondLastInst->getOperand(0).getMBB(); in analyzeBranch()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DCSEMIRBuilder.cpp25 auto MBBEnd = getMBB().end(); in dominates()
42 MachineBasicBlock *CurMBB = &getMBB(); in getDominatingInstrForID()
103 B.addNodeIDMBB(&getMBB()); in profileMBBOpcode()
H A DIRTranslator.cpp283 MachineBasicBlock &IRTranslator::getMBB(const BasicBlock &BB) { in getMBB() function in IRTranslator
370 &RI, &MIRBuilder.getMBB(), SwiftError.getFunctionArg()); in translateRet()
575 auto &CurMBB = MIRBuilder.getMBB(); in translateBr()
576 auto *Succ0MBB = &getMBB(*BrInst.getSuccessor(0)); in translateBr()
585 CurMBB.addSuccessor(&getMBB(*Succ)); in translateBr()
592 MachineBasicBlock *Succ1MBB = &getMBB(*BrInst.getSuccessor(1)); in translateBr()
696 MachineBasicBlock *Succ = &getMBB(*I.getCaseSuccessor()); in translateSwitch()
705 MachineBasicBlock *DefaultMBB = &getMBB(*SI.getDefaultDest()); in translateSwitch()
712 MachineBasicBlock *SwitchMBB = &getMBB(*SI.getParent()); in translateSwitch()
1263 MachineBasicBlock &CurBB = MIRBuilder.getMBB(); in translateIndirectBr()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64RedundantCopyElimination.cpp131 MBB == CondBr.getOperand(1).getMBB()) || in knownRegValInBlock()
133 MBB != CondBr.getOperand(1).getMBB())) { in knownRegValInBlock()
148 MachineBasicBlock *BrTarget = CondBr.getOperand(1).getMBB(); in knownRegValInBlock()

1234567