LLVM: llvm::sandboxir::GlobalValue Class Reference (original ) (raw )#include "[llvm/SandboxIR/Constant.h](SandboxIR%5F2Constant%5F8h%5Fsource.html)"
Protected Member Functions
GlobalValue (ClassID ID , llvm::GlobalValue *C , Context &Ctx )
Protected Member Functions inherited from llvm::sandboxir::Constant
Constant (llvm::Constant *C , sandboxir::Context &SBCtx)
Constant (ClassID ID , llvm::Constant *C , sandboxir::Context &SBCtx)
Use
getOperandUseInternal (unsigned OpIdx , bool Verify ) const override
\Returns the Use for the OpIdx'th operand.
Protected Member Functions inherited from llvm::sandboxir::User
User (ClassID ID , llvm::Value *V, Context &Ctx )
Use
getOperandUseDefault (unsigned OpIdx , bool Verify ) const
\Returns the Use edge that corresponds to OpIdx.
unsigned
getUseOperandNoDefault (const Use &Use ) const
The default implementation works only for single-LLVMIR-instruction Users and only if they match exactly the LLVM instruction.
void
swapOperandsInternal (unsigned OpIdxA, unsigned OpIdxB)
void
verifyUserOfLLVMUse (const llvm::Use &Use ) const
Protected Member Functions inherited from llvm::sandboxir::Value
void
clearValue ()
LLVM_ABI
Value (ClassID SubclassID , llvm::Value *Val , Context &Ctx )
Value (const Value &)=delete
Disable copies.
Value &
operator= (const Value &)=delete
Definition at line 887 of file Constant.h .
◆ LinkageTypes◆ UnnamedAddr◆ VisibilityTypes◆ classof()◆ getAddressSpace()
unsigned llvm::sandboxir::GlobalValue::getAddressSpace ( ) const
inline
◆ getMinUnnamedAddr()◆ getUnnamedAddr()
UnnamedAddr llvm::sandboxir::GlobalValue::getUnnamedAddr ( ) const
inline
◆ getVisibility()
VisibilityTypes llvm::sandboxir::GlobalValue::getVisibility ( ) const
inline
◆ hasAtLeastLocalUnnamedAddr()
bool llvm::sandboxir::GlobalValue::hasAtLeastLocalUnnamedAddr ( ) const
inline
Returns true if this value's address is not significant in this module.
This attribute is intended to be used only by the code generator and LTO to allow the linker to decide whether the global needs to be in the symbol table. It should probably not be used in optimizations, as the value may have uses outside the module; use hasGlobalUnnamedAddr() instead.
Definition at line 920 of file Constant.h .
References llvm::cast() , and llvm::sandboxir::Value::Val .
◆ hasComdat()
bool llvm::sandboxir::GlobalValue::hasComdat ( ) const
inline
◆ hasDefaultVisibility()
bool llvm::sandboxir::GlobalValue::hasDefaultVisibility ( ) const
inline
◆ hasGlobalUnnamedAddr()
bool llvm::sandboxir::GlobalValue::hasGlobalUnnamedAddr ( ) const
inline
◆ hasHiddenVisibility()
bool llvm::sandboxir::GlobalValue::hasHiddenVisibility ( ) const
inline
◆ hasProtectedVisibility()
bool llvm::sandboxir::GlobalValue::hasProtectedVisibility ( ) const
inline
◆ setUnnamedAddr()
void llvm::sandboxir::GlobalValue::setUnnamedAddr
(
UnnamedAddr
V
)
◆ setVisibility()◆ Context
The documentation for this class was generated from the following files: