Home
last modified time | relevance | path

Searched refs:NewVReg (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCVSXCopy.cpp105 Register NewVReg = MRI.createVirtualRegister(SrcRC); in processBlock() local
107 TII->get(TargetOpcode::SUBREG_TO_REG), NewVReg) in processBlock()
114 SrcMO.setReg(NewVReg); in processBlock()
127 Register NewVReg = MRI.createVirtualRegister(DstRC); in processBlock() local
129 NewVReg) in processBlock()
133 SrcMO.setReg(NewVReg); in processBlock()
H A DPPCVSXSwapRemoval.cpp925 Register NewVReg = MRI->createVirtualRegister(DstRC); in handleSpecialSwappables() local
927 MI->getOperand(0).setReg(NewVReg); in handleSpecialSwappables()
944 .addReg(NewVReg); in handleSpecialSwappables()
956 insertSwap(MI, InsertPoint, DstReg, NewVReg); in handleSpecialSwappables()
H A DPPCMIPeephole.cpp1856 Register NewVReg = MRI->createVirtualRegister(&PPC::CRRCRegClass); in eliminateRedundantCompare() local
1858 TII->get(PPC::PHI), NewVReg) in eliminateRedundantCompare()
1861 BI2->getOperand(1).setReg(NewVReg); in eliminateRedundantCompare()
1862 addRegToUpdate(NewVReg); in eliminateRedundantCompare()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DInlineSpiller.cpp683 Register NewVReg = Edit->createFrom(Original); in reMaterializeFor() local
687 Edit->rematerializeAt(*MI.getParent(), MI, NewVReg, RM, TRI); in reMaterializeFor()
702 MO.setReg(NewVReg); in reMaterializeFor()
1075 void InlineSpiller::insertReload(Register NewVReg, in insertReload() argument
1081 TII.loadRegFromStackSlot(MBB, MI, NewVReg, StackSlot, in insertReload()
1082 MRI.getRegClass(NewVReg), &TRI, Register()); in insertReload()
1087 NewVReg)); in insertReload()
1105 void InlineSpiller::insertSpill(Register NewVReg, bool isKill, in insertSpill() argument
1117 TII.storeRegToStackSlot(MBB, SpillBefore, NewVReg, isKill, StackSlot, in insertSpill()
1118 MRI.getRegClass(NewVReg), &TRI, Register()); in insertSpill()
[all …]
H A DRegisterBankInfo.cpp718 for (Register &NewVReg : NewVRegsForOpIdx) { in createVRegs()
720 assert(NewVReg == 0 && "Register has already been created"); in createVRegs()
726 NewVReg = MRI.createGenericVirtualRegister(LLT::scalar(PartMap->Length)); in createVRegs()
727 MRI.setRegBank(NewVReg, *PartMap->RegBank); in createVRegs()
734 Register NewVReg) { in setVRegs() argument
743 NewVRegs[OpToNewVRegIdx[OpIdx] + PartialMapIdx] = NewVReg; in setVRegs()
H A DRenameIndependentSubregs.cpp142 Register NewVReg = MRI->createVirtualRegister(RegClass); in INITIALIZE_PASS_DEPENDENCY() local
143 LiveInterval &NewLI = LIS->createEmptyInterval(NewVReg); in INITIALIZE_PASS_DEPENDENCY()
145 LLVM_DEBUG(dbgs() << ' ' << printReg(NewVReg)); in INITIALIZE_PASS_DEPENDENCY()
H A DPeepholeOptimizer.cpp1294 Register NewVReg = MRI->createVirtualRegister(DefRC); in rewriteSource() local
1298 TII->get(TargetOpcode::COPY), NewVReg) in rewriteSource()
1309 MRI->replaceRegWith(Def.Reg, NewVReg); in rewriteSource()
1310 MRI->clearKillFlags(NewVReg); in rewriteSource()
H A DLiveIntervals.cpp1775 Register NewVReg = MRI->cloneVirtualRegister(Reg); in splitSeparateComponents() local
1776 LiveInterval &NewLI = createEmptyInterval(NewVReg); in splitSeparateComponents()
H A DRegAllocGreedy.cpp2042 for (Register NewVReg : CurrentNewVRegs) in tryLastChanceRecoloring() local
2043 NewVRegs.push_back(NewVReg); in tryLastChanceRecoloring()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DInstrEmitter.cpp355 Register NewVReg = MRI->createVirtualRegister(OpRC); in AddRegisterOperand() local
357 TII->get(TargetOpcode::COPY), NewVReg).addReg(VReg); in AddRegisterOperand()
358 VReg = NewVReg; in AddRegisterOperand()
425 Register NewVReg = MRI->createVirtualRegister(IIRC); in AddOperand() local
427 TII->get(TargetOpcode::COPY), NewVReg).addReg(VReg); in AddOperand()
428 VReg = NewVReg; in AddOperand()
644 Register NewVReg = MRI->createVirtualRegister(DstRC); in EmitCopyToRegClassNode() local
646 NewVReg).addReg(VReg); in EmitCopyToRegClassNode()
649 bool isNew = VRBaseMap.insert(std::make_pair(Op, NewVReg)).second; in EmitCopyToRegClassNode()
661 Register NewVReg = MRI->createVirtualRegister(TRI->getAllocatableClass(RC)); in EmitRegSequence() local
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DRegisterBankInfo.h363 void setVRegs(unsigned OpIdx, unsigned PartialMapIdx, Register NewVReg);
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.cpp635 unsigned *NewVReg = nullptr) { in canFoldIntoCSel() argument
697 if (NewVReg) in canFoldIntoCSel()
698 *NewVReg = DefMI->getOperand(SrcOpNum).getReg(); in canFoldIntoCSel()
857 unsigned NewVReg = 0; in insertSelect() local
858 unsigned FoldedOpc = canFoldIntoCSel(MRI, TrueReg, &NewVReg); in insertSelect()
865 FoldedOpc = canFoldIntoCSel(MRI, FalseReg, &NewVReg); in insertSelect()
869 FalseReg = NewVReg; in insertSelect()
872 MRI.clearKillFlags(NewVReg); in insertSelect()