10 #ifndef IR_SEG_SEGCALLSITERETURNSUMMARYNODE_H
11 #define IR_SEG_SEGCALLSITERETURNSUMMARYNODE_H
13 #include "IR/SEG/SEGCallSite.h"
14 #include "IR/SEG/SymbolicExprGraph.h"
19 class PersistedSEGCallSiteReturnSummaryNode;
28 virtual void assembleSEGObject(std::map<int, SEGObject *> &FuncSEGObjMap);
32 Instruction *Callsite =
nullptr;
33 WrappedInstruction *WrappedCallSite =
nullptr;
39 Instruction *Callsite,
float Confidence);
44 virtual PersistedSEGObject *createPersistedObject()
const;
48 return N->getKind() == SEGOBJK_CallSiteSummaryReturn;
51 Instruction *getCallSiteInst()
const {
return Callsite; }
53 WrappedInstruction *getWrappedCallSiteInst()
const {
return WrappedCallSite; }
55 float getConfidence()
const {
return Confidence; }
59 getParentGraph()->findSite<
SEGSiteBase>(getCallSiteInst());
60 return dyn_cast<SEGCallSite>(SEGSite);