LLVM 19.0.0git
|
Represents a Def-use/Use-def edge in SandboxIR. More...
#include "llvm/SandboxIR/SandboxIR.h"
Public Member Functions | |
operator Value * () const | |
Value * | get () const |
class User * | getUser () const |
unsigned | getOperandNo () const |
Context * | getContext () const |
bool | operator== (const Use &Other) const |
bool | operator!= (const Use &Other) const |
void | dump (raw_ostream &OS) const |
void | dump () const |
Friends | |
class | Value |
class | User |
class | OperandUseIterator |
class | UserUseIterator |
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.
Definition at line 81 of file SandboxIR.h.
void Use::dump | ( | ) | const |
Definition at line 50 of file SandboxIR.cpp.
References llvm::dbgs(), and dump().
Referenced by dump().
void Use::dump | ( | raw_ostream & | OS | ) | const |
Definition at line 22 of file SandboxIR.cpp.
References getOperandNo(), llvm::sandboxir::Context::getValue(), and OS.
Value * Use::get | ( | ) | const |
Definition at line 17 of file SandboxIR.cpp.
References llvm::sandboxir::Context::getValue().
Referenced by llvm::sandboxir::User::getOperand(), and operator Value *().
|
inline |
Definition at line 101 of file SandboxIR.h.
unsigned Use::getOperandNo | ( | ) | const |
Definition at line 19 of file SandboxIR.cpp.
References llvm::sandboxir::User::getUseOperandNo().
Referenced by dump(), and llvm::sandboxir::OperandUseIterator::operator++().
|
inline |
Definition at line 99 of file SandboxIR.h.
Referenced by llvm::sandboxir::Value::UseToUser::operator()(), llvm::sandboxir::OperandUseIterator::operator++(), and llvm::sandboxir::User::verifyUserOfLLVMUse().
|
inline |
Definition at line 97 of file SandboxIR.h.
References get().
Definition at line 106 of file SandboxIR.h.
References llvm::Other.
Definition at line 102 of file SandboxIR.h.
References assert(), and llvm::Other.
|
friend |
Definition at line 93 of file SandboxIR.h.
|
friend |
Definition at line 92 of file SandboxIR.h.
|
friend |
Definition at line 94 of file SandboxIR.h.
|
friend |
Definition at line 91 of file SandboxIR.h.