Home
last modified time | relevance | path

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

1234567

/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/lib/Target/AVR/
H A DAVRInstrInfo.cpp304 TBB = I->getOperand(0).getMBB(); in analyzeBranch()
315 if (MBB.isLayoutSuccessor(I->getOperand(0).getMBB())) { in analyzeBranch()
324 TBB = I->getOperand(0).getMBB(); in analyzeBranch()
336 MachineBasicBlock *TargetBB = I->getOperand(0).getMBB(); in analyzeBranch()
361 .addMBB(UnCondBrIter->getOperand(0).getMBB()); in analyzeBranch()
375 TBB = I->getOperand(0).getMBB(); in analyzeBranch()
387 if (TBB != I->getOperand(0).getMBB()) { in analyzeBranch()
530 return MI.getOperand(0).getMBB(); in getBranchDestBlock()
533 return MI.getOperand(1).getMBB(); in getBranchDestBlock()
/llvm-project-15.0.7/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.cpp332 assert(ML->contains(BrInstr->getOperand(1).getMBB()) && in expandCTRLoops()
337 assert(!ML->contains(BrInstr->getOperand(1).getMBB()) && in expandCTRLoops()
352 .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.cpp546 MBB.removeSuccessor(Br->getOperand(1).getMBB()); in runOnMachineFunction()
557 if (!MBB.isLayoutSuccessor(Br->getOperand(1).getMBB())) { in runOnMachineFunction()
559 TII->insertBranch(MBB, Br->getOperand(1).getMBB(), nullptr, in runOnMachineFunction()
563 if (Succ != Br->getOperand(1).getMBB()) { in runOnMachineFunction()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVInstrInfo.cpp134 TBB = MI->getOperand(0).getMBB(); in analyzeBranch()
138 TBB = MI->getOperand(1).getMBB(); in analyzeBranch()
140 FBB = MI->getOperand(2).getMBB(); in analyzeBranch()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVRedundantCopyElimination.cpp75 &MBB == MI.getOperand(2).getMBB()) in guaranteesZeroRegInBlock()
78 &MBB != MI.getOperand(2).getMBB()) in guaranteesZeroRegInBlock()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/lib/Target/BPF/
H A DBPFInstrInfo.cpp190 TBB = I->getOperand(0).getMBB(); in analyzeBranch()
200 if (MBB.isLayoutSuccessor(I->getOperand(0).getMBB())) { in analyzeBranch()
208 TBB = I->getOperand(0).getMBB(); in analyzeBranch()
/llvm-project-15.0.7/llvm/unittests/CodeGen/GlobalISel/
H A DCSETest.cpp32 CSEB.setInsertPt(B.getMBB(), B.getInsertPt()); in TEST_F()
161 CSEB.setInsertPt(CSEB.getMBB(), --CSEB.getInsertPt()); in TEST_F()
164 EXPECT_TRUE(CSEB.getInsertPt() == CSEB.getMBB().end()); in TEST_F()
/llvm-project-15.0.7/llvm/lib/Target/ARC/
H A DARCBranchFinalize.cpp120 .addMBB(MI->getOperand(0).getMBB()) in replaceWithBRcc()
138 .addMBB(MI->getOperand(0).getMBB()) in replaceWithCmpBcc()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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.cpp570 auto &CurMBB = MIRBuilder.getMBB(); in translateBr()
571 auto *Succ0MBB = &getMBB(*BrInst.getSuccessor(0)); in translateBr()
580 CurMBB.addSuccessor(&getMBB(*Succ)); in translateBr()
1258 MachineBasicBlock &CurBB = MIRBuilder.getMBB(); in translateIndirectBr()
1265 CurBB.addSuccessor(&getMBB(*Succ)); in translateIndirectBr()
2595 MachineBasicBlock *InvokeMBB = &MIRBuilder.getMBB(); in translateInvoke()
2603 MachineBasicBlock &EHPadMBB = getMBB(*EHPadBB), in translateInvoke()
2604 &ReturnMBB = getMBB(*ReturnBB); in translateInvoke()
2633 MachineBasicBlock &MBB = MIRBuilder.getMBB(); in translateLandingPad()
3449 EntryBB->addSuccessor(&getMBB(F.front())); in runOnMachineFunction()
[all …]

1234567