LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Functions
Local.h File Reference
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/Operator.h"
#include "llvm/Support/GetElementPtrTypeIterator.h"
Include dependency graph for Local.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  llvm::SmallVectorImpl< T >
 

Namespaces

 llvm
 List of target independent CodeGen pass IDs.
 

Functions

bool llvm::ConstantFoldTerminator (BasicBlock *BB, bool DeleteDeadConditions=false, const TargetLibraryInfo *TLI=0)
 
bool llvm::isInstructionTriviallyDead (Instruction *I, const TargetLibraryInfo *TLI=0)
 
bool llvm::RecursivelyDeleteTriviallyDeadInstructions (Value *V, const TargetLibraryInfo *TLI=0)
 
bool llvm::RecursivelyDeleteDeadPHINode (PHINode *PN, const TargetLibraryInfo *TLI=0)
 
bool llvm::SimplifyInstructionsInBlock (BasicBlock *BB, const DataLayout *TD=0, const TargetLibraryInfo *TLI=0)
 
void llvm::RemovePredecessorAndSimplify (BasicBlock *BB, BasicBlock *Pred, DataLayout *TD=0)
 
void llvm::MergeBasicBlockIntoOnlyPred (BasicBlock *BB, Pass *P=0)
 
bool llvm::TryToSimplifyUncondBranchFromEmptyBlock (BasicBlock *BB)
 
bool llvm::EliminateDuplicatePHINodes (BasicBlock *BB)
 
bool llvm::SimplifyCFG (BasicBlock *BB, const TargetTransformInfo &TTI, const DataLayout *TD=0)
 
bool llvm::FlattenCFG (BasicBlock *BB, AliasAnalysis *AA=0)
 
bool llvm::FoldBranchToCommonDest (BranchInst *BI)
 
AllocaInstllvm::DemoteRegToStack (Instruction &X, bool VolatileLoads=false, Instruction *AllocaPoint=0)
 
AllocaInstllvm::DemotePHIToStack (PHINode *P, Instruction *AllocaPoint=0)
 
unsigned llvm::getOrEnforceKnownAlignment (Value *V, unsigned PrefAlign, const DataLayout *TD=0)
 
static unsigned llvm::getKnownAlignment (Value *V, const DataLayout *TD=0)
 getKnownAlignment - Try to infer an alignment for the specified pointer. More...
 
template<typename IRBuilderTy >
Value * llvm::EmitGEPOffset (IRBuilderTy *Builder, const DataLayout &TD, User *GEP, bool NoAssumptions=false)
 
bool llvm::ConvertDebugDeclareToDebugValue (DbgDeclareInst *DDI, StoreInst *SI, DIBuilder &Builder)
 
bool llvm::ConvertDebugDeclareToDebugValue (DbgDeclareInst *DDI, LoadInst *LI, DIBuilder &Builder)
 
bool llvm::LowerDbgDeclare (Function &F)
 
DbgDeclareInstllvm::FindAllocaDbgDeclare (Value *V)
 
bool llvm::replaceDbgDeclareForAlloca (AllocaInst *AI, Value *NewAllocaAddress, DIBuilder &Builder)
 
bool llvm::removeUnreachableBlocks (Function &F)
 Remove all blocks that can not be reached from the function's entry. More...