LLVM 19.0.0git
|
#include "llvm/SandboxIR/SandboxIR.h"
Public Types | |
using | iterator = BBIterator |
![]() | |
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 Value *From) |
For isa/dyn_cast. | |
Friends | |
class | Context |
raw_ostream & | operator<< (raw_ostream &OS, const BasicBlock &SBBB) |
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 569 of file SandboxIR.h.
Definition at line 587 of file SandboxIR.h.
|
default |
Instruction & BasicBlock::back | ( | ) | const |
Definition at line 474 of file SandboxIR.cpp.
References assert(), getContext(), and llvm::sandboxir::Value::Val.
BasicBlock::iterator BasicBlock::begin | ( | ) | const |
Definition at line 446 of file SandboxIR.cpp.
References assert(), llvm::BasicBlock::begin(), llvm::sandboxir::Value::Ctx, llvm::BasicBlock::empty(), llvm::sandboxir::Context::getValue(), I, and llvm::sandboxir::Value::Val.
|
finalvirtual |
Implements llvm::sandboxir::Value.
Definition at line 517 of file SandboxIR.cpp.
References llvm::dbgs(), and dump().
Referenced by dump().
|
finalvirtual |
Implements llvm::sandboxir::Value.
Definition at line 483 of file SandboxIR.cpp.
References llvm::any_of(), llvm::sandboxir::Value::Ctx, llvm::Value::getName(), llvm::sandboxir::Context::getValue(), I, llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::insert(), Name, OS, and llvm::sandboxir::Value::Val.
|
inline |
Definition at line 601 of file SandboxIR.h.
|
inline |
Definition at line 589 of file SandboxIR.h.
References llvm::sandboxir::Value::Ctx, and llvm::sandboxir::Value::Val.
Instruction & BasicBlock::front | ( | ) | const |
Definition at line 466 of file SandboxIR.cpp.
References assert(), getContext(), and llvm::sandboxir::Value::Val.
|
inline |
Definition at line 599 of file SandboxIR.h.
References llvm::sandboxir::Value::Ctx.
Function * BasicBlock::getParent | ( | ) | const |
Definition at line 415 of file SandboxIR.cpp.
References llvm::sandboxir::Value::Ctx, F, llvm::sandboxir::Context::getValue(), and llvm::sandboxir::Value::Val.
Instruction * BasicBlock::getTerminator | ( | ) | const |
Definition at line 460 of file SandboxIR.cpp.
References llvm::sandboxir::Value::Ctx, getTerminator(), llvm::sandboxir::Context::getValue(), and llvm::sandboxir::Value::Val.
Referenced by getTerminator().
|
inline |
Definition at line 593 of file SandboxIR.h.
References end().
|
inline |
Definition at line 596 of file SandboxIR.h.
References begin().
|
inlinefinalvirtual |
Should crash if there is something wrong with the instruction.
Implements llvm::sandboxir::Value.
Definition at line 606 of file SandboxIR.h.
References assert(), and llvm::sandboxir::Value::Val.
|
friend |
Definition at line 573 of file SandboxIR.h.
|
friend |
Definition at line 609 of file SandboxIR.h.