Lines Matching refs:ConstantExpr
22 void convertConstantExprsToInstructions(Instruction *I, ConstantExpr *CE, in convertConstantExprsToInstructions()
25 std::map<Use *, std::vector<std::vector<ConstantExpr *>>> CEPaths; in convertConstantExprsToInstructions()
35 std::map<Use *, std::vector<std::vector<ConstantExpr *>>> &CEPaths, in convertConstantExprsToInstructions()
37 ValueMap<ConstantExpr *, Instruction *> Visited; in convertConstantExprsToInstructions()
97 Instruction *I, ConstantExpr *CE, in collectConstantExprPaths()
98 std::map<Use *, std::vector<std::vector<ConstantExpr *>>> &CEPaths) { in collectConstantExprPaths()
101 auto *CE2 = dyn_cast<ConstantExpr>(U.get()); in collectConstantExprPaths()
106 std::vector<std::vector<ConstantExpr *>> Paths; in collectConstantExprPaths()
109 std::vector<ConstantExpr *> Path{CE2}; in collectConstantExprPaths()
110 std::vector<std::vector<ConstantExpr *>> Stack{Path}; in collectConstantExprPaths()
112 std::vector<ConstantExpr *> TPath = Stack.back(); in collectConstantExprPaths()
122 if (auto *CE4 = dyn_cast<ConstantExpr>(UU.get())) { in collectConstantExprPaths()
123 std::vector<ConstantExpr *> NPath(TPath.begin(), TPath.end()); in collectConstantExprPaths()