LLVM 20.0.0git
|
Contains a list of sandboxir::Instruction's. More...
#include "llvm/SandboxIR/SandboxIR.h"
Public Types | |
using | iterator = BBIterator |
Public Types inherited from llvm::sandboxir::Value | |
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 |
class | Instruction |
Additional Inherited Members | |
Protected Member Functions inherited from llvm::sandboxir::Value | |
void | clearValue () |
Value (ClassID SubclassID, llvm::Value *Val, Context &Ctx) | |
Value (const Value &)=delete | |
Disable copies. | |
Value & | operator= (const Value &)=delete |
Static Protected Member Functions inherited from llvm::sandboxir::Value | |
static const char * | getSubclassIDStr (ClassID ID) |
Protected Attributes inherited from llvm::sandboxir::Value | |
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. | |
Contains a list of sandboxir::Instruction's.
Definition at line 600 of file SandboxIR.h.
Definition at line 619 of file SandboxIR.h.
|
default |
Instruction & BasicBlock::back | ( | ) | const |
Definition at line 2234 of file SandboxIR.cpp.
References assert(), getContext(), and llvm::sandboxir::Value::Val.
BasicBlock::iterator BasicBlock::begin | ( | ) | const |
Definition at line 2206 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 2243 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 633 of file SandboxIR.h.
|
inline |
Definition at line 621 of file SandboxIR.h.
References llvm::sandboxir::Value::Ctx, and llvm::sandboxir::Value::Val.
Referenced by llvm::sandboxir::AtomicRMWInst::create(), llvm::sandboxir::CallInst::create(), llvm::sandboxir::CallBrInst::create(), llvm::sandboxir::InvokeInst::create(), llvm::sandboxir::BinaryOperator::create(), llvm::sandboxir::UnaryOperator::create(), llvm::sandboxir::CastInst::create(), llvm::sandboxir::AllocaInst::create(), llvm::sandboxir::GetElementPtrInst::create(), llvm::sandboxir::AtomicCmpXchgInst::create(), llvm::sandboxir::CastInstImpl< Op >::create(), llvm::sandboxir::SwitchInst::create(), llvm::sandboxir::BinaryOperator::createWithCopiedFlags(), llvm::sandboxir::UnaryOperator::createWithCopiedFlags(), empty(), llvm::sandboxir::Instruction::insertInto(), llvm::sandboxir::Instruction::moveBefore(), and rbegin().
Instruction & BasicBlock::front | ( | ) | const |
Definition at line 2226 of file SandboxIR.cpp.
References assert(), getContext(), and llvm::sandboxir::Value::Val.
|
inline |
Definition at line 631 of file SandboxIR.h.
References llvm::sandboxir::Value::Ctx.
Function * BasicBlock::getParent | ( | ) | const |
Definition at line 2175 of file SandboxIR.cpp.
References llvm::sandboxir::Value::Ctx, F, llvm::sandboxir::Context::getValue(), and llvm::sandboxir::Value::Val.
Referenced by llvm::sandboxir::Instruction::getParent().
Instruction * BasicBlock::getTerminator | ( | ) | const |
Definition at line 2220 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 625 of file SandboxIR.h.
References end().
|
inline |
Definition at line 628 of file SandboxIR.h.
References begin().
|
inlinefinalvirtual |
Should crash if there is something wrong with the instruction.
Implements llvm::sandboxir::Value.
Definition at line 638 of file SandboxIR.h.
References assert(), and llvm::sandboxir::Value::Val.
|
friend |
Definition at line 604 of file SandboxIR.h.
|
friend |
Definition at line 605 of file SandboxIR.h.