Searched refs:UsageComputer (Results 1 – 1 of 1) sorted by relevance
43 class UsageComputer: public AstVisitor { class58 UsageComputer(int weight, bool is_write);59 virtual ~UsageComputer();74 WeightScaler(UsageComputer* uc, float scale);78 UsageComputer* uc_;86 bool UsageComputer::Traverse(AstNode* node) { in Traverse()87 UsageComputer uc(InitialWeight, false); in Traverse()93 void UsageComputer::VisitBlock(Block* node) { in VisitBlock()98 void UsageComputer::VisitDeclaration(Declaration* node) { in VisitDeclaration()105 void UsageComputer::VisitExpressionStatement(ExpressionStatement* node) { in VisitExpressionStatement()[all …]