LLVM API Documentation
#include <Instructions.h>


Public Member Functions | |
| SExtInst (Value *S, const Type *Ty, const std::string &NameStr="", Instruction *InsertBefore=0) | |
| Constructor with insert-before-instruction semantics. | |
| SExtInst (Value *S, const Type *Ty, const std::string &NameStr, BasicBlock *InsertAtEnd) | |
| Constructor with insert-at-end-of-block semantics. | |
| virtual CastInst * | clone () const |
| Clone an identical SExtInst. | |
Static Public Member Functions | |
| static bool | classof (const SExtInst *) |
| Methods for support type inquiry through isa, cast, and dyn_cast:. | |
| static bool | classof (const Instruction *I) |
| Methods for support type inquiry through isa, cast, and dyn_cast:. | |
| static bool | classof (const Value *V) |
Definition at line 2758 of file Instructions.h.
| SExtInst::SExtInst | ( | Value * | S, | |
| const Type * | Ty, | |||
| const std::string & | NameStr = "", |
|||
| Instruction * | InsertBefore = 0 | |||
| ) |
Constructor with insert-before-instruction semantics.
| S | The value to be sign extended |
| Ty | The type to sign extend to |
| NameStr | A name for the new instruction |
| InsertBefore | Where to insert the new instruction |
Definition at line 2371 of file Instructions.cpp.
References llvm::CastInst::castIsValid(), and llvm::CastInst::getOpcode().
| SExtInst::SExtInst | ( | Value * | S, | |
| const Type * | Ty, | |||
| const std::string & | NameStr, | |||
| BasicBlock * | InsertAtEnd | |||
| ) |
Constructor with insert-at-end-of-block semantics.
| S | The value to be sign extended |
| Ty | The type to sign extend to |
| NameStr | A name for the new instruction |
| InsertAtEnd | The block to insert the instruction into |
Definition at line 2377 of file Instructions.cpp.
References llvm::CastInst::castIsValid(), and llvm::CastInst::getOpcode().
| CastInst * SExtInst::clone | ( | ) | const [virtual] |
Clone an identical SExtInst.
Implements llvm::Instruction.
Definition at line 2918 of file Instructions.cpp.
| static bool llvm::SExtInst::classof | ( | const SExtInst * | ) | [inline, static] |
Methods for support type inquiry through isa, cast, and dyn_cast:.
Definition at line 2784 of file Instructions.h.
| static bool llvm::SExtInst::classof | ( | const Instruction * | ) | [inline, static] |
Methods for support type inquiry through isa, cast, and dyn_cast:.
Reimplemented from llvm::CastInst.
Definition at line 2785 of file Instructions.h.
References llvm::Instruction::getOpcode(), and llvm::Attribute::SExt.
| static bool llvm::SExtInst::classof | ( | const Value * | V | ) | [inline, static] |
This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.