LLVM  15.0.0git
Classes | Namespaces | Functions
ReplaceConstant.h File Reference
#include <map>
#include <vector>
Include dependency graph for ReplaceConstant.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  llvm::SmallPtrSetImpl< PtrType >
 A templated base class for SmallPtrSet which provides the typesafe interface that is common across all small sizes. More...
 

Namespaces

 llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

Functions

void llvm::convertConstantExprsToInstructions (Instruction *I, ConstantExpr *CE, SmallPtrSetImpl< Instruction * > *Insts=nullptr)
 The given instruction I contains given constant expression CE as one of its operands, possibly nested within constant expression trees. More...
 
void llvm::convertConstantExprsToInstructions (Instruction *I, std::map< Use *, std::vector< std::vector< ConstantExpr * >>> &CEPaths, SmallPtrSetImpl< Instruction * > *Insts=nullptr)
 The given instruction I contains constant expression CE within the constant expression trees of it`s constant expression operands, and CEPaths holds all the reachable paths (to CE) from such constant expression trees of I. More...
 
void llvm::collectConstantExprPaths (Instruction *I, ConstantExpr *CE, std::map< Use *, std::vector< std::vector< ConstantExpr * >>> &CEPaths)
 Given an instruction I which uses given constant expression CE as operand, either directly or nested within other constant expressions, return all reachable paths from the constant expression operands of I to CE, and return collected paths at CEPaths. More...