LLVM API Documentation

llvm::UnaryInstruction Class Reference

#include <InstrTypes.h>

Inheritance diagram for llvm::UnaryInstruction:

Inheritance graph
[legend]
Collaboration diagram for llvm::UnaryInstruction:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ~UnaryInstruction ()
ValuegetOperand (unsigned i) const
void setOperand (unsigned i, Value *Val)
unsigned getNumOperands () const

Protected Member Functions

 UnaryInstruction (const Type *Ty, unsigned iType, Value *V, const std::string &Name="", Instruction *IB=0)
 UnaryInstruction (const Type *Ty, unsigned iType, Value *V, const std::string &Name, BasicBlock *IAE)

Detailed Description

Definition at line 90 of file InstrTypes.h.


Constructor & Destructor Documentation

llvm::UnaryInstruction::UnaryInstruction ( const Type Ty,
unsigned  iType,
Value V,
const std::string &  Name = "",
Instruction IB = 0 
) [inline, protected]

Definition at line 93 of file InstrTypes.h.

References Name.

llvm::UnaryInstruction::UnaryInstruction ( const Type Ty,
unsigned  iType,
Value V,
const std::string &  Name,
BasicBlock IAE 
) [inline, protected]

Definition at line 97 of file InstrTypes.h.

UnaryInstruction::~UnaryInstruction (  ) 

Definition at line 58 of file Instructions.cpp.


Member Function Documentation

Value* llvm::UnaryInstruction::getOperand ( unsigned  i  )  const [inline]

Reimplemented from llvm::User.

Definition at line 106 of file InstrTypes.h.

Referenced by llvm::AliasSetTracker::add(), llvm::FreeInst::clone(), ConvertOperandToType(), llvm::AllocationInst::getArraySize(), llvm::InvokeInst::getCalledFunction(), llvm::CallInst::getCalledFunction(), llvm::InvokeInst::getCalledValue(), llvm::CallInst::getCalledValue(), llvm::SwitchInst::getCondition(), llvm::BranchInst::getCondition(), llvm::SwitchInst::getDefaultDest(), llvm::PHINode::getIncomingBlock(), llvm::PHINode::getIncomingValue(), llvm::AliasAnalysis::getModRefInfo(), llvm::InvokeInst::getNormalDest(), llvm::LoadInst::getPointerOperand(), llvm::SwitchInst::getSuccessor(), llvm::BranchInst::getSuccessor(), llvm::SwitchInst::getSuccessorValue(), llvm::InvokeInst::getUnwindDest(), llvm::AllocationInst::isArrayAllocation(), isReinterpretingCast(), OptimizeNoopCopyExpression(), llvm::AliasSetTracker::remove(), RemoveNoopCast(), llvm::Interpreter::visitAllocationInst(), llvm::Interpreter::visitCastInst(), llvm::SelectionDAGLowering::visitFree(), llvm::Interpreter::visitFreeInst(), llvm::SelectionDAGLowering::visitLoad(), llvm::SelectionDAGLowering::visitMalloc(), llvm::SelectionDAGLowering::visitVAArg(), and llvm::Interpreter::visitVAArgInst().

void llvm::UnaryInstruction::setOperand ( unsigned  i,
Value Val 
) [inline]

Reimplemented from llvm::User.

Definition at line 110 of file InstrTypes.h.

References Val.

Referenced by llvm::SwitchInst::setCondition(), llvm::BranchInst::setCondition(), llvm::PHINode::setIncomingBlock(), llvm::PHINode::setIncomingValue(), llvm::InvokeInst::setNormalDest(), llvm::InvokeInst::setSuccessor(), llvm::SwitchInst::setSuccessor(), llvm::BranchInst::setSuccessor(), llvm::BranchInst::setUnconditionalDest(), and llvm::InvokeInst::setUnwindDest().

unsigned llvm::UnaryInstruction::getNumOperands (  )  const [inline]

Reimplemented from llvm::User.

Definition at line 114 of file InstrTypes.h.

Referenced by llvm::PHINode::getBasicBlockIndex(), llvm::PHINode::getIncomingValue(), llvm::SwitchInst::getNumCases(), llvm::PHINode::getNumIncomingValues(), llvm::SwitchInst::getNumSuccessors(), llvm::BranchInst::getOperand(), llvm::ReturnInst::getOperand(), llvm::BranchInst::isConditional(), llvm::BranchInst::isUnconditional(), llvm::PHINode::setIncomingValue(), llvm::BranchInst::setOperand(), and llvm::ReturnInst::setOperand().


The documentation for this class was generated from the following files: