LLVM 20.0.0git
Classes | Public Member Functions | Static Public Member Functions | List of all members
llvm::BoundsCheckingPass Class Reference

A pass to instrument code and perform run-time bounds checking on loads, stores, and other memory intrinsics. More...

#include "llvm/Transforms/Instrumentation/BoundsChecking.h"

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

Classes

struct  Options
 

Public Member Functions

 BoundsCheckingPass (Options Opts)
 
PreservedAnalyses run (Function &F, FunctionAnalysisManager &AM)
 
void printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)
 
- Public Member Functions inherited from llvm::PassInfoMixin< BoundsCheckingPass >
void printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)
 

Static Public Member Functions

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

Detailed Description

A pass to instrument code and perform run-time bounds checking on loads, stores, and other memory intrinsics.

Definition at line 20 of file BoundsChecking.h.

Constructor & Destructor Documentation

◆ BoundsCheckingPass()

llvm::BoundsCheckingPass::BoundsCheckingPass ( Options  Opts)
inline

Definition at line 35 of file BoundsChecking.h.

Member Function Documentation

◆ isRequired()

static bool llvm::BoundsCheckingPass::isRequired ( )
inlinestatic

Definition at line 37 of file BoundsChecking.h.

◆ printPipeline()

void BoundsCheckingPass::printPipeline ( raw_ostream OS,
function_ref< StringRef(StringRef)>  MapClassName2PassName 
)

◆ run()

PreservedAnalyses BoundsCheckingPass::run ( Function F,
FunctionAnalysisManager AM 
)

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