5 #ifndef CLEARBLUE_SEGMAPBASE_H
6 #define CLEARBLUE_SEGMAPBASE_H
8 #include <llvm/IR/Function.h>
9 #include <llvm/IR/Module.h>
10 #include <llvm/Support/raw_ostream.h>
12 #include <unordered_map>
14 #include "Analysis/CallGraph/CBCallGraph.h"
15 #include "IR/SEG/SymbolicExprGraph.h"
16 #include "Language/Spec/Memory.h"
23 std::unordered_map<const Function *, SymbolicExprGraph *>
SEGMap;
32 bool hasSEG(
const Function *F)
const;
35 bool isFuncBuildable(
const Function *F)
const;
39 std::unordered_map<const Function *, SymbolicExprGraph *>::iterator>
41 return {SEGMap.begin()};
46 std::unordered_map<const Function *, SymbolicExprGraph *>::iterator>
48 return {SEGMap.end()};
52 ExternalMemorySpec *MEM_SPEC =
nullptr;
55 #endif // CLEARBLUE_SEGMAPBASE_H
value_iterator< std::unordered_map< const Function *, SymbolicExprGraph * >::iterator > begin()
@iterating_object_class SymbolicExprGraph *
Definition: SEGMapBase.h:40
Definition: SEGMapBase.h:20
Definition: SymbolicExprGraph.h:708
value_iterator< std::unordered_map< const Function *, SymbolicExprGraph * >::iterator > end()
@iterating_object_class SymbolicExprGraph *
Definition: SEGMapBase.h:47
std::unordered_map< const Function *, SymbolicExprGraph * > SEGMap
SEG vector of functions.
Definition: SEGMapBase.h:23