LLVM API Documentation

llvm::NoFolder Class Reference

NoFolder - Create "constants" (actually, values) with no folding. More...

#include <NoFolder.h>

List of all members.

Public Member Functions

Value * CreateAdd (Constant *LHS, Constant *RHS) const
Value * CreateSub (Constant *LHS, Constant *RHS) const
Value * CreateMul (Constant *LHS, Constant *RHS) const
Value * CreateUDiv (Constant *LHS, Constant *RHS) const
Value * CreateSDiv (Constant *LHS, Constant *RHS) const
Value * CreateFDiv (Constant *LHS, Constant *RHS) const
Value * CreateURem (Constant *LHS, Constant *RHS) const
Value * CreateSRem (Constant *LHS, Constant *RHS) const
Value * CreateFRem (Constant *LHS, Constant *RHS) const
Value * CreateShl (Constant *LHS, Constant *RHS) const
Value * CreateLShr (Constant *LHS, Constant *RHS) const
Value * CreateAShr (Constant *LHS, Constant *RHS) const
Value * CreateAnd (Constant *LHS, Constant *RHS) const
Value * CreateOr (Constant *LHS, Constant *RHS) const
Value * CreateXor (Constant *LHS, Constant *RHS) const
Value * CreateBinOp (Instruction::BinaryOps Opc, Constant *LHS, Constant *RHS) const
Value * CreateNeg (Constant *C) const
Value * CreateNot (Constant *C) const
Constant * CreateGetElementPtr (Constant *C, Constant *const *IdxList, unsigned NumIdx) const
Value * CreateGetElementPtr (Constant *C, Value *const *IdxList, unsigned NumIdx) const
Value * CreateCast (Instruction::CastOps Op, Constant *C, const Type *DestTy) const
Value * CreateIntCast (Constant *C, const Type *DestTy, bool isSigned) const
Value * CreateICmp (CmpInst::Predicate P, Constant *LHS, Constant *RHS) const
Value * CreateFCmp (CmpInst::Predicate P, Constant *LHS, Constant *RHS) const
Value * CreateVICmp (CmpInst::Predicate P, Constant *LHS, Constant *RHS) const
Value * CreateVFCmp (CmpInst::Predicate P, Constant *LHS, Constant *RHS) const
Value * CreateSelect (Constant *C, Constant *True, Constant *False) const
Value * CreateExtractElement (Constant *Vec, Constant *Idx) const
Value * CreateInsertElement (Constant *Vec, Constant *NewElt, Constant *Idx) const
Value * CreateShuffleVector (Constant *V1, Constant *V2, Constant *Mask) const
Value * CreateExtractValue (Constant *Agg, const unsigned *IdxList, unsigned NumIdx) const
Value * CreateInsertValue (Constant *Agg, Constant *Val, const unsigned *IdxList, unsigned NumIdx) const


Detailed Description

NoFolder - Create "constants" (actually, values) with no folding.

Definition at line 32 of file NoFolder.h.


Member Function Documentation

Value* llvm::NoFolder::CreateAdd ( Constant *  LHS,
Constant *  RHS 
) const [inline]

Definition at line 39 of file NoFolder.h.

Value* llvm::NoFolder::CreateSub ( Constant *  LHS,
Constant *  RHS 
) const [inline]

Definition at line 42 of file NoFolder.h.

Value* llvm::NoFolder::CreateMul ( Constant *  LHS,
Constant *  RHS 
) const [inline]

Definition at line 45 of file NoFolder.h.

Value* llvm::NoFolder::CreateUDiv ( Constant *  LHS,
Constant *  RHS 
) const [inline]

Definition at line 48 of file NoFolder.h.

Value* llvm::NoFolder::CreateSDiv ( Constant *  LHS,
Constant *  RHS 
) const [inline]

Definition at line 51 of file NoFolder.h.

Value* llvm::NoFolder::CreateFDiv ( Constant *  LHS,
Constant *  RHS 
) const [inline]

Definition at line 54 of file NoFolder.h.

Value* llvm::NoFolder::CreateURem ( Constant *  LHS,
Constant *  RHS 
) const [inline]

Definition at line 57 of file NoFolder.h.

Value* llvm::NoFolder::CreateSRem ( Constant *  LHS,
Constant *  RHS 
) const [inline]

Definition at line 60 of file NoFolder.h.

Value* llvm::NoFolder::CreateFRem ( Constant *  LHS,
Constant *  RHS 
) const [inline]

Definition at line 63 of file NoFolder.h.

Value* llvm::NoFolder::CreateShl ( Constant *  LHS,
Constant *  RHS 
) const [inline]

Definition at line 66 of file NoFolder.h.

Value* llvm::NoFolder::CreateLShr ( Constant *  LHS,
Constant *  RHS 
) const [inline]

Definition at line 69 of file NoFolder.h.

Value* llvm::NoFolder::CreateAShr ( Constant *  LHS,
Constant *  RHS 
) const [inline]

Definition at line 72 of file NoFolder.h.

Value* llvm::NoFolder::CreateAnd ( Constant *  LHS,
Constant *  RHS 
) const [inline]

Definition at line 75 of file NoFolder.h.

Value* llvm::NoFolder::CreateOr ( Constant *  LHS,
Constant *  RHS 
) const [inline]

Definition at line 78 of file NoFolder.h.

Value* llvm::NoFolder::CreateXor ( Constant *  LHS,
Constant *  RHS 
) const [inline]

Definition at line 81 of file NoFolder.h.

Value* llvm::NoFolder::CreateBinOp ( Instruction::BinaryOps  Opc,
Constant *  LHS,
Constant *  RHS 
) const [inline]

Definition at line 85 of file NoFolder.h.

References llvm::BinaryOperator::Create().

Value* llvm::NoFolder::CreateNeg ( Constant *  C  )  const [inline]

Definition at line 94 of file NoFolder.h.

References llvm::BinaryOperator::CreateNeg().

Value* llvm::NoFolder::CreateNot ( Constant *  C  )  const [inline]

Definition at line 97 of file NoFolder.h.

References llvm::BinaryOperator::CreateNot().

Constant* llvm::NoFolder::CreateGetElementPtr ( Constant *  C,
Constant *const *  IdxList,
unsigned  NumIdx 
) const [inline]

Definition at line 105 of file NoFolder.h.

References llvm::ConstantExpr::getGetElementPtr().

Value* llvm::NoFolder::CreateGetElementPtr ( Constant *  C,
Value *const *  IdxList,
unsigned  NumIdx 
) const [inline]

Definition at line 109 of file NoFolder.h.

References llvm::GetElementPtrInst::Create().

Value* llvm::NoFolder::CreateCast ( Instruction::CastOps  Op,
Constant *  C,
const Type *  DestTy 
) const [inline]

Definition at line 118 of file NoFolder.h.

References llvm::CastInst::Create().

Value* llvm::NoFolder::CreateIntCast ( Constant *  C,
const Type *  DestTy,
bool  isSigned 
) const [inline]

Definition at line 122 of file NoFolder.h.

References llvm::CastInst::CreateIntegerCast().

Value* llvm::NoFolder::CreateICmp ( CmpInst::Predicate  P,
Constant *  LHS,
Constant *  RHS 
) const [inline]

Definition at line 131 of file NoFolder.h.

Value* llvm::NoFolder::CreateFCmp ( CmpInst::Predicate  P,
Constant *  LHS,
Constant *  RHS 
) const [inline]

Definition at line 134 of file NoFolder.h.

Value* llvm::NoFolder::CreateVICmp ( CmpInst::Predicate  P,
Constant *  LHS,
Constant *  RHS 
) const [inline]

Definition at line 137 of file NoFolder.h.

Value* llvm::NoFolder::CreateVFCmp ( CmpInst::Predicate  P,
Constant *  LHS,
Constant *  RHS 
) const [inline]

Definition at line 140 of file NoFolder.h.

Value* llvm::NoFolder::CreateSelect ( Constant *  C,
Constant *  True,
Constant *  False 
) const [inline]

Definition at line 148 of file NoFolder.h.

References llvm::SelectInst::Create().

Value* llvm::NoFolder::CreateExtractElement ( Constant *  Vec,
Constant *  Idx 
) const [inline]

Definition at line 152 of file NoFolder.h.

Value* llvm::NoFolder::CreateInsertElement ( Constant *  Vec,
Constant *  NewElt,
Constant *  Idx 
) const [inline]

Definition at line 156 of file NoFolder.h.

References llvm::InsertElementInst::Create().

Value* llvm::NoFolder::CreateShuffleVector ( Constant *  V1,
Constant *  V2,
Constant *  Mask 
) const [inline]

Definition at line 161 of file NoFolder.h.

Value* llvm::NoFolder::CreateExtractValue ( Constant *  Agg,
const unsigned *  IdxList,
unsigned  NumIdx 
) const [inline]

Definition at line 165 of file NoFolder.h.

References llvm::ExtractValueInst::Create().

Value* llvm::NoFolder::CreateInsertValue ( Constant *  Agg,
Constant *  Val,
const unsigned *  IdxList,
unsigned  NumIdx 
) const [inline]

Definition at line 170 of file NoFolder.h.

References llvm::InsertValueInst::Create().


The documentation for this class was generated from the following file: