LLVM API Documentation
#include <ConstantFolder.h>
Definition at line 25 of file ConstantFolder.h.
| Constant* llvm::ConstantFolder::CreateBinOp | ( | Instruction::BinaryOps | Opc, | |
| Constant * | LHS, | |||
| Constant * | RHS | |||
| ) | const [inline] |
| Constant* llvm::ConstantFolder::CreateCast | ( | Instruction::CastOps | Op, | |
| Constant * | C, | |||
| const Type * | DestTy | |||
| ) | const [inline] |
Definition at line 111 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 129 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::CreateVICmp | ( | CmpInst::Predicate | P, | |
| Constant * | LHS, | |||
| Constant * | RHS | |||
| ) | const [inline] |
| Constant* llvm::ConstantFolder::CreateVFCmp | ( | CmpInst::Predicate | P, | |
| Constant * | LHS, | |||
| Constant * | RHS | |||
| ) | const [inline] |
| Constant* llvm::ConstantFolder::CreateExtractElement | ( | Constant * | Vec, | |
| Constant * | Idx | |||
| ) | const [inline] |
Definition at line 162 of file ConstantFolder.h.
References llvm::ConstantExpr::getExtractElement().