17#ifndef LLVM_IR_GLOBALIFUNC_H
18#define LLVM_IR_GLOBALIFUNC_H
32template <
typename ValueSubClass,
typename...
Args>
class SymbolTableListTraits;
53 void *
operator new(
size_t S) {
return User::operator
new(S, AllocMarker); }
54 void operator delete(
void *
Ptr) { User::operator
delete(
Ptr); }
92 return V->getValueID() == Value::GlobalIFuncVal;
Machine Check Debug Module
#define DEFINE_TRANSPARENT_OPERAND_ACCESSORS(CLASS, VALUECLASS)
Macro for generating out-of-class operand accessor definitions.
This is an important base class in LLVM.
This class represents an Operation in the Expression.
GlobalIFunc(const GlobalIFunc &)=delete
void applyAlongResolverPath(function_ref< void(const GlobalValue &)> Op) const
DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Constant)
Provide fast operand accessors.
void copyAttributesFrom(const GlobalIFunc *Src)
Function * getResolverFunction()
const Function * getResolverFunction() const
void removeFromParent()
This method unlinks 'this' from the containing module, but does not delete it.
static bool isValidLinkage(LinkageTypes L)
static GlobalIFunc * create(Type *Ty, unsigned AddressSpace, LinkageTypes Linkage, const Twine &Name, Constant *Resolver, Module *Parent)
If a parent module is specified, the ifunc is automatically inserted into the end of the specified mo...
void setResolver(Constant *Resolver)
These methods retrieve and set ifunc resolver function.
void eraseFromParent()
This method unlinks 'this' from the containing module and deletes it.
static bool classof(const Value *V)
GlobalIFunc & operator=(const GlobalIFunc &)=delete
const Constant * getResolver() const
void copyAttributesFrom(const GlobalObject *Src)
static bool isLocalLinkage(LinkageTypes Linkage)
static bool isLinkOnceLinkage(LinkageTypes Linkage)
static bool isExternalLinkage(LinkageTypes Linkage)
static bool isWeakLinkage(LinkageTypes Linkage)
LinkageTypes
An enumeration for the kinds of linkage for global values.
A Module instance is used to store all the information related to an LLVM module.
Interface for looking up the initializer for a variable name, used by Init::resolveReferences.
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
The instances of the Type class are immutable: once they are created, they are never changed.
LLVM Value Representation.
An efficient, type-erasing, non-owning reference to a callable.
This file defines the ilist_node class template, which is a convenient base class for creating classe...
constexpr char Args[]
Key for Kernel::Metadata::mArgs.
This is an optimization pass for GlobalISel generic memory operations.
FixedNumOperandTraits - determine the allocation regime of the Use array when it is a prefix to the U...
Compile-time customization of User operands.
Indicates this User has operands co-allocated.