1 //===- PoisonChecking.h - ---------------------------------------*- C++ -*-===// 2 // 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 6 // 7 //===----------------------------------------------------------------------===// 8 9 10 #ifndef LLVM_TRANSFORMS_INSTRUMENTATION_POISON_CHECKING_H 11 #define LLVM_TRANSFORMS_INSTRUMENTATION_POISON_CHECKING_H 12 13 #include "llvm/IR/PassManager.h" 14 15 namespace llvm { 16 17 struct PoisonCheckingPass : public PassInfoMixin<PoisonCheckingPass> { 18 PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM); 19 PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM); 20 }; 21 22 } 23 24 25 #endif // LLVM_TRANSFORMS_INSTRUMENTATION_POISON_CHECKING_H 26