Home | History | Annotate | Download | only in Analysis

Lines Matching refs:Phi

61     if (Phi* Ph = dyn_cast<Phi>(E)) {
73 if (Phi* Ph = dyn_cast<Phi>(E)) {
81 // Phi nodes to find the canonical definition.
90 if (const Phi *Ph = dyn_cast<Phi>(E)) {
91 if (Ph->status() == Phi::PH_SingleVal) {
103 // Phi nodes to find the canonical definition.
104 // The non-const version will simplify incomplete Phi nodes.
118 if (auto *Ph = dyn_cast<Phi>(E)) {
119 if (Ph->status() == Phi::PH_Incomplete)
121 // Eliminate redundant Phi nodes.
122 if (Ph->status() == Phi::PH_SingleVal) {
132 // Trace the arguments of an incomplete Phi node to see if they have the same
133 // canonical definition. If so, mark the Phi node as redundant.
135 void til::simplifyIncompleteArg(til::Phi *Ph) {
136 assert(Ph && Ph->status() == Phi::PH_Incomplete);
139 Ph->setStatus(Phi::PH_MultiVal);
150 Ph->setStatus(Phi::PH_SingleVal);