Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DOptimizePHIs.cpp51 bool IsSingleValuePHICycle(MachineInstr *MI, unsigned &SingleValReg,
84 unsigned &SingleValReg, in IsSingleValuePHICycle() argument
114 if (!IsSingleValuePHICycle(SrcMI, SingleValReg, PHIsInCycle)) in IsSingleValuePHICycle()
118 if (SingleValReg != 0) in IsSingleValuePHICycle()
120 SingleValReg = SrcReg; in IsSingleValuePHICycle()
163 unsigned SingleValReg = 0; in OptimizeBB() local
165 if (IsSingleValuePHICycle(MI, SingleValReg, PHIsInCycle) && in OptimizeBB()
166 SingleValReg != 0) { in OptimizeBB()
168 if (!MRI->constrainRegClass(SingleValReg, MRI->getRegClass(OldReg))) in OptimizeBB()
171 MRI->replaceRegWith(OldReg, SingleValReg); in OptimizeBB()