Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DOptimizePHIs.cpp107 MachineInstr *SrcMI = MRI->getVRegDef(SrcReg); in IsSingleValuePHICycle() local
110 if (SrcMI && SrcMI->isCopy() && in IsSingleValuePHICycle()
111 !SrcMI->getOperand(0).getSubReg() && in IsSingleValuePHICycle()
112 !SrcMI->getOperand(1).getSubReg() && in IsSingleValuePHICycle()
113 TargetRegisterInfo::isVirtualRegister(SrcMI->getOperand(1).getReg())) in IsSingleValuePHICycle()
114 SrcMI = MRI->getVRegDef(SrcMI->getOperand(1).getReg()); in IsSingleValuePHICycle()
115 if (!SrcMI) in IsSingleValuePHICycle()
118 if (SrcMI->isPHI()) { in IsSingleValuePHICycle()
119 if (!IsSingleValuePHICycle(SrcMI, SingleValReg, PHIsInCycle)) in IsSingleValuePHICycle()
/external/llvm/lib/Target/AMDGPU/
DR600ControlFlowFinalizer.cpp283 unsigned DstMI, SrcMI; in isCompatibleWithClause() local
301 SrcMI = Reg; in isCompatibleWithClause()
303 SrcMI = TRI->getMatchingSuperReg(Reg, in isCompatibleWithClause()
308 if ((DstRegs.find(SrcMI) == DstRegs.end())) { in isCompatibleWithClause()