LLVM API Documentation

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

namespace  llvm
 

List of target independent CodeGen pass IDs.


Functions

Constantllvm::ConstantFoldCastInstruction (unsigned opcode, Constant *V, Type *DestTy)
Constantllvm::ConstantFoldSelectInstruction (Constant *Cond, Constant *V1, Constant *V2)
Constantllvm::ConstantFoldExtractElementInstruction (Constant *Val, Constant *Idx)
Constantllvm::ConstantFoldInsertElementInstruction (Constant *Val, Constant *Elt, Constant *Idx)
Constantllvm::ConstantFoldShuffleVectorInstruction (Constant *V1, Constant *V2, Constant *Mask)
Constantllvm::ConstantFoldExtractValueInstruction (Constant *Agg, ArrayRef< unsigned > Idxs)
Constantllvm::ConstantFoldInsertValueInstruction (Constant *Agg, Constant *Val, ArrayRef< unsigned > Idxs)
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)