LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Functions
ConstantFolding.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  llvm::ArrayRef< T >
 

Namespaces

 llvm
 List of target independent CodeGen pass IDs.
 

Functions

Constantllvm::ConstantFoldInstruction (Instruction *I, const DataLayout *TD=0, const TargetLibraryInfo *TLI=0)
 
Constantllvm::ConstantFoldConstantExpression (const ConstantExpr *CE, const DataLayout *TD=0, const TargetLibraryInfo *TLI=0)
 
Constantllvm::ConstantFoldInstOperands (unsigned Opcode, Type *DestTy, ArrayRef< Constant * > Ops, const DataLayout *TD=0, const TargetLibraryInfo *TLI=0)
 
Constantllvm::ConstantFoldCompareInstOperands (unsigned Predicate, Constant *LHS, Constant *RHS, const DataLayout *TD=0, const TargetLibraryInfo *TLI=0)
 
Constantllvm::ConstantFoldInsertValueInstruction (Constant *Agg, Constant *Val, ArrayRef< unsigned > Idxs)
 
Constantllvm::ConstantFoldLoadFromConstPtr (Constant *C, const DataLayout *TD=0)
 
Constantllvm::ConstantFoldLoadThroughGEPConstantExpr (Constant *C, ConstantExpr *CE)
 
Constantllvm::ConstantFoldLoadThroughGEPIndices (Constant *C, ArrayRef< Constant * > Indices)
 
bool llvm::canConstantFoldCallTo (const Function *F)
 
Constantllvm::ConstantFoldCall (Function *F, ArrayRef< Constant * > Operands, const TargetLibraryInfo *TLI=0)