/external/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyStoreResults.cpp | 79 unsigned FromReg, unsigned ToReg, in ReplaceDominatedUses() argument 86 LiveInterval *ToLI = &LIS.getInterval(ToReg); in ReplaceDominatedUses() 115 O.setReg(ToReg); in ReplaceDominatedUses() 146 unsigned ToReg = MI.getOperand(0).getReg(); in optimizeStore() local 148 return ReplaceDominatedUses(MBB, MI, FromReg, ToReg, MRI, MDT, LIS); in optimizeStore() 173 unsigned ToReg = MI.getOperand(0).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/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyMemIntrinsicResults.cpp | 85 unsigned FromReg, unsigned ToReg, in replaceDominatedUses() argument 92 LiveInterval *ToLI = &LIS.getInterval(ToReg); in replaceDominatedUses() 122 O.setReg(ToReg); in replaceDominatedUses() 170 Register ToReg = MI.getOperand(0).getReg(); in optimizeCall() local 171 if (MRI.getRegClass(FromReg) != MRI.getRegClass(ToReg)) in optimizeCall() 174 return replaceDominatedUses(MBB, MI, FromReg, ToReg, MRI, MDT, LIS); in optimizeCall()
|
/external/llvm-project/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyMemIntrinsicResults.cpp | 85 unsigned FromReg, unsigned ToReg, in replaceDominatedUses() argument 92 LiveInterval *ToLI = &LIS.getInterval(ToReg); in replaceDominatedUses() 122 O.setReg(ToReg); in replaceDominatedUses() 170 Register ToReg = MI.getOperand(0).getReg(); in optimizeCall() local 171 if (MRI.getRegClass(FromReg) != MRI.getRegClass(ToReg)) in optimizeCall() 174 return replaceDominatedUses(MBB, MI, FromReg, ToReg, MRI, MDT, LIS); in optimizeCall()
|
/external/llvm/lib/MC/ |
D | MCRegisterInfo.cpp | 69 return I->ToReg; in getDwarfRegNum() 79 return I->ToReg; in getLLVMRegNum()
|
/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() 324 if (TargetRegisterInfo::isPhysicalRegister(ToReg)) { in replaceRegWith() 325 O.substPhysReg(ToReg, *TRI); in replaceRegWith() 327 O.setReg(ToReg); 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 346 if (TmpReg == ToReg) in isRevCopyChain() 761 unsigned ToReg = 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() 771 bool isNew = DstRegMap.insert(std::make_pair(DstReg, ToReg)).second; in scanUses() 773 assert(DstRegMap[DstReg] == ToReg && "Can't map to two dst registers!"); in scanUses()
|
D | MachineInstr.cpp | 1489 unsigned ToReg, in substituteRegister() argument 1492 if (TargetRegisterInfo::isPhysicalRegister(ToReg)) { in substituteRegister() 1494 ToReg = RegInfo.getSubReg(ToReg, SubIdx); in substituteRegister() 1498 MO.substPhysReg(ToReg, RegInfo); in substituteRegister() 1504 MO.substVirtReg(ToReg, SubIdx, RegInfo); in substituteRegister()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | CombinerHelper.h | 65 void replaceRegWith(MachineRegisterInfo &MRI, Register FromReg, Register ToReg) const; 70 Register ToReg) const;
|
/external/llvm-project/llvm/lib/MC/ |
D | MCRegisterInfo.cpp | 78 return I->ToReg; in getDwarfRegNum() 91 return I->ToReg; in getLLVMRegNum()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/ |
D | MCRegisterInfo.cpp | 78 return I->ToReg; in getDwarfRegNum() 91 return I->ToReg; in getLLVMRegNum()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | MachineRegisterInfo.cpp | 380 void MachineRegisterInfo::replaceRegWith(unsigned FromReg, unsigned ToReg) { in replaceRegWith() argument 381 assert(FromReg != ToReg && "Cannot replace a reg with itself"); in replaceRegWith() 389 if (Register::isPhysicalRegister(ToReg)) { in replaceRegWith() 390 O.substPhysReg(ToReg, *TRI); in replaceRegWith() 392 O.setReg(ToReg); in replaceRegWith()
|
D | TwoAddressInstructionPass.cpp | 129 bool isRevCopyChain(unsigned FromReg, unsigned ToReg, int Maxlen); 364 bool TwoAddressInstructionPass::isRevCopyChain(unsigned FromReg, unsigned ToReg, in isRevCopyChain() argument 374 if (TmpReg == ToReg) in isRevCopyChain() 801 unsigned ToReg = VirtRegPairs.back(); in scanUses() local 806 bool isNew = DstRegMap.insert(std::make_pair(FromReg, ToReg)).second; in scanUses() 808 assert(DstRegMap[FromReg] == ToReg &&"Can't map to two dst registers!"); in scanUses() 809 ToReg = FromReg; in scanUses() 811 bool isNew = DstRegMap.insert(std::make_pair(DstReg, ToReg)).second; in scanUses() 813 assert(DstRegMap[DstReg] == ToReg && "Can't map to two dst registers!"); in scanUses()
|
D | SplitKit.h | 434 SlotIndex buildCopy(unsigned FromReg, unsigned ToReg, LaneBitmask LaneMask, 438 SlotIndex buildSingleSubRegCopy(unsigned FromReg, unsigned ToReg,
|
D | SplitKit.cpp | 512 SlotIndex SplitEditor::buildSingleSubRegCopy(unsigned FromReg, unsigned ToReg, in buildSingleSubRegCopy() argument 518 .addReg(ToReg, RegState::Define | getUndefRegState(FirstCopy) in buildSingleSubRegCopy() 538 SlotIndex SplitEditor::buildCopy(unsigned FromReg, unsigned ToReg, in buildCopy() argument 545 BuildMI(MBB, InsertBefore, DebugLoc(), Desc, ToReg).addReg(FromReg); in buildCopy() 561 assert(RC == MRI.getRegClass(ToReg) && "Should have same reg class"); in buildCopy() 589 SlotIndex Def = buildSingleSubRegCopy(FromReg, ToReg, MBB, InsertBefore, in buildCopy() 619 buildSingleSubRegCopy(FromReg, ToReg, MBB, InsertBefore, BestIdx, in buildCopy()
|
D | MachineInstr.cpp | 1139 void MachineInstr::substituteRegister(Register FromReg, Register ToReg, in substituteRegister() argument 1142 if (Register::isPhysicalRegister(ToReg)) { in substituteRegister() 1144 ToReg = RegInfo.getSubReg(ToReg, SubIdx); in substituteRegister() 1148 MO.substPhysReg(ToReg, RegInfo); in substituteRegister() 1154 MO.substVirtReg(ToReg, SubIdx, RegInfo); in substituteRegister()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | MachineRegisterInfo.cpp | 380 void MachineRegisterInfo::replaceRegWith(Register FromReg, Register ToReg) { in replaceRegWith() argument 381 assert(FromReg != ToReg && "Cannot replace a reg with itself"); in replaceRegWith() 389 if (Register::isPhysicalRegister(ToReg)) { in replaceRegWith() 390 O.substPhysReg(ToReg, *TRI); in replaceRegWith() 392 O.setReg(ToReg); in replaceRegWith()
|
D | TwoAddressInstructionPass.cpp | 121 bool isRevCopyChain(Register FromReg, Register ToReg, int Maxlen); 224 bool TwoAddressInstructionPass::isRevCopyChain(Register FromReg, Register ToReg, in isRevCopyChain() argument 234 if (TmpReg == ToReg) in isRevCopyChain() 662 unsigned ToReg = VirtRegPairs.back(); in scanUses() local 667 bool isNew = DstRegMap.insert(std::make_pair(FromReg, ToReg)).second; in scanUses() 669 assert(DstRegMap[FromReg] == ToReg &&"Can't map to two dst registers!"); in scanUses() 670 ToReg = FromReg; in scanUses() 672 bool isNew = DstRegMap.insert(std::make_pair(DstReg, ToReg)).second; in scanUses() 674 assert(DstRegMap[DstReg] == ToReg && "Can't map to two dst registers!"); in scanUses()
|
D | SplitKit.h | 442 SlotIndex buildCopy(Register FromReg, Register ToReg, LaneBitmask LaneMask, 446 SlotIndex buildSingleSubRegCopy(Register FromReg, Register ToReg,
|
D | SplitKit.cpp | 515 SlotIndex SplitEditor::buildSingleSubRegCopy(Register FromReg, Register ToReg, in buildSingleSubRegCopy() argument 521 .addReg(ToReg, RegState::Define | getUndefRegState(FirstCopy) in buildSingleSubRegCopy() 541 SlotIndex SplitEditor::buildCopy(Register FromReg, Register ToReg, in buildCopy() argument 548 BuildMI(MBB, InsertBefore, DebugLoc(), Desc, ToReg).addReg(FromReg); in buildCopy() 564 assert(RC == MRI.getRegClass(ToReg) && "Should have same reg class"); in buildCopy() 592 SlotIndex Def = buildSingleSubRegCopy(FromReg, ToReg, MBB, InsertBefore, in buildCopy() 622 buildSingleSubRegCopy(FromReg, ToReg, MBB, InsertBefore, BestIdx, in buildCopy()
|
D | MachineInstr.cpp | 1204 void MachineInstr::substituteRegister(Register FromReg, Register ToReg, in substituteRegister() argument 1207 if (Register::isPhysicalRegister(ToReg)) { in substituteRegister() 1209 ToReg = RegInfo.getSubReg(ToReg, SubIdx); in substituteRegister() 1213 MO.substPhysReg(ToReg, RegInfo); in substituteRegister() 1219 MO.substVirtReg(ToReg, SubIdx, RegInfo); in substituteRegister()
|
D | ModuloSchedule.cpp | 333 static void replaceRegUsesAfterLoop(unsigned FromReg, unsigned ToReg, in replaceRegUsesAfterLoop() argument 343 O.setReg(ToReg); in replaceRegUsesAfterLoop() 345 if (!LIS.hasInterval(ToReg)) in replaceRegUsesAfterLoop() 346 LIS.createEmptyInterval(ToReg); in replaceRegUsesAfterLoop()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | CombinerHelper.cpp | 43 Register ToReg) const { in replaceRegWith() 46 if (MRI.constrainRegAttrs(ToReg, FromReg)) in replaceRegWith() 47 MRI.replaceRegWith(FromReg, ToReg); in replaceRegWith() 49 Builder.buildCopy(ToReg, FromReg); in replaceRegWith() 56 Register ToReg) const { in replaceRegOpWith() 60 FromRegOp.setReg(ToReg); in replaceRegOpWith()
|
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
D | CombinerHelper.h | 114 void replaceRegWith(MachineRegisterInfo &MRI, Register FromReg, Register ToReg) const; 119 Register ToReg) const;
|
/external/llvm/include/llvm/MC/ |
D | MCRegisterInfo.h | 143 unsigned ToReg; member
|
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
D | CombinerHelper.cpp | 57 Register ToReg) const { in replaceRegWith() 60 if (MRI.constrainRegAttrs(ToReg, FromReg)) in replaceRegWith() 61 MRI.replaceRegWith(FromReg, ToReg); in replaceRegWith() 63 Builder.buildCopy(ToReg, FromReg); in replaceRegWith() 70 Register ToReg) const { in replaceRegOpWith() 74 FromRegOp.setReg(ToReg); in replaceRegOpWith()
|