LLVM API Documentation

llvm::Use Class Reference

#include <Use.h>

Collaboration diagram for llvm::Use:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void init (Value *V, User *U)
 Use (Value *V, User *U)
 Use (const Use &U)
 ~Use ()
 Use ()
 operator Value * () const
Valueget () const
UsergetUser () const
void set (Value *Val)
Valueoperator= (Value *RHS)
const Useoperator= (const Use &RHS)
Valueoperator-> ()
const Valueoperator-> () const
UsegetNext () const

Friends

class Value

Detailed Description

Definition at line 34 of file Use.h.


Constructor & Destructor Documentation

llvm::Use::Use ( Value V,
User U 
) [inline]

Definition at line 38 of file Use.h.

References init(), and V.

llvm::Use::Use ( const Use U  )  [inline]

Definition at line 39 of file Use.h.

References init(), U, and Val.

llvm::Use::~Use (  )  [inline]

Definition at line 206 of file Value.h.

References Val.

llvm::Use::Use (  )  [inline]

Default ctor - This leaves the Use completely unitialized. The only thing that is valid to do with this use is to call the "init" method.

Definition at line 44 of file Use.h.


Member Function Documentation

void llvm::Use::init ( Value V,
User U 
) [inline]

Definition at line 200 of file Value.h.

References llvm::Value::addUse(), U, and Val.

Referenced by llvm::SwitchInst::addCase(), llvm::PHINode::addIncoming(), llvm::BinaryOperator::BinaryOperator(), llvm::BranchInst::BranchInst(), llvm::ConstantPacked::ConstantPacked(), llvm::ExtractElementInst::ExtractElementInst(), llvm::GlobalVariable::GlobalVariable(), llvm::InsertElementInst::InsertElementInst(), llvm::ShuffleVectorInst::ShuffleVectorInst(), llvm::StoreInst::StoreInst(), and Use().

llvm::Use::operator Value * (  )  const [inline]

Definition at line 47 of file Use.h.

Value* llvm::Use::get (  )  const [inline]

Definition at line 48 of file Use.h.

Referenced by llvm::GlobalVariable::getInitializer().

User* llvm::Use::getUser (  )  const [inline]

Definition at line 49 of file Use.h.

Referenced by llvm::value_use_iterator< UserTy >::getOperandNo().

void llvm::Use::set ( Value Val  )  [inline]

Definition at line 210 of file Value.h.

References V, and Val.

Referenced by operator=(), llvm::SwitchInst::removeCase(), llvm::PHINode::removeIncomingValue(), llvm::GlobalVariable::setInitializer(), llvm::BranchInst::setUnconditionalDest(), and llvm::ValueHandle::~ValueHandle().

Value* llvm::Use::operator= ( Value RHS  )  [inline]

Definition at line 53 of file Use.h.

References set().

const Use& llvm::Use::operator= ( const Use RHS  )  [inline]

Definition at line 57 of file Use.h.

References set(), and Val.

Value* llvm::Use::operator-> (  )  [inline]

Definition at line 62 of file Use.h.

const Value* llvm::Use::operator-> (  )  const [inline]

Definition at line 63 of file Use.h.

Use* llvm::Use::getNext (  )  const [inline]

Definition at line 65 of file Use.h.


Friends And Related Function Documentation

friend class Value [friend]

Definition at line 82 of file Use.h.


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