Home
last modified time | relevance | path

Searched refs:FromReg (Results 1 – 14 of 14) sorted by relevance

/external/llvm/lib/Target/WebAssembly/
DWebAssemblyStoreResults.cpp79 unsigned FromReg, unsigned ToReg, in ReplaceDominatedUses() argument
85 LiveInterval *FromLI = &LIS.getInterval(FromReg); in ReplaceDominatedUses()
93 for (auto I = MRI.use_begin(FromReg), E = MRI.use_end(); I != E;) { in ReplaceDominatedUses()
134 MI.addRegisterKilled(FromReg, in ReplaceDominatedUses()
147 unsigned FromReg = MI.getOperand(WebAssembly::StoreValueOperandNo).getReg(); in optimizeStore() local
148 return ReplaceDominatedUses(MBB, MI, FromReg, ToReg, MRI, MDT, LIS); in optimizeStore()
172 unsigned FromReg = MI.getOperand(2).getReg(); in optimizeCall() local
174 if (MRI.getRegClass(FromReg) != MRI.getRegClass(ToReg)) in optimizeCall()
177 return ReplaceDominatedUses(MBB, MI, FromReg, ToReg, MRI, MDT, LIS); in optimizeCall()
/external/llvm/lib/MC/
DMCRegisterInfo.cpp67 if (I == M+Size || I->FromReg != RegNum) in getDwarfRegNum()
78 assert(I != M+Size && I->FromReg == RegNum && "Invalid RegNum"); in getLLVMRegNum()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DMachineRegisterInfo.cpp136 void MachineRegisterInfo::replaceRegWith(unsigned FromReg, unsigned ToReg) { in replaceRegWith() argument
137 assert(FromReg != ToReg && "Cannot replace a reg with itself"); in replaceRegWith()
140 for (reg_iterator I = reg_begin(FromReg), E = reg_end(); I != E; ) { in replaceRegWith()
DTwoAddressInstructionPass.cpp717 unsigned FromReg = VirtRegPairs.back(); in ScanUses() local
719 bool isNew = DstRegMap.insert(std::make_pair(FromReg, ToReg)).second; in ScanUses()
721 assert(DstRegMap[FromReg] == ToReg &&"Can't map to two dst registers!"); in ScanUses()
722 ToReg = FromReg; in ScanUses()
DMachineInstr.cpp1132 void MachineInstr::substituteRegister(unsigned FromReg, in substituteRegister() argument
1141 if (!MO.isReg() || MO.getReg() != FromReg) in substituteRegister()
1148 if (!MO.isReg() || MO.getReg() != FromReg) in substituteRegister()
/external/llvm/include/llvm/MC/
DMCRegisterInfo.h142 unsigned FromReg; member
145 bool operator<(DwarfLLVMRegPair RHS) const { return FromReg < RHS.FromReg; }
/external/llvm/lib/CodeGen/
DMachineRegisterInfo.cpp315 void MachineRegisterInfo::replaceRegWith(unsigned FromReg, unsigned ToReg) { in replaceRegWith() argument
316 assert(FromReg != ToReg && "Cannot replace a reg with itself"); in replaceRegWith()
321 for (reg_iterator I = reg_begin(FromReg), E = reg_end(); I != E; ) { in replaceRegWith()
DTwoAddressInstructionPass.cpp105 bool isRevCopyChain(unsigned FromReg, unsigned ToReg, int Maxlen);
336 bool TwoAddressInstructionPass::isRevCopyChain(unsigned FromReg, unsigned ToReg, in isRevCopyChain() argument
338 unsigned TmpReg = FromReg; in isRevCopyChain()
764 unsigned FromReg = VirtRegPairs.back(); in scanUses() local
766 bool isNew = DstRegMap.insert(std::make_pair(FromReg, ToReg)).second; in scanUses()
768 assert(DstRegMap[FromReg] == ToReg &&"Can't map to two dst registers!"); in scanUses()
769 ToReg = FromReg; in scanUses()
DMachineInstr.cpp1488 void MachineInstr::substituteRegister(unsigned FromReg, in substituteRegister() argument
1496 if (!MO.isReg() || MO.getReg() != FromReg) in substituteRegister()
1502 if (!MO.isReg() || MO.getReg() != FromReg) in substituteRegister()
DMachinePipeliner.cpp2440 static void replaceRegUsesAfterLoop(unsigned FromReg, unsigned ToReg, in replaceRegUsesAfterLoop() argument
2444 for (MachineRegisterInfo::use_iterator I = MRI.use_begin(FromReg), in replaceRegUsesAfterLoop()
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DMachineRegisterInfo.h174 void replaceRegWith(unsigned FromReg, unsigned ToReg);
DMachineInstr.h440 void substituteRegister(unsigned FromReg, unsigned ToReg, unsigned SubIdx,
/external/llvm/include/llvm/CodeGen/
DMachineRegisterInfo.h534 void replaceRegWith(unsigned FromReg, unsigned ToReg);
DMachineInstr.h1073 void substituteRegister(unsigned FromReg, unsigned ToReg, unsigned SubIdx,