Searched refs:SingleValReg (Results 1 – 2 of 2) sorted by relevance
/external/llvm/lib/CodeGen/ |
D | OptimizePHIs.cpp | 53 bool IsSingleValuePHICycle(MachineInstr *MI, unsigned &SingleValReg, 89 unsigned &SingleValReg, in IsSingleValuePHICycle() argument 119 if (!IsSingleValuePHICycle(SrcMI, SingleValReg, PHIsInCycle)) in IsSingleValuePHICycle() 123 if (SingleValReg != 0) in IsSingleValuePHICycle() 125 SingleValReg = SrcReg; in IsSingleValuePHICycle() 166 unsigned SingleValReg = 0; in OptimizeBB() local 168 if (IsSingleValuePHICycle(MI, SingleValReg, PHIsInCycle) && in OptimizeBB() 169 SingleValReg != 0) { in OptimizeBB() 171 if (!MRI->constrainRegClass(SingleValReg, MRI->getRegClass(OldReg))) in OptimizeBB() 174 MRI->replaceRegWith(OldReg, SingleValReg); in OptimizeBB()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | OptimizePHIs.cpp | 59 bool IsSingleValuePHICycle(MachineInstr *MI, unsigned &SingleValReg, 98 unsigned &SingleValReg, in IsSingleValuePHICycle() argument 128 if (!IsSingleValuePHICycle(SrcMI, SingleValReg, PHIsInCycle)) in IsSingleValuePHICycle() 132 if (SingleValReg != 0) in IsSingleValuePHICycle() 134 SingleValReg = SrcReg; in IsSingleValuePHICycle() 175 unsigned SingleValReg = 0; in OptimizeBB() local 177 if (IsSingleValuePHICycle(MI, SingleValReg, PHIsInCycle) && in OptimizeBB() 178 SingleValReg != 0) { in OptimizeBB() 180 if (!MRI->constrainRegClass(SingleValReg, MRI->getRegClass(OldReg))) in OptimizeBB() 183 MRI->replaceRegWith(OldReg, SingleValReg); in OptimizeBB()
|