ΒΆvoid collectConstantExprPaths(
llvm::Instruction* I,
llvm::ConstantExpr* CE,
std::map<
Use*,
std::vector<std::vector<ConstantExpr*>>>&
CEPaths)
void collectConstantExprPaths(
llvm::Instruction* I,
llvm::ConstantExpr* CE,
std::map<
Use*,
std::vector<std::vector<ConstantExpr*>>>&
CEPaths)
Description
Given an instruction \p I which uses given constant expression \p CE as operand, either directly or nested within other constant expressions, return all reachable paths from the constant expression operands of \p I to \p CE, and return collected paths at \p CEPaths.
Declared at: llvm/include/llvm/IR/ReplaceConstant.h:53
Parameters
- llvm::Instruction* I
- llvm::ConstantExpr* CE
- std::map<Use*, std::vector<std::vector<ConstantExpr*>>>& CEPaths