clang 23.0.0git
PointerFlowAnalysis.h
Go to the documentation of this file.
1//===- PointerFlowAnalysis.h ------------------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// Defines PointerFlowAnalysisResult, the whole-program analysis result type
10// for PointerFlowAnalysis.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_CLANG_SCALABLESTATICANALYSISFRAMEWORK_ANALYSES_POINTERFLOW_POINTERFLOWANALYSIS_H
15#define LLVM_CLANG_SCALABLESTATICANALYSISFRAMEWORK_ANALYSES_POINTERFLOW_POINTERFLOWANALYSIS_H
16
21#include "llvm/ADT/StringRef.h"
22#include <map>
23
24namespace clang::ssaf {
25
26inline constexpr llvm::StringLiteral PointerFlowAnalysisResultName =
27 "PointerFlowAnalysisResult";
28
33
34 /// Whole-program map from EntityIds to their EdgeSets.
35 std::map<EntityId, EdgeSet> Edges;
36};
37
38} // namespace clang::ssaf
39
40#endif // LLVM_CLANG_SCALABLESTATICANALYSISFRAMEWORK_ANALYSES_POINTERFLOW_POINTERFLOWANALYSIS_H
Uniquely identifies a whole-program analysis and the AnalysisResult it produces.
Base class for whole-program analysis results.
constexpr llvm::StringLiteral PointerFlowAnalysisResultName
std::map< EntityId, EdgeSet > Edges
Whole-program map from EntityIds to their EdgeSets.