Home
last modified time | relevance | path

Searched refs:ToReg (Results 1 – 8 of 8) sorted by relevance

/external/llvm/lib/Target/WebAssembly/
DWebAssemblyStoreResults.cpp93 unsigned ToReg = MI.getOperand(0).getReg(); in runOnMachineFunction() local
115 O.setReg(ToReg); in runOnMachineFunction()
/external/llvm/lib/MC/
DMCRegisterInfo.cpp69 return I->ToReg; in getDwarfRegNum()
79 return I->ToReg; in getLLVMRegNum()
/external/llvm/lib/CodeGen/
DMachineRegisterInfo.cpp285 void MachineRegisterInfo::replaceRegWith(unsigned FromReg, unsigned ToReg) { in replaceRegWith() argument
286 assert(FromReg != ToReg && "Cannot replace a reg with itself"); in replaceRegWith()
294 if (TargetRegisterInfo::isPhysicalRegister(ToReg)) { in replaceRegWith()
295 O.substPhysReg(ToReg, *TRI); in replaceRegWith()
297 O.setReg(ToReg); in replaceRegWith()
DTwoAddressInstructionPass.cpp105 bool isRevCopyChain(unsigned FromReg, unsigned ToReg, int Maxlen);
336 bool TwoAddressInstructionPass::isRevCopyChain(unsigned FromReg, unsigned ToReg, in isRevCopyChain() argument
346 if (TmpReg == ToReg) in isRevCopyChain()
762 unsigned ToReg = VirtRegPairs.back(); in scanUses() local
767 bool isNew = DstRegMap.insert(std::make_pair(FromReg, ToReg)).second; in scanUses()
769 assert(DstRegMap[FromReg] == ToReg &&"Can't map to two dst registers!"); in scanUses()
770 ToReg = FromReg; in scanUses()
772 bool isNew = DstRegMap.insert(std::make_pair(DstReg, ToReg)).second; in scanUses()
774 assert(DstRegMap[DstReg] == ToReg && "Can't map to two dst registers!"); in scanUses()
DMachineInstr.cpp1381 unsigned ToReg, in substituteRegister() argument
1384 if (TargetRegisterInfo::isPhysicalRegister(ToReg)) { in substituteRegister()
1386 ToReg = RegInfo.getSubReg(ToReg, SubIdx); in substituteRegister()
1390 MO.substPhysReg(ToReg, RegInfo); in substituteRegister()
1396 MO.substVirtReg(ToReg, SubIdx, RegInfo); in substituteRegister()
/external/llvm/include/llvm/MC/
DMCRegisterInfo.h143 unsigned ToReg; member
/external/llvm/include/llvm/CodeGen/
DMachineRegisterInfo.h518 void replaceRegWith(unsigned FromReg, unsigned ToReg);
DMachineInstr.h1037 void substituteRegister(unsigned FromReg, unsigned ToReg, unsigned SubIdx,