LLVM API Documentation
#include <Instructions.h>
Public Member Functions | |
| void * | operator new (size_t s) |
| ExtractElementInst (Value *Vec, Value *Idx, const std::string &NameStr="", Instruction *InsertBefore=0) | |
| ExtractElementInst (Value *Vec, unsigned Idx, const std::string &NameStr="", Instruction *InsertBefore=0) | |
| ExtractElementInst (Value *Vec, Value *Idx, const std::string &NameStr, BasicBlock *InsertAtEnd) | |
| ExtractElementInst (Value *Vec, unsigned Idx, const std::string &NameStr, BasicBlock *InsertAtEnd) | |
| virtual ExtractElementInst * | clone () const |
| DECLARE_TRANSPARENT_OPERAND_ACCESSORS (Value) | |
| Transparently provide more efficient getOperand methods. | |
Static Public Member Functions | |
| static bool | isValidOperands (const Value *Vec, const Value *Idx) |
| static bool | classof (const ExtractElementInst *) |
| 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 1325 of file Instructions.h.
| ExtractElementInst::ExtractElementInst | ( | Value * | Vec, | |
| Value * | Idx, | |||
| const std::string & | NameStr = "", |
|||
| Instruction * | InsertBefore = 0 | |||
| ) |
Definition at line 1132 of file Instructions.cpp.
References isValidOperands(), and llvm::Value::setName().
| ExtractElementInst::ExtractElementInst | ( | Value * | Vec, | |
| unsigned | Idx, | |||
| const std::string & | NameStr = "", |
|||
| Instruction * | InsertBefore = 0 | |||
| ) |
Definition at line 1146 of file Instructions.cpp.
References llvm::ConstantInt::get(), Index, llvm::Type::Int32Ty, isValidOperands(), and llvm::Value::setName().
| ExtractElementInst::ExtractElementInst | ( | Value * | Vec, | |
| Value * | Idx, | |||
| const std::string & | NameStr, | |||
| BasicBlock * | InsertAtEnd | |||
| ) |
Definition at line 1162 of file Instructions.cpp.
References isValidOperands(), and llvm::Value::setName().
| ExtractElementInst::ExtractElementInst | ( | Value * | Vec, | |
| unsigned | Idx, | |||
| const std::string & | NameStr, | |||
| BasicBlock * | InsertAtEnd | |||
| ) |
Definition at line 1177 of file Instructions.cpp.
References llvm::ConstantInt::get(), Index, llvm::Type::Int32Ty, isValidOperands(), and llvm::Value::setName().
| void* llvm::ExtractElementInst::operator new | ( | size_t | s | ) | [inline] |
isValidOperands - Return true if an extractelement instruction can be formed with the specified operands.
Definition at line 1194 of file Instructions.cpp.
References llvm::Value::getType(), and llvm::Type::Int32Ty.
Referenced by ExtractElementInst().
| ExtractElementInst * ExtractElementInst::clone | ( | ) | const [virtual] |
clone() - Create a copy of 'this' instruction that is identical in all ways except the following: The instruction has no parent The instruction has no name
Implements llvm::Instruction.
Definition at line 2910 of file Instructions.cpp.
| llvm::ExtractElementInst::DECLARE_TRANSPARENT_OPERAND_ACCESSORS | ( | Value | ) |
Transparently provide more efficient getOperand methods.
| static bool llvm::ExtractElementInst::classof | ( | const ExtractElementInst * | ) | [inline, static] |
Definition at line 1356 of file Instructions.h.
| static bool llvm::ExtractElementInst::classof | ( | const Instruction * | ) | [inline, static] |
Methods for support type inquiry through isa, cast, and dyn_cast:.
Reimplemented from llvm::Instruction.
Definition at line 1357 of file Instructions.h.
References llvm::Instruction::getOpcode().
| static bool llvm::ExtractElementInst::classof | ( | const Value * | V | ) | [inline, static] |