LLVM  8.0.1
BoundsChecking.h
Go to the documentation of this file.
1 //===- BoundsChecking.h - Bounds checking instrumentation -------*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #ifndef LLVM_TRANSFORMS_INSTRUMENTATION_BOUNDSCHECKING_H
11 #define LLVM_TRANSFORMS_INSTRUMENTATION_BOUNDSCHECKING_H
12 
13 #include "llvm/IR/PassManager.h"
14 
15 namespace llvm {
16 
17 /// A pass to instrument code and perform run-time bounds checking on loads,
18 /// stores, and other memory intrinsics.
19 struct BoundsCheckingPass : PassInfoMixin<BoundsCheckingPass> {
21 };
22 
23 
24 /// Legacy pass creation function for the above pass.
26 
27 } // end namespace llvm
28 
29 #endif // LLVM_TRANSFORMS_INSTRUMENTATION_BOUNDSCHECKING_H
This class represents lattice values for constants.
Definition: AllocatorList.h:24
F(f)
A pass to instrument code and perform run-time bounds checking on loads, stores, and other memory int...
FunctionPass * createBoundsCheckingLegacyPass()
Legacy pass creation function for the above pass.
A CRTP mix-in to automatically provide informational APIs needed for passes.
Definition: PassManager.h:366
A set of analyses that are preserved following a run of a transformation pass.
Definition: PassManager.h:154
FunctionPass class - This class is used to implement most global optimizations.
Definition: Pass.h:285
PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM)
A container for analyses that lazily runs them and caches their results.
This header defines various interfaces for pass management in LLVM.