Lines Matching full:phi
15 #define DEBUG_TYPE "phi-opt"
26 STATISTIC(NumPHICycles, "Number of PHI cycles replaced");
27 STATISTIC(NumDeadPHICycles, "Number of dead PHI cycles");
68 // Find dead PHI cycles and PHI cycles that can be replaced by a single
79 /// IsSingleValuePHICycle - Check if MI is a PHI where all the source operands
87 assert(MI->isPHI() && "IsSingleValuePHICycle expects a PHI instruction");
98 // Scan the PHI operands.
118 // Fail if there is more than one non-phi/non-move register.
127 /// IsDeadPHICycle - Check if the register defined by a PHI is only used by
130 assert(MI->isPHI() && "IsDeadPHICycle expects a PHI instruction");
133 "PHI destination is not a virtual register");
153 /// OptimizeBB - Remove dead PHI cycles and PHI cycles that can be replaced by
163 // Check for single-value PHI cycles.
175 // Check for dead PHI cycles.