Home
last modified time | relevance | path

Searched refs:CurrentMBB (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCExpandAtomicPseudoInsts.cpp161 MachineBasicBlock *CurrentMBB = LoopMBB; in expandAtomicRMW128() local
162 BuildMI(CurrentMBB, DL, LL, Old).addReg(RA).addReg(RB); in expandAtomicRMW128()
166 PairedCopy(TII, *CurrentMBB, CurrentMBB->end(), DL, ScratchHi, ScratchLo, in expandAtomicRMW128()
170 BuildMI(CurrentMBB, DL, TII->get(PPC::ADDC8), ScratchLo) in expandAtomicRMW128()
173 BuildMI(CurrentMBB, DL, TII->get(PPC::ADDE8), ScratchHi) in expandAtomicRMW128()
178 BuildMI(CurrentMBB, DL, TII->get(PPC::SUBFC8), ScratchLo) in expandAtomicRMW128()
181 BuildMI(CurrentMBB, DL, TII->get(PPC::SUBFE8), ScratchHi) in expandAtomicRMW128()
188 BuildMI(CurrentMBB, DL, TII->get((Instr)), ScratchLo) \ in expandAtomicRMW128()
191 BuildMI(CurrentMBB, DL, TII->get((Instr)), ScratchHi) \ in expandAtomicRMW128()
204 BuildMI(CurrentMBB, DL, SC).addReg(Scratch).addReg(RA).addReg(RB); in expandAtomicRMW128()
[all …]
H A DPPCFrameLowering.cpp1251 MachineBasicBlock *CurrentMBB = &PrologMBB; in inlineStackProbe() local
1449 BuildMI(*CurrentMBB, {MI}, DL, TII.get(PPC::RLDICL), ScratchReg) in inlineStackProbe()
1454 BuildMI(*CurrentMBB, {MI}, DL, TII.get(PPC::RLWINM), ScratchReg) in inlineStackProbe()
1459 BuildMI(*CurrentMBB, {MI}, DL, TII.get(isPPC64 ? PPC::SUBF8 : PPC::SUBF), in inlineStackProbe()
1463 MaterializeImm(*CurrentMBB, {MI}, NegFrameSize, ScratchReg); in inlineStackProbe()
1464 BuildMI(*CurrentMBB, {MI}, DL, TII.get(isPPC64 ? PPC::ADD8 : PPC::ADD4), in inlineStackProbe()
1468 CurrentMBB = probeRealignedStack(*CurrentMBB, {MI}, ScratchReg, FPReg); in inlineStackProbe()
1470 buildDefCFAReg(*CurrentMBB, {MI}, FPReg); in inlineStackProbe()
1473 BuildMI(*CurrentMBB, {MI}, DL, CopyInst, FPReg).addReg(SPReg).addReg(SPReg); in inlineStackProbe()
1476 buildDefCFA(*CurrentMBB, {MI}, FPReg, 0); in inlineStackProbe()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNSchedStrategy.cpp894 if (DAG.RegionBegin->getParent() != CurrentMBB) in initGCNRegion()
898 DAG.enterRegion(CurrentMBB, DAG.begin(), DAG.end(), NumRegionInstrs); in initGCNRegion()
905 LLVM_DEBUG(dbgs() << MF.getName() << ":" << printMBBReference(*CurrentMBB) in initGCNRegion()
906 << " " << CurrentMBB->getName() in initGCNRegion()
908 if (DAG.RegionEnd != CurrentMBB->end()) dbgs() << *DAG.RegionEnd; in initGCNRegion()
985 if (CurrentMBB) in setupNewBlock()
988 CurrentMBB = DAG.RegionBegin->getParent(); in setupNewBlock()
989 DAG.startBlock(CurrentMBB); in setupNewBlock()
994 DAG.computeBlockPressure(RegionIdx, CurrentMBB); in setupNewBlock()
H A DGCNSchedStrategy.h260 MachineBasicBlock *CurrentMBB = nullptr; variable
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64PreLegalizerCombiner.cpp678 MachineBasicBlock *CurrentMBB = MI.getParent(); in tryToSimplifyUADDO() local
680 if (!FailMBB->succ_empty() || CondUser->getParent() != CurrentMBB) in tryToSimplifyUADDO()
683 [&MI, FailMBB, CurrentMBB](MachineInstr &I) { in tryToSimplifyUADDO()
685 (I.getParent() == FailMBB || I.getParent() == CurrentMBB); in tryToSimplifyUADDO()