LLVM 19.0.0git
|
#include "llvm/SandboxIR/SandboxIR.h"
Public Types | |
using | iterator = mapped_iterator< llvm::Function::iterator, LLVMBBToBB > |
![]() | |
enum class | ClassID : unsigned { DEF_VALUE , DEF_USER , DEF_INSTR } |
using | use_iterator = UserUseIterator |
using | const_use_iterator = UserUseIterator |
using | user_iterator = mapped_iterator< sandboxir::UserUseIterator, UseToUser > |
using | const_user_iterator = user_iterator |
Static Public Member Functions | |
static bool | classof (const sandboxir::Value *From) |
For isa/dyn_cast. | |
Friends | |
class | Context |
Additional Inherited Members | |
![]() | |
void | clearValue () |
Value (ClassID SubclassID, llvm::Value *Val, Context &Ctx) | |
![]() | |
static const char * | getSubclassIDStr (ClassID ID) |
![]() | |
ClassID | SubclassID |
For isa/dyn_cast. | |
unsigned | UID |
A unique ID used for forming the name (used for debugging). | |
llvm::Value * | Val = nullptr |
The LLVM Value that corresponds to this SandboxIR Value. | |
Context & | Ctx |
All values point to the context. | |
Definition at line 663 of file SandboxIR.h.
using llvm::sandboxir::Function::iterator = mapped_iterator<llvm::Function::iterator, LLVMBBToBB> |
Definition at line 691 of file SandboxIR.h.
|
inline |
Definition at line 689 of file SandboxIR.h.
References llvm::sandboxir::Value::Val.
|
inline |
Definition at line 688 of file SandboxIR.h.
References llvm::sandboxir::Value::Val.
|
inline |
Definition at line 692 of file SandboxIR.h.
References begin(), llvm::sandboxir::Value::Ctx, and llvm::sandboxir::Value::Val.
Referenced by begin().
|
inlinestatic |
|
finalvirtual |
Implements llvm::sandboxir::Value.
Definition at line 336 of file SandboxIR.cpp.
References llvm::dbgs(), and dump().
Referenced by dump().
|
finalvirtual |
Implements llvm::sandboxir::Value.
Definition at line 320 of file SandboxIR.cpp.
References llvm::sandboxir::Value::Ctx, dumpNameAndArgs(), llvm::sandboxir::Context::getValue(), llvm::interleave(), OS, and llvm::sandboxir::Value::Val.
void Function::dumpNameAndArgs | ( | raw_ostream & | OS | ) | const |
Definition at line 305 of file SandboxIR.cpp.
References F, llvm::interleave(), OS, and llvm::sandboxir::Value::Val.
Referenced by dump().
|
inline |
Definition at line 696 of file SandboxIR.h.
References llvm::sandboxir::Value::Ctx, end(), and llvm::sandboxir::Value::Val.
Referenced by end().
Definition at line 683 of file SandboxIR.h.
References llvm::sandboxir::Value::Ctx, llvm::sandboxir::Context::getValue(), Idx, and llvm::sandboxir::Value::Val.
|
inlinefinalvirtual |
Should crash if there is something wrong with the instruction.
Implements llvm::sandboxir::Value.
Definition at line 702 of file SandboxIR.h.
References assert(), and llvm::sandboxir::Value::Val.
|
friend |
Definition at line 675 of file SandboxIR.h.