ClearBlue
SEGSimpleOpcodeNode.h
1 /*
2  * SEGSimpleOperandNode.h
3  *
4  * Qingkai
5  *
6  * This node is to model simple opcode.
7  */
8 
9 #ifndef IR_SEG_SEGSIMPLEOPCODENODE_H
10 #define IR_SEG_SEGSIMPLEOPCODENODE_H
11 
12 #include <llvm/IR/BasicBlock.h>
13 
14 #include "IR/SEG/SymbolicExprGraph.h"
15 
16 using namespace llvm;
17 
19 private:
20  SEGSimpleOpcodeNode(CodeKind Opcode, Type *Ty, SymbolicExprGraph *SEG,
21  BasicBlock *BB, bool fromDisk)
22  : SEGOpcodeNode(SEGOBJK_SimpleOpcode, Opcode, Ty, SEG, BB, fromDisk) {}
23 
24  friend class SymbolicExprGraph;
25 
26 public:
28 
29 public:
30  static bool classof(const SEGObject *N) {
31  return N->getKind() == SEGOBJK_SimpleOpcode;
32  }
33 };
34 
35 #endif
SEGSimpleOpcodeNode
Definition: SEGSimpleOpcodeNode.h:18
SEGOpcodeNode::CodeKind
CodeKind
Definition: SymbolicExprGraph.h:522
SymbolicExprGraph
Definition: SymbolicExprGraph.h:708
SEGObject
Definition: SymbolicExprGraph.h:76
SEGOpcodeNode
Definition: SymbolicExprGraph.h:519