23#define DEBUG_TYPE "annotation2metadata"
29 "annotation-remarks"))
32 auto *
Annotations = M.getGlobalVariable(
"llvm.global.annotations");
34 if (!
C ||
C->getNumOperands() != 1)
41 for (
auto &
Op :
C->operands()) {
45 if (!OpC || OpC->getNumOperands() != 4)
59 I.addAnnotationMetadata(StrData->getAsCString());
Expand Atomic instructions
static GCRegistry::Add< ShadowStackGC > C("shadow-stack", "Very portable GC for uncooperative code generators")
This file contains the declarations for the subclasses of Constant, which represent the different fla...
Module.h This file contains the declarations for the Module class.
This templated class represents "all analyses that operate over <aparticular IR unit>" (e....
Annotations lets you mark points and ranges inside source code, for tests:
A Module instance is used to store all the information related to an LLVM module.
A set of analyses that are preserved following a run of a transformation pass.
static PreservedAnalyses all()
Construct a special preserved set that preserves all passes.
PreservedAnalyses & preserveSet()
Mark an analysis set as preserved.
PreservedAnalyses & preserve()
Mark an analysis as preserved.
This is an optimization pass for GlobalISel generic memory operations.
decltype(auto) dyn_cast(const From &Val)
dyn_cast<X> - Return the argument parameter cast to the specified type.
InnerAnalysisManagerProxy< FunctionAnalysisManager, Module > FunctionAnalysisManagerModuleProxy
Provide the FunctionAnalysisManager to Module proxy.
auto dyn_cast_or_null(const Y &Val)
DWARFExpression::Operation Op
decltype(auto) cast(const From &Val)
cast<X> - Return the argument parameter cast to the specified type.
AnalysisManager< Module > ModuleAnalysisManager
Convenience typedef for the Module analysis manager.