15 #ifndef LLVM_IR_GLOBALINDIRECTSYMBOL_H 16 #define LLVM_IR_GLOBALINDIRECTSYMBOL_H 38 void *
operator new(
size_t s) {
39 return User::operator
new(s, 1);
80 return V->
getValueID() == Value::GlobalAliasVal ||
94 #endif // LLVM_IR_GLOBALINDIRECTSYMBOL_H A parsed version of the target data layout string in and methods for querying it. ...
void copyAttributesFrom(const GlobalValue *Src)
Copy all additional attributes (those not needed to create a GlobalValue) from the GlobalValue Src to...
unsigned getValueID() const
Return an ID for the concrete type of this object.
This class represents lattice values for constants.
amdgpu Simplify well known AMD library false FunctionCallee Value const Twine & Name
GlobalObject * getBaseObject()
void setIndirectSymbol(Constant *Symbol)
These methods set and retrieve indirect symbol.
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
GlobalIndirectSymbol & operator=(const GlobalIndirectSymbol &)=delete
#define DEFINE_TRANSPARENT_OPERAND_ACCESSORS(CLASS, VALUECLASS)
Macro for generating out-of-class operand accessor definitions.
const GlobalObject * getBaseObject() const
const Value * stripAndAccumulateInBoundsConstantOffsets(const DataLayout &DL, APInt &Offset) const
This is a wrapper around stripAndAccumulateConstantOffsets with the in-bounds requirement set to fals...
Value * getOperand(unsigned i) const
The instances of the Type class are immutable: once they are created, they are never changed...
This is an important base class in LLVM.
static bool classof(const Value *V)
const GlobalObject * getBaseObject(const DataLayout &DL, APInt &Offset) const
Constant * getIndirectSymbol()
void copyAttributesFrom(const GlobalValue *Src)
ValueTy
Concrete subclass of this.
void setOperand(unsigned i, Value *Val)
Class for arbitrary precision integers.
LinkageTypes
An enumeration for the kinds of linkage for global values.
Compile-time customization of User operands.
LLVM_NODISCARD std::enable_if<!is_simple_type< Y >::value, typename cast_retty< X, const Y >::ret_type >::type dyn_cast(const Y &Val)
const Constant * getIndirectSymbol() const
LLVM Value Representation.
GlobalObject * getBaseObject(const DataLayout &DL, APInt &Offset)
GlobalIndirectSymbol(Type *Ty, ValueTy VTy, unsigned AddressSpace, LinkageTypes Linkage, const Twine &Name, Constant *Symbol)
DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Constant)
Provide fast operand accessors.
FixedNumOperandTraits - determine the allocation regime of the Use array when it is a prefix to the U...