/external/llvm/lib/Target/Mips/ |
Mips16RegisterInfo.h | 34 MachineBasicBlock::iterator &UseMI,
|
Mips16RegisterInfo.cpp | 64 MachineBasicBlock::iterator &UseMI, 70 TII.copyPhysReg(MBB, UseMI, DL, Reg, Mips::T0, true);
|
/external/llvm/lib/Target/ARM/ |
Thumb1RegisterInfo.h | 56 MachineBasicBlock::iterator &UseMI,
|
MLxExpansionPass.cpp | 123 MachineInstr *UseMI = &*MRI->use_nodbg_begin(Reg); 124 if (UseMI->getParent() != MBB) 127 while (UseMI->isCopy() || UseMI->isInsertSubreg()) { 128 Reg = UseMI->getOperand(0).getReg(); 132 UseMI = &*MRI->use_nodbg_begin(Reg); 133 if (UseMI->getParent() != MBB)
|
ARMBaseInstrInfo.h | 215 virtual bool FoldImmediate(MachineInstr *UseMI, MachineInstr *DefMI, 224 const MachineInstr *UseMI, unsigned UseIdx) const; 277 const MachineInstr *UseMI, unsigned UseIdx) const;
|
ARMBaseInstrInfo.cpp | [all...] |
Thumb1RegisterInfo.cpp | 511 MachineBasicBlock::iterator &UseMI, 525 // The UseMI is where we would like to restore the register. If there's 527 // before that instead and adjust the UseMI. 529 for (MachineBasicBlock::iterator II = I; !done && II != UseMI ; ++II) { 536 UseMI = II; 544 UseMI = II; 551 AddDefaultPred(BuildMI(MBB, UseMI, DL, TII.get(ARM::tMOVr)).
|
/external/llvm/lib/CodeGen/ |
LiveRangeEdit.cpp | 161 MachineInstr *DefMI = 0, *UseMI = 0; 175 if (UseMI && UseMI != MI) 180 UseMI = MI; 183 if (!DefMI || !UseMI) 190 LIS.getInstructionIndex(UseMI))) 194 // Assume there are stores between DefMI and UseMI. 200 << " into single use: " << *UseMI); 203 if (UseMI->readsWritesVirtualRegister(LI->reg, &Ops).second) 206 MachineInstr *FoldMI = TII.foldMemoryOperand(UseMI, Ops, DefMI) [all...] |
TargetSchedule.cpp | 157 const MachineInstr *UseMI, unsigned UseOperIdx) const { 164 if (UseMI) { 166 UseMI, UseOperIdx); 196 if (!UseMI) 200 const MCSchedClassDesc *UseDesc = resolveSchedClass(UseMI); 203 unsigned UseIdx = findUseIdx(UseMI, UseOperIdx);
|
PeepholeOptimizer.cpp | 196 MachineInstr *UseMI = &*UI; 197 if (UseMI == MI) 200 if (UseMI->isPHI()) { 226 if (UseMI->getOpcode() == TargetOpcode::SUBREG_TO_REG) 229 MachineBasicBlock *UseMBB = UseMI->getParent(); 232 if (!LocalMIs.count(UseMI)) 272 MachineInstr *UseMI = UseMO->getParent(); 273 MachineBasicBlock *UseMBB = UseMI->getParent(); 284 MachineInstr *Copy = BuildMI(*UseMBB, UseMI, UseMI->getDebugLoc() [all...] |
DeadMachineInstructionElim.cpp | 135 MachineInstr *UseMI = Use.getParent(); 136 if (UseMI==MI) 139 UseMI->getOperand(0).setReg(0U);
|
OptimizePHIs.cpp | 144 MachineInstr *UseMI = &*I; 145 if (!UseMI->isPHI() || !IsDeadPHICycle(UseMI, PHIsInCycle))
|
RegisterScavenging.cpp | 281 /// longest after StargMII. UseMI is set to the instruction where the search 289 MachineBasicBlock::iterator &UseMI) { 347 UseMI = RestorePointMI; 386 MachineBasicBlock::iterator UseMI; 387 unsigned SReg = findSurvivorReg(I, Candidates, 25, UseMI); 412 if (!TRI->saveScavengerRegister(*MBB, I, UseMI, RC, SReg)) { 424 TII->loadRegFromStackSlot(*MBB, UseMI, SReg, Scavenged[SI].FrameIndex, 426 II = prior(UseMI); 432 Scavenged[SI].Restore = prior(UseMI);
|
MachineTraceMetrics.cpp | 637 // Get the input data dependencies that must be ready before UseMI can issue. 638 // Return true if UseMI has any physreg operands. 639 static bool getDataDeps(const MachineInstr *UseMI, 643 for (ConstMIOperands MO(UseMI); MO.isValid(); ++MO) { 663 static void getPHIDeps(const MachineInstr *UseMI, 670 assert(UseMI->isPHI() && UseMI->getNumOperands() % 2 && "Bad PHI"); 671 for (unsigned i = 1; i != UseMI->getNumOperands(); i += 2) { 672 if (UseMI->getOperand(i + 1).getMBB() == Pred) { 673 unsigned Reg = UseMI->getOperand(i).getReg() [all...] |
RegisterCoalescer.cpp | 630 MachineInstr *UseMI = &*UI; 631 SlotIndex UseIdx = LIS->getInstructionIndex(UseMI); 636 if (UseMI->isRegTiedToDefOperand(UI.getOperandNo())) 675 MachineInstr *UseMI = &*UI; 677 if (UseMI->isDebugValue()) { 683 SlotIndex UseIdx = LIS->getInstructionIndex(UseMI).getRegSlot(true); 693 if (UseMI == CopyMI) 695 if (!UseMI->isCopy()) 697 if (UseMI->getOperand(0).getReg() != IntB.reg || 698 UseMI->getOperand(0).getSubReg() [all...] |
MachineSSAUpdater.cpp | 221 MachineInstr *UseMI = U.getParent(); 223 if (UseMI->isPHI()) { 224 MachineBasicBlock *SourceBB = findCorrespondingPred(UseMI, &U); 227 NewVR = GetValueInMiddleOfBlock(UseMI->getParent());
|
MachineLICM.cpp | [all...] |
TailDuplication.cpp | 256 MachineInstr *UseMI = &*UI; 258 if (UseMI->isDebugValue()) { 263 UseMI->eraseFromParent(); 266 if (UseMI->getParent() == DefBB && !UseMI->isPHI()) 333 MachineInstr *UseMI = &*UI; 334 if (UseMI->isDebugValue()) 336 if (UseMI->getParent() != BB) [all...] |
TargetInstrInfo.cpp | 656 /// Both DefMI and UseMI must be valid. By default, call directly to the 661 const MachineInstr *UseMI, unsigned UseIdx) const { 663 unsigned UseClass = UseMI->getDesc().getSchedClass(); 685 /// dependent def and use when the operand indices are already known. UseMI may 698 const MachineInstr *UseMI, unsigned UseIdx) const { 707 if (UseMI) 708 OperLatency = getOperandLatency(ItinData, DefMI, DefIdx, UseMI, UseIdx);
|
TwoAddressInstructionPass.cpp | 460 MachineInstr &UseMI = *MRI->use_nodbg_begin(Reg); 461 if (UseMI.getParent() != MBB) 465 if (isCopyToReg(UseMI, TII, SrcReg, DstReg, IsSrcPhys, IsDstPhys)) { 467 return &UseMI; 470 if (isTwoAddrUse(UseMI, Reg, DstReg)) { 472 return &UseMI; 668 while (MachineInstr *UseMI = findOnlyInterestingUse(Reg, MBB, MRI, TII,IsCopy, 670 if (IsCopy && !Processed.insert(UseMI)) 673 DenseMap<MachineInstr*, unsigned>::iterator DI = DistanceMap.find(UseMI); [all...] |
/external/llvm/include/llvm/CodeGen/ |
TargetSchedule.h | 143 /// when the operand indices are already known. UseMI may be NULL for an 146 const MachineInstr *UseMI, unsigned UseOperIdx)
|
RegisterScavenging.h | 195 /// longest after StartMI. UseMI is set to the instruction where the search 202 MachineBasicBlock::iterator &UseMI);
|
/external/llvm/include/llvm/Target/ |
TargetInstrInfo.h | [all...] |
/external/llvm/lib/Target/PowerPC/ |
PPCInstrInfo.cpp | 810 bool PPCInstrInfo::FoldImmediate(MachineInstr *UseMI, MachineInstr *DefMI, 826 const MCInstrDesc &UseMCID = UseMI->getDesc(); 833 for (UseIdx = 0; UseIdx < UseMI->getNumOperands(); ++UseIdx) 834 if (UseMI->getOperand(UseIdx).isReg() && 835 UseMI->getOperand(UseIdx).getReg() == Reg) 838 assert(UseIdx < UseMI->getNumOperands() && "Cannot find Reg in UseMI"); [all...] |
PPCInstrInfo.h | 154 virtual bool FoldImmediate(MachineInstr *UseMI, MachineInstr *DefMI,
|