LLVM OpenMP 19.0.0git
Classes | Macros | Typedefs | Functions | Variables
omp_record_replay_deps.cpp File Reference
#include <iostream>
#include <cassert>

Go to the source code of this file.

Classes

struct  ident
 The ident structure that describes a source location. More...
 

Macros

#define NT   100
 
#define MULTIPLIER   100
 
#define DECREMENT   5
 

Typedefs

typedef struct ident ident_t
 

Functions

void sub ()
 
void add ()
 
void mult ()
 
int main ()
 

Variables

int val
 

Macro Definition Documentation

◆ DECREMENT

#define DECREMENT   5

Definition at line 7 of file omp_record_replay_deps.cpp.

◆ MULTIPLIER

#define MULTIPLIER   100

Definition at line 6 of file omp_record_replay_deps.cpp.

◆ NT

#define NT   100

Definition at line 5 of file omp_record_replay_deps.cpp.

Typedef Documentation

◆ ident_t

typedef struct ident ident_t

Function Documentation

◆ add()

void add ( )

Definition at line 29 of file omp_record_replay_deps.cpp.

References DECREMENT, and val.

Referenced by main().

◆ main()

int main ( void  )

Definition at line 40 of file omp_record_replay_deps.cpp.

References __kmpc_global_thread_num(), add(), mult(), NT, res, sub(), and val.

◆ mult()

void mult ( )

Definition at line 34 of file omp_record_replay_deps.cpp.

References MULTIPLIER, and val.

Referenced by main().

◆ sub()

void sub ( )

Definition at line 24 of file omp_record_replay_deps.cpp.

References DECREMENT, and val.

Referenced by main().

Variable Documentation

◆ val

int val