LLVM API Documentation

llvm::Use Class Reference

#include <Use.h>

Inheritance diagram for llvm::Use:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

void swap (Use &RHS)
 operator Value * () const
Valueget () const
UsergetUser () const
const UsegetImpliedUser () const
void set (Value *Val)
Valueoperator= (Value *RHS)
const Useoperator= (const Use &RHS)
Valueoperator-> ()
const Valueoperator-> () const
UsegetNext () const

Static Public Member Functions

static UseinitTags (Use *Start, Use *Stop, ptrdiff_t Done=0)
static void zap (Use *Start, const Use *Stop, bool del=false)

Friends

class Value


Detailed Description

Definition at line 68 of file Use.h.


Member Function Documentation

void llvm::Use::swap ( Use RHS  ) 

swap - provide a fast substitute to std::swap<Use> that also works with less standard-compliant compilers

Definition at line 22 of file Use.cpp.

References llvm::Value::addUse(), removeFromList(), V1, and Val.

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

Definition at line 97 of file Use.h.

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

User * llvm::Use::getUser (  )  const

const Use * llvm::Use::getImpliedUser (  )  const

Definition at line 51 of file Use.cpp.

References Offset, and Prev.

Referenced by llvm::User::dropHungoffUses(), and getUser().

Use * llvm::Use::initTags ( Use Start,
Use Stop,
ptrdiff_t  Done = 0 
) [static]

Definition at line 88 of file Use.cpp.

References Prev, and Val.

Referenced by llvm::User::allocHungoffUses(), and llvm::User::operator new().

void llvm::Use::zap ( Use Start,
const Use Stop,
bool  del = false 
) [static]

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

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

Definition at line 106 of file Use.h.

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

Definition at line 110 of file Use.h.

References Val.

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

Definition at line 115 of file Use.h.

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

Definition at line 116 of file Use.h.

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

Definition at line 118 of file Use.h.

Referenced by llvm::value_use_iterator< UserTy >::operator++().


Friends And Related Function Documentation

friend class Value [friend]

Definition at line 138 of file Use.h.


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



This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.