Home
last modified time | relevance | path

Searched refs:addMBB (Results 1 – 25 of 104) sorted by relevance

12345

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsBranchExpansion.cpp357 MIB.addMBB(MBBOpnd); in replaceBranch()
490 .addMBB(TgtMBB, MipsII::MO_ABS_HI) in expandToLongBranch()
491 .addMBB(BalTgtMBB); in expandToLongBranch()
499 .addMBB(BalTgtMBB); in expandToLongBranch()
598 .addMBB(TgtMBB, MipsII::MO_ABS_HI) in expandToLongBranch()
599 .addMBB(BalTgtMBB); in expandToLongBranch()
610 .addMBB(BalTgtMBB); in expandToLongBranch()
667 .addMBB(TgtMBB); in expandToLongBranch()
691 .addMBB(TgtMBB, MipsII::MO_HIGHER); in expandToLongBranch()
698 .addMBB(TgtMBB, MipsII::MO_ABS_HI); in expandToLongBranch()
[all …]
H A DMips16ISelLowering.cpp545 .addMBB(sinkMBB); in emitSel16()
562 .addMBB(thisMBB) in emitSel16()
564 .addMBB(copy0MBB); in emitSel16()
609 BuildMI(BB, DL, TII->get(Opc1)).addMBB(sinkMBB); in emitSelT16()
626 .addMBB(thisMBB) in emitSelT16()
628 .addMBB(copy0MBB); in emitSelT16()
675 BuildMI(BB, DL, TII->get(Opc1)).addMBB(sinkMBB); in emitSeliT16()
692 .addMBB(thisMBB) in emitSeliT16()
694 .addMBB(copy0MBB); in emitSeliT16()
714 BuildMI(*BB, MI, MI.getDebugLoc(), TII->get(BtOpc)).addMBB(target); in emitFEXT_T8I816_ins()
[all …]
H A DMipsExpandPseudo.cpp150 .addReg(Scratch2).addReg(ShiftCmpVal).addMBB(sinkMBB); in expandAtomicCmpSwapSubword()
170 .addMBB(loop1MBB); in expandAtomicCmpSwapSubword()
280 .addReg(Dest, RegState::Kill).addReg(OldVal).addMBB(exitMBB); in expandAtomicCmpSwap()
290 .addReg(Scratch, RegState::Kill).addReg(ZERO).addMBB(loop1MBB); in expandAtomicCmpSwap()
540 .addReg(StoreVal).addReg(Mips::ZERO).addMBB(loopMBB); in expandAtomicBinOpSubword()
804 .addMBB(loopMBB); in expandAtomicBinOp()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXInstrInfo.cpp196 BuildMI(&MBB, DL, get(NVPTX::GOTO)).addMBB(TBB); in insertBranch()
199 .addMBB(TBB); in insertBranch()
204 BuildMI(&MBB, DL, get(NVPTX::CBranch)).addReg(Cond[0].getReg()).addMBB(TBB); in insertBranch()
205 BuildMI(&MBB, DL, get(NVPTX::GOTO)).addMBB(FBB); in insertBranch()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVExpandAtomicPseudoInsts.cpp253 .addMBB(LoopMBB); in doAtomicBinOpExpansion()
338 .addMBB(LoopMBB); in doMaskedAtomicBinOpExpansion()
456 .addMBB(LoopTailMBB); in expandAtomicMinMaxOp()
464 .addMBB(LoopTailMBB); in expandAtomicMinMaxOp()
471 .addMBB(LoopTailMBB); in expandAtomicMinMaxOp()
477 .addMBB(LoopTailMBB); in expandAtomicMinMaxOp()
497 .addMBB(LoopHeadMBB); in expandAtomicMinMaxOp()
552 .addMBB(DoneMBB); in expandAtomicCmpXchg()
562 .addMBB(LoopHeadMBB); in expandAtomicCmpXchg()
577 .addMBB(DoneMBB); in expandAtomicCmpXchg()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrInfo.cpp184 BuildMI(&MBB, DL, get(WebAssembly::BR)).addMBB(TBB); in insertBranch()
191 BuildMI(&MBB, DL, get(WebAssembly::BR_IF)).addMBB(TBB).add(Cond[1]); in insertBranch()
193 BuildMI(&MBB, DL, get(WebAssembly::BR_UNLESS)).addMBB(TBB).add(Cond[1]); in insertBranch()
197 BuildMI(&MBB, DL, get(WebAssembly::BR)).addMBB(FBB); in insertBranch()
H A DWebAssemblyFixIrreducibleControlFlow.cpp385 MIB.addMBB(Entry); in makeSingleEntryLoop()
456 BuildMI(Routing, DebugLoc(), TII.get(WebAssembly::BR)).addMBB(Dispatch); in makeSingleEntryLoop()
479 MIB.addMBB(MIB.getInstr() in makeSingleEntryLoop()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRInstrInfo.cpp356 .addMBB(UnCondBrIter->getOperand(0).getMBB()); in analyzeBranch()
358 .addMBB(TargetBB); in analyzeBranch()
413 auto &MI = *BuildMI(&MBB, DL, get(AVR::RJMPk)).addMBB(TBB); in insertBranch()
422 auto &CondMI = *BuildMI(&MBB, DL, getBrCond(CC)).addMBB(TBB); in insertBranch()
429 auto &MI = *BuildMI(&MBB, DL, get(AVR::RJMPk)).addMBB(FBB); in insertBranch()
568 auto &MI = *BuildMI(&MBB, DL, get(AVR::JMPk)).addMBB(&NewDestBB); in insertIndirectBranch()
H A DAVRISelLowering.cpp1609 BuildMI(BB, dl, TII.get(AVR::RJMPk)).addMBB(CheckBB); in insertShift()
1625 .addMBB(BB) in insertShift()
1627 .addMBB(LoopBB); in insertShift()
1630 .addMBB(BB) in insertShift()
1632 .addMBB(LoopBB); in insertShift()
1635 .addMBB(BB) in insertShift()
1637 .addMBB(LoopBB); in insertShift()
1741 BuildMI(MBB, dl, TII.getBrCond(CC)).addMBB(trueMBB); in EmitInstrWithCustomInserter()
1742 BuildMI(MBB, dl, TII.get(AVR::RJMPk)).addMBB(falseMBB); in EmitInstrWithCustomInserter()
1753 .addMBB(MBB) in EmitInstrWithCustomInserter()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUMachineCFGStructurizer.cpp982 addMBB(MBB); in addMBBs()
1468 MIB.addMBB(SourceMBB); in shrinkPHI()
1480 MIB.addMBB(SourcePred); in shrinkPHI()
1512 MIB.addMBB(LastMerge); in replacePHI()
1522 MIB.addMBB(SourcePred); in replacePHI()
1561 MIB.addMBB(IfMBB); in replaceEntryPHI()
1755 MIB.addMBB(IfBB); in insertMergePHI()
1757 MIB.addMBB(CodeBB); in insertMergePHI()
2184 MIB.addMBB(Exit); in createEntryPHI()
2438 MIB.addMBB(Entry); in splitLoopPHI()
[all …]
H A DSIOptimizeVGPRLiveRange.cpp485 PHI.addReg(Reg).addMBB(Pred); in optimizeLiveRange()
487 PHI.addReg(UndefReg, RegState::Undef).addMBB(Pred); in optimizeLiveRange()
537 PHI.addReg(UndefReg, RegState::Undef).addMBB(Pred); in optimizeWaterfallLiveRange()
539 PHI.addReg(Reg).addMBB(Pred); in optimizeWaterfallLiveRange()
H A DSILateBranchLowering.cpp119 .addMBB(EarlyExitBlock); in earlyTerm()
222 .addMBB(EmptyMBBAtEnd); in runOnMachineFunction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreInstrInfo.cpp286 BuildMI(&MBB, DL, get(XCore::BRFU_lu6)).addMBB(TBB); in insertBranch()
291 .addMBB(TBB); in insertBranch()
300 .addMBB(TBB); in insertBranch()
301 BuildMI(&MBB, DL, get(XCore::BRFU_lu6)).addMBB(FBB); in insertBranch()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCBranchFinalize.cpp120 .addMBB(MI->getOperand(0).getMBB()) in replaceWithBRcc()
138 .addMBB(MI->getOperand(0).getMBB()) in replaceWithCmpBcc()
H A DARCInstrInfo.cpp383 BuildMI(&MBB, dl, get(ARC::BR)).addMBB(TBB); in insertBranch()
388 MIB.addMBB(TBB); in insertBranch()
399 BuildMI(&MBB, dl, get(ARC::BR)).addMBB(FBB); in insertBranch()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430InstrInfo.cpp268 BuildMI(&MBB, DL, get(MSP430::JMP)).addMBB(TBB); in insertBranch()
274 BuildMI(&MBB, DL, get(MSP430::JCC)).addMBB(TBB).addImm(Cond[0].getImm()); in insertBranch()
279 BuildMI(&MBB, DL, get(MSP430::JMP)).addMBB(FBB); in insertBranch()
H A DMSP430BranchSelector.cpp197 .addMBB(NextMBB) in expandBranches()
204 MI = BuildMI(*MBB, MI, dl, TII->get(MSP430::Bi)).addMBB(DestBB); in expandBranches()
H A DMSP430ISelLowering.cpp1511 .addMBB(RemBB) in EmitShiftInstr()
1520 .addReg(SrcReg).addMBB(BB) in EmitShiftInstr()
1521 .addReg(ShiftReg2).addMBB(LoopBB); in EmitShiftInstr()
1523 .addReg(ShiftAmtSrcReg).addMBB(BB) in EmitShiftInstr()
1524 .addReg(ShiftAmtReg2).addMBB(LoopBB); in EmitShiftInstr()
1538 .addMBB(LoopBB) in EmitShiftInstr()
1544 .addReg(SrcReg).addMBB(BB) in EmitShiftInstr()
1545 .addReg(ShiftReg2).addMBB(LoopBB); in EmitShiftInstr()
1597 .addMBB(copy1MBB) in EmitInstrWithCustomInserter()
1614 .addMBB(copy0MBB) in EmitInstrWithCustomInserter()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCExpandAtomicPseudoInsts.cpp199 .addMBB(LoopMBB); in expandAtomicRMW128()
270 .addMBB(CmpFailMBB); in expandAtomicCmpSwap128()
281 .addMBB(LoopCmpMBB); in expandAtomicCmpSwap128()
282 BuildMI(CurrentMBB, DL, TII->get(PPC::B)).addMBB(ExitMBB); in expandAtomicCmpSwap128()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcInstrInfo.cpp255 BuildMI(&MBB, DL, get(SP::BA)).addMBB(TBB); in insertBranch()
263 BuildMI(&MBB, DL, get(SP::BCOND)).addMBB(TBB).addImm(CC); in insertBranch()
265 BuildMI(&MBB, DL, get(SP::FBCOND)).addMBB(TBB).addImm(CC); in insertBranch()
269 BuildMI(&MBB, DL, get(SP::BA)).addMBB(FBB); in insertBranch()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineSSAUpdater.cpp195 InsertedPHI.addReg(PredValues[i].second).addMBB(PredValues[i].first); in GetValueInMiddleOfBlock()
315 MachineInstrBuilder(*Pred->getParent(), PHI).addReg(Val).addMBB(Pred); in AddPHIOperand()
H A DModuloSchedule.cpp553 NewPhi.addReg(PhiOp1).addMBB(BB1); in generateExistingPhis()
554 NewPhi.addReg(PhiOp2).addMBB(BB2); in generateExistingPhis()
669 NewPhi.addReg(PhiOp1).addMBB(BB1); in generatePhis()
670 NewPhi.addReg(PhiOp2).addMBB(BB2); in generatePhis()
1445 .addMBB(PreheaderBB) // Block choice is arbitrary and has no effect. in remapUse()
1447 .addMBB(BB); // Block choice is arbitrary and has no effect. in remapUse()
1497 .addMBB(PreheaderBB) in phi()
1499 .addMBB(BB); in phi()
1641 .addMBB(SourceBB); in moveStageBetweenBlocks()
1865 .addMBB(BB); in CreateLCSSAExitingBlock()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kInstrInfo.cpp200 .addMBB(UncondBranch.second); in AnalyzeBranchImpl()
291 BuildMI(&MBB, DL, get(M68k::BRA8)).addMBB(TBB); in insertBranch()
302 BuildMI(&MBB, DL, get(Opc)).addMBB(TBB); in insertBranch()
306 BuildMI(&MBB, DL, get(M68k::BRA8)).addMBB(FBB); in insertBranch()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86CmovConversion.cpp694 BuildMI(MBB, DL, TII->get(X86::JCC_1)).addMBB(SinkMBB).addImm(CC); in convertCmovInstsToBranches()
839 .addMBB(FalseMBB) in convertCmovInstsToBranches()
841 .addMBB(MBB); in convertCmovInstsToBranches()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMConstantIslandPass.cpp954 BuildMI(OrigBB, DebugLoc(), TII->get(Opc)).addMBB(NewBB); in splitBlockBeforeInstr()
957 .addMBB(NewBB) in splitBlockBeforeInstr()
1340 BuildMI(UserMBB, DebugLoc(), TII->get(UncondBr)).addMBB(NewMBB); in createNewWater()
1343 .addMBB(NewMBB) in createNewWater()
1760 .addMBB(NextBB).addImm(CC).addReg(CCReg); in fixupConditionalBr()
1765 .addMBB(DestBB) in fixupConditionalBr()
1768 BuildMI(MBB, DebugLoc(), TII->get(Br.UncondBr)).addMBB(DestBB); in fixupConditionalBr()
1991 .addMBB(DestBB, Br.MI->getOperand(0).getTargetFlags()); in optimizeThumb2Branches()
2453 .addMBB(BB) in adjustJTTargetBlockForward()
2457 .addMBB(BB) in adjustJTTargetBlockForward()

12345