10#ifndef LLVM_ANALYSIS_INLINESIZEESTIMATORANALYSIS_H
11#define LLVM_ANALYSIS_INLINESIZEESTIMATORANALYSIS_H
18class TFModelEvaluator;
27 using Result = std::optional<size_t>;
32 std::unique_ptr<TFModelEvaluator>
Evaluator;
36 :
public PassInfoMixin<InlineSizeEstimatorAnalysisPrinterPass> {
FunctionAnalysisManager FAM
This header defines various interfaces for pass management in LLVM.
A container for analyses that lazily runs them and caches their results.
This class evaluates LLVM IR, producing the Constant representing each SSA instruction.
InlineSizeEstimatorAnalysisPrinterPass(raw_ostream &OS)
PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM)
InlineSizeEstimatorAnalysis()
~InlineSizeEstimatorAnalysis()
Result run(const Function &F, FunctionAnalysisManager &FAM)
static bool isEvaluatorRequested()
std::optional< size_t > Result
A set of analyses that are preserved following a run of a transformation pass.
This class implements an extremely fast bulk output stream that can only output to a stream.
This is an optimization pass for GlobalISel generic memory operations.
A CRTP mix-in that provides informational APIs needed for analysis passes.
A special type used by analysis passes to provide an address that identifies that particular analysis...
A CRTP mix-in to automatically provide informational APIs needed for passes.