Lines Matching refs:VariableDeclarations
235 VariableDeclarations(new Ice::VariableDeclarationList()) {} in TopLevelParser()
256 return VariableDeclarations.get(); in getGlobalVariablesPool()
335 assert(VariableDeclarations); in installGlobalNames()
343 assert(VariableDeclarations); in createValueIDs()
344 ValueIDConstants.reserve(VariableDeclarations->size() + in createValueIDs()
356 if (VariableDeclarations) { in getNumGlobalIDs()
357 return FunctionDeclarations.size() + VariableDeclarations->size(); in getNumGlobalIDs()
366 assert(VariableDeclarations); in addGlobalDeclaration()
367 VariableDeclarations->push_back(Decl); in addGlobalDeclaration()
372 assert(VariableDeclarations); in getGlobalVariableByID()
373 if (Index < VariableDeclarations->size()) in getGlobalVariableByID()
374 return VariableDeclarations->at(Index); in getGlobalVariableByID()
397 assert(!VariableDeclarations || in getGlobalVariables()
398 VariableDeclarations->size() <= ValueIDConstants.size()); in getGlobalVariables()
399 return std::move(VariableDeclarations); in getGlobalVariables()
442 std::unique_ptr<Ice::VariableDeclarationList> VariableDeclarations; member in __anon013ef65f0111::TopLevelParser
498 assert(VariableDeclarations); in installGlobalVarNames()
502 for (Ice::VariableDeclaration *Var : *VariableDeclarations) { in installGlobalVarNames()
556 for (const Ice::VariableDeclaration *Decl : *VariableDeclarations) { in createValueIDsForGlobalVars()
633 << VariableDeclarations->size(); in reportGetGlobalVariableByIDError()
635 if (!VariableDeclarations->empty()) in reportGetGlobalVariableByIDError()
636 return VariableDeclarations->at(0); in reportGetGlobalVariableByIDError()