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

Go to the source code of this file.

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 

Functions

Constantllvm::ConstantFoldCastInstruction (unsigned opcode, Constant *V, Type *DestTy)
 
Constantllvm::ConstantFoldSelectInstruction (Constant *Cond, Constant *V1, Constant *V2)
 
Constantllvm::ConstantFoldExtractElementInstruction (Constant *Val, Constant *Idx)
 Attempt to constant fold an extractelement instruction with the specified operands and indices. More...
 
Constantllvm::ConstantFoldInsertElementInstruction (Constant *Val, Constant *Elt, Constant *Idx)
 
Constantllvm::ConstantFoldShuffleVectorInstruction (Constant *V1, Constant *V2, Constant *Mask)
 
Constantllvm::ConstantFoldExtractValueInstruction (Constant *Agg, ArrayRef< unsigned > Idxs)
 Attempt to constant fold an extractvalue instruction with the specified operands and indices. More...
 
Constantllvm::ConstantFoldInsertValueInstruction (Constant *Agg, Constant *Val, ArrayRef< unsigned > Idxs)
 ConstantFoldInsertValueInstruction - Attempt to constant fold an insertvalue instruction with the specified operands and indices. More...
 
Constantllvm::ConstantFoldBinaryInstruction (unsigned Opcode, Constant *V1, Constant *V2)
 
Constantllvm::ConstantFoldCompareInstruction (unsigned short predicate, Constant *C1, Constant *C2)
 
Constantllvm::ConstantFoldGetElementPtr (Constant *C, bool inBounds, ArrayRef< Constant * > Idxs)
 
Constantllvm::ConstantFoldGetElementPtr (Constant *C, bool inBounds, ArrayRef< Value * > Idxs)
 
Constantllvm::ConstantFoldGetElementPtr (Type *Ty, Constant *C, bool inBounds, ArrayRef< Constant * > Idxs)
 
Constantllvm::ConstantFoldGetElementPtr (Type *Ty, Constant *C, bool inBounds, ArrayRef< Value * > Idxs)