LLVM 20.0.0git
|
Printer pass for cost modeling results. More...
#include "llvm/Analysis/CostModel.h"
Public Member Functions | |
CostModelPrinterPass (raw_ostream &OS) | |
PreservedAnalyses | run (Function &F, FunctionAnalysisManager &AM) |
Public Member Functions inherited from llvm::PassInfoMixin< CostModelPrinterPass > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Static Public Member Functions | |
static bool | isRequired () |
Static Public Member Functions inherited from llvm::PassInfoMixin< CostModelPrinterPass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
Printer pass for cost modeling results.
Definition at line 16 of file CostModel.h.
|
inlineexplicit |
Definition at line 20 of file CostModel.h.
References OS.
|
inlinestatic |
Definition at line 24 of file CostModel.h.
PreservedAnalyses CostModelPrinterPass::run | ( | Function & | F, |
FunctionAnalysisManager & | AM | ||
) |
Definition at line 50 of file CostModel.cpp.
References llvm::PreservedAnalyses::all(), B, CostKind, F, llvm::TargetTransformInfo::getInstructionCost(), llvm::TargetTransformInfo::getIntrinsicInstrCost(), llvm::InstructionCost::getInvalid(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), llvm::InstructionCost::getValue(), II, and TypeBasedIntrinsicCost.