LLVM 22.0.0git
|
Represents a Def-use/Use-def edge in SandboxIR. More...
#include "llvm/SandboxIR/Use.h"
Public Member Functions | |
operator Value * () const | |
LLVM_ABI Value * | get () const |
LLVM_ABI void | set (Value *V) |
class User * | getUser () const |
LLVM_ABI unsigned | getOperandNo () const |
LLVM_ABI void | swap (Use &OtherUse) |
Context * | getContext () const |
bool | operator== (const Use &Other) const |
bool | operator!= (const Use &Other) const |
void | dumpOS (raw_ostream &OS) const |
void | dump () const |
Friends | |
class | Value |
class | User |
class | OperandUseIterator |
class | UserUseIterator |
class | CallBase |
class | CallBrInst |
class | PHINode |
Represents a Def-use/Use-def edge in SandboxIR.
NOTE: Unlike llvm::Use, this is not an integral part of the use-def chains. It is also not uniqued and is currently passed by value, so you can have more than one sandboxir::Use objects for the same use-def edge.
void llvm::sandboxir::Use::dump | ( | ) | const |
Definition at line 58 of file Use.cpp.
References llvm::dbgs(), and dumpOS().
void llvm::sandboxir::Use::dumpOS | ( | raw_ostream & | OS | ) | const |
Value * llvm::sandboxir::Use::get | ( | ) | const |
Definition at line 15 of file Use.cpp.
References Value.
Referenced by llvm::sandboxir::EraseFromParent::EraseFromParent(), and operator Value *().
unsigned llvm::sandboxir::Use::getOperandNo | ( | ) | const |
Definition at line 22 of file Use.cpp.
Referenced by llvm::sandboxir::User::Use::getOperandNo.
|
inline |
Definition at line 55 of file Use.h.
References User.
Referenced by llvm::sandboxir::OperandUseIterator::operator+(), and llvm::sandboxir::OperandUseIterator::operator-().
|
inline |
Definition at line 63 of file Use.h.
References llvm::Other.
Definition at line 59 of file Use.h.
References assert(), and llvm::Other.
void llvm::sandboxir::Use::set | ( | Value * | V | ) |
Definition at line 17 of file Use.cpp.
References Value.
Referenced by llvm::sandboxir::CallBase::setCalledOperand().
|
friend |
|
friend |
|
friend |
Definition at line 45 of file Use.h.
References OperandUseIterator.
Referenced by OperandUseIterator.
|
friend |
|
friend |
|
friend |
|
friend |