LLVM 20.0.0git
|
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"
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) |
![]() | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Static Public Member Functions | |
static bool | isRequired () |
![]() | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
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.
|
inline |
Definition at line 35 of file BoundsChecking.h.
|
inlinestatic |
Definition at line 37 of file BoundsChecking.h.
void BoundsCheckingPass::printPipeline | ( | raw_ostream & | OS, |
function_ref< StringRef(StringRef)> | MapClassName2PassName | ||
) |
Definition at line 293 of file BoundsChecking.cpp.
References llvm::BoundsCheckingPass::Options::GuardKind, llvm::BoundsCheckingPass::Options::Merge, OS, printPipeline(), and llvm::BoundsCheckingPass::Options::Rt.
Referenced by printPipeline().
PreservedAnalyses BoundsCheckingPass::run | ( | Function & | F, |
FunctionAnalysisManager & | AM | ||
) |
Definition at line 283 of file BoundsChecking.cpp.
References addBoundsChecking(), llvm::PreservedAnalyses::all(), F, llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), and llvm::PreservedAnalyses::none().