LLVM 20.0.0git
|
#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 (BasicBlock::iterator InsertPt, Constant *C) |
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. | |