//===- bolt/Passes/LivenessAnalysis.h ---------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifndef BOLT_PASSES_LIVENESSANALYSIS_H #define BOLT_PASSES_LIVENESSANALYSIS_H #include "bolt/Passes/DataflowAnalysis.h" #include "bolt/Passes/RegAnalysis.h" #include "llvm/MC/MCRegisterInfo.h" #include "llvm/Support/CommandLine.h" namespace opts { extern llvm::cl::opt<bool> AssumeABI; extern llvm::cl::opt<bool> TimeOpts; } // namespace opts namespace llvm { namespace bolt { class LivenessAnalysis : public DataflowAnalysis<LivenessAnalysis, BitVector, true, RegStatePrinter> { … }; } // end namespace bolt } // end namespace llvm #endif