/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyStoreResults.cpp | 80 unsigned FromReg, unsigned ToReg, in ReplaceDominatedUses() argument 86 LiveInterval *FromLI = &LIS.getInterval(FromReg); in ReplaceDominatedUses() 94 for (auto I = MRI.use_nodbg_begin(FromReg), E = MRI.use_nodbg_end(); I != E;) { in ReplaceDominatedUses() 135 MI.addRegisterKilled(FromReg, in ReplaceDominatedUses() 164 unsigned FromReg = MI.getOperand(2).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 | 74 if (I == M+Size || I->FromReg != RegNum) in getDwarfRegNum() 87 assert(I != M+Size && I->FromReg == RegNum && "Invalid RegNum"); in getLLVMRegNum() 99 if (I == M+Size || I->FromReg != RegNum) in getLLVMRegNumFromEH()
|
/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/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-7.0/llvm/include/llvm/MC/ |
D | MCRegisterInfo.h | 142 unsigned FromReg; member 145 bool operator<(DwarfLLVMRegPair RHS) const { return FromReg < RHS.FromReg; }
|
/external/llvm/include/llvm/MC/ |
D | MCRegisterInfo.h | 142 unsigned FromReg; member 145 bool operator<(DwarfLLVMRegPair RHS) const { return FromReg < RHS.FromReg; }
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | SplitKit.h | 418 SlotIndex buildCopy(unsigned FromReg, unsigned ToReg, LaneBitmask LaneMask, 422 SlotIndex buildSingleSubRegCopy(unsigned FromReg, unsigned ToReg,
|
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() 388 for (reg_iterator I = reg_begin(FromReg), E = reg_end(); I != E; ) { 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 367 unsigned TmpReg = FromReg; in isRevCopyChain() 806 unsigned FromReg = 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()
|
D | SplitKit.cpp | 513 SlotIndex SplitEditor::buildSingleSubRegCopy(unsigned FromReg, unsigned ToReg, in buildSingleSubRegCopy() argument 521 .addReg(FromReg, 0, SubIdx); in buildSingleSubRegCopy() 538 SlotIndex SplitEditor::buildCopy(unsigned FromReg, unsigned ToReg, in buildCopy() argument 542 if (LaneMask.all() || LaneMask == MRI.getMaxLaneMaskForVReg(FromReg)) { in buildCopy() 545 BuildMI(MBB, InsertBefore, DebugLoc(), Desc, ToReg).addReg(FromReg); in buildCopy() 560 const TargetRegisterClass *RC = MRI.getRegClass(FromReg); 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 968 if (!MO.isReg() || MO.getReg() != FromReg) in substituteRegister() 974 if (!MO.isReg() || MO.getReg() != FromReg) in substituteRegister()
|
/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,
|
/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); 3108 void HexagonConstEvaluator::replaceAllRegUsesWith(unsigned FromReg, in replaceAllRegUsesWith() argument 3110 assert(TargetRegisterInfo::isVirtualRegister(FromReg)); in replaceAllRegUsesWith() 3112 for (auto I = MRI->use_begin(FromReg), E = MRI->use_end(); I != E;) { in replaceAllRegUsesWith()
|