LLVM 22.0.0git
|
#include "llvm/Support/Compiler.h"
Go to the source code of this file.
Namespaces | |
namespace | llvm |
This is an optimization pass for GlobalISel generic memory operations. |
Functions | |
LLVM_ABI bool | llvm::isAllocaPromotable (const AllocaInst *AI) |
Return true if this alloca is legal for promotion. | |
LLVM_ABI void | llvm::PromoteMemToReg (ArrayRef< AllocaInst * > Allocas, DominatorTree &DT, AssumptionCache *AC=nullptr) |
Promote the specified list of alloca instructions into scalar registers, inserting PHI nodes as appropriate. |