/external/llvm/lib/Target/ARM/ |
ARMHazardRecognizer.cpp | 19 static bool hasRAWHazard(MachineInstr *DefMI, MachineInstr *MI, 30 return MI->readsRegister(DefMI->getOperand(0).getReg(), &TRI); 48 MachineInstr *DefMI = LastMI; 58 DefMI = &*I; 62 if (TII.isFpMLxInstruction(DefMI->getOpcode()) && 64 hasRAWHazard(DefMI, MI, TRI))) {
|
MLxExpansionPass.cpp | 92 MachineInstr *DefMI = MRI->getVRegDef(Reg); 94 if (DefMI->getParent() != MBB) 96 if (DefMI->isCopyLike()) { 97 Reg = DefMI->getOperand(1).getReg(); 99 DefMI = MRI->getVRegDef(Reg); 102 } else if (DefMI->isInsertSubreg()) { 103 Reg = DefMI->getOperand(2).getReg(); 105 DefMI = MRI->getVRegDef(Reg); 111 return DefMI; 160 MachineInstr *DefMI = getAccDefMI(MI) [all...] |
NEONMoveFix.cpp | 70 RegMap::iterator DefMI = Defs.find(SrcReg); 71 if (DefMI != Defs.end()) { 72 Domain = DefMI->second->getDesc().TSFlags & ARMII::DomainMask;
|
ARMBaseInstrInfo.h | 335 virtual bool FoldImmediate(MachineInstr *UseMI, MachineInstr *DefMI, 343 const MachineInstr *DefMI, unsigned DefIdx, 380 const MachineInstr *DefMI, unsigned DefIdx, 383 const MachineInstr *DefMI, unsigned DefIdx) const;
|
ARMBaseInstrInfo.cpp | [all...] |
/external/llvm/lib/CodeGen/ |
LiveRangeEdit.cpp | 45 const MachineInstr *DefMI, 48 assert(DefMI && "Missing instruction"); 50 if (!tii.isTriviallyReMaterializable(DefMI, aa)) 64 MachineInstr *DefMI = lis.getInstructionFromIndex(VNI->def); 65 if (!DefMI) 67 checkRematerializable(VNI, DefMI, tii, aa); 167 MachineInstr *DefMI = 0, *UseMI = 0; 175 if (DefMI && DefMI != MI) 179 DefMI = MI [all...] |
PHIElimination.cpp | 131 MachineInstr *DefMI = *I; 132 unsigned DefReg = DefMI->getOperand(0).getReg(); 134 DefMI->eraseFromParent(); 173 const MachineInstr *DefMI = MRI->getVRegDef(SrcReg); 174 if (!DefMI || !DefMI->isImplicitDef()) 294 MachineInstr *DefMI = MRI->getVRegDef(SrcReg); 295 if (DefMI->isImplicitDef()) { 296 ImpDefs.insert(DefMI);
|
TwoAddressInstructionPass.cpp | 91 MachineInstr *MI, MachineInstr *DefMI, 300 MachineInstr *MI, MachineInstr *DefMI, 326 return MBB == DefMI->getParent(); 421 MachineInstr *DefMI = &MI; 423 if (!DefMI->killsRegister(Reg)) 432 DefMI = &*Begin; 437 if (!isCopyToReg(*DefMI, TII, SrcReg, DstReg, IsSrcPhys, IsDstPhys)) [all...] |
InlineSpiller.cpp | 92 MachineInstr *DefMI; 95 : AllDefsAreReloads(false), SpillReg(Reg), SpillVNI(VNI), DefMI(0) {} 412 SVI.DefMI = MI; 415 if (SeenOrigPHI || SVI.DefMI) 426 return SVI.DefMI; 449 MachineInstr *DefMI = 0; 455 DefMI = traceSiblingValue(Reg, VNI, OrigVNI); 457 if (!DefMI && !VNI->isPHIDef()) 458 DefMI = LIS.getInstructionFromIndex(VNI->def); 459 if (DefMI && Edit->checkRematerializable(VNI, DefMI, TII, AA)) [all...] |
RegisterCoalescer.cpp | 527 MachineInstr *DefMI = li_->getInstructionFromIndex(AValNo->def); 528 if (!DefMI) 530 const MCInstrDesc &MCID = DefMI->getDesc(); 533 // If DefMI is a two-address instruction then commuting it will change the 535 int DefIdx = DefMI->findRegisterDefOperandIdx(IntA.reg); 538 if (!DefMI->isRegTiedToUseOperand(DefIdx, &UseOpIdx)) 541 if (!tii_->findCommutedOpIndices(DefMI, Op1, Op2)) 550 MachineOperand &NewDstMO = DefMI->getOperand(NewDstIdx); 583 << *DefMI); 587 MachineBasicBlock *MBB = DefMI->getParent() [all...] |
PeepholeOptimizer.cpp | 294 MachineInstr *DefMI = MRI->getVRegDef(Src); 295 if (!DefMI || !DefMI->getDesc().isBitcast()) 300 NumDefs = DefMI->getDesc().getNumDefs(); 301 NumSrcs = DefMI->getDesc().getNumOperands() - NumDefs; 305 const MachineOperand &MO = DefMI->getOperand(i);
|
MachineCSE.cpp | 125 MachineInstr *DefMI = MRI->getVRegDef(Reg); 126 if (DefMI->getParent() != MBB) 128 if (!DefMI->isCopy()) 130 unsigned SrcReg = DefMI->getOperand(1).getReg(); 133 if (DefMI->getOperand(0).getSubReg() || DefMI->getOperand(1).getSubReg()) 137 DEBUG(dbgs() << "Coalescing: " << *DefMI); 141 DefMI->eraseFromParent();
|
LiveRangeEdit.h | 144 /// values if DefMI may be rematerializable. 145 bool checkRematerializable(VNInfo *VNI, const MachineInstr *DefMI,
|
RegisterCoalescer.h | 130 bool RemoveDeadDef(LiveInterval &li, MachineInstr *DefMI);
|
VirtRegRewriter.cpp | 586 MachineInstr *DefMI = I; 588 for (unsigned i = 0, e = DefMI->getNumOperands(); i != e; ++i) { 589 MachineOperand &MO = DefMI->getOperand(i); [all...] |
ScheduleDAGInstrs.cpp | 598 MachineInstr *DefMI = Def->getInstr(); 599 int DefIdx = DefMI->findRegisterDefOperandIdx(Reg); 601 const MachineOperand &MO = DefMI->getOperand(DefIdx); 603 DefIdx >= (int)DefMI->getDesc().getNumOperands()) { 610 DefIdx = DefMI->findRegisterDefOperandIdx(Reg, false, true, TRI); 624 int UseCycle = TII->getOperandLatency(InstrItins, DefMI, DefIdx, 632 unsigned DefClass = DefMI->getDesc().getSchedClass();
|
MachineSink.cpp | 126 MachineInstr *DefMI = MRI->getVRegDef(SrcReg); 127 if (DefMI->isCopyLike()) 129 DEBUG(dbgs() << "Coalescing: " << *DefMI);
|
StrongPHIElimination.cpp | 253 MachineInstr *DefMI = MRI->getVRegDef(SrcReg); 254 if (DefMI) 255 PHISrcDefs[DefMI->getParent()].push_back(DefMI); [all...] |
TailDuplication.cpp | 225 MachineInstr *DefMI = MRI->getVRegDef(VReg); 227 if (DefMI) { 228 DefBB = DefMI->getParent(); [all...] |
LiveIntervalAnalysis.cpp | 277 MachineInstr *DefMI = getInstructionFromIndex(OldLR->valno->def); 278 if (DefMI != 0) { 279 return DefMI->findRegisterDefOperandIdx(interval.reg) != -1; [all...] |
/external/llvm/lib/Target/ |
TargetInstrInfo.cpp | 66 const MachineInstr *DefMI, unsigned DefIdx, 71 unsigned DefClass = DefMI->getDesc().getSchedClass(); 114 const MachineInstr *DefMI, 119 unsigned DefClass = DefMI->getDesc().getSchedClass();
|
/external/llvm/include/llvm/Target/ |
TargetInstrInfo.h | 610 virtual bool FoldImmediate(MachineInstr *UseMI, MachineInstr *DefMI, 634 const MachineInstr *DefMI, unsigned DefIdx, 663 const MachineInstr *DefMI, unsigned DefIdx, 672 const MachineInstr *DefMI, unsigned DefIdx) const; [all...] |
/external/llvm/include/llvm/CodeGen/ |
LiveIntervalAnalysis.h | 387 MachineInstr *DefMI, SlotIndex InstrIdx, 439 MachineInstr *MI, MachineInstr *OrigDefMI, MachineInstr *DefMI, 449 MachineInstr *OrigDefMI, MachineInstr *DefMI, unsigned Slot, int LdSlot,
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
InstrEmitter.cpp | 436 MachineInstr *DefMI = MRI->getVRegDef(VReg); 438 if (DefMI && 439 TII->isCoalescableExtInstr(*DefMI, SrcReg, DstReg, DefSubIdx) && [all...] |
/external/llvm/lib/Target/X86/ |
X86InstrInfo.h | [all...] |