//===- MachineFunctionAnalysis.cpp ----------------------------------------===// // // 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 // //===----------------------------------------------------------------------===// // // This file contains the definitions of the MachineFunctionAnalysis // members. // //===----------------------------------------------------------------------===// #include "llvm/CodeGen/MachineFunctionAnalysis.h" #include "llvm/CodeGen/MachineFunction.h" #include "llvm/CodeGen/MachineModuleInfo.h" #include "llvm/IR/Function.h" #include "llvm/Target/TargetMachine.h" usingnamespacellvm; AnalysisKey MachineFunctionAnalysis::Key; bool MachineFunctionAnalysis::Result::invalidate( Function &, const PreservedAnalyses &PA, FunctionAnalysisManager::Invalidator &) { … } MachineFunctionAnalysis::Result MachineFunctionAnalysis::run(Function &F, FunctionAnalysisManager &FAM) { … }