LLVM API Documentation
This class represents a cast from floating point to signed integer. More...
#include <Instructions.h>


Public Member Functions | |
| FPToSIInst (Value *S, Type *Ty, const Twine &NameStr="", Instruction *InsertBefore=nullptr) | |
| Constructor with insert-before-instruction semantics. | |
| FPToSIInst (Value *S, Type *Ty, const Twine &NameStr, BasicBlock *InsertAtEnd) | |
| Constructor with insert-at-end-of-block semantics. | |
Static Public Member Functions | |
| static bool | classof (const Instruction *I) |
| Methods for support type inquiry through isa, cast, and dyn_cast: | |
| static bool | classof (const Value *V) |
| Methods for support type inquiry through isa, cast, and dyn_cast: | |
Protected Member Functions | |
| FPToSIInst * | clone_impl () const override |
| Clone an identical FPToSIInst. | |
This class represents a cast from floating point to signed integer.
Definition at line 3619 of file Instructions.h.
| FPToSIInst::FPToSIInst | ( | Value * | S, |
| Type * | Ty, | ||
| const Twine & | NameStr = "", |
||
| Instruction * | InsertBefore = nullptr |
||
| ) |
Constructor with insert-before-instruction semantics.
| S | The value to be converted |
| Ty | The type to convert to |
| NameStr | A name for the new instruction |
| InsertBefore | Where to insert the new instruction |
Definition at line 3044 of file Instructions.cpp.
References llvm::CastInst::castIsValid(), and llvm::CastInst::getOpcode().
Referenced by clone_impl().
| FPToSIInst::FPToSIInst | ( | Value * | S, |
| Type * | Ty, | ||
| const Twine & | NameStr, | ||
| BasicBlock * | InsertAtEnd | ||
| ) |
Constructor with insert-at-end-of-block semantics.
| S | The value to be converted |
| Ty | The type to convert to |
| NameStr | A name for the new instruction |
| InsertAtEnd | The block to insert the instruction into |
Definition at line 3050 of file Instructions.cpp.
References llvm::CastInst::castIsValid(), and llvm::CastInst::getOpcode().
| static bool llvm::FPToSIInst::classof | ( | const Instruction * | I | ) | [inline, static] |
Methods for support type inquiry through isa, cast, and dyn_cast:
Reimplemented from llvm::CastInst.
Definition at line 3642 of file Instructions.h.
References llvm::FPToSI, and llvm::Instruction::getOpcode().
Referenced by classof().
| static bool llvm::FPToSIInst::classof | ( | const Value * | V | ) | [inline, static] |
Methods for support type inquiry through isa, cast, and dyn_cast:
Reimplemented from llvm::CastInst.
Definition at line 3645 of file Instructions.h.
References classof().
| FPToSIInst * FPToSIInst::clone_impl | ( | ) | const [override, protected, virtual] |
Clone an identical FPToSIInst.
Implements llvm::Instruction.
Definition at line 3709 of file Instructions.cpp.
References FPToSIInst(), llvm::User::getOperand(), and llvm::Value::getType().