ClearBlue
SEGCallSiteArgumentSummaryNode.h
1 /*
2  * SEGCallSiteArgumentSummaryNode.h
3  *
4  * This node is to model a summary node passed to a callee.
5  *
6  * Created on: 2016.10.19
7  * Author: andyzhou
8  */
9 
10 #ifndef LIB_IR_SEG_SEGCALLSITEARGUMENTSUMMARYNODE_H
11 #define LIB_IR_SEG_SEGCALLSITEARGUMENTSUMMARYNODE_H
12 
13 #include "IR/SEG/SymbolicExprGraph.h"
14 
15 using namespace llvm;
16 
18 private:
19  Instruction *Callsite = nullptr;
20  int APDepth;
22  BasicBlock *BB, Instruction *Callsite,
23  int APDepth, bool fromDisk);
24 
25 public:
27 
28 public:
29  static bool classof(const SEGObject *N) {
30  return N->getKind() == SEGOBJK_CallSiteSummaryArgument;
31  }
32 
33  int getAPDepth() const { return APDepth; }
34 
35  Instruction *getCallSite() const { return Callsite; }
36 
37  friend class SymbolicExprGraph;
38 };
39 
40 #endif /* LIB_IR_SEG_SEGCALLSITEARGUMENTSUMMARYNODE_H */
SEGOperandNode
Definition: SymbolicExprGraph.h:456
SEGCallSiteArgumentSummaryNode
Definition: SEGCallSiteArgumentSummaryNode.h:17
SymbolicExprGraph
Definition: SymbolicExprGraph.h:708
SEGObject
Definition: SymbolicExprGraph.h:76