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::new_gliss::BranchInst class interface
6  */
7 #ifndef OTAWA_LOADER_NEW_GLISS_BRANCH_INST_H
8 #define OTAWA_LOADER_NEW_GLISS_BRANCH_INST_H
9 
11 
12 namespace otawa { namespace loader { namespace new_gliss {
13 
14 // BranchInst class
16 
17 public:
19  virtual otawa::Inst *target(void);
20 
21 protected:
22  virtual address_t decodeTargetAddress(void);
23 
24 private:
26 };
27 
28 } } } // otawa::loader
29 
30 #endif // OTAWA_LOADER_NEW_GLISS_INST_H
Process & process(void) const
Definition: Inst.h:20
otawa::Inst * _target
Definition: BranchInst.h:25
address_t addr
Definition: Inst.h:39
virtual address_t decodeTargetAddress(void)
Definition: Inst.h:16
virtual kind_t kind(void)
Get the kind of the current instruction.
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.
This class represents assembly instruction of a piece of code.
Definition: Inst.h:62
Definition: BranchInst.h:15
Definition: Process.h:22
BranchInst(Process &process, kind_t kind, address_t addr)