File: igc_flags.hpp

package info (click to toggle)
intel-graphics-compiler2 2.16.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 106,644 kB
  • sloc: cpp: 805,640; lisp: 287,672; ansic: 16,414; python: 3,952; yacc: 2,588; lex: 1,666; pascal: 313; sh: 186; makefile: 35
file content (45 lines) | stat: -rw-r--r-- 1,766 bytes parent folder | download
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
/*========================== begin_copyright_notice ============================

Copyright (C) 2017-2021 Intel Corporation

SPDX-License-Identifier: MIT

============================= end_copyright_notice ===========================*/

// Definition of integer Registry-key Values
// (may merge this into igc_flags.h's macro)
enum {
  // EnableVISAStructurizer
  FLAG_SCF_Disable = 0,    // UCF (goto/join)
  FLAG_SCF_Default = 1,    // SCF as much as possible
  FLAG_SCF_Aggressive = 2, // May do more transformations to favor SCF, not
                           // necesssarily better perf than FLAG_SCF_Default
  FLAG_SCF_UCFOnly = 3,    // [debugging] Using the structurizer, but only generate
                           // UCF (unstructured control flow, that is, goto/join/jmpi).
                           // Note that turnning off (0) the structurizer will end up
                           // with UCF as well, but going through different code path

  // Generic debug level
  FLAG_LEVEL_0 = 0, // Debugging is off
  FLAG_LEVEL_1 = 1, // Level 1
  FLAG_LEVEL_2 = 2, // Level 2 : level 1 + more

  // Function-call-handling control
  FLAG_FCALL_DEFAULT = 0, // default, compiler best-effort
  FLAG_FCALL_FORCE_INLINE = 1,
  FLAG_FCALL_FORCE_SUBROUTINE = 2,
  FLAG_FCALL_FORCE_STACKCALL = 3,
  FLAG_FCALL_FORCE_INDIRECTCALL = 4,

  // General flags with compiler-defined default value
  DEFAULTABLE_FLAG_DEFAULT = 0,
  DEFAULTABLE_FLAG_ENABLE = 1,
  DEFAULTABLE_FLAG_DISABLE = 2,

  // Debug information strip control
  FLAG_DEBUG_INFO_DONTSTRIP = 0,     // default, do not strip debug information
  FLAG_DEBUG_INFO_STRIP_ALL = 1,     // discard all debug information
  FLAG_DEBUG_INFO_STRIP_NONLINE = 2, // downgrade to line info only

  FLAG_LAST_Entry
};