Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DOptimizePHIs.cpp58 bool IsSingleValuePHICycle(MachineInstr *MI, unsigned &SingleValReg,
97 unsigned &SingleValReg, in IsSingleValuePHICycle() argument
128 if (!IsSingleValuePHICycle(SrcMI, SingleValReg, PHIsInCycle)) in IsSingleValuePHICycle()
132 if (SingleValReg != 0 && SingleValReg != SrcReg) in IsSingleValuePHICycle()
134 SingleValReg = SrcReg; in IsSingleValuePHICycle()
174 unsigned SingleValReg = 0; in OptimizeBB() local
176 if (IsSingleValuePHICycle(MI, SingleValReg, PHIsInCycle) && in OptimizeBB()
177 SingleValReg != 0) { in OptimizeBB()
179 if (!MRI->constrainRegClass(SingleValReg, MRI->getRegClass(OldReg))) in OptimizeBB()
182 MRI->replaceRegWith(OldReg, SingleValReg); in OptimizeBB()
[all …]