Home
last modified time | relevance | path

Searched refs:DefMO (Results 1 – 25 of 36) sorted by relevance

12

/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLiveRangeShrink.cpp166 const MachineOperand *DefMO = nullptr; in runOnMachineFunction() local
187 if (DefMO) { in runOnMachineFunction()
191 DefMO = &MO; in runOnMachineFunction()
192 } else if (MRI.hasOneNonDBGUse(Reg) && MRI.hasOneDef(Reg) && DefMO && in runOnMachineFunction()
193 MRI.getRegClass(DefMO->getReg()) == in runOnMachineFunction()
218 if (DefMO && Insert && NumEligibleUse > 1 && Barrier <= IOM[Insert]) { in runOnMachineFunction()
DMachineLICM.cpp1166 MachineOperand &DefMO = MI.getOperand(i); in IsCheapInstruction() local
1167 if (!DefMO.isReg() || !DefMO.isDef()) in IsCheapInstruction()
1170 Register Reg = DefMO.getReg(); in IsCheapInstruction()
DModuloSchedule.cpp1595 for (MachineOperand &DefMO : MI->defs()) { in filterInstructions()
1597 for (MachineInstr &UseMI : MRI.use_instructions(DefMO.getReg())) { in filterInstructions()
1606 Sub.first->substituteRegister(DefMO.getReg(), Sub.second, /*SubIdx=*/0, in filterInstructions()
1905 for (MachineOperand &DefMO : MI->defs()) { in rewriteUsesOf()
1907 for (MachineInstr &UseMI : MRI.use_instructions(DefMO.getReg())) { in rewriteUsesOf()
1916 Sub.first->substituteRegister(DefMO.getReg(), Sub.second, /*SubIdx=*/0, in rewriteUsesOf()
DMachineInstr.cpp1051 MachineOperand &DefMO = getOperand(DefIdx); in tieOperands() local
1053 assert(DefMO.isDef() && "DefIdx must be a def operand"); in tieOperands()
1055 assert(!DefMO.isTied() && "Def is already tied to another use"); in tieOperands()
1069 DefMO.TiedTo = std::min(UseIdx + 1, TiedMax); in tieOperands()
/external/llvm-project/llvm/lib/CodeGen/
DLiveRangeShrink.cpp166 const MachineOperand *DefMO = nullptr; in runOnMachineFunction() local
187 if (DefMO) { in runOnMachineFunction()
191 DefMO = &MO; in runOnMachineFunction()
192 } else if (MRI.hasOneNonDBGUse(Reg) && MRI.hasOneDef(Reg) && DefMO && in runOnMachineFunction()
193 MRI.getRegClass(DefMO->getReg()) == in runOnMachineFunction()
218 if (DefMO && Insert && NumEligibleUse > 1 && Barrier <= IOM[Insert]) { in runOnMachineFunction()
DFixupStatepointCallerSaved.cpp482 MachineOperand &DefMO = MI.getOperand(I); in rewriteStatepoint() local
483 assert(DefMO.isReg() && DefMO.isDef() && "Expected Reg Def operand"); in rewriteStatepoint()
484 Register Reg = DefMO.getReg(); in rewriteStatepoint()
DMachineLICM.cpp1185 MachineOperand &DefMO = MI.getOperand(i); in IsCheapInstruction() local
1186 if (!DefMO.isReg() || !DefMO.isDef()) in IsCheapInstruction()
1189 Register Reg = DefMO.getReg(); in IsCheapInstruction()
DModuloSchedule.cpp1603 for (MachineOperand &DefMO : MI->defs()) { in filterInstructions()
1605 for (MachineInstr &UseMI : MRI.use_instructions(DefMO.getReg())) { in filterInstructions()
1614 Sub.first->substituteRegister(DefMO.getReg(), Sub.second, /*SubIdx=*/0, in filterInstructions()
1917 for (MachineOperand &DefMO : MI->defs()) { in rewriteUsesOf()
1919 for (MachineInstr &UseMI : MRI.use_instructions(DefMO.getReg())) { in rewriteUsesOf()
1928 Sub.first->substituteRegister(DefMO.getReg(), Sub.second, /*SubIdx=*/0, in rewriteUsesOf()
DMachineInstr.cpp1095 MachineOperand &DefMO = getOperand(DefIdx); in tieOperands() local
1097 assert(DefMO.isDef() && "DefIdx must be a def operand"); in tieOperands()
1099 assert(!DefMO.isTied() && "Def is already tied to another use"); in tieOperands()
1115 DefMO.TiedTo = std::min(UseIdx + 1, TiedMax); in tieOperands()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyExplicitLocals.cpp177 for (MachineOperand &DefMO : Def->explicit_uses()) { in findStartOfTree()
178 if (!DefMO.isReg()) in findStartOfTree()
180 return findStartOfTree(DefMO, MRI, MFI); in findStartOfTree()
DWebAssemblyRegStackify.cpp612 MachineOperand &DefMO = Def->getOperand(0); in moveAndTeeForMultiUse() local
616 .addReg(DefReg, getUndefRegState(DefMO.isDead())); in moveAndTeeForMultiUse()
618 DefMO.setReg(DefReg); in moveAndTeeForMultiUse()
/external/llvm-project/llvm/lib/Target/WebAssembly/
DWebAssemblyExplicitLocals.cpp209 for (MachineOperand &DefMO : Def->explicit_uses()) { in findStartOfTree()
210 if (!DefMO.isReg()) in findStartOfTree()
212 return findStartOfTree(DefMO, MRI, MFI); in findStartOfTree()
DWebAssemblyRegStackify.cpp648 MachineOperand &DefMO = Def->getOperand(0); in moveAndTeeForMultiUse() local
652 .addReg(DefReg, getUndefRegState(DefMO.isDead())); in moveAndTeeForMultiUse()
654 DefMO.setReg(DefReg); in moveAndTeeForMultiUse()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyRegStackify.cpp550 MachineOperand &DefMO = Def->getOperand(0); in MoveAndTeeForMultiUse() local
554 .addReg(DefReg, getUndefRegState(DefMO.isDead())); in MoveAndTeeForMultiUse()
556 DefMO.setReg(DefReg); in MoveAndTeeForMultiUse()
/external/llvm/lib/CodeGen/
DMachineLICM.cpp1005 MachineOperand &DefMO = MI.getOperand(i); in IsCheapInstruction() local
1006 if (!DefMO.isReg() || !DefMO.isDef()) in IsCheapInstruction()
1009 unsigned Reg = DefMO.getReg(); in IsCheapInstruction()
DMachineInstr.cpp1400 MachineOperand &DefMO = getOperand(DefIdx); in tieOperands() local
1402 assert(DefMO.isDef() && "DefIdx must be a def operand"); in tieOperands()
1404 assert(!DefMO.isTied() && "Def is already tied to another use"); in tieOperands()
1418 DefMO.TiedTo = std::min(UseIdx + 1, TiedMax); in tieOperands()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DSIPeepholeSDWA.cpp321 for (auto &DefMO : DefInstr->defs()) { in findSingleRegDef() local
322 if (DefMO.isReg() && DefMO.getReg() == Reg->getReg()) in findSingleRegDef()
323 return &DefMO; in findSingleRegDef()
DSIInsertWaitcnts.cpp624 MachineOperand &DefMO = Inst.getOperand(I); in updateByEvent() local
625 if (DefMO.isReg() && DefMO.isDef() && in updateByEvent()
626 TRI->isVGPR(*MRI, DefMO.getReg())) { in updateByEvent()
628 TRI->getEncodingValue(AMDGPU::getMCReg(DefMO.getReg(), *ST)), in updateByEvent()
DSIInstrInfo.h745 const MachineOperand &DefMO) const { in isInlineConstant() argument
752 return isInlineConstant(DefMO, MI.getDesc().OpInfo[OpIdx]); in isInlineConstant()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIPeepholeSDWA.cpp321 for (auto &DefMO : DefInstr->defs()) { in findSingleRegDef() local
322 if (DefMO.isReg() && DefMO.getReg() == Reg->getReg()) in findSingleRegDef()
323 return &DefMO; in findSingleRegDef()
DSIInsertWaitcnts.cpp623 MachineOperand &DefMO = Inst.getOperand(I); in updateByEvent() local
624 if (DefMO.isReg() && DefMO.isDef() && in updateByEvent()
625 TRI->isVGPR(MRIA, DefMO.getReg())) { in updateByEvent()
626 setRegScore(TRI->getEncodingValue(DefMO.getReg()), EXP_CNT, in updateByEvent()
DSIInstrInfo.h712 const MachineOperand &DefMO) const { in isInlineConstant() argument
719 return isInlineConstant(DefMO, MI.getDesc().OpInfo[OpIdx]); in isInlineConstant()
/external/llvm/lib/Target/ARM/
DARMBaseInstrInfo.h331 const MachineOperand &DefMO, unsigned Reg,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMBaseInstrInfo.h374 const MachineOperand &DefMO, unsigned Reg,
/external/llvm-project/llvm/lib/Target/ARM/
DARMBaseInstrInfo.h426 const MachineOperand &DefMO, unsigned Reg,

12