Home
last modified time | relevance | path

Searched refs:MOI (Results 1 – 9 of 9) 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()
99 unsigned Reg = (++MOI)->getReg(); in parseOperand()
100 int64_t Imm = (++MOI)->getImm(); in parseOperand()
106 int64_t Size = (++MOI)->getImm(); in parseOperand()
108 unsigned Reg = (++MOI)->getReg(); in parseOperand()
109 int64_t Imm = (++MOI)->getImm(); in parseOperand()
115 ++MOI; in parseOperand()
116 assert(MOI->isImm() && "Expected constant operand."); in parseOperand()
[all …]
DLiveRangeEdit.cpp250 for (MachineInstr::mop_iterator MOI = MI->operands_begin(), in eliminateDeadDef() local
251 MOE = MI->operands_end(); MOI != MOE; ++MOI) { in eliminateDeadDef()
252 if (!MOI->isReg()) in eliminateDeadDef()
254 unsigned Reg = MOI->getReg(); in eliminateDeadDef()
257 if (Reg && MOI->readsReg() && !MRI.isReserved(Reg)) in eliminateDeadDef()
259 else if (MOI->isDef()) in eliminateDeadDef()
270 (MI->isCopy() || MOI->isDef() || MRI.hasOneNonDBGUse(Reg) || in eliminateDeadDef()
275 if (MOI->isDef()) { in eliminateDeadDef()
DVirtRegMap.cpp324 for (MachineInstr::mop_iterator MOI = MI->operands_begin(), in rewrite() local
325 MOE = MI->operands_end(); MOI != MOE; ++MOI) { in rewrite()
326 MachineOperand &MO = *MOI; in rewrite()
341 for (MachineInstr::mop_iterator MOI = MI->operands_begin(), in rewrite() local
342 MOE = MI->operands_end(); MOI != MOE; ++MOI) { in rewrite()
343 MachineOperand &MO = *MOI; in rewrite()
DMachineVerifier.cpp1429 for (ConstMIBundleOperands MOI(MI); MOI.isValid(); ++MOI) { in verifyLiveRangeValue() local
1430 if (!MOI->isReg() || !MOI->isDef()) in verifyLiveRangeValue()
1433 if (MOI->getReg() != Reg) in verifyLiveRangeValue()
1436 if (!TargetRegisterInfo::isPhysicalRegister(MOI->getReg()) || in verifyLiveRangeValue()
1437 !TRI->hasRegUnit(MOI->getReg(), Reg)) in verifyLiveRangeValue()
1441 (TRI->getSubRegIndexLaneMask(MOI->getSubReg()) & LaneMask) == 0) in verifyLiveRangeValue()
1444 if (MOI->isEarlyClobber()) in verifyLiveRangeValue()
1561 for (ConstMIBundleOperands MOI(MI); MOI.isValid(); ++MOI) { in verifyLiveRangeSegment() local
1562 if (!MOI->isReg() || MOI->getReg() != Reg) in verifyLiveRangeSegment()
1565 (LaneMask & TRI->getSubRegIndexLaneMask(MOI->getSubReg())) == 0) in verifyLiveRangeSegment()
[all …]
DLiveIntervalAnalysis.cpp1367 for (MachineInstr::const_mop_iterator MOI = MI->operands_begin(), in repairIntervalsInRange() local
1368 MOE = MI->operands_end(); MOI != MOE; ++MOI) { in repairIntervalsInRange()
1369 if (MOI->isReg() && in repairIntervalsInRange()
1370 TargetRegisterInfo::isVirtualRegister(MOI->getReg()) && in repairIntervalsInRange()
1371 !hasInterval(MOI->getReg())) { in repairIntervalsInRange()
1372 createAndComputeVirtRegInterval(MOI->getReg()); in repairIntervalsInRange()
DTwoAddressInstructionPass.cpp1335 for (MachineInstr::const_mop_iterator MOI = MI.operands_begin(), in tryInstructionTransform() local
1336 MOE = MI.operands_end(); MOI != MOE; ++MOI) { in tryInstructionTransform()
1337 if (MOI->isReg()) in tryInstructionTransform()
1338 OrigRegs.push_back(MOI->getReg()); in tryInstructionTransform()
/external/llvm/lib/Target/R600/
DR600EmitClauseMarkers.cpp187 MOI = Def->operands_begin(), in canClauseLocalKillFitInClause() local
188 MOE = Def->operands_end(); MOI != MOE; ++MOI) { in canClauseLocalKillFitInClause()
189 if (!MOI->isReg() || !MOI->isDef() || in canClauseLocalKillFitInClause()
190 TRI.isPhysRegLiveAcrossClauses(MOI->getReg())) in canClauseLocalKillFitInClause()
213 if (UseI->findRegisterUseOperandIdx(MOI->getReg())) in canClauseLocalKillFitInClause()
216 if (UseI != Def && UseI->findRegisterDefOperandIdx(MOI->getReg()) != -1) in canClauseLocalKillFitInClause()
/external/llvm/lib/Target/SystemZ/
DSystemZShortenInst.cpp129 for (auto MOI = MI.operands_begin(), MOE = MI.operands_end(); in processBlock() local
130 MOI != MOE; ++MOI) { in processBlock()
131 MachineOperand &MO = *MOI; in processBlock()
/external/llvm/include/llvm/CodeGen/
DStackMaps.h217 parseOperand(MachineInstr::const_mop_iterator MOI,
235 MachineInstr::const_mop_iterator MOI,