Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DCostModel.cpp44 class CostModelAnalysis : public FunctionPass { class
48 CostModelAnalysis() : FunctionPass(ID), F(nullptr), TTI(nullptr) { in CostModelAnalysis() function in __anond43aa6870111::CostModelAnalysis
74 char CostModelAnalysis::ID = 0;
76 INITIALIZE_PASS_BEGIN(CostModelAnalysis, CM_NAME, cm_name, false, true) in INITIALIZE_PASS_BEGIN() argument
77 INITIALIZE_PASS_END (CostModelAnalysis, CM_NAME, cm_name, false, true) in INITIALIZE_PASS_BEGIN()
80 return new CostModelAnalysis(); in INITIALIZE_PASS_BEGIN()
84 CostModelAnalysis::getAnalysisUsage(AnalysisUsage &AU) const { in getAnalysisUsage()
89 CostModelAnalysis::runOnFunction(Function &F) { in runOnFunction()
97 void CostModelAnalysis::print(raw_ostream &OS, const Module*) const { in print()
/external/llvm/lib/Analysis/
DCostModel.cpp41 class CostModelAnalysis : public FunctionPass { class
45 CostModelAnalysis() : FunctionPass(ID), F(nullptr), TTI(nullptr) { in CostModelAnalysis() function in __anon0882f24f0111::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()
521 void CostModelAnalysis::print(raw_ostream &OS, const Module*) const { in print()