LLVM 22.0.0git
ReplaceConstant.cpp File Reference

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 (BasicBlock::iterator InsertPt, Constant *C)
LLVM_ABI bool llvm::convertUsersOfConstantsToInstructions (ArrayRef< Constant * > Consts, Function *RestrictToFunc=nullptr, bool RemoveDeadConstants=true, bool IncludeSelf=false)
 Replace constant expressions users of the given constants with instructions.