Otawa  0.10
BranchInst.h
Go to the documentation of this file.
1 /*
2  * $Id$
3  * Copyright (c) 2007, IRIT UPS <casse@irit.fr>
4  *
5  * loader::old_gliss::BranchInst class interface
6  */
7 #ifndef OTAWA_LOADER_OLD_GLISS_BRANCH_INST_H
8 #define OTAWA_LOADER_OLD_GLISS_BRANCH_INST_H
9 
11 
12 namespace otawa { namespace loader { namespace old_gliss {
13 
14 // BranchInst class
16 
17 public:
19 
20  virtual otawa::Inst *target(void);
21 
22 protected:
23  virtual address_t decodeTargetAddress(void);
24 
25 private:
27 };
28 
29 } } } // otawa::loader
30 
31 #endif // OTAWA_LOADER_OLD_GLISS_INST_H
virtual address_t decodeTargetAddress(void)
address_t addr
Definition: Inst.h:39
Definition: BranchInst.h:15
The representation of an address in OTAWA.
Definition: base.h:54
elm::t::uint32 kind_t
Definition: Inst.h:67
virtual otawa::Inst * target(void)
Get the target of the branch.
otawa::Inst * _target
Definition: BranchInst.h:26
This class represents assembly instruction of a piece of code.
Definition: Inst.h:62
Definition: Process.h:19
Definition: Inst.h:16
BranchInst(Process &process, kind_t kind, address_t addr)
virtual kind_t kind(void)
Get the kind of the current instruction.
Process & process(void) const
Definition: Inst.h:20