15 #ifndef LLVM_TRANSFORMS_UTILS_PROMOTEMEMTOREG_H
16 #define LLVM_TRANSFORMS_UTILS_PROMOTEMEMTOREG_H
24 class AliasSetTracker;
44 AliasSetTracker *AST = 0);
void PromoteMemToReg(ArrayRef< AllocaInst * > Allocas, DominatorTree &DT, AliasSetTracker *AST=0)
Promote the specified list of alloca instructions into scalar registers, inserting PHI nodes as appro...
bool isAllocaPromotable(const AllocaInst *AI)
Return true if this alloca is legal for promotion.