9 #ifndef IR_SEG_SEGSTOREMEMNODE_H
10 #define IR_SEG_SEGSTOREMEMNODE_H
12 #include <llvm/IR/BasicBlock.h>
13 #include <llvm/IR/Function.h>
14 #include <llvm/IR/Instructions.h>
15 #include <llvm/IR/Value.h>
17 #include "IR/SEG/SymbolicExprGraph.h"
26 Instruction *StoreSite =
nullptr;
27 Value *StoreValue =
nullptr;
36 Instruction *getStoreSite()
const {
return StoreSite; }
38 StoreInst *getStoreSiteAsStoreInst()
const {
41 return dyn_cast<StoreInst>(StoreSite);
44 Value *getStoreValue()
const {
return StoreValue; }
46 void dot(raw_fd_ostream &O)
const override;
48 virtual Instruction *getLLVMDbgInstruction()
const override;
52 return N->getKind() == SEGOBJK_StoreMem;