LLVM API Documentation
#include <Instructions.h>


Public Member Functions | |
| Value * | getCondition () const |
| Value * | getTrueValue () const |
| Value * | getFalseValue () const |
| DECLARE_TRANSPARENT_OPERAND_ACCESSORS (Value) | |
| Transparently provide more efficient getOperand methods. | |
| OtherOps | getOpcode () const |
| virtual SelectInst * | clone () const |
Static Public Member Functions | |
| static SelectInst * | Create (Value *C, Value *S1, Value *S2, const std::string &NameStr="", Instruction *InsertBefore=0) |
| static SelectInst * | Create (Value *C, Value *S1, Value *S2, const std::string &NameStr, BasicBlock *InsertAtEnd) |
| static const char * | areInvalidOperands (Value *Cond, Value *True, Value *False) |
| static bool | classof (const SelectInst *) |
| 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 1206 of file Instructions.h.
| static SelectInst* llvm::SelectInst::Create | ( | Value * | C, | |
| Value * | S1, | |||
| Value * | S2, | |||
| const std::string & | NameStr = "", |
|||
| Instruction * | InsertBefore = 0 | |||
| ) | [inline, static] |
Definition at line 1233 of file Instructions.h.
Referenced by llvm::NoFolder::CreateSelect(), llvm::IRBuilder< preserveNames, T >::CreateSelect(), getMax(), getMin(), LowerPartSet(), TryToShrinkGlobalToBoolean(), llvm::SCEVExpander::visitSMaxExpr(), and llvm::SCEVExpander::visitUMaxExpr().
| static SelectInst* llvm::SelectInst::Create | ( | Value * | C, | |
| Value * | S1, | |||
| Value * | S2, | |||
| const std::string & | NameStr, | |||
| BasicBlock * | InsertAtEnd | |||
| ) | [inline, static] |
Definition at line 1238 of file Instructions.h.
| Value* llvm::SelectInst::getCondition | ( | ) | const [inline] |
| Value* llvm::SelectInst::getTrueValue | ( | ) | const [inline] |
Definition at line 1245 of file Instructions.h.
| Value* llvm::SelectInst::getFalseValue | ( | ) | const [inline] |
Definition at line 1246 of file Instructions.h.
areInvalidOperands - Return a string if the specified operands are invalid for a select operation, otherwise return null.
areInvalidOperands - Return a string if the specified operands are invalid for a select operation, otherwise return null.
Definition at line 147 of file Instructions.cpp.
References llvm::dyn_cast(), llvm::VectorType::getNumElements(), llvm::Value::getType(), llvm::Type::Int1Ty, and VT.
Referenced by llvm::ConstantExpr::getSelectTy().
| llvm::SelectInst::DECLARE_TRANSPARENT_OPERAND_ACCESSORS | ( | Value | ) |
Transparently provide more efficient getOperand methods.
| OtherOps llvm::SelectInst::getOpcode | ( | ) | const [inline] |
Subclass classification... getOpcode() returns a member of one of the enums that is coming soon (down below)...
Reimplemented from llvm::Instruction.
Definition at line 1255 of file Instructions.h.
References getOpcode().
| SelectInst * SelectInst::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 2931 of file Instructions.cpp.
References llvm::User::getNumOperands().
| static bool llvm::SelectInst::classof | ( | const SelectInst * | ) | [inline, static] |
Definition at line 1262 of file Instructions.h.
| static bool llvm::SelectInst::classof | ( | const Instruction * | ) | [inline, static] |
Methods for support type inquiry through isa, cast, and dyn_cast:.
Reimplemented from llvm::Instruction.
Definition at line 1263 of file Instructions.h.
References llvm::Instruction::getOpcode().
| static bool llvm::SelectInst::classof | ( | const Value * | V | ) | [inline, static] |
This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.