11#ifndef LLVM_TRANSFORMS_CFGUARD_H
12#define LLVM_TRANSFORMS_CFGUARD_H
29 Mechanism GuardMechanism;
This header defines various interfaces for pass management in LLVM.
FunctionAnalysisManager FAM
PreservedAnalyses run(Function &F, FunctionAnalysisManager &FAM)
CFGuardPass(Mechanism M=Mechanism::Check)
FunctionPass class - This class is used to implement most global optimizations.
A set of analyses that are preserved following a run of a transformation pass.
This is an optimization pass for GlobalISel generic memory operations.
bool isCFGuardFunction(const GlobalValue *GV)
FunctionPass * createCFGuardDispatchPass()
Insert Control FLow Guard dispatches on indirect function calls.
FunctionPass * createCFGuardCheckPass()
Insert Control FLow Guard checks on indirect function calls.
AnalysisManager< Function > FunctionAnalysisManager
Convenience typedef for the Function analysis manager.
A CRTP mix-in to automatically provide informational APIs needed for passes.