/external/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyStoreResults.cpp | 79 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/ |
D | MCRegisterInfo.cpp | 67 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/ |
D | MachineRegisterInfo.cpp | 136 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()
|
D | TwoAddressInstructionPass.cpp | 717 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()
|
D | MachineInstr.cpp | 1132 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/ |
D | MCRegisterInfo.h | 142 unsigned FromReg; member 145 bool operator<(DwarfLLVMRegPair RHS) const { return FromReg < RHS.FromReg; }
|
/external/llvm/lib/CodeGen/ |
D | MachineRegisterInfo.cpp | 315 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()
|
D | TwoAddressInstructionPass.cpp | 105 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()
|
D | MachineInstr.cpp | 1488 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()
|
D | MachinePipeliner.cpp | 2440 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/ |
D | MachineRegisterInfo.h | 174 void replaceRegWith(unsigned FromReg, unsigned ToReg);
|
D | MachineInstr.h | 440 void substituteRegister(unsigned FromReg, unsigned ToReg, unsigned SubIdx,
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineRegisterInfo.h | 534 void replaceRegWith(unsigned FromReg, unsigned ToReg);
|
D | MachineInstr.h | 1073 void substituteRegister(unsigned FromReg, unsigned ToReg, unsigned SubIdx,
|