LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

AllocaInfo Struct Reference

Collaboration diagram for AllocaInfo:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void clear ()
void AnalyzeAlloca (AllocaInst *AI)

Public Attributes

std::vector< BasicBlock * > DefiningBlocks
std::vector< BasicBlock * > UsingBlocks
StoreInstOnlyStore
BasicBlockOnlyBlock
bool OnlyUsedInOneBlock
ValueAllocaPointerVal

Member Function Documentation

void AllocaInfo::AnalyzeAlloca AllocaInst AI  )  [inline]
 

AnalyzeAlloca - Scan the uses of the specified alloca, filling in our ivars.

Definition at line 226 of file PromoteMemoryToRegister.cpp.

References llvm::User::getOperand(), llvm::Instruction::getParent(), llvm::Value::use_begin(), llvm::Value::use_end(), and llvm::Value::use_iterator.

Referenced by PromoteMem2Reg::run().

void AllocaInfo::clear  )  [inline]
 

Definition at line 215 of file PromoteMemoryToRegister.cpp.

References llvm::DenseMap< KeyT, ValueT, KeyInfoT, ValueInfoT >::clear().


Member Data Documentation

Value* AllocaInfo::AllocaPointerVal
 

Definition at line 213 of file PromoteMemoryToRegister.cpp.

Referenced by PromoteMem2Reg::run().

std::vector<BasicBlock*> AllocaInfo::DefiningBlocks
 

Definition at line 206 of file PromoteMemoryToRegister.cpp.

Referenced by PromoteMem2Reg::run().

BasicBlock* AllocaInfo::OnlyBlock
 

Definition at line 210 of file PromoteMemoryToRegister.cpp.

Referenced by PromoteMem2Reg::run().

StoreInst* AllocaInfo::OnlyStore
 

Definition at line 209 of file PromoteMemoryToRegister.cpp.

Referenced by PromoteMem2Reg::run().

bool AllocaInfo::OnlyUsedInOneBlock
 

Definition at line 211 of file PromoteMemoryToRegister.cpp.

Referenced by PromoteMem2Reg::run().

std::vector<BasicBlock*> AllocaInfo::UsingBlocks
 

Definition at line 207 of file PromoteMemoryToRegister.cpp.

Referenced by PromoteMem2Reg::run().


The documentation for this struct was generated from the following file:


This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.