LLVM API Documentation
#include <Instructions.h>
Public Member Functions | |
| virtual ExtractElementInst * | clone (LLVMContext &Context) const |
| DECLARE_TRANSPARENT_OPERAND_ACCESSORS (Value) | |
| Transparently provide more efficient getOperand methods. | |
Static Public Member Functions | |
| static ExtractElementInst * | Create (const ExtractElementInst &EE) |
| static ExtractElementInst * | Create (Value *Vec, Value *Idx, const Twine &NameStr="", Instruction *InsertBefore=0) |
| static ExtractElementInst * | Create (Value *Vec, Value *Idx, const Twine &NameStr, BasicBlock *InsertAtEnd) |
| 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 1273 of file Instructions.h.
| static ExtractElementInst* llvm::ExtractElementInst::Create | ( | const ExtractElementInst & | EE | ) | [inline, static] |
Definition at line 1279 of file Instructions.h.
References llvm::User::getOperand().
Referenced by clone(), and llvm::IRBuilder< true, llvm::TargetFolder >::CreateExtractElement().
| static ExtractElementInst* llvm::ExtractElementInst::Create | ( | Value * | Vec, | |
| Value * | Idx, | |||
| const Twine & | NameStr = "", |
|||
| Instruction * | InsertBefore = 0 | |||
| ) | [inline, static] |
Definition at line 1283 of file Instructions.h.
| static ExtractElementInst* llvm::ExtractElementInst::Create | ( | Value * | Vec, | |
| Value * | Idx, | |||
| const Twine & | NameStr, | |||
| BasicBlock * | InsertAtEnd | |||
| ) | [inline, static] |
Definition at line 1288 of file Instructions.h.
isValidOperands - Return true if an extractelement instruction can be formed with the specified operands.
Definition at line 1196 of file Instructions.cpp.
References llvm::Value::getContext(), llvm::Type::getInt32Ty(), and llvm::Value::getType().
| ExtractElementInst * ExtractElementInst::clone | ( | LLVMContext & | Context | ) | 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 3028 of file Instructions.cpp.
References Create(), llvm::User::getOperand(), and llvm::Value::SubclassOptionalData.
| 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 1304 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 1305 of file Instructions.h.
References ExtractElement(), and llvm::Instruction::getOpcode().