/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-7.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyStoreResults.cpp | 80 unsigned FromReg, unsigned ToReg, in ReplaceDominatedUses() argument 87 LiveInterval *ToLI = &LIS.getInterval(ToReg); in ReplaceDominatedUses() 116 O.setReg(ToReg); in ReplaceDominatedUses() 165 unsigned ToReg = MI.getOperand(0).getReg(); in optimizeCall() local 166 if (MRI.getRegClass(FromReg) != MRI.getRegClass(ToReg)) in optimizeCall() 169 return ReplaceDominatedUses(MBB, MI, FromReg, ToReg, MRI, MDT, LIS); in optimizeCall()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/ |
D | MCRegisterInfo.cpp | 76 return I->ToReg; in getDwarfRegNum() 88 return I->ToReg; in getLLVMRegNum() 101 return I->ToReg; in getLLVMRegNumFromEH()
|
/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()
|
D | MachinePipeliner.cpp | 2440 static void replaceRegUsesAfterLoop(unsigned FromReg, unsigned ToReg, in replaceRegUsesAfterLoop() argument 2450 O.setReg(ToReg); in replaceRegUsesAfterLoop() 2452 if (!LIS.hasInterval(ToReg)) in replaceRegUsesAfterLoop() 2453 LIS.createEmptyInterval(ToReg); in replaceRegUsesAfterLoop()
|
/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() 143 O.setReg(ToReg); in replaceRegWith()
|
D | TwoAddressInstructionPass.cpp | 714 unsigned ToReg = 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() 724 bool isNew = DstRegMap.insert(std::make_pair(DstReg, ToReg)).second; in ScanUses() 726 assert(DstRegMap[DstReg] == ToReg && "Can't map to two dst registers!"); in ScanUses()
|
D | MachineInstr.cpp | 1133 unsigned ToReg, in substituteRegister() argument 1136 if (TargetRegisterInfo::isPhysicalRegister(ToReg)) { in substituteRegister() 1138 ToReg = RegInfo.getSubReg(ToReg, SubIdx); in substituteRegister() 1143 MO.substPhysReg(ToReg, RegInfo); in substituteRegister() 1150 MO.substVirtReg(ToReg, SubIdx, RegInfo); in substituteRegister()
|
/external/llvm/lib/MC/ |
D | MCRegisterInfo.cpp | 69 return I->ToReg; in getDwarfRegNum() 79 return I->ToReg; in getLLVMRegNum()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | MachineRegisterInfo.cpp | 382 void MachineRegisterInfo::replaceRegWith(unsigned FromReg, unsigned ToReg) { in replaceRegWith() argument 383 assert(FromReg != ToReg && "Cannot replace a reg with itself"); in replaceRegWith() 391 if (TargetRegisterInfo::isPhysicalRegister(ToReg)) { in replaceRegWith() 392 O.substPhysReg(ToReg, *TRI); in replaceRegWith() 394 O.setReg(ToReg); in replaceRegWith()
|
D | TwoAddressInstructionPass.cpp | 130 bool isRevCopyChain(unsigned FromReg, unsigned ToReg, int Maxlen); 365 bool TwoAddressInstructionPass::isRevCopyChain(unsigned FromReg, unsigned ToReg, in isRevCopyChain() argument 375 if (TmpReg == ToReg) in isRevCopyChain() 803 unsigned ToReg = VirtRegPairs.back(); in scanUses() local 808 bool isNew = DstRegMap.insert(std::make_pair(FromReg, ToReg)).second; in scanUses() 810 assert(DstRegMap[FromReg] == ToReg &&"Can't map to two dst registers!"); in scanUses() 811 ToReg = FromReg; in scanUses() 813 bool isNew = DstRegMap.insert(std::make_pair(DstReg, ToReg)).second; in scanUses() 815 assert(DstRegMap[DstReg] == ToReg && "Can't map to two dst registers!"); in scanUses()
|
D | SplitKit.h | 418 SlotIndex buildCopy(unsigned FromReg, unsigned ToReg, LaneBitmask LaneMask, 422 SlotIndex buildSingleSubRegCopy(unsigned FromReg, unsigned ToReg,
|
D | SplitKit.cpp | 513 SlotIndex SplitEditor::buildSingleSubRegCopy(unsigned FromReg, unsigned ToReg, in buildSingleSubRegCopy() argument 519 .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 | 961 void MachineInstr::substituteRegister(unsigned FromReg, unsigned ToReg, in substituteRegister() argument 964 if (TargetRegisterInfo::isPhysicalRegister(ToReg)) { in substituteRegister() 966 ToReg = RegInfo.getSubReg(ToReg, SubIdx); in substituteRegister() 970 MO.substPhysReg(ToReg, RegInfo); in substituteRegister() 976 MO.substVirtReg(ToReg, SubIdx, RegInfo); in substituteRegister()
|
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/ |
D | MCRegisterInfo.h | 143 unsigned ToReg; member
|
/external/llvm/include/llvm/MC/ |
D | MCRegisterInfo.h | 143 unsigned ToReg; member
|
/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,
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | MachineInstr.h | 1161 void substituteRegister(unsigned FromReg, unsigned ToReg, unsigned SubIdx,
|
D | MachineRegisterInfo.h | 587 void replaceRegWith(unsigned FromReg, unsigned ToReg);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonConstPropagation.cpp | 1869 void replaceAllRegUsesWith(unsigned FromReg, unsigned ToReg); 3109 unsigned ToReg) { in replaceAllRegUsesWith() argument 3111 assert(TargetRegisterInfo::isVirtualRegister(ToReg)); in replaceAllRegUsesWith() 3115 O.setReg(ToReg); in replaceAllRegUsesWith()
|