File: handler.h

package info (click to toggle)
opari 1.1%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 728 kB
  • sloc: cpp: 2,005; ansic: 901; f90: 252; makefile: 128; sh: 86; fortran: 50
file content (32 lines) | stat: -rw-r--r-- 938 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*************************************************************************/
/* OPARI Version 1.1                                                     */
/* Copyright (C) 2001                                                    */
/* Forschungszentrum Juelich, Zentralinstitut fuer Angewandte Mathematik */
/*************************************************************************/

#ifndef HANDLER_H
#define HANDLER_H

#include "opari.h"
#include "ompragma.h"

typedef void (* phandler_t)(OMPragma*, ostream&);

void init_handler(const char* infile, const char* rcfile,
		  Language l, bool genLineStmts);

void finalize_handler(const char* incfile, const char* tabfile);

void generateTableFile(const char* rcfile, const char* tabfile);

phandler_t find_handler(const string& pragma);

void extra_handler(int lineno, ostream& os);

bool set_disabled(const string& constructs);

bool instrument_locks();

extern bool do_transform;

#endif