Home | History | Annotate | Download | only in CodeGen

Lines Matching full:phi

25 #define DEBUG_TYPE "phi-opt"
27 STATISTIC(NumPHICycles, "Number of PHI cycles replaced");
28 STATISTIC(NumDeadPHICycles, "Number of dead PHI cycles");
71 // Find dead PHI cycles and PHI cycles that can be replaced by a single
82 /// IsSingleValuePHICycle - Check if MI is a PHI where all the source operands
90 assert(MI->isPHI() && "IsSingleValuePHICycle expects a PHI instruction");
101 // Scan the PHI operands.
121 // Fail if there is more than one non-phi/non-move register.
130 /// IsDeadPHICycle - Check if the register defined by a PHI is only used by
133 assert(MI->isPHI() && "IsDeadPHICycle expects a PHI instruction");
136 "PHI destination is not a virtual register");
154 /// OptimizeBB - Remove dead PHI cycles and PHI cycles that can be replaced by
164 // Check for single-value PHI cycles.
180 // Check for dead PHI cycles.