Home
last modified time | relevance | path

Searched refs:CostModelAnalysis (Results 1 – 1 of 1) sorted by relevance

/external/llvm/lib/Analysis/
DCostModel.cpp41 class CostModelAnalysis : public FunctionPass { class
45 CostModelAnalysis() : FunctionPass(ID), F(nullptr), TTI(nullptr) { in CostModelAnalysis() function in __anon8ae1671b0111::CostModelAnalysis
69 char CostModelAnalysis::ID = 0;
71 INITIALIZE_PASS_BEGIN(CostModelAnalysis, CM_NAME, cm_name, false, true) in INITIALIZE_PASS_BEGIN() argument
72 INITIALIZE_PASS_END (CostModelAnalysis, CM_NAME, cm_name, false, true) in INITIALIZE_PASS_BEGIN()
75 return new CostModelAnalysis(); in INITIALIZE_PASS_BEGIN()
79 CostModelAnalysis::getAnalysisUsage(AnalysisUsage &AU) const { in getAnalysisUsage()
84 CostModelAnalysis::runOnFunction(Function &F) { in runOnFunction()
378 unsigned CostModelAnalysis::getInstructionCost(const Instruction *I) const { in getInstructionCost()
517 void CostModelAnalysis::print(raw_ostream &OS, const Module*) const { in print()