Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DMachineCombiner.cpp106 MachineInstr *DefInstr = nullptr; in getOperandDef() local
109 DefInstr = MRI->getUniqueVRegDef(MO.getReg()); in getOperandDef()
111 if (DefInstr && DefInstr->isPHI()) in getOperandDef()
112 DefInstr = nullptr; in getOperandDef()
113 return DefInstr; in getOperandDef()
151 MachineInstr *DefInstr = InsInstrs[II->second]; in getDepth() local
152 assert(DefInstr && in getDepth()
156 DefInstr, DefInstr->findRegisterDefOperandIdx(MO.getReg()), in getDepth()
159 MachineInstr *DefInstr = getOperandDef(MO); in getDepth() local
160 if (DefInstr) { in getDepth()
[all …]
/external/llvm/lib/Target/AMDGPU/
DSIFixSGPRCopies.cpp323 MachineInstr *DefInstr = MRI.getUniqueVRegDef(Reg); in runOnMachineFunction() local
324 assert(DefInstr); in runOnMachineFunction()
325 switch(DefInstr->getOpcode()) { in runOnMachineFunction()