LLVM 20.0.0git
Public Types | Public Member Functions | List of all members
llvm::CFGuardPass Class Reference

#include "llvm/Transforms/CFGuard.h"

Inheritance diagram for llvm::CFGuardPass:
Inheritance graph
[legend]

Public Types

enum class  Mechanism { Check , Dispatch }
 

Public Member Functions

 CFGuardPass (Mechanism M=Mechanism::Check)
 
PreservedAnalyses run (Function &F, FunctionAnalysisManager &FAM)
 
- Public Member Functions inherited from llvm::PassInfoMixin< CFGuardPass >
void printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)
 

Additional Inherited Members

- Static Public Member Functions inherited from llvm::PassInfoMixin< CFGuardPass >
static StringRef name ()
 Gets the name of the pass we are mixed into.
 

Detailed Description

Definition at line 20 of file CFGuard.h.

Member Enumeration Documentation

◆ Mechanism

enum class llvm::CFGuardPass::Mechanism
strong
Enumerator
Check 
Dispatch 

Definition at line 22 of file CFGuard.h.

Constructor & Destructor Documentation

◆ CFGuardPass()

llvm::CFGuardPass::CFGuardPass ( Mechanism  M = Mechanism::Check)
inline

Definition at line 24 of file CFGuard.h.

Member Function Documentation

◆ run()

PreservedAnalyses CFGuardPass::run ( Function F,
FunctionAnalysisManager FAM 
)

Definition at line 304 of file CFGuard.cpp.

References llvm::PreservedAnalyses::all(), F, and llvm::PreservedAnalyses::none().


The documentation for this class was generated from the following files: