HPCToolkit
ISATypes.hpp File Reference
#include <include/uint.h>
#include <include/gnu_bfd.h>
Include dependency graph for ISATypes.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define VMA_MAX   ( ~((bfd_vma)(0)) )
 
#define PTR_TO_BFDVMA(x)   ((bfd_vma)(uintptr_t)(x))
 
#define BFDVMA_TO_PTR(x, totype)   ((totype)(uintptr_t)(x))
 
#define PTR_TO_VMA(x)   PTR_TO_BFDVMA(x)
 
#define VMA_TO_PTR(x, totype)   BFDVMA_TO_PTR(x, totype)
 

Typedefs

typedef bfd_vma VMA
 
typedef bfd_signed_vma VMASigned
 
typedef void MachInsn
 
typedef unsigned char MachInsnByte
 

Macro Definition Documentation

◆ BFDVMA_TO_PTR

#define BFDVMA_TO_PTR (   x,
  totype 
)    ((totype)(uintptr_t)(x))

Definition at line 95 of file ISATypes.hpp.

◆ PTR_TO_BFDVMA

#define PTR_TO_BFDVMA (   x)    ((bfd_vma)(uintptr_t)(x))

Definition at line 94 of file ISATypes.hpp.

◆ PTR_TO_VMA

#define PTR_TO_VMA (   x)    PTR_TO_BFDVMA(x)

Definition at line 97 of file ISATypes.hpp.

◆ VMA_MAX

#define VMA_MAX   ( ~((bfd_vma)(0)) )

Definition at line 82 of file ISATypes.hpp.

◆ VMA_TO_PTR

#define VMA_TO_PTR (   x,
  totype 
)    BFDVMA_TO_PTR(x, totype)

Definition at line 98 of file ISATypes.hpp.

Typedef Documentation

◆ MachInsn

typedef void MachInsn

Definition at line 87 of file ISATypes.hpp.

◆ MachInsnByte

typedef unsigned char MachInsnByte

Definition at line 88 of file ISATypes.hpp.

◆ VMA

typedef bfd_vma VMA

Definition at line 79 of file ISATypes.hpp.

◆ VMASigned

typedef bfd_signed_vma VMASigned

Definition at line 80 of file ISATypes.hpp.