1 //===- PoisonChecking.h - ---------------------------------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_TRANSFORMS_INSTRUMENTATION_POISON_CHECKING_H
11 #define LLVM_TRANSFORMS_INSTRUMENTATION_POISON_CHECKING_H
13 #include "llvm/IR/PassManager.h"
17 struct PoisonCheckingPass
: public PassInfoMixin
<PoisonCheckingPass
> {
18 PreservedAnalyses
run(Module
&M
, ModuleAnalysisManager
&AM
);
19 PreservedAnalyses
run(Function
&F
, FunctionAnalysisManager
&AM
);
25 #endif // LLVM_TRANSFORMS_INSTRUMENTATION_POISON_CHECKING_H