LLVM API Documentation
#include <Use.h>


Public Member Functions | |
| void | swap (Use &RHS) |
| operator Value * () const | |
| Value * | get () const |
| User * | getUser () const |
| const Use * | getImpliedUser () const |
| void | set (Value *Val) |
| Value * | operator= (Value *RHS) |
| const Use & | operator= (const Use &RHS) |
| Value * | operator-> () |
| const Value * | operator-> () const |
| Use * | getNext () const |
Static Public Member Functions | |
| static Use * | initTags (Use *Start, Use *Stop, ptrdiff_t Done=0) |
| static void | zap (Use *Start, const Use *Stop, bool del=false) |
Friends | |
| class | Value |
Definition at line 68 of file Use.h.
| 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.
| Value* llvm::Use::get | ( | ) | const [inline] |
| User * llvm::Use::getUser | ( | ) | const |
Definition at line 139 of file Use.cpp.
References End, and getImpliedUser().
Referenced by llvm::value_use_iterator< UserTy >::operator*(), OptimizeGlobalAddressOfMalloc(), and llvm::Value::uncheckedReplaceAllUsesWith().
| const Use * llvm::Use::getImpliedUser | ( | ) | const |
Definition at line 88 of file Use.cpp.
Referenced by llvm::User::allocHungoffUses(), and llvm::User::operator new().
Definition at line 111 of file Use.cpp.
Referenced by llvm::User::dropHungoffUses(), llvm::BitcodeReaderValueList::resize(), and llvm::User::~User().
| void llvm::Use::set | ( | Value * | Val | ) | [inline] |
Definition at line 261 of file Value.h.
References llvm::Value::addUse(), and Val.
Referenced by llvm::SwitchInst::removeCase(), llvm::PHINode::removeIncomingValue(), llvm::BitcodeReaderValueList::ResolveConstantForwardRefs(), and llvm::Value::uncheckedReplaceAllUsesWith().
| Use* llvm::Use::getNext | ( | ) | const [inline] |
Definition at line 118 of file Use.h.
Referenced by llvm::value_use_iterator< UserTy >::operator++().