LLVM API Documentation

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.

Namespaces

namespace  llvm
 

List of target independent CodeGen pass IDs.


Functions

Constantllvm::ConstantFoldInstruction (Instruction *I, const DataLayout *TD=nullptr, const TargetLibraryInfo *TLI=nullptr)
Constantllvm::ConstantFoldConstantExpression (const ConstantExpr *CE, const DataLayout *TD=nullptr, const TargetLibraryInfo *TLI=nullptr)
Constantllvm::ConstantFoldInstOperands (unsigned Opcode, Type *DestTy, ArrayRef< Constant * > Ops, const DataLayout *TD=nullptr, const TargetLibraryInfo *TLI=nullptr)
Constantllvm::ConstantFoldCompareInstOperands (unsigned Predicate, Constant *LHS, Constant *RHS, const DataLayout *TD=nullptr, const TargetLibraryInfo *TLI=nullptr)
Constantllvm::ConstantFoldInsertValueInstruction (Constant *Agg, Constant *Val, ArrayRef< unsigned > Idxs)
Constantllvm::ConstantFoldLoadFromConstPtr (Constant *C, const DataLayout *TD=nullptr)
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=nullptr)