Searched refs:MacroDefinitions (Results 1 – 9 of 9) sorted by relevance
323 MacroDefinitions[Macro] = Def; in RegisterMacroDefinition()362 MacroDefinitions.find(MI); in findMacroDefinition()363 if (Pos == MacroDefinitions.end()) in findMacroDefinition()426 MacroDefinitions[MI] = Def; in MacroDefined()431 MD.forAllDefinitions([&](MacroInfo *MI) { MacroDefinitions.erase(MI); }); in MacroUndefined()485 + llvm::capacity_in_bytes(MacroDefinitions) in getTotalMemory()
346 MacroDefinitions[Macro] = Def; in RegisterMacroDefinition()385 MacroDefinitions.find(MI); in findMacroDefinition()386 if (Pos == MacroDefinitions.end()) in findMacroDefinition()451 MacroDefinitions[MI] = Def; in MacroDefined()457 MD.forAllDefinitions([&](MacroInfo *MI) { MacroDefinitions.erase(MI); }); in MacroUndefined()512 + llvm::capacity_in_bytes(MacroDefinitions) in getTotalMemory()
16 create(const std::vector<std::string> &MacroDefinitions) { in create() argument17 return std::make_unique<MacroExpander>(MacroDefinitions, in create()
332 llvm::DenseMap<const MacroInfo *, MacroDefinitionRecord *> MacroDefinitions; variable
355 llvm::DenseMap<const MacroInfo *, MacroDefinitionRecord *> MacroDefinitions; variable
336 serialization::PreprocessedEntityID> MacroDefinitions; variable
302 serialization::PreprocessedEntityID> MacroDefinitions; variable
2276 Record.push_back(MacroDefinitions[PPRec->findMacroDefinition(MI)]); in WritePreprocessor()2355 MacroDefinitions[MD] = NextPreprocessorEntityID; in WritePreprocessorDetail()2367 Record.push_back(MacroDefinitions[ME->getDefinition()]); in WritePreprocessorDetail()5630 assert(MacroDefinitions.find(MD) == MacroDefinitions.end()); in MacroDefinitionRead()5631 MacroDefinitions[MD] = ID; in MacroDefinitionRead()
2312 Record.push_back(MacroDefinitions[PPRec->findMacroDefinition(MI)]); in WritePreprocessor()2396 MacroDefinitions[MD] = NextPreprocessorEntityID; in WritePreprocessorDetail()2408 Record.push_back(MacroDefinitions[ME->getDefinition()]); in WritePreprocessorDetail()5906 assert(MacroDefinitions.find(MD) == MacroDefinitions.end()); in MacroDefinitionRead()5907 MacroDefinitions[MD] = ID; in MacroDefinitionRead()