LLVM 19.0.0git
Namespaces | Functions
ReplaceConstant.cpp File Reference
#include "llvm/IR/ReplaceConstant.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Instructions.h"

Go to the source code of this file.

Namespaces

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

Functions

static bool llvm::isExpandableUser (User *U)
 
static SmallVector< Instruction *, 4 > llvm::expandUser (Instruction *InsertPt, Constant *C)
 
bool llvm::convertUsersOfConstantsToInstructions (ArrayRef< Constant * > Consts)
 Replace constant expressions users of the given constants with instructions.