Lines Matching defs:CE
22 void convertConstantExprsToInstructions(Instruction *I, ConstantExpr *CE,
24 // Collect all reachable paths to CE from constant exprssion operands of I.
26 collectConstantExprPaths(I, CE, CEPaths);
58 for (auto *CE : Path) {
59 // Instruction which is equivalent to CE.
62 if (!Visited.count(CE)) {
63 // CE is encountered first time, convert it into a corresponding
66 NI = CE->getAsInstruction(BI);
68 // Mark CE as visited by mapping CE to NI.
69 Visited[CE] = NI;
75 // We had already encountered CE, the correponding instruction already
76 // exist, use it to replace CE.
77 NI = Visited[CE];
83 // Replace all uses of constant expression CE by the corresponding
85 II->replaceUsesOfWith(CE, NI);
97 Instruction *I, ConstantExpr *CE,
105 // Holds all reachable paths from CE2 to CE.
108 // Collect all reachable paths from CE2 to CE.
116 if (CE3 == CE) {