Searched refs:SingleValReg (Results 1 – 3 of 3) 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()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | OptimizePHIs.cpp | 51 bool IsSingleValuePHICycle(MachineInstr *MI, unsigned &SingleValReg, 85 unsigned &SingleValReg, in IsSingleValuePHICycle() argument 115 if (!IsSingleValuePHICycle(SrcMI, SingleValReg, PHIsInCycle)) in IsSingleValuePHICycle() 119 if (SingleValReg != 0) in IsSingleValuePHICycle() 121 SingleValReg = SrcReg; in IsSingleValuePHICycle() 164 unsigned SingleValReg = 0; in OptimizeBB() local 166 if (IsSingleValuePHICycle(MI, SingleValReg, PHIsInCycle) && in OptimizeBB() 167 SingleValReg != 0) { in OptimizeBB() 168 MRI->replaceRegWith(MI->getOperand(0).getReg(), SingleValReg); in OptimizeBB()
|