27 Attribute AttrID = AS.getFnAttr(
"statepoint-id");
31 Result.StatepointID = StatepointID;
34 Attribute AttrNumPatchBytes = AS.getFnAttr(
"statepoint-num-patch-bytes");
37 Result.NumPatchBytes = NumPatchBytes;
Functions, function parameters, and return types can have attributes to indicate how they should be t...
LLVM_ABI bool isStringAttribute() const
Return true if the attribute is a string (target-dependent) attribute.
LLVM_ABI StringRef getValueAsString() const
Return the attribute's value as a string.
LLVM_ABI bool hasAttribute(AttrKind Val) const
Return true if the attribute is present.
bool getAsInteger(unsigned Radix, T &Result) const
Parse the current string as an integer of the specified radix.
This is an optimization pass for GlobalISel generic memory operations.
LLVM_ABI StatepointDirectives parseStatepointDirectivesFromAttrs(AttributeList AS)
Parse out statepoint directives from the function attributes present in AS.
LLVM_ABI bool isStatepointDirectiveAttr(Attribute Attr)
Return true if the Attr is an attribute that is a statepoint directive.
Call sites that get wrapped by a gc.statepoint (currently only in RewriteStatepointsForGC and potenti...