Home
last modified time | relevance | path

Searched refs:DefInst (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Target/AMDGPU/
DSILowerI1Copies.cpp115 MachineInstr *DefInst = MRI.getUniqueVRegDef(Src.getReg()); in runOnMachineFunction() local
116 if (DefInst->getOpcode() == AMDGPU::S_MOV_B64) { in runOnMachineFunction()
117 if (DefInst->getOperand(1).isImm()) { in runOnMachineFunction()
120 int64_t Val = DefInst->getOperand(1).getImm(); in runOnMachineFunction()
/external/llvm/lib/Target/Hexagon/
DHexagonCopyToCombine.cpp360 MachineInstr *DefInst = LastDef[Reg]; in findPotentialNewifiableTFRs() local
361 if (!DefInst) in findPotentialNewifiableTFRs()
363 if (!isCombinableInstType(DefInst, TII, ShouldCombineAggressively)) in findPotentialNewifiableTFRs()
367 MachineBasicBlock::iterator It(DefInst); in findPotentialNewifiableTFRs()
375 PotentiallyNewifiableTFR.insert(DefInst); in findPotentialNewifiableTFRs()