Searched refs:CostModelAnalysis (Results 1 – 1 of 1) sorted by relevance
/external/llvm/lib/Analysis/ |
D | CostModel.cpp | 34 class CostModelAnalysis : public FunctionPass { class 38 CostModelAnalysis() : FunctionPass(ID), F(0), TTI(0) { in CostModelAnalysis() function in __anon87e141990111::CostModelAnalysis 62 char CostModelAnalysis::ID = 0; 64 INITIALIZE_PASS_BEGIN(CostModelAnalysis, CM_NAME, cm_name, false, true) in INITIALIZE_PASS_BEGIN() argument 65 INITIALIZE_PASS_END (CostModelAnalysis, CM_NAME, cm_name, false, true) in INITIALIZE_PASS_BEGIN() 68 return new CostModelAnalysis(); in INITIALIZE_PASS_BEGIN() 72 CostModelAnalysis::getAnalysisUsage(AnalysisUsage &AU) const { in getAnalysisUsage() 77 CostModelAnalysis::runOnFunction(Function &F) { in runOnFunction() 108 unsigned CostModelAnalysis::getInstructionCost(const Instruction *I) const { in getInstructionCost() 231 void CostModelAnalysis::print(raw_ostream &OS, const Module*) const { in print()
|