/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsMCInstLower.cpp | 124 Symbol = MO.getMBB()->getSymbol(); in LowerSymbolOperand() 241 MCSymbolRefExpr::create(MI->getOperand(1).getMBB()->getSymbol(), *Ctx); in lowerLongBranchLUi() 246 OutMI.addOperand(createSub(MI->getOperand(1).getMBB(), in lowerLongBranchLUi() 247 MI->getOperand(2).getMBB(), Kind)); in lowerLongBranchLUi() 283 MCSymbolRefExpr::create(MI->getOperand(2).getMBB()->getSymbol(), *Ctx); in lowerLongBranchADDiu() 288 OutMI.addOperand(createSub(MI->getOperand(2).getMBB(), in lowerLongBranchADDiu() 289 MI->getOperand(3).getMBB(), Kind)); in lowerLongBranchADDiu()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXInstrInfo.cpp | 108 TBB = LastInst.getOperand(0).getMBB(); in analyzeBranch() 112 TBB = LastInst.getOperand(1).getMBB(); in analyzeBranch() 130 TBB = SecondLastInst.getOperand(1).getMBB(); in analyzeBranch() 132 FBB = LastInst.getOperand(0).getMBB(); in analyzeBranch() 140 TBB = SecondLastInst.getOperand(0).getMBB(); in analyzeBranch()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/ |
H A D | AVRInstrInfo.cpp | 298 TBB = I->getOperand(0).getMBB(); in analyzeBranch() 309 if (MBB.isLayoutSuccessor(I->getOperand(0).getMBB())) { in analyzeBranch() 318 TBB = I->getOperand(0).getMBB(); in analyzeBranch() 330 MachineBasicBlock *TargetBB = I->getOperand(0).getMBB(); in analyzeBranch() 355 .addMBB(UnCondBrIter->getOperand(0).getMBB()); in analyzeBranch() 369 TBB = I->getOperand(0).getMBB(); in analyzeBranch() 381 if (TBB != I->getOperand(0).getMBB()) { in analyzeBranch() 522 return MI.getOperand(0).getMBB(); in getBranchDestBlock() 525 return MI.getOperand(1).getMBB(); in getBranchDestBlock()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCEarlyReturn.cpp | 76 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 D | PPCCTRLoops.cpp | 342 assert(ML->contains(BrInstr->getOperand(1).getMBB()) && in expandCTRLoops() 347 assert(!ML->contains(BrInstr->getOperand(1).getMBB()) && in expandCTRLoops() 356 .addMBB(BrInstr->getOperand(1).getMBB()); in expandCTRLoops()
|
H A D | PPCBranchSelector.cpp | 330 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 D | PPCPreEmitPeephole.cpp | 555 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()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyInstrInfo.cpp | 112 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 D | WebAssemblyFixIrreducibleControlFlow.cpp | 466 if (Op.isMBB() && Indices.count(Op.getMBB())) in makeSingleEntryLoop() 467 Op.setMBB(Map[{Op.getMBB(), PredInLoop}]); in makeSingleEntryLoop() 480 .getMBB()); in makeSingleEntryLoop()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/ |
H A D | MSP430InstrInfo.cpp | 195 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()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/ |
H A D | XCoreInstrInfo.cpp | 208 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()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVInstrInfo.cpp | 195 TBB = MI->getOperand(0).getMBB(); in analyzeBranch() 199 TBB = MI->getOperand(1).getMBB(); in analyzeBranch() 201 FBB = MI->getOperand(2).getMBB(); in analyzeBranch()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | MVETPAndVPTOptimisationsPass.cpp | 124 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()
|
H A D | ARMBlockPlacement.cpp | 119 Preheader->replaceSuccessor(Br->getOperand(0).getMBB(), NewBlock); in revertWhileToDoLoop() 120 NewBlock->addSuccessor(Br->getOperand(0).getMBB()); in revertWhileToDoLoop()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SIOptimizeVGPRLiveRange.cpp | 178 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() 654 MachineBasicBlock *IfTarget = MI.getOperand(2).getMBB(); in runOnMachineFunction() 682 auto *LoopHeader = MI.getOperand(0).getMBB(); in runOnMachineFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFInstrInfo.cpp | 192 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/contrib/llvm-project/llvm/lib/Target/ARC/ |
H A D | ARCBranchFinalize.cpp | 120 .addMBB(MI->getOperand(0).getMBB()) in replaceWithBRcc() 138 .addMBB(MI->getOperand(0).getMBB()) in replaceWithCmpBcc()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MachineSSAUpdater.cpp | 98 MachineBasicBlock *SrcBB = I->getOperand(i+1).getMBB(); in LookForIdenticalPHI() 221 return MI->getOperand(i+1).getMBB(); in findCorrespondingPred() 292 return PHI->getOperand(idx+1).getMBB(); in getIncomingBlock()
|
H A D | UnreachableBlockElim.cpp | 130 Phi.getOperand(i).getMBB() == &BB) { in runOnMachineFunction() 159 if (!preds.count(Phi.getOperand(i).getMBB())) { in runOnMachineFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonCFGOptimizer.cpp | 177 CondBranchTarget = MI.getOperand(1).getMBB(); in runOnMachineFunction() 190 LayoutSucc->front().getOperand(0).getMBB(); in runOnMachineFunction()
|
H A D | HexagonEarlyIfConv.cpp | 259 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() 739 MachineBasicBlock *TB = MI->getOperand(0).getMBB(); in predicateInstr() 819 if (BO.getMBB() == FP.SplitB) in updatePhiNodes() 821 else if (BO.getMBB() == FP.TrueB) in updatePhiNodes() 823 else if (BO.getMBB() == FP.FalseB) in updatePhiNodes()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/ |
H A D | SparcInstrInfo.cpp | 209 Target = LastInst->getOperand(0).getMBB(); in parseCondBranch() 240 return MI.getOperand(0).getMBB(); in getBranchDestBlock() 263 TBB = LastInst->getOperand(0).getMBB(); in analyzeBranch() 287 TBB = LastInst->getOperand(0).getMBB(); in analyzeBranch() 303 FBB = LastInst->getOperand(0).getMBB(); in analyzeBranch() 310 TBB = SecondLastInst->getOperand(0).getMBB(); in analyzeBranch()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64RedundantCopyElimination.cpp | 131 MBB == CondBr.getOperand(1).getMBB()) || in knownRegValInBlock() 133 MBB != CondBr.getOperand(1).getMBB())) { in knownRegValInBlock() 148 MachineBasicBlock *BrTarget = CondBr.getOperand(1).getMBB(); in knownRegValInBlock()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | CSEMIRBuilder.cpp | 25 auto MBBEnd = getMBB().end(); in dominates() 42 MachineBasicBlock *CurMBB = &getMBB(); in getDominatingInstrForID() 108 B.addNodeIDMBB(&getMBB()); in profileMBBOpcode()
|
H A D | IRTranslator.cpp | 289 MachineBasicBlock &IRTranslator::getMBB(const BasicBlock &BB) { in getMBB() function in IRTranslator 374 &RI, &MIRBuilder.getMBB(), SwiftError.getFunctionArg()); in translateRet() 579 auto &CurMBB = MIRBuilder.getMBB(); in translateBr() 580 auto *Succ0MBB = &getMBB(*BrInst.getSuccessor(0)); in translateBr() 590 CurMBB.addSuccessor(&getMBB(*Succ)); in translateBr() 597 MachineBasicBlock *Succ1MBB = &getMBB(*BrInst.getSuccessor(1)); in translateBr() 699 MachineBasicBlock *Succ = &getMBB(*I.getCaseSuccessor()); in translateSwitch() 708 MachineBasicBlock *DefaultMBB = &getMBB(*SI.getDefaultDest()); in translateSwitch() 715 MachineBasicBlock *SwitchMBB = &getMBB(*SI.getParent()); in translateSwitch() 1341 MachineBasicBlock &CurBB = MIRBuilder.getMBB(); in translateIndirectBr() [all …]
|