File: fcml_intel_dialect.h

package info (click to toggle)
fcml 1.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,536 kB
  • sloc: ansic: 57,510; cpp: 21,835; sh: 4,410; lex: 834; makefile: 508; yacc: 317
file content (58 lines) | stat: -rw-r--r-- 1,942 bytes parent folder | download | duplicates (2)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/*
 * FCML - Free Code Manipulation Library.
 * Copyright (C) 2010-2020 Slawomir Wojtasiak
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 */

/** @file fcml_intel_dialect.h
 * Intel dialect implementation.
 * @copyright Copyright (C) 2010-2020 Slawomir Wojtasiak. All rights reserved.
 * This project is released under the GNU Lesser General Public License.
 */

#ifndef FCML_ASM_DIALECT_INTEL_H_
#define FCML_ASM_DIALECT_INTEL_H_

#include "fcml_lib_export.h"

#include "fcml_errors.h"
#include "fcml_dialect.h"

#ifdef __cplusplus
extern "C" {
#endif

/** Default combination of the configuration flags.*/
#define FCML_INTEL_DIALECT_CF_DEFAULT           0

/**
 * Initializes Intel dialect.
 * Prepares new instance of Intel dialect for given set of configuration flags.
 * Every dialect has to be freed using fcml_fn_dialect_free() function.
 *
 * @param config_flags Configuration flags dedicated to the dialect.
 * @param[out] dialect Prepared dialect instance.
 * @return Error code or FCML_CEH_GEC_NO_ERROR.
 * @see fcml_fn_dialect_free
 */
LIB_EXPORT fcml_ceh_error LIB_CALL fcml_fn_dialect_init_intel(
        fcml_uint32_t config_flags, fcml_st_dialect **dialect);

#ifdef __cplusplus
}
#endif

#endif /* FCML_ASM_DIALECT_INTEL_H_ */