LLVM API Documentation

Namespaces | Functions
PromoteMemToReg.h File Reference
#include "llvm/ADT/ArrayRef.h"
Include dependency graph for PromoteMemToReg.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  llvm
 

List of target independent CodeGen pass IDs.


Functions

bool llvm::isAllocaPromotable (const AllocaInst *AI)
 Return true if this alloca is legal for promotion.
void llvm::PromoteMemToReg (ArrayRef< AllocaInst * > Allocas, DominatorTree &DT, AliasSetTracker *AST=nullptr, AssumptionTracker *AT=nullptr)
 Promote the specified list of alloca instructions into scalar registers, inserting PHI nodes as appropriate.