LLVM: lib/IR/Statepoint.cpp Source File (original) (raw)
Go to the documentation of this file.
1
2
3
4
5
6
7
8
9
10
11
12
13
15
16using namespace llvm;
17
22
26
27 Attribute AttrID = AS.getFnAttr("statepoint-id");
31 Result.StatepointID = StatepointID;
32
34 Attribute AttrNumPatchBytes = AS.getFnAttr("statepoint-num-patch-bytes");
37 Result.NumPatchBytes = NumPatchBytes;
38
39 return Result;
40}
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.
StatepointDirectives parseStatepointDirectivesFromAttrs(AttributeList AS)
Parse out statepoint directives from the function attributes present in AS.
Definition Statepoint.cpp:24
bool isStatepointDirectiveAttr(Attribute Attr)
Return true if the Attr is an attribute that is a statepoint directive.
Definition Statepoint.cpp:18
Call sites that get wrapped by a gc.statepoint (currently only in RewriteStatepointsForGC and potenti...