Files
revng-revng/lib/EarlyFunctionAnalysis/FunctionMetadataCache.cpp
Massimo Fioravanti 0bfb73fe95 FunctionMetadata: introduce cache
FunctionMetadata was being deserialized every time they were
inspected. This commit introduces a cache structure to prevent this
excessive deserializations.
2022-11-22 14:15:00 +01:00

17 lines
667 B
C++

//
// This file is distributed under the MIT License. See LICENSE.md for details.
//
#include "revng/EarlyFunctionAnalysis/FunctionMetadataCache.h"
char FunctionMetadataCachePass::ID = '_';
llvm::AnalysisKey FunctionMetadataCacheAnalysis::Key;
static llvm::RegisterPass<FunctionMetadataCachePass> _("metadata-cache",
"Create metadata cache "
"to be "
"used by later passes",
true,
true);