LLVM API Documentation

ConstantFold.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

Functions

Constant * llvm::ConstantFoldCastInstruction (unsigned opc, const Constant *V, const Type *DestTy)
Constant * llvm::ConstantFoldSelectInstruction (const Constant *Cond, const Constant *V1, const Constant *V2)
Constant * llvm::ConstantFoldExtractElementInstruction (const Constant *Val, const Constant *Idx)
Constant * llvm::ConstantFoldInsertElementInstruction (const Constant *Val, const Constant *Elt, const Constant *Idx)
Constant * llvm::ConstantFoldShuffleVectorInstruction (const Constant *V1, const Constant *V2, const Constant *Mask)
Constant * llvm::ConstantFoldExtractValueInstruction (const Constant *Agg, const unsigned *Idxs, unsigned NumIdx)
Constant * llvm::ConstantFoldInsertValueInstruction (const Constant *Agg, const Constant *Val, const unsigned *Idxs, unsigned NumIdx)
Constant * llvm::ConstantFoldBinaryInstruction (unsigned Opcode, const Constant *C1, const Constant *C2)
Constant * llvm::ConstantFoldCompareInstruction (unsigned short pred, const Constant *C1, const Constant *C2)
Constant * llvm::ConstantFoldGetElementPtr (const Constant *C, Constant *const *Idxs, unsigned NumIdx)