LLVM 20.0.0git
Classes | Public Types | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Friends | List of all members
llvm::sandboxir::Value Class Referenceabstract

A SandboxIR Value has users. This is the base class. More...

#include "llvm/SandboxIR/Value.h"

Inheritance diagram for llvm::sandboxir::Value:
Inheritance graph
[legend]

Classes

struct  UseToUser
 Helper for mapped_iterator. More...
 

Public Types

enum class  ClassID : unsigned { DEF_VALUE , DEF_USER , DEF_CONST , 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
 

Public Member Functions

virtual ~Value ()=default
 
ClassID getSubclassID () const
 
use_iterator use_begin ()
 
const_use_iterator use_begin () const
 
use_iterator use_end ()
 
const_use_iterator use_end () const
 
iterator_range< use_iteratoruses ()
 
iterator_range< const_use_iteratoruses () const
 
user_iterator user_begin ()
 
user_iterator user_end ()
 
const_user_iterator user_begin () const
 
const_user_iterator user_end () const
 
iterator_range< user_iteratorusers ()
 
iterator_range< const_user_iteratorusers () const
 
unsigned getNumUses () const
 \Returns the number of user edges (not necessarily to unique users).
 
bool hasNUsesOrMore (unsigned Num) const
 Return true if this value has N uses or more.
 
bool hasNUses (unsigned Num) const
 Return true if this Value has exactly N uses.
 
TypegetType () const
 
ContextgetContext () const
 
void replaceUsesWithIf (Value *OtherV, llvm::function_ref< bool(const Use &)> ShouldReplace)
 
void replaceAllUsesWith (Value *Other)
 
StringRef getName () const
 \Returns the LLVM IR name of the bottom-most LLVM value.
 
virtual void verify () const =0
 Should crash if there is something wrong with the instruction.
 
std::string getUid () const
 Returns the unique id in the form 'SB<number>.' like 'SB1.'.
 
virtual void dumpCommonHeader (raw_ostream &OS) const
 
void dumpCommonFooter (raw_ostream &OS) const
 
void dumpCommonPrefix (raw_ostream &OS) const
 
void dumpCommonSuffix (raw_ostream &OS) const
 
void printAsOperandCommon (raw_ostream &OS) const
 
virtual void dumpOS (raw_ostream &OS) const =0
 
LLVM_DUMP_METHOD void dump () const
 

Protected Member Functions

void clearValue ()
 
 Value (ClassID SubclassID, llvm::Value *Val, Context &Ctx)
 
 Value (const Value &)=delete
 Disable copies.
 
Valueoperator= (const Value &)=delete
 

Static Protected Member Functions

static const chargetSubclassIDStr (ClassID ID)
 

Protected Attributes

ClassID SubclassID
 For isa/dyn_cast.
 
unsigned UID
 A unique ID used for forming the name (used for debugging).
 
llvm::ValueVal = nullptr
 The LLVM Value that corresponds to this SandboxIR Value.
 
ContextCtx
 All values point to the context.
 

Friends

class Context
 
class User
 
class Use
 
class VAArgInst
 
class FreezeInst
 
class FenceInst
 
class SelectInst
 
class ExtractElementInst
 
class InsertElementInst
 
class ShuffleVectorInst
 
class ExtractValueInst
 
class InsertValueInst
 
class BranchInst
 
class LoadInst
 
class StoreInst
 
class ReturnInst
 
class CallBase
 
class CallInst
 
class InvokeInst
 
class CallBrInst
 
class LandingPadInst
 
class FuncletPadInst
 
class CatchPadInst
 
class CleanupPadInst
 
class CatchReturnInst
 
class GetElementPtrInst
 
class ResumeInst
 
class CatchSwitchInst
 
class CleanupReturnInst
 
class SwitchInst
 
class UnaryOperator
 
class BinaryOperator
 
class AtomicRMWInst
 
class AtomicCmpXchgInst
 
class AllocaInst
 
class CastInst
 
class PHINode
 
class UnreachableInst
 
class CatchSwitchAddHandler
 
class CmpInst
 
class ConstantArray
 
class ConstantStruct
 
class ConstantAggregateZero
 
class ConstantPointerNull
 
class UndefValue
 
class PoisonValue
 
class BlockAddress
 
class GlobalValue
 
class DSOLocalEquivalent
 
class GlobalObject
 
class GlobalIFunc
 
class GlobalVariable
 
class GlobalAlias
 
class NoCFIValue
 
class ConstantPtrAuth
 
class ConstantExpr
 
class Utils
 
class Module
 
class IntrinsicInst
 
class Operator
 
class OverflowingBinaryOperator
 
class FPMathOperator
 
class Region
 
template<typename ItTy , typename SBTy >
class LLVMOpUserItToSBTy
 
raw_ostreamoperator<< (raw_ostream &OS, const sandboxir::Value &V)
 

Detailed Description

A SandboxIR Value has users. This is the base class.

Definition at line 63 of file Value.h.

Member Typedef Documentation

◆ const_use_iterator

Definition at line 187 of file Value.h.

◆ const_user_iterator

Definition at line 211 of file Value.h.

◆ use_iterator

Definition at line 186 of file Value.h.

◆ user_iterator

Definition at line 210 of file Value.h.

Member Enumeration Documentation

◆ ClassID

Enumerator
DEF_VALUE 
DEF_USER 
DEF_CONST 
DEF_INSTR 

Definition at line 65 of file Value.h.

Constructor & Destructor Documentation

◆ Value() [1/2]

llvm::sandboxir::Value::Value ( ClassID  SubclassID,
llvm::Value Val,
Context Ctx 
)
protected

Definition at line 16 of file Value.cpp.

References Ctx, llvm::sandboxir::Context::getNumValues(), and UID.

◆ Value() [2/2]

llvm::sandboxir::Value::Value ( const Value )
protecteddelete

Disable copies.

◆ ~Value()

virtual llvm::sandboxir::Value::~Value ( )
virtualdefault

Member Function Documentation

◆ clearValue()

void llvm::sandboxir::Value::clearValue ( )
inlineprotected

Definition at line 174 of file Value.h.

References Val.

◆ dump()

void llvm::sandboxir::Value::dump ( ) const

Definition at line 116 of file Value.cpp.

References llvm::dbgs(), and dumpOS().

◆ dumpCommonFooter()

void llvm::sandboxir::Value::dumpCommonFooter ( raw_ostream OS) const

Definition at line 89 of file Value.cpp.

References llvm::raw_ostream::indent(), OS, and Val.

◆ dumpCommonHeader()

void llvm::sandboxir::Value::dumpCommonHeader ( raw_ostream OS) const
virtual

Reimplemented in llvm::sandboxir::User.

Definition at line 85 of file Value.cpp.

References getSubclassIDStr(), getUid(), OS, and SubclassID.

Referenced by llvm::sandboxir::User::dumpCommonHeader().

◆ dumpCommonPrefix()

void llvm::sandboxir::Value::dumpCommonPrefix ( raw_ostream OS) const

◆ dumpCommonSuffix()

void llvm::sandboxir::Value::dumpCommonSuffix ( raw_ostream OS) const

◆ dumpOS()

virtual void llvm::sandboxir::Value::dumpOS ( raw_ostream OS) const
pure virtual

Implemented in llvm::sandboxir::Argument, llvm::sandboxir::BasicBlock, llvm::sandboxir::Function, llvm::sandboxir::Constant, llvm::sandboxir::ConstantInt, llvm::sandboxir::ConstantFP, llvm::sandboxir::ConstantAggregateZero, llvm::sandboxir::ConstantPointerNull, llvm::sandboxir::UndefValue, llvm::sandboxir::PoisonValue, llvm::sandboxir::GlobalIFunc, llvm::sandboxir::GlobalVariable, llvm::sandboxir::NoCFIValue, llvm::sandboxir::DSOLocalEquivalent, llvm::sandboxir::ConstantTokenNone, llvm::sandboxir::Instruction, llvm::sandboxir::SingleLLVMInstructionImpl< LLVMT >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::AtomicCmpXchgInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::AtomicRMWInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::BinaryOperator >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::BranchInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::CallBase >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::CatchReturnInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::CatchSwitchInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::CleanupReturnInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::CmpInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::ExtractElementInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::FenceInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::FuncletPadInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::GetElementPtrInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::InsertElementInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::InsertValueInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::LandingPadInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::Instruction >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::PHINode >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::ResumeInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::ReturnInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::SelectInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::ShuffleVectorInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::StoreInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::SwitchInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::UnaryInstruction >, llvm::sandboxir::CmpInst, and llvm::sandboxir::User.

Referenced by dump().

◆ getContext()

Context & llvm::sandboxir::Value::getContext ( ) const
inline

◆ getName()

StringRef llvm::sandboxir::Value::getName ( ) const
inline

\Returns the LLVM IR name of the bottom-most LLVM value.

Definition at line 263 of file Value.h.

References llvm::Value::getName(), and Val.

◆ getNumUses()

unsigned llvm::sandboxir::Value::getNumUses ( ) const

\Returns the number of user edges (not necessarily to unique users).

WARNING: This is a linear-time operation.

Definition at line 44 of file Value.cpp.

References llvm::range_size(), llvm::Value::users(), and Val.

◆ getSubclassID()

ClassID llvm::sandboxir::Value::getSubclassID ( ) const
inline

Definition at line 184 of file Value.h.

References SubclassID.

◆ getSubclassIDStr()

static const char * llvm::sandboxir::Value::getSubclassIDStr ( ClassID  ID)
inlinestaticprotected

Definition at line 74 of file Value.h.

References llvm_unreachable.

Referenced by dumpCommonHeader(), and dumpCommonSuffix().

◆ getType()

Type * llvm::sandboxir::Value::getType ( ) const

◆ getUid()

std::string llvm::sandboxir::Value::getUid ( ) const

Returns the unique id in the form 'SB<number>.' like 'SB1.'.

Definition at line 79 of file Value.cpp.

References UID.

Referenced by dumpCommonHeader(), and dumpCommonSuffix().

◆ hasNUses()

bool llvm::sandboxir::Value::hasNUses ( unsigned  Num) const
inline

Return true if this Value has exactly N uses.

Definition at line 245 of file Value.h.

References use_begin(), and use_end().

◆ hasNUsesOrMore()

bool llvm::sandboxir::Value::hasNUsesOrMore ( unsigned  Num) const
inline

Return true if this value has N uses or more.

This is logically equivalent to getNumUses() >= N. WARNING: This can be expensive, as it is linear to the number of users.

Definition at line 236 of file Value.h.

References use_begin(), and use_end().

◆ operator=()

Value & llvm::sandboxir::Value::operator= ( const Value )
protecteddelete

◆ printAsOperandCommon()

void llvm::sandboxir::Value::printAsOperandCommon ( raw_ostream OS) const

Definition at line 109 of file Value.cpp.

Referenced by llvm::sandboxir::Argument::printAsOperand().

◆ replaceAllUsesWith()

void llvm::sandboxir::Value::replaceAllUsesWith ( Value Other)

◆ replaceUsesWithIf()

void llvm::sandboxir::Value::replaceUsesWithIf ( Value OtherV,
llvm::function_ref< bool(const Use &)>  ShouldReplace 
)

Definition at line 48 of file Value.cpp.

References assert(), getType(), and Val.

◆ use_begin() [1/2]

Value::use_iterator llvm::sandboxir::Value::use_begin ( )

◆ use_begin() [2/2]

const_use_iterator llvm::sandboxir::Value::use_begin ( ) const
inline

Definition at line 190 of file Value.h.

References use_begin().

◆ use_end() [1/2]

use_iterator llvm::sandboxir::Value::use_end ( )
inline

Definition at line 193 of file Value.h.

References Ctx, and Use.

Referenced by hasNUses(), hasNUsesOrMore(), use_end(), and uses().

◆ use_end() [2/2]

const_use_iterator llvm::sandboxir::Value::use_end ( ) const
inline

Definition at line 194 of file Value.h.

References use_end().

◆ user_begin() [1/2]

Value::user_iterator llvm::sandboxir::Value::user_begin ( )

Definition at line 33 of file Value.cpp.

References llvm::Value::use_begin(), llvm::Value::use_end(), and Val.

Referenced by user_begin(), and users().

◆ user_begin() [2/2]

const_user_iterator llvm::sandboxir::Value::user_begin ( ) const
inline

Definition at line 217 of file Value.h.

References user_begin().

◆ user_end() [1/2]

user_iterator llvm::sandboxir::Value::user_end ( )
inline

Definition at line 214 of file Value.h.

References Ctx, and Use.

Referenced by user_end(), and users().

◆ user_end() [2/2]

const_user_iterator llvm::sandboxir::Value::user_end ( ) const
inline

Definition at line 220 of file Value.h.

References user_end().

◆ users() [1/2]

iterator_range< user_iterator > llvm::sandboxir::Value::users ( )
inline

Definition at line 224 of file Value.h.

References user_begin(), and user_end().

Referenced by llvm::sandboxir::Instruction::eraseFromParent().

◆ users() [2/2]

iterator_range< const_user_iterator > llvm::sandboxir::Value::users ( ) const
inline

Definition at line 227 of file Value.h.

References user_begin(), and user_end().

◆ uses() [1/2]

iterator_range< use_iterator > llvm::sandboxir::Value::uses ( )
inline

Definition at line 198 of file Value.h.

References use_begin(), and use_end().

Referenced by replaceAllUsesWith().

◆ uses() [2/2]

iterator_range< const_use_iterator > llvm::sandboxir::Value::uses ( ) const
inline

Definition at line 201 of file Value.h.

References use_begin(), and use_end().

◆ verify()

virtual void llvm::sandboxir::Value::verify ( ) const
pure virtual

Should crash if there is something wrong with the instruction.

Implemented in llvm::sandboxir::Argument, llvm::sandboxir::BasicBlock, llvm::sandboxir::Function, llvm::sandboxir::SingleLLVMInstructionImpl< LLVMT >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::AtomicCmpXchgInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::AtomicRMWInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::BinaryOperator >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::BranchInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::CallBase >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::CatchReturnInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::CatchSwitchInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::CleanupReturnInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::CmpInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::ExtractElementInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::FenceInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::FuncletPadInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::GetElementPtrInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::InsertElementInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::InsertValueInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::LandingPadInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::Instruction >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::PHINode >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::ResumeInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::ReturnInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::SelectInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::ShuffleVectorInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::StoreInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::SwitchInst >, llvm::sandboxir::SingleLLVMInstructionImpl< llvm::UnaryInstruction >, llvm::sandboxir::Constant, llvm::sandboxir::ConstantInt, llvm::sandboxir::ConstantFP, llvm::sandboxir::ConstantAggregateZero, llvm::sandboxir::ConstantPointerNull, llvm::sandboxir::UndefValue, llvm::sandboxir::PoisonValue, llvm::sandboxir::GlobalIFunc, llvm::sandboxir::GlobalVariable, llvm::sandboxir::NoCFIValue, llvm::sandboxir::DSOLocalEquivalent, llvm::sandboxir::ConstantTokenNone, and llvm::sandboxir::User.

Friends And Related Function Documentation

◆ AllocaInst

friend class AllocaInst
friend

Definition at line 139 of file Value.h.

◆ AtomicCmpXchgInst

friend class AtomicCmpXchgInst
friend

Definition at line 138 of file Value.h.

◆ AtomicRMWInst

friend class AtomicRMWInst
friend

Definition at line 137 of file Value.h.

◆ BinaryOperator

friend class BinaryOperator
friend

Definition at line 136 of file Value.h.

◆ BlockAddress

friend class BlockAddress
friend

Definition at line 151 of file Value.h.

◆ BranchInst

friend class BranchInst
friend

Definition at line 117 of file Value.h.

◆ CallBase

friend class CallBase
friend

Definition at line 121 of file Value.h.

◆ CallBrInst

friend class CallBrInst
friend

Definition at line 124 of file Value.h.

◆ CallInst

friend class CallInst
friend

Definition at line 122 of file Value.h.

◆ CastInst

friend class CastInst
friend

Definition at line 140 of file Value.h.

◆ CatchPadInst

friend class CatchPadInst
friend

Definition at line 127 of file Value.h.

◆ CatchReturnInst

friend class CatchReturnInst
friend

Definition at line 129 of file Value.h.

◆ CatchSwitchAddHandler

friend class CatchSwitchAddHandler
friend

Definition at line 143 of file Value.h.

◆ CatchSwitchInst

friend class CatchSwitchInst
friend

Definition at line 132 of file Value.h.

◆ CleanupPadInst

friend class CleanupPadInst
friend

Definition at line 128 of file Value.h.

◆ CleanupReturnInst

friend class CleanupReturnInst
friend

Definition at line 133 of file Value.h.

◆ CmpInst

friend class CmpInst
friend

Definition at line 144 of file Value.h.

◆ ConstantAggregateZero

friend class ConstantAggregateZero
friend

Definition at line 147 of file Value.h.

◆ ConstantArray

friend class ConstantArray
friend

Definition at line 145 of file Value.h.

◆ ConstantExpr

friend class ConstantExpr
friend

Definition at line 160 of file Value.h.

◆ ConstantPointerNull

friend class ConstantPointerNull
friend

Definition at line 148 of file Value.h.

◆ ConstantPtrAuth

friend class ConstantPtrAuth
friend

Definition at line 159 of file Value.h.

◆ ConstantStruct

friend class ConstantStruct
friend

Definition at line 146 of file Value.h.

◆ Context

friend class Context
friend

Definition at line 105 of file Value.h.

◆ DSOLocalEquivalent

friend class DSOLocalEquivalent
friend

Definition at line 153 of file Value.h.

◆ ExtractElementInst

friend class ExtractElementInst
friend

Definition at line 112 of file Value.h.

◆ ExtractValueInst

friend class ExtractValueInst
friend

Definition at line 115 of file Value.h.

◆ FenceInst

friend class FenceInst
friend

Definition at line 110 of file Value.h.

◆ FPMathOperator

friend class FPMathOperator
friend

Definition at line 166 of file Value.h.

◆ FreezeInst

friend class FreezeInst
friend

Definition at line 109 of file Value.h.

◆ FuncletPadInst

friend class FuncletPadInst
friend

Definition at line 126 of file Value.h.

◆ GetElementPtrInst

friend class GetElementPtrInst
friend

Definition at line 130 of file Value.h.

◆ GlobalAlias

friend class GlobalAlias
friend

Definition at line 157 of file Value.h.

◆ GlobalIFunc

friend class GlobalIFunc
friend

Definition at line 155 of file Value.h.

◆ GlobalObject

friend class GlobalObject
friend

Definition at line 154 of file Value.h.

◆ GlobalValue

friend class GlobalValue
friend

Definition at line 152 of file Value.h.

◆ GlobalVariable

friend class GlobalVariable
friend

Definition at line 156 of file Value.h.

◆ InsertElementInst

friend class InsertElementInst
friend

Definition at line 113 of file Value.h.

◆ InsertValueInst

friend class InsertValueInst
friend

Definition at line 116 of file Value.h.

◆ IntrinsicInst

friend class IntrinsicInst
friend

Definition at line 163 of file Value.h.

◆ InvokeInst

friend class InvokeInst
friend

Definition at line 123 of file Value.h.

◆ LandingPadInst

friend class LandingPadInst
friend

Definition at line 125 of file Value.h.

◆ LLVMOpUserItToSBTy

template<typename ItTy , typename SBTy >
friend class LLVMOpUserItToSBTy
friend

Definition at line 175 of file Value.h.

◆ LoadInst

friend class LoadInst
friend

Definition at line 118 of file Value.h.

◆ Module

friend class Module
friend

Definition at line 162 of file Value.h.

◆ NoCFIValue

friend class NoCFIValue
friend

Definition at line 158 of file Value.h.

◆ Operator

friend class Operator
friend

Definition at line 164 of file Value.h.

◆ operator<<

raw_ostream & operator<< ( raw_ostream OS,
const sandboxir::Value V 
)
friend

Definition at line 275 of file Value.h.

◆ OverflowingBinaryOperator

friend class OverflowingBinaryOperator
friend

Definition at line 165 of file Value.h.

◆ PHINode

friend class PHINode
friend

Definition at line 141 of file Value.h.

◆ PoisonValue

friend class PoisonValue
friend

Definition at line 150 of file Value.h.

◆ Region

friend class Region
friend

Definition at line 169 of file Value.h.

◆ ResumeInst

friend class ResumeInst
friend

Definition at line 131 of file Value.h.

◆ ReturnInst

friend class ReturnInst
friend

Definition at line 120 of file Value.h.

◆ SelectInst

friend class SelectInst
friend

Definition at line 111 of file Value.h.

◆ ShuffleVectorInst

friend class ShuffleVectorInst
friend

Definition at line 114 of file Value.h.

◆ StoreInst

friend class StoreInst
friend

Definition at line 119 of file Value.h.

◆ SwitchInst

friend class SwitchInst
friend

Definition at line 134 of file Value.h.

◆ UnaryOperator

friend class UnaryOperator
friend

Definition at line 135 of file Value.h.

◆ UndefValue

friend class UndefValue
friend

Definition at line 149 of file Value.h.

◆ UnreachableInst

friend class UnreachableInst
friend

Definition at line 142 of file Value.h.

◆ Use

friend class Use
friend

Definition at line 107 of file Value.h.

Referenced by llvm::sandboxir::User::getOperandUseDefault(), use_begin(), use_end(), and user_end().

◆ User

friend class User
friend

Definition at line 106 of file Value.h.

◆ Utils

friend class Utils
friend

Definition at line 161 of file Value.h.

◆ VAArgInst

friend class VAArgInst
friend

Definition at line 108 of file Value.h.

Member Data Documentation

◆ Ctx

Context& llvm::sandboxir::Value::Ctx
protected

All values point to the context.

Definition at line 172 of file Value.h.

Referenced by llvm::sandboxir::SwitchInst::addCase(), llvm::sandboxir::CatchSwitchInst::addHandler(), llvm::sandboxir::PHINode::addIncoming(), llvm::sandboxir::BasicBlock::begin(), llvm::sandboxir::Function::begin(), llvm::sandboxir::PHINode::block_begin(), llvm::sandboxir::PHINode::block_end(), llvm::Instruction::cloneDebugInfoFrom(), llvm::sandboxir::ShuffleVectorInst::commute(), llvm::sandboxir::Instruction::copyFastMathFlags(), llvm::Instruction::copyMetadata(), llvm::sandboxir::BranchInst::create(), llvm::sandboxir::AtomicRMWInst::create(), llvm::sandboxir::CleanupReturnInst::create(), llvm::sandboxir::UnreachableInst::create(), llvm::sandboxir::BinaryOperator::create(), llvm::sandboxir::UnaryOperator::create(), llvm::sandboxir::CmpInst::create(), llvm::sandboxir::CastInst::create(), llvm::sandboxir::LandingPadInst::create(), llvm::sandboxir::AllocaInst::create(), llvm::sandboxir::PHINode::create(), llvm::sandboxir::GetElementPtrInst::create(), llvm::sandboxir::LoadInst::create(), llvm::sandboxir::ExtractValueInst::create(), llvm::sandboxir::InsertValueInst::create(), llvm::sandboxir::SelectInst::create(), llvm::sandboxir::ResumeInst::create(), llvm::sandboxir::VAArgInst::create(), llvm::sandboxir::CatchPadInst::create(), llvm::sandboxir::CleanupPadInst::create(), llvm::sandboxir::CastInstImpl< Op >::create(), llvm::sandboxir::SwitchInst::create(), llvm::sandboxir::FreezeInst::create(), llvm::sandboxir::StoreInst::create(), llvm::sandboxir::ShuffleVectorInst::create(), llvm::sandboxir::ExtractElementInst::create(), llvm::sandboxir::InsertElementInst::create(), llvm::BasicBlock::createMarker(), llvm::sandboxir::UnaryOperator::createWithCopiedFlags(), llvm::sandboxir::CmpInst::createWithCopiedFlags(), llvm::Instruction::dropOneDbgRecord(), llvm::Instruction::dropPoisonGeneratingReturnAttributes(), llvm::sandboxir::BasicBlock::dumpOS(), llvm::sandboxir::Function::dumpOS(), llvm::sandboxir::BasicBlock::end(), llvm::sandboxir::Function::end(), llvm::sandboxir::Instruction::eraseFromParent(), llvm::sandboxir::ConstantArray::get(), llvm::sandboxir::ConstantFP::get(), llvm::sandboxir::ConstantTokenNone::get(), llvm::sandboxir::ConstantInt::get(), llvm::sandboxir::ConstantStruct::get(), llvm::sandboxir::Instruction::getAccessType(), llvm::Instruction::getAccessType(), llvm::sandboxir::ConstantPtrAuth::getAddrDiscriminator(), llvm::sandboxir::GlobalAlias::getAliasee(), llvm::sandboxir::GlobalAlias::getAliaseeObject(), llvm::sandboxir::AllocaInst::getAllocatedType(), llvm::sandboxir::ConstantStruct::getAnon(), llvm::sandboxir::Function::getArg(), llvm::sandboxir::AllocaInst::getArraySize(), llvm::sandboxir::BlockAddress::getBasicBlock(), llvm::sandboxir::ConstantInt::getBool(), llvm::sandboxir::CallBase::getCalledFunction(), llvm::sandboxir::CallBase::getCalledOperand(), llvm::sandboxir::CallBase::getCaller(), llvm::sandboxir::CatchReturnInst::getCatchPad(), llvm::sandboxir::CatchPadInst::getCatchSwitch(), llvm::sandboxir::CatchReturnInst::getCatchSwitchParentPad(), llvm::sandboxir::LandingPadInst::getClause(), llvm::sandboxir::CleanupReturnInst::getCleanupPad(), llvm::sandboxir::AtomicCmpXchgInst::getCompareOperand(), llvm::sandboxir::BranchInst::getCondition(), llvm::sandboxir::SwitchInst::getCondition(), llvm::sandboxir::BasicBlock::getContext(), getContext(), llvm::sandboxir::CallBrInst::getDefaultDest(), llvm::sandboxir::SwitchInst::getDefaultDest(), llvm::sandboxir::CastInst::getDestTy(), llvm::sandboxir::ConstantPtrAuth::getDiscriminator(), llvm::sandboxir::ConstantAggregateZero::getElementValue(), llvm::sandboxir::UndefValue::getElementValue(), llvm::sandboxir::PoisonValue::getElementValue(), llvm::sandboxir::ConstantInt::getFalse(), llvm::sandboxir::BlockAddress::getFunction(), llvm::sandboxir::Function::getFunctionType(), llvm::sandboxir::NoCFIValue::getGlobalValue(), llvm::sandboxir::DSOLocalEquivalent::getGlobalValue(), llvm::sandboxir::PHINode::getIncomingBlock(), llvm::sandboxir::PHINode::getIncomingValue(), llvm::sandboxir::PHINode::getIncomingValueForBlock(), llvm::sandboxir::CallBrInst::getIndirectDest(), llvm::sandboxir::CallBrInst::getIndirectDestLabelUse(), llvm::sandboxir::GlobalVariable::getInitializer(), llvm::sandboxir::ConstantInt::getIntegerType(), llvm::sandboxir::Instruction::getIterator(), llvm::sandboxir::ConstantPtrAuth::getKey(), llvm::sandboxir::InvokeInst::getLandingPadInst(), llvm::sandboxir::Utils::getMemInstructionBase(), llvm::Instruction::getModule(), llvm::sandboxir::AtomicCmpXchgInst::getNewValOperand(), llvm::sandboxir::InvokeInst::getNormalDest(), llvm::sandboxir::User::getOperandUseDefault(), llvm::sandboxir::Function::getParent(), llvm::sandboxir::BasicBlock::getParent(), llvm::sandboxir::FuncletPadInst::getParentPad(), llvm::sandboxir::CatchSwitchInst::getParentPad(), llvm::sandboxir::ConstantPtrAuth::getPointer(), llvm::sandboxir::VAArgInst::getPointerOperand(), llvm::sandboxir::AtomicRMWInst::getPointerOperand(), llvm::sandboxir::LoadInst::getPointerOperand(), llvm::sandboxir::StoreInst::getPointerOperand(), llvm::sandboxir::GetElementPtrInst::getPointerOperand(), llvm::sandboxir::GetElementPtrInst::getPointerOperandType(), llvm::sandboxir::GlobalIFunc::getResolver(), llvm::sandboxir::GlobalIFunc::getResolverFunction(), llvm::sandboxir::GetElementPtrInst::getResultElementType(), llvm::sandboxir::ReturnInst::getReturnValue(), llvm::sandboxir::ConstantAggregateZero::getSequentialElement(), llvm::sandboxir::UndefValue::getSequentialElement(), llvm::sandboxir::PoisonValue::getSequentialElement(), llvm::sandboxir::ShuffleVectorInst::getShuffleMaskForBitcode(), llvm::sandboxir::GetElementPtrInst::getSourceElementType(), llvm::sandboxir::CastInst::getSrcTy(), llvm::sandboxir::ConstantAggregateZero::getStructElement(), llvm::sandboxir::UndefValue::getStructElement(), llvm::sandboxir::PoisonValue::getStructElement(), llvm::sandboxir::CatchReturnInst::getSuccessor(), llvm::sandboxir::CallBrInst::getSuccessor(), llvm::sandboxir::SwitchInst::getSuccessor(), llvm::sandboxir::InvokeInst::getSuccessor(), llvm::sandboxir::BasicBlock::getTerminator(), llvm::sandboxir::ConstantInt::getTrue(), llvm::sandboxir::ConstantArray::getType(), llvm::sandboxir::ConstantPointerNull::getType(), llvm::sandboxir::NoCFIValue::getType(), llvm::sandboxir::ShuffleVectorInst::getType(), llvm::sandboxir::AllocaInst::getType(), getType(), llvm::sandboxir::ConstantStruct::getTypeForElements(), llvm::sandboxir::CleanupReturnInst::getUnwindDest(), llvm::sandboxir::CatchSwitchInst::getUnwindDest(), llvm::sandboxir::AtomicRMWInst::getValOperand(), llvm::sandboxir::ResumeInst::getValue(), llvm::sandboxir::StoreInst::getValueOperand(), llvm::sandboxir::ExtractElementInst::getVectorOperandType(), llvm::sandboxir::ConstantPtrAuth::getWithSameSchema(), llvm::sandboxir::PHINode::hasConstantValue(), llvm::Instruction::hasPoisonGeneratingReturnAttributes(), llvm::sandboxir::Instruction::insertInto(), llvm::sandboxir::SwitchInst::removeCase(), llvm::sandboxir::PHINode::removeIncomingValue(), replaceAllUsesWith(), llvm::Instruction::replaceSuccessorWith(), llvm::sandboxir::GlobalAlias::setAliasee(), llvm::sandboxir::AtomicRMWInst::setAlignment(), llvm::sandboxir::AtomicCmpXchgInst::setAlignment(), llvm::sandboxir::AllocaInst::setAlignment(), llvm::sandboxir::GlobalObject::setAlignment(), llvm::sandboxir::AllocaInst::setAllocatedType(), llvm::sandboxir::FuncletPadInst::setArgOperand(), llvm::sandboxir::CatchReturnInst::setCatchPad(), llvm::sandboxir::LandingPadInst::setCleanup(), llvm::sandboxir::CleanupReturnInst::setCleanupPad(), llvm::sandboxir::SwitchInst::setCondition(), llvm::sandboxir::GlobalVariable::setConstant(), llvm::sandboxir::CallBrInst::setDefaultDest(), llvm::sandboxir::SwitchInst::setDefaultDest(), llvm::sandboxir::GlobalVariable::setExternallyInitialized(), llvm::sandboxir::AtomicCmpXchgInst::setFailureOrdering(), llvm::sandboxir::Instruction::setFast(), llvm::sandboxir::Instruction::setFastMathFlags(), llvm::sandboxir::GlobalObject::setGlobalObjectSubClassData(), llvm::sandboxir::Instruction::setHasAllowContract(), llvm::sandboxir::Instruction::setHasAllowReassoc(), llvm::sandboxir::Instruction::setHasAllowReciprocal(), llvm::sandboxir::Instruction::setHasApproxFunc(), llvm::sandboxir::Instruction::setHasNoInfs(), llvm::sandboxir::Instruction::setHasNoNaNs(), llvm::sandboxir::Instruction::setHasNoSignedWrap(), llvm::sandboxir::Instruction::setHasNoUnsignedWrap(), llvm::sandboxir::PHINode::setIncomingBlock(), llvm::sandboxir::PHINode::setIncomingValue(), llvm::sandboxir::CallBrInst::setIndirectDest(), llvm::sandboxir::GlobalVariable::setInitializer(), llvm::sandboxir::Instruction::setInsertPos(), llvm::sandboxir::PossiblyDisjointInst::setIsDisjoint(), llvm::sandboxir::Instruction::setIsExact(), llvm::sandboxir::PossiblyNonNegInst::setNonNeg(), llvm::sandboxir::User::setOperand(), llvm::sandboxir::AtomicRMWInst::setOrdering(), llvm::sandboxir::FuncletPadInst::setParentPad(), llvm::sandboxir::CatchSwitchInst::setParentPad(), llvm::sandboxir::CmpInst::setPredicate(), llvm::sandboxir::GlobalIFunc::setResolver(), llvm::sandboxir::GlobalObject::setSection(), llvm::sandboxir::ShuffleVectorInst::setShuffleMask(), llvm::sandboxir::CatchReturnInst::setSuccessor(), llvm::sandboxir::SwitchInst::setSuccessor(), llvm::sandboxir::AtomicCmpXchgInst::setSuccessOrdering(), llvm::sandboxir::FenceInst::setSyncScopeID(), llvm::sandboxir::AtomicCmpXchgInst::setSyncScopeID(), llvm::sandboxir::GlobalValue::setUnnamedAddr(), llvm::sandboxir::CleanupReturnInst::setUnwindDest(), llvm::sandboxir::AllocaInst::setUsedWithInAlloca(), llvm::sandboxir::GlobalValue::setVisibility(), llvm::sandboxir::LoadInst::setVolatile(), llvm::sandboxir::StoreInst::setVolatile(), llvm::sandboxir::AtomicRMWInst::setVolatile(), llvm::sandboxir::AtomicCmpXchgInst::setVolatile(), llvm::sandboxir::AtomicCmpXchgInst::setWeak(), llvm::sandboxir::BranchInst::successors(), llvm::sandboxir::ICmpInst::swapOperands(), llvm::sandboxir::FCmpInst::swapOperands(), llvm::sandboxir::SelectInst::swapValues(), use_begin(), use_end(), user_end(), Value(), llvm::Value::Value(), and llvm::sandboxir::User::verifyUserOfLLVMUse().

◆ SubclassID

ClassID llvm::sandboxir::Value::SubclassID
protected

For isa/dyn_cast.

Definition at line 94 of file Value.h.

Referenced by dumpCommonHeader(), dumpCommonSuffix(), and getSubclassID().

◆ UID

unsigned llvm::sandboxir::Value::UID
protected

A unique ID used for forming the name (used for debugging).

Definition at line 97 of file Value.h.

Referenced by getUid(), and Value().

◆ Val

llvm::Value* llvm::sandboxir::Value::Val = nullptr
protected

The LLVM Value that corresponds to this SandboxIR Value.

NOTE: Some sandboxir Instructions, like Packs, may include more than one value and in these cases Val points to the last instruction in program order.

Definition at line 103 of file Value.h.

Referenced by llvm::sandboxir::GetElementPtrInst::accumulateConstantOffset(), llvm::sandboxir::SwitchInst::addCase(), llvm::sandboxir::CatchSwitchInst::addHandler(), llvm::sandboxir::PHINode::addIncoming(), llvm::sandboxir::SelectInst::areInvalidOperands(), llvm::sandboxir::Function::arg_empty(), llvm::sandboxir::Function::arg_size(), llvm::sandboxir::FuncletPadInst::arg_size(), llvm::sandboxir::BasicBlock::back(), llvm::sandboxir::BasicBlock::begin(), llvm::sandboxir::Function::begin(), llvm::sandboxir::PHINode::block_begin(), llvm::sandboxir::PHINode::block_end(), llvm::sandboxir::GlobalObject::canIncreaseAlignment(), llvm::sandboxir::ShuffleVectorInst::changesLength(), clearValue(), llvm::Instruction::cloneDebugInfoFrom(), llvm::sandboxir::Instruction::comesBefore(), llvm::sandboxir::ShuffleVectorInst::commute(), llvm::Instruction::copyMetadata(), llvm::sandboxir::BranchInst::create(), llvm::sandboxir::AtomicRMWInst::create(), llvm::sandboxir::CleanupReturnInst::create(), llvm::sandboxir::UnaryOperator::create(), llvm::sandboxir::CmpInst::create(), llvm::sandboxir::CastInst::create(), llvm::sandboxir::AllocaInst::create(), llvm::sandboxir::ExtractValueInst::create(), llvm::sandboxir::InsertValueInst::create(), llvm::sandboxir::SelectInst::create(), llvm::sandboxir::ResumeInst::create(), llvm::sandboxir::CatchPadInst::create(), llvm::sandboxir::CleanupPadInst::create(), llvm::sandboxir::SwitchInst::create(), llvm::sandboxir::ShuffleVectorInst::create(), llvm::sandboxir::ExtractElementInst::create(), llvm::sandboxir::InsertElementInst::create(), llvm::sandboxir::CmpInst::createWithCopiedFlags(), llvm::sandboxir::CallBase::data_operands_end(), llvm::sandboxir::SwitchInst::defaultDestUndefined(), llvm::Instruction::dropPoisonGeneratingReturnAttributes(), dumpCommonFooter(), dumpCommonPrefix(), llvm::sandboxir::Function::dumpNameAndArgs(), llvm::sandboxir::BasicBlock::dumpOS(), llvm::sandboxir::Function::dumpOS(), llvm::sandboxir::BasicBlock::end(), llvm::sandboxir::Function::end(), llvm::sandboxir::ConstantInt::equalsInt(), llvm::sandboxir::BasicBlock::front(), llvm::sandboxir::ConstantPtrAuth::get(), llvm::sandboxir::BlockAddress::get(), llvm::sandboxir::NoCFIValue::get(), llvm::sandboxir::DSOLocalEquivalent::get(), llvm::sandboxir::Instruction::getAccessType(), llvm::Instruction::getAccessType(), llvm::sandboxir::ConstantPtrAuth::getAddrDiscriminator(), llvm::sandboxir::GlobalValue::getAddressSpace(), llvm::sandboxir::GetElementPtrInst::getAddressSpace(), llvm::sandboxir::AllocaInst::getAddressSpace(), llvm::sandboxir::GlobalAlias::getAliasee(), llvm::sandboxir::GlobalAlias::getAliaseeObject(), llvm::sandboxir::GlobalObject::getAlign(), llvm::sandboxir::LoadInst::getAlign(), llvm::sandboxir::StoreInst::getAlign(), llvm::sandboxir::AtomicRMWInst::getAlign(), llvm::sandboxir::AtomicCmpXchgInst::getAlign(), llvm::sandboxir::AllocaInst::getAlign(), llvm::sandboxir::GlobalObject::getAlignment(), llvm::sandboxir::ConstantInt::getAlignValue(), llvm::sandboxir::AllocaInst::getAllocatedType(), llvm::sandboxir::AllocaInst::getAllocationSize(), llvm::sandboxir::AllocaInst::getAllocationSizeInBits(), llvm::sandboxir::Function::getArg(), llvm::sandboxir::CallBase::getArgOperandNo(), llvm::sandboxir::AllocaInst::getArraySize(), llvm::sandboxir::GlobalVariable::getAttribute(), llvm::sandboxir::GlobalVariable::getAttributes(), llvm::sandboxir::GlobalVariable::getAttributesAsList(), llvm::sandboxir::BlockAddress::getBasicBlock(), llvm::sandboxir::PHINode::getBasicBlockIndex(), llvm::sandboxir::ConstantInt::getBitWidth(), llvm::sandboxir::CallBase::getCalledFunction(), llvm::sandboxir::CallBase::getCalledOperand(), llvm::sandboxir::CallBase::getCalledOperandUse(), llvm::sandboxir::CallBase::getCaller(), llvm::sandboxir::CallBase::getCallingConv(), llvm::sandboxir::CatchReturnInst::getCatchPad(), llvm::sandboxir::CatchPadInst::getCatchSwitch(), llvm::sandboxir::CatchReturnInst::getCatchSwitchParentPad(), llvm::sandboxir::LandingPadInst::getClause(), llvm::sandboxir::CleanupReturnInst::getCleanupPad(), llvm::sandboxir::GlobalVariable::getCodeModel(), llvm::sandboxir::GlobalVariable::getCodeModelRaw(), llvm::sandboxir::AtomicCmpXchgInst::getCompareOperand(), llvm::sandboxir::BranchInst::getCondition(), llvm::sandboxir::SwitchInst::getCondition(), llvm::sandboxir::Instruction::getDataLayout(), llvm::sandboxir::CallBase::getDataOperandNo(), llvm::sandboxir::CallBrInst::getDefaultDest(), llvm::sandboxir::SwitchInst::getDefaultDest(), llvm::sandboxir::CastInst::getDestTy(), llvm::sandboxir::ConstantPtrAuth::getDiscriminator(), llvm::sandboxir::ConstantAggregateZero::getElementCount(), llvm::sandboxir::ConstantAggregateZero::getElementValue(), llvm::sandboxir::UndefValue::getElementValue(), llvm::sandboxir::PoisonValue::getElementValue(), llvm::sandboxir::AtomicCmpXchgInst::getFailureOrdering(), llvm::sandboxir::Instruction::getFastMathFlags(), llvm::sandboxir::FPMathOperator::getFastMathFlags(), llvm::sandboxir::FPMathOperator::getFPAccuracy(), llvm::sandboxir::BlockAddress::getFunction(), llvm::sandboxir::Function::getFunctionType(), llvm::sandboxir::GlobalObject::getGlobalObjectSubClassData(), llvm::sandboxir::NoCFIValue::getGlobalValue(), llvm::sandboxir::DSOLocalEquivalent::getGlobalValue(), llvm::sandboxir::PHINode::getIncomingBlock(), llvm::sandboxir::PHINode::getIncomingValue(), llvm::sandboxir::PHINode::getIncomingValueForBlock(), llvm::sandboxir::InsertValueInst::getIndices(), llvm::sandboxir::ExtractValueInst::getIndices(), llvm::sandboxir::CallBrInst::getIndirectDest(), llvm::sandboxir::CallBrInst::getIndirectDestLabelUse(), llvm::sandboxir::GlobalVariable::getInitializer(), llvm::sandboxir::ConstantInt::getIntegerType(), llvm::sandboxir::CallBase::getIntrinsicID(), llvm::sandboxir::IntrinsicInst::getIntrinsicID(), llvm::sandboxir::Instruction::getIterator(), llvm::sandboxir::ConstantPtrAuth::getKey(), llvm::sandboxir::InvokeInst::getLandingPadInst(), llvm::sandboxir::ConstantInt::getLimitedValue(), llvm::sandboxir::ShuffleVectorInst::getMaskValue(), llvm::sandboxir::ConstantInt::getMaybeAlignValue(), llvm::sandboxir::AtomicCmpXchgInst::getMergedOrdering(), getName(), llvm::sandboxir::AtomicCmpXchgInst::getNewValOperand(), llvm::sandboxir::InvokeInst::getNormalDest(), llvm::sandboxir::GetElementPtrInst::getNoWrapFlags(), llvm::sandboxir::OverflowingBinaryOperator::getNoWrapKind(), llvm::sandboxir::SwitchInst::getNumCases(), llvm::sandboxir::LandingPadInst::getNumClauses(), llvm::sandboxir::UndefValue::getNumElements(), llvm::sandboxir::CatchSwitchInst::getNumHandlers(), llvm::sandboxir::PHINode::getNumIncomingValues(), llvm::sandboxir::InsertValueInst::getNumIndices(), llvm::sandboxir::ExtractValueInst::getNumIndices(), llvm::sandboxir::GetElementPtrInst::getNumIndices(), llvm::sandboxir::CallBrInst::getNumIndirectDests(), llvm::sandboxir::User::getNumOperands(), llvm::sandboxir::CatchReturnInst::getNumSuccessors(), llvm::sandboxir::InvokeInst::getNumSuccessors(), llvm::sandboxir::CallBrInst::getNumSuccessors(), llvm::sandboxir::CleanupReturnInst::getNumSuccessors(), llvm::sandboxir::ResumeInst::getNumSuccessors(), llvm::sandboxir::SwitchInst::getNumSuccessors(), llvm::sandboxir::CallBase::getNumTotalBundleOperands(), getNumUses(), llvm::sandboxir::User::getOperandUseDefault(), llvm::sandboxir::AtomicRMWInst::getOperation(), llvm::sandboxir::FenceInst::getOrdering(), llvm::sandboxir::AtomicRMWInst::getOrdering(), llvm::sandboxir::Function::getParent(), llvm::sandboxir::BasicBlock::getParent(), llvm::sandboxir::Instruction::getParent(), llvm::sandboxir::FuncletPadInst::getParentPad(), llvm::sandboxir::CatchSwitchInst::getParentPad(), llvm::sandboxir::ConstantPtrAuth::getPointer(), llvm::sandboxir::GetElementPtrInst::getPointerAddressSpace(), llvm::sandboxir::AtomicRMWInst::getPointerAddressSpace(), llvm::sandboxir::AtomicCmpXchgInst::getPointerAddressSpace(), llvm::sandboxir::VAArgInst::getPointerOperand(), llvm::sandboxir::AtomicRMWInst::getPointerOperand(), llvm::sandboxir::LoadInst::getPointerOperand(), llvm::sandboxir::StoreInst::getPointerOperand(), llvm::sandboxir::GetElementPtrInst::getPointerOperand(), llvm::sandboxir::GetElementPtrInst::getPointerOperandType(), llvm::sandboxir::GlobalIFunc::getResolver(), llvm::sandboxir::GlobalIFunc::getResolverFunction(), llvm::sandboxir::GetElementPtrInst::getResultElementType(), llvm::sandboxir::ReturnInst::getReturnValue(), llvm::sandboxir::GlobalObject::getSection(), llvm::sandboxir::ConstantAggregateZero::getSequentialElement(), llvm::sandboxir::UndefValue::getSequentialElement(), llvm::sandboxir::PoisonValue::getSequentialElement(), llvm::sandboxir::ConstantInt::getSExtValue(), llvm::sandboxir::ShuffleVectorInst::getShuffleMask(), llvm::sandboxir::ShuffleVectorInst::getShuffleMaskForBitcode(), llvm::sandboxir::GetElementPtrInst::getSourceElementType(), llvm::sandboxir::CastInst::getSrcTy(), llvm::sandboxir::ConstantAggregateZero::getStructElement(), llvm::sandboxir::UndefValue::getStructElement(), llvm::sandboxir::PoisonValue::getStructElement(), llvm::sandboxir::CatchReturnInst::getSuccessor(), llvm::sandboxir::CallBrInst::getSuccessor(), llvm::sandboxir::SwitchInst::getSuccessor(), llvm::sandboxir::InvokeInst::getSuccessor(), llvm::sandboxir::AtomicCmpXchgInst::getSuccessOrdering(), llvm::sandboxir::FenceInst::getSyncScopeID(), llvm::sandboxir::AtomicRMWInst::getSyncScopeID(), llvm::sandboxir::AtomicCmpXchgInst::getSyncScopeID(), llvm::sandboxir::BasicBlock::getTerminator(), llvm::sandboxir::Instruction::getTopmostLLVMInstruction(), llvm::sandboxir::ConstantArray::getType(), llvm::sandboxir::ConstantPointerNull::getType(), llvm::sandboxir::NoCFIValue::getType(), llvm::sandboxir::ShuffleVectorInst::getType(), llvm::sandboxir::AllocaInst::getType(), getType(), llvm::sandboxir::GlobalValue::getUnnamedAddr(), llvm::sandboxir::CleanupReturnInst::getUnwindDest(), llvm::sandboxir::CatchSwitchInst::getUnwindDest(), llvm::sandboxir::AtomicRMWInst::getValOperand(), llvm::sandboxir::ConstantInt::getValue(), llvm::sandboxir::ConstantFP::getValue(), llvm::sandboxir::ResumeInst::getValue(), llvm::sandboxir::ConstantFP::getValueAPF(), llvm::sandboxir::StoreInst::getValueOperand(), llvm::sandboxir::GlobalObject::getVCallVisibility(), llvm::sandboxir::GlobalValue::getVisibility(), llvm::sandboxir::ConstantPtrAuth::getWithSameSchema(), llvm::sandboxir::ConstantInt::getZExtValue(), llvm::sandboxir::ConstantPtrAuth::hasAddressDiscriminator(), llvm::sandboxir::GetElementPtrInst::hasAllConstantIndices(), llvm::sandboxir::Instruction::hasAllowContract(), llvm::sandboxir::FPMathOperator::hasAllowContract(), llvm::sandboxir::Instruction::hasAllowReassoc(), llvm::sandboxir::FPMathOperator::hasAllowReassoc(), llvm::sandboxir::Instruction::hasAllowReciprocal(), llvm::sandboxir::FPMathOperator::hasAllowReciprocal(), llvm::sandboxir::Instruction::hasApproxFunc(), llvm::sandboxir::FPMathOperator::hasApproxFunc(), llvm::sandboxir::GlobalValue::hasAtLeastLocalUnnamedAddr(), llvm::sandboxir::Instruction::hasAtomicLoad(), llvm::sandboxir::Instruction::hasAtomicStore(), llvm::sandboxir::GlobalVariable::hasAttribute(), llvm::sandboxir::GlobalVariable::hasAttributes(), llvm::sandboxir::GlobalValue::hasComdat(), llvm::sandboxir::GlobalObject::hasComdat(), llvm::sandboxir::PHINode::hasConstantOrUndefValue(), llvm::sandboxir::PHINode::hasConstantValue(), llvm::sandboxir::GlobalValue::hasDefaultVisibility(), llvm::sandboxir::GlobalVariable::hasDefinitiveInitializer(), llvm::sandboxir::GlobalValue::hasGlobalUnnamedAddr(), llvm::sandboxir::GlobalValue::hasHiddenVisibility(), llvm::sandboxir::GlobalVariable::hasImplicitSection(), llvm::sandboxir::InsertValueInst::hasIndices(), llvm::sandboxir::ExtractValueInst::hasIndices(), llvm::sandboxir::GetElementPtrInst::hasIndices(), llvm::sandboxir::GlobalVariable::hasInitializer(), llvm::sandboxir::Instruction::hasMetadata(), llvm::sandboxir::Instruction::hasMetadataOtherThanDebugLoc(), llvm::sandboxir::Instruction::hasNoInfs(), llvm::sandboxir::FPMathOperator::hasNoInfs(), llvm::sandboxir::Instruction::hasNoNaNs(), llvm::sandboxir::FPMathOperator::hasNoNaNs(), llvm::sandboxir::PossiblyNonNegInst::hasNonNeg(), llvm::sandboxir::Instruction::hasNoSignedWrap(), llvm::sandboxir::OverflowingBinaryOperator::hasNoSignedWrap(), llvm::sandboxir::Instruction::hasNoSignedZeros(), llvm::sandboxir::FPMathOperator::hasNoSignedZeros(), llvm::sandboxir::GetElementPtrInst::hasNoUnsignedSignedWrap(), llvm::sandboxir::Instruction::hasNoUnsignedWrap(), llvm::sandboxir::GetElementPtrInst::hasNoUnsignedWrap(), llvm::sandboxir::OverflowingBinaryOperator::hasNoUnsignedWrap(), llvm::sandboxir::Operator::hasPoisonGeneratingFlags(), llvm::sandboxir::GlobalValue::hasProtectedVisibility(), llvm::sandboxir::GlobalObject::hasSection(), llvm::sandboxir::ConstantPtrAuth::hasSpecialAddressDiscriminator(), llvm::sandboxir::GlobalVariable::hasUniqueInitializer(), llvm::sandboxir::CleanupReturnInst::hasUnwindDest(), llvm::sandboxir::CatchSwitchInst::hasUnwindDest(), llvm::sandboxir::InsertValueInst::idx_begin(), llvm::sandboxir::ExtractValueInst::idx_begin(), llvm::sandboxir::InsertValueInst::idx_end(), llvm::sandboxir::ExtractValueInst::idx_end(), llvm::sandboxir::ShuffleVectorInst::increasesLength(), llvm::sandboxir::InsertValueInst::indices(), llvm::sandboxir::ExtractValueInst::indices(), llvm::sandboxir::Instruction::insertInto(), llvm::sandboxir::CallBase::isArgOperand(), llvm::sandboxir::AllocaInst::isArrayAllocation(), llvm::sandboxir::Instruction::isAssociative(), llvm::sandboxir::IntrinsicInst::isAssociative(), llvm::sandboxir::IntrinsicInst::isAssumeLikeIntrinsic(), llvm::sandboxir::Instruction::isAtomic(), llvm::sandboxir::Instruction::isBinaryOp(), llvm::sandboxir::CallBase::isCallee(), llvm::sandboxir::Instruction::isCast(), llvm::sandboxir::LandingPadInst::isCatch(), llvm::sandboxir::LandingPadInst::isCleanup(), llvm::sandboxir::Instruction::isCommutative(), llvm::sandboxir::IntrinsicInst::isCommutative(), llvm::sandboxir::PHINode::isComplete(), llvm::sandboxir::ShuffleVectorInst::isConcat(), llvm::sandboxir::BranchInst::isConditional(), llvm::sandboxir::GlobalVariable::isConstant(), llvm::sandboxir::CallBase::isDataOperand(), llvm::sandboxir::PossiblyDisjointInst::isDisjoint(), llvm::sandboxir::Instruction::isExact(), llvm::sandboxir::ConstantFP::isExactlyValue(), llvm::sandboxir::GlobalVariable::isExternallyInitialized(), llvm::sandboxir::ShuffleVectorInst::isExtractSubvectorMask(), llvm::sandboxir::Instruction::isFast(), llvm::sandboxir::FPMathOperator::isFast(), llvm::sandboxir::Instruction::isFenceLike(), llvm::sandboxir::LandingPadInst::isFilter(), llvm::sandboxir::AtomicRMWInst::isFloatingPointOperation(), llvm::sandboxir::Instruction::isFuncletPad(), llvm::sandboxir::Instruction::isIdempotent(), llvm::sandboxir::ShuffleVectorInst::isIdentity(), llvm::sandboxir::ShuffleVectorInst::isIdentityWithExtract(), llvm::sandboxir::ShuffleVectorInst::isIdentityWithPadding(), llvm::sandboxir::GetElementPtrInst::isInBounds(), llvm::sandboxir::CallBase::isIndirectCall(), llvm::sandboxir::ConstantFP::isInfinity(), llvm::sandboxir::CallBase::isInlineAsm(), llvm::sandboxir::ShuffleVectorInst::isInsertSubvectorMask(), llvm::sandboxir::Instruction::isIntDivRem(), llvm::sandboxir::ShuffleVectorInst::isInterleave(), llvm::sandboxir::ConstantPtrAuth::isKnownCompatibleWith(), llvm::sandboxir::Instruction::isLogicalShift(), llvm::sandboxir::ConstantInt::isMaxValue(), llvm::sandboxir::ConstantInt::isMinusOne(), llvm::sandboxir::ConstantInt::isMinValue(), llvm::sandboxir::CallBase::isMustTailCall(), llvm::sandboxir::ConstantFP::isNaN(), llvm::sandboxir::ConstantInt::isNegative(), llvm::sandboxir::ConstantFP::isNegative(), llvm::sandboxir::Instruction::isNilpotent(), llvm::sandboxir::ConstantInt::isOne(), llvm::sandboxir::ShuffleVectorInst::isOneUseSingleSourceMask(), llvm::Instruction::isOnlyUserOfAnyOperand(), llvm::sandboxir::Instruction::isOnlyUserOfAnyOperand(), llvm::sandboxir::ShuffleVectorInst::isReplicationMask(), llvm::sandboxir::ShuffleVectorInst::isReverse(), llvm::sandboxir::ShuffleVectorInst::isSelect(), llvm::sandboxir::Instruction::isShift(), llvm::sandboxir::LoadInst::isSimple(), llvm::sandboxir::StoreInst::isSimple(), llvm::sandboxir::ShuffleVectorInst::isSingleSource(), llvm::sandboxir::Instruction::isSpecialTerminator(), llvm::sandboxir::ShuffleVectorInst::isSplice(), llvm::sandboxir::AllocaInst::isStaticAlloca(), llvm::sandboxir::CallBase::isTailCall(), llvm::sandboxir::Instruction::isTerminator(), llvm::sandboxir::ShuffleVectorInst::isTranspose(), llvm::sandboxir::Instruction::isUnaryOp(), llvm::sandboxir::BranchInst::isUnconditional(), llvm::sandboxir::LoadInst::isUnordered(), llvm::sandboxir::StoreInst::isUnordered(), llvm::sandboxir::AllocaInst::isUsedWithInAlloca(), llvm::sandboxir::ShuffleVectorInst::isValidOperands(), llvm::sandboxir::ExtractElementInst::isValidOperands(), llvm::sandboxir::InsertElementInst::isValidOperands(), llvm::sandboxir::Instruction::isVolatile(), llvm::sandboxir::LoadInst::isVolatile(), llvm::sandboxir::StoreInst::isVolatile(), llvm::sandboxir::AtomicRMWInst::isVolatile(), llvm::sandboxir::AtomicCmpXchgInst::isVolatile(), llvm::sandboxir::AtomicCmpXchgInst::isWeak(), llvm::sandboxir::ConstantInt::isZero(), llvm::sandboxir::ConstantFP::isZero(), llvm::sandboxir::ShuffleVectorInst::isZeroEltSplat(), llvm::sandboxir::BlockAddress::lookup(), llvm::sandboxir::Instruction::mayHaveSideEffects(), llvm::sandboxir::Instruction::mayReadFromMemory(), llvm::sandboxir::Instruction::mayReadOrWriteMemory(), llvm::sandboxir::Instruction::mayThrow(), llvm::sandboxir::Instruction::mayWriteToMemory(), llvm::sandboxir::User::op_begin(), llvm::sandboxir::User::op_end(), llvm::sandboxir::SwitchInst::removeCase(), llvm::sandboxir::PHINode::removeIncomingValue(), replaceAllUsesWith(), llvm::sandboxir::PHINode::replaceIncomingBlockWith(), llvm::Instruction::replaceSuccessorWith(), replaceUsesWithIf(), llvm::sandboxir::CatchSwitchAddHandler::revert(), llvm::sandboxir::GlobalAlias::setAliasee(), llvm::sandboxir::AtomicRMWInst::setAlignment(), llvm::sandboxir::AtomicCmpXchgInst::setAlignment(), llvm::sandboxir::AllocaInst::setAlignment(), llvm::sandboxir::GlobalObject::setAlignment(), llvm::sandboxir::AllocaInst::setAllocatedType(), llvm::sandboxir::FuncletPadInst::setArgOperand(), llvm::sandboxir::CatchReturnInst::setCatchPad(), llvm::sandboxir::LandingPadInst::setCleanup(), llvm::sandboxir::CleanupReturnInst::setCleanupPad(), llvm::sandboxir::SwitchInst::setCondition(), llvm::sandboxir::GlobalVariable::setConstant(), llvm::sandboxir::SwitchInst::setDefaultDest(), llvm::sandboxir::GlobalVariable::setExternallyInitialized(), llvm::sandboxir::AtomicCmpXchgInst::setFailureOrdering(), llvm::sandboxir::Instruction::setFast(), llvm::sandboxir::Instruction::setFastMathFlags(), llvm::sandboxir::GlobalObject::setGlobalObjectSubClassData(), llvm::sandboxir::Instruction::setHasAllowReassoc(), llvm::sandboxir::Instruction::setHasAllowReciprocal(), llvm::sandboxir::Instruction::setHasApproxFunc(), llvm::sandboxir::Instruction::setHasNoInfs(), llvm::sandboxir::Instruction::setHasNoNaNs(), llvm::sandboxir::PHINode::setIncomingBlock(), llvm::sandboxir::PHINode::setIncomingValue(), llvm::sandboxir::GlobalVariable::setInitializer(), llvm::sandboxir::Instruction::setIsExact(), llvm::sandboxir::PossiblyNonNegInst::setNonNeg(), llvm::sandboxir::User::setOperand(), llvm::sandboxir::AtomicRMWInst::setOperation(), llvm::sandboxir::AtomicRMWInst::setOrdering(), llvm::sandboxir::FuncletPadInst::setParentPad(), llvm::sandboxir::CatchSwitchInst::setParentPad(), llvm::sandboxir::CmpInst::setPredicate(), llvm::sandboxir::GlobalIFunc::setResolver(), llvm::sandboxir::GlobalObject::setSection(), llvm::sandboxir::ShuffleVectorInst::setShuffleMask(), llvm::sandboxir::CatchReturnInst::setSuccessor(), llvm::sandboxir::AtomicCmpXchgInst::setSuccessOrdering(), llvm::sandboxir::FenceInst::setSyncScopeID(), llvm::sandboxir::AtomicCmpXchgInst::setSyncScopeID(), llvm::sandboxir::GlobalValue::setUnnamedAddr(), llvm::sandboxir::CleanupReturnInst::setUnwindDest(), llvm::sandboxir::AllocaInst::setUsedWithInAlloca(), llvm::sandboxir::GlobalValue::setVisibility(), llvm::sandboxir::LoadInst::setVolatile(), llvm::sandboxir::StoreInst::setVolatile(), llvm::sandboxir::AtomicCmpXchgInst::setVolatile(), llvm::sandboxir::AtomicCmpXchgInst::setWeak(), llvm::sandboxir::BranchInst::successors(), llvm::sandboxir::ICmpInst::swapOperands(), llvm::sandboxir::FCmpInst::swapOperands(), llvm::sandboxir::SelectInst::swapValues(), llvm::sandboxir::ConstantInt::uge(), llvm::sandboxir::CleanupReturnInst::unwindsToCaller(), llvm::sandboxir::CatchSwitchInst::unwindsToCaller(), use_begin(), user_begin(), llvm::sandboxir::Argument::verify(), llvm::sandboxir::BasicBlock::verify(), llvm::sandboxir::Function::verify(), llvm::sandboxir::SingleLLVMInstructionImpl< LLVMT >::verify(), llvm::sandboxir::Constant::verify(), llvm::sandboxir::ConstantInt::verify(), llvm::sandboxir::ConstantFP::verify(), llvm::sandboxir::ConstantAggregateZero::verify(), llvm::sandboxir::ConstantPointerNull::verify(), llvm::sandboxir::UndefValue::verify(), llvm::sandboxir::PoisonValue::verify(), llvm::sandboxir::GlobalIFunc::verify(), llvm::sandboxir::GlobalVariable::verify(), llvm::sandboxir::NoCFIValue::verify(), llvm::sandboxir::DSOLocalEquivalent::verify(), llvm::sandboxir::ConstantTokenNone::verify(), and llvm::sandboxir::User::verify().


The documentation for this class was generated from the following files: