Home
last modified time | relevance | path

Searched refs:OldReg (Results 1 – 11 of 11) sorted by relevance

/external/llvm/lib/CodeGen/
DLiveDebugVariables.cpp251 void renameRegister(unsigned OldReg, unsigned NewReg, unsigned SubIdx,
338 void renameRegister(unsigned OldReg, unsigned NewReg, unsigned SubIdx);
341 void splitRegister(unsigned OldReg, ArrayRef<LiveInterval*> NewRegs);
718 renameRegister(unsigned OldReg, unsigned NewReg, unsigned SubIdx, in renameRegister() argument
723 if (!Loc.isReg() || Loc.getReg() != OldReg) in renameRegister()
734 renameRegister(unsigned OldReg, unsigned NewReg, unsigned SubIdx) { in renameRegister() argument
735 UserValue *UV = lookupVirtReg(OldReg); in renameRegister()
741 if (OldReg != NewReg) in renameRegister()
742 virtRegToEqClass.erase(OldReg); in renameRegister()
745 UV->renameRegister(OldReg, NewReg, SubIdx, TRI); in renameRegister()
[all …]
DLiveDebugVariables.h45 void renameRegister(unsigned OldReg, unsigned NewReg, unsigned SubIdx);
50 void splitRegister(unsigned OldReg, ArrayRef<LiveInterval*> NewRegs);
DAntiDepBreaker.h62 void UpdateDbgValue(MachineInstr *MI, unsigned OldReg, unsigned NewReg) { in UpdateDbgValue() argument
64 if (MI && MI->getOperand(0).isReg() && MI->getOperand(0).getReg() == OldReg) in UpdateDbgValue()
DOptimizePHIs.cpp167 unsigned OldReg = MI->getOperand(0).getReg(); in OptimizeBB() local
168 if (!MRI->constrainRegClass(SingleValReg, MRI->getRegClass(OldReg))) in OptimizeBB()
171 MRI->replaceRegWith(OldReg, SingleValReg); in OptimizeBB()
DMachineCSE.cpp499 unsigned OldReg = MO.getReg(); in ProcessBlock() local
506 if (OldReg == NewReg) { in ProcessBlock()
511 assert(TargetRegisterInfo::isVirtualRegister(OldReg) && in ProcessBlock()
515 if (!isProfitableToCSE(NewReg, OldReg, CSMI, MI)) { in ProcessBlock()
523 const TargetRegisterClass *OldRC = MRI->getRegClass(OldReg); in ProcessBlock()
530 CSEPairs.push_back(std::make_pair(OldReg, NewReg)); in ProcessBlock()
DMachineSSAUpdater.cpp234 void MachineSSAUpdater::ReplaceRegWith(unsigned OldReg, unsigned NewReg) { in ReplaceRegWith() argument
235 MRI->replaceRegWith(OldReg, NewReg); in ReplaceRegWith()
240 if (I->second == OldReg) in ReplaceRegWith()
DLiveRangeEdit.cpp34 LiveInterval &LiveRangeEdit::createFrom(unsigned OldReg) { in createFrom() argument
35 unsigned VReg = MRI.createVirtualRegister(MRI.getRegClass(OldReg)); in createFrom()
38 VRM->setIsSplitFromReg(VReg, VRM->getOriginal(OldReg)); in createFrom()
/external/llvm/include/llvm/CodeGen/
DMachineSSAUpdater.h106 void ReplaceRegWith(unsigned OldReg, unsigned NewReg);
DLiveRangeEdit.h134 LiveInterval &createFrom(unsigned OldReg);
/external/llvm/lib/Target/X86/
DX86FloatingPoint.cpp949 unsigned OldReg = getStackEntry(FixCount); in shuffleStackTop() local
952 if (Reg == OldReg) in shuffleStackTop()
957 moveToTop(OldReg, I); in shuffleStackTop()
/external/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp2924 int OldReg = Reg; in parseRegisterList() local
2939 if (MRI->getEncodingValue(Reg) < MRI->getEncodingValue(OldReg)) { in parseRegisterList()
2945 if (MRI->getEncodingValue(Reg) == MRI->getEncodingValue(OldReg)) { in parseRegisterList()
2954 Reg != OldReg + 1) in parseRegisterList()
3172 int OldReg = Reg; in parseVectorList() local
3193 if (Reg != OldReg + 1) { in parseVectorList()
3215 Spacing = 1 + (Reg == OldReg + 2); in parseVectorList()
3218 if (Reg != OldReg + Spacing) { in parseVectorList()