Home
last modified time | relevance | path

Searched refs:MOI (Results 1 – 13 of 13) sorted by relevance

/external/llvm/lib/CodeGen/
DStackMaps.cpp88 StackMaps::parseOperand(MachineInstr::const_mop_iterator MOI, in parseOperand() argument
92 if (MOI->isImm()) { in parseOperand()
93 switch (MOI->getImm()) { in parseOperand()
102 unsigned Reg = (++MOI)->getReg(); in parseOperand()
103 int64_t Imm = (++MOI)->getImm(); in parseOperand()
109 int64_t Size = (++MOI)->getImm(); in parseOperand()
111 unsigned Reg = (++MOI)->getReg(); in parseOperand()
112 int64_t Imm = (++MOI)->getImm(); in parseOperand()
118 ++MOI; in parseOperand()
119 assert(MOI->isImm() && "Expected constant operand."); in parseOperand()
[all …]
DLiveRangeEdit.cpp280 for (MachineInstr::mop_iterator MOI = MI->operands_begin(), in eliminateDeadDef() local
281 MOE = MI->operands_end(); MOI != MOE; ++MOI) { in eliminateDeadDef()
282 if (!MOI->isReg()) in eliminateDeadDef()
284 unsigned Reg = MOI->getReg(); in eliminateDeadDef()
287 if (Reg && MOI->readsReg() && !MRI.isReserved(Reg)) in eliminateDeadDef()
289 else if (MOI->isDef()) in eliminateDeadDef()
299 if ((MI->readsVirtualRegister(Reg) && (MI->isCopy() || MOI->isDef())) || in eliminateDeadDef()
300 (MOI->readsReg() && (MRI.hasOneNonDBGUse(Reg) || useIsKill(LI, *MOI)))) in eliminateDeadDef()
304 if (MOI->isDef()) { in eliminateDeadDef()
DMachineVerifier.cpp1632 for (ConstMIBundleOperands MOI(*MI); MOI.isValid(); ++MOI) { in verifyLiveRangeValue() local
1633 if (!MOI->isReg() || !MOI->isDef()) in verifyLiveRangeValue()
1636 if (MOI->getReg() != Reg) in verifyLiveRangeValue()
1639 if (!TargetRegisterInfo::isPhysicalRegister(MOI->getReg()) || in verifyLiveRangeValue()
1640 !TRI->hasRegUnit(MOI->getReg(), Reg)) in verifyLiveRangeValue()
1644 (TRI->getSubRegIndexLaneMask(MOI->getSubReg()) & LaneMask) == 0) in verifyLiveRangeValue()
1647 if (MOI->isEarlyClobber()) in verifyLiveRangeValue()
1772 for (ConstMIBundleOperands MOI(*MI); MOI.isValid(); ++MOI) { in verifyLiveRangeSegment() local
1773 if (!MOI->isReg() || MOI->getReg() != Reg) in verifyLiveRangeSegment()
1776 (LaneMask & TRI->getSubRegIndexLaneMask(MOI->getSubReg())) == 0) in verifyLiveRangeSegment()
[all …]
DVirtRegMap.cpp388 for (MachineInstr::mop_iterator MOI = MI->operands_begin(), in rewrite() local
389 MOE = MI->operands_end(); MOI != MOE; ++MOI) { in rewrite()
390 MachineOperand &MO = *MOI; in rewrite()
DMachineTraceMetrics.cpp875 for (MachineInstr::const_mop_iterator MOI = MI.operands_begin(), in updatePhysDepsUpwards() local
877 MOI != MOE; ++MOI) { in updatePhysDepsUpwards()
878 const MachineOperand &MO = *MOI; in updatePhysDepsUpwards()
885 ReadOps.push_back(MI.getOperandNo(MOI)); in updatePhysDepsUpwards()
898 DepHeight += SchedModel.computeOperandLatency(&MI, MI.getOperandNo(MOI), in updatePhysDepsUpwards()
DLiveIntervalAnalysis.cpp1504 for (MachineInstr::const_mop_iterator MOI = MI.operands_begin(), in repairIntervalsInRange() local
1506 MOI != MOE; ++MOI) { in repairIntervalsInRange()
1507 if (MOI->isReg() && in repairIntervalsInRange()
1508 TargetRegisterInfo::isVirtualRegister(MOI->getReg()) && in repairIntervalsInRange()
1509 !hasInterval(MOI->getReg())) { in repairIntervalsInRange()
1510 createAndComputeVirtRegInterval(MOI->getReg()); in repairIntervalsInRange()
DMachinePipeliner.cpp1087 for (MachineInstr::mop_iterator MOI = MI->operands_begin(), in updatePhiDependences() local
1089 MOI != MOE; ++MOI) { in updatePhiDependences()
1090 if (!MOI->isReg()) in updatePhiDependences()
1092 unsigned Reg = MOI->getReg(); in updatePhiDependences()
1093 if (MOI->isDef()) { in updatePhiDependences()
1114 } else if (MOI->isUse()) { in updatePhiDependences()
2834 for (MachineInstr::mop_iterator MOI = MI->operands_begin(), in removeDeadInstructions() local
2836 MOI != MOE; ++MOI) { in removeDeadInstructions()
2837 if (!MOI->isReg() || !MOI->isDef()) in removeDeadInstructions()
2839 unsigned reg = MOI->getReg(); in removeDeadInstructions()
/external/llvm/lib/Target/AMDGPU/
DR600EmitClauseMarkers.cpp189 MOI = Def->operands_begin(), in canClauseLocalKillFitInClause() local
190 MOE = Def->operands_end(); MOI != MOE; ++MOI) { in canClauseLocalKillFitInClause()
191 if (!MOI->isReg() || !MOI->isDef() || in canClauseLocalKillFitInClause()
192 TRI.isPhysRegLiveAcrossClauses(MOI->getReg())) in canClauseLocalKillFitInClause()
215 if (UseI->findRegisterUseOperandIdx(MOI->getReg())) in canClauseLocalKillFitInClause()
218 if (UseI != Def && UseI->findRegisterDefOperandIdx(MOI->getReg()) != -1) in canClauseLocalKillFitInClause()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DLiveRangeEdit.cpp242 for (MachineInstr::mop_iterator MOI = MI->operands_begin(), in eliminateDeadDefs() local
243 MOE = MI->operands_end(); MOI != MOE; ++MOI) { in eliminateDeadDefs()
244 if (!MOI->isReg()) in eliminateDeadDefs()
246 unsigned Reg = MOI->getReg(); in eliminateDeadDefs()
256 (MI->isCopy() || MOI->isDef() || MRI.hasOneNonDBGUse(Reg) || in eliminateDeadDefs()
261 if (MOI->isDef()) { in eliminateDeadDefs()
DMachineVerifier.cpp1075 for (MachineInstr::const_mop_iterator MOI = MI->operands_begin(), in verifyLiveIntervals() local
1076 MOE = MI->operands_end(); MOI != MOE; ++MOI) { in verifyLiveIntervals()
1077 if (MOI->isReg() && MOI->getReg() == LI.reg && MOI->isDef() && in verifyLiveIntervals()
1078 MOI->isEarlyClobber()) { in verifyLiveIntervals()
1155 for (MachineInstr::const_mop_iterator MOI = MI->operands_begin(), in verifyLiveIntervals() local
1156 MOE = MI->operands_end(); MOI != MOE; ++MOI) { in verifyLiveIntervals()
1157 if (MOI->isReg() && MOI->getReg() == LI.reg && MOI->isDef() && MOI->isDead()) { in verifyLiveIntervals()
DVirtRegMap.cpp276 for (MachineInstr::mop_iterator MOI = MI->operands_begin(), in rewrite() local
277 MOE = MI->operands_end(); MOI != MOE; ++MOI) { in rewrite()
278 MachineOperand &MO = *MOI; in rewrite()
/external/llvm/include/llvm/CodeGen/
DStackMaps.h216 parseOperand(MachineInstr::const_mop_iterator MOI,
234 MachineInstr::const_mop_iterator MOI,
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DDwarfDebug.cpp1205 for (MachineInstr::const_mop_iterator MOI = MI->operands_begin(), in beginFunction() local
1206 MOE = MI->operands_end(); MOI != MOE; ++MOI) { in beginFunction()
1207 if (!MOI->isReg() || !MOI->isDef() || !MOI->getReg()) in beginFunction()
1209 for (const unsigned *AI = TRI->getOverlaps(MOI->getReg()); in beginFunction()