11#ifndef LLVM_TRANSFORMS_CFGUARD_H
12#define LLVM_TRANSFORMS_CFGUARD_H
This header defines various interfaces for pass management in LLVM.
FunctionAnalysisManager FAM
A container for analyses that lazily runs them and caches their results.
PreservedAnalyses run(Function &F, FunctionAnalysisManager &FAM)
CFGuardPass(Mechanism M=Mechanism::Check)
A set of analyses that are preserved following a run of a transformation pass.
This is an optimization pass for GlobalISel generic memory operations.
FunctionPass * createCFGuardDispatchPass()
Insert Control FLow Guard dispatches on indirect function calls.
FunctionPass * createCFGuardCheckPass()
Insert Control FLow Guard checks on indirect function calls.
A CRTP mix-in to automatically provide informational APIs needed for passes.