LLVM API Documentation
#include <ConstantFolder.h>
Definition at line 27 of file ConstantFolder.h.
| llvm::ConstantFolder::ConstantFolder | ( | LLVMContext & | ) | [inline, explicit] |
Definition at line 29 of file ConstantFolder.h.
| Constant* llvm::ConstantFolder::CreateBinOp | ( | Instruction::BinaryOps | Opc, | |
| Constant * | LHS, | |||
| Constant * | RHS | |||
| ) | const [inline] |
| Constant* llvm::ConstantFolder::CreateInBoundsGetElementPtr | ( | Constant * | C, | |
| Constant *const * | IdxList, | |||
| unsigned | NumIdx | |||
| ) | const [inline] |
Definition at line 128 of file ConstantFolder.h.
References llvm::ConstantExpr::getInBoundsGetElementPtr().
| Constant* llvm::ConstantFolder::CreateInBoundsGetElementPtr | ( | Constant * | C, | |
| Value *const * | IdxList, | |||
| unsigned | NumIdx | |||
| ) | const [inline] |
Definition at line 132 of file ConstantFolder.h.
References llvm::ConstantExpr::getInBoundsGetElementPtr().
| Constant* llvm::ConstantFolder::CreateCast | ( | Instruction::CastOps | Op, | |
| Constant * | C, | |||
| const Type * | DestTy | |||
| ) | const [inline] |
Definition at line 141 of file ConstantFolder.h.
References llvm::ConstantExpr::getCast().
Referenced by CreateBitCast(), CreateIntToPtr(), and CreatePtrToInt().
| Constant* llvm::ConstantFolder::CreateTruncOrBitCast | ( | Constant * | C, | |
| const Type * | DestTy | |||
| ) | const [inline] |
Definition at line 172 of file ConstantFolder.h.
References llvm::ConstantExpr::getTruncOrBitCast().
| Constant* llvm::ConstantFolder::CreateICmp | ( | CmpInst::Predicate | P, | |
| Constant * | LHS, | |||
| Constant * | RHS | |||
| ) | const [inline] |
| Constant* llvm::ConstantFolder::CreateFCmp | ( | CmpInst::Predicate | P, | |
| Constant * | LHS, | |||
| Constant * | RHS | |||
| ) | const [inline] |
| Constant* llvm::ConstantFolder::CreateExtractElement | ( | Constant * | Vec, | |
| Constant * | Idx | |||
| ) | const [inline] |
Definition at line 197 of file ConstantFolder.h.
References llvm::ConstantExpr::getExtractElement().