LLVM  8.0.1
Classes | Namespaces | Functions
ConstantFold.h File Reference
#include "llvm/ADT/Optional.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.

Classes

class  llvm::ArrayRef< T >
 ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory), i.e. More...
 

Namespaces

 llvm
 This class represents lattice values for constants.
 

Functions

Constantllvm::ConstantFoldCastInstruction (unsigned opcode, Constant *V, Type *DestTy)
 
Constantllvm::ConstantFoldSelectInstruction (Constant *Cond, Constant *V1, Constant *V2)
 Attempt to constant fold a select instruction with the specified operands. More...
 
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)
 Attempt to constant fold an insertelement instruction with the specified operands and indices. More...
 
Constantllvm::ConstantFoldShuffleVectorInstruction (Constant *V1, Constant *V2, Constant *Mask)
 Attempt to constant fold a shufflevector instruction with the specified operands and indices. More...
 
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 (Type *Ty, Constant *C, bool InBounds, Optional< unsigned > InRangeIndex, ArrayRef< Value *> Idxs)