-
-
Notifications
You must be signed in to change notification settings - Fork 267
/
Copy pathid.h
103 lines (98 loc) · 3.27 KB
/
id.h
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
/* Compiler implementation of the D programming language
* Copyright (C) 2017-2025 by The D Language Foundation, All Rights Reserved
* written by Walter Bright
* https://www.digitalmars.com
* Distributed under the Boost Software License, Version 1.0.
* https://www.boost.org/LICENSE_1_0.txt
* https://github.com/dlang/dmd/blob/master/src/dmd/id.h
*/
#pragma once
#if IN_LLVM
class Identifier;
#endif
struct Id
{
static void initialize();
#if IN_LLVM
static Identifier *___in;
static Identifier *__int;
static Identifier *___out;
static Identifier *__LOCAL_SIZE;
static Identifier *dollar;
static Identifier *ptr;
static Identifier *offset;
static Identifier *offsetof;
static Identifier *__c_long;
static Identifier *__c_ulong;
static Identifier *__c_longlong;
static Identifier *__c_ulonglong;
static Identifier *__c_long_double;
static Identifier *__c_complex_float;
static Identifier *__c_complex_double;
static Identifier *__c_complex_real;
static Identifier *__switch;
static Identifier *crt_constructor;
static Identifier *crt_destructor;
static Identifier *lib;
static Identifier *linkerDirective;
static Identifier *ldc;
static Identifier *dcompute;
static Identifier *dcPointer;
static Identifier *object;
static Identifier *core;
static Identifier *etc;
static Identifier *std;
static Identifier *ensure;
static Identifier *require;
static Identifier *xopEquals;
static Identifier *xopCmp;
static Identifier *xtoHash;
static Identifier *empty;
static Identifier *ctfe;
static Identifier *_arguments;
static Identifier *_argptr;
static Identifier *LDC_intrinsic;
static Identifier *LDC_global_crt_ctor;
static Identifier *LDC_global_crt_dtor;
static Identifier *LDC_no_typeinfo;
static Identifier *LDC_no_moduleinfo;
static Identifier *LDC_alloca;
static Identifier *LDC_va_start;
static Identifier *LDC_va_copy;
static Identifier *LDC_va_end;
static Identifier *LDC_va_arg;
static Identifier *LDC_fence;
static Identifier *LDC_atomic_load;
static Identifier *LDC_atomic_store;
static Identifier *LDC_atomic_cmp_xchg;
static Identifier *LDC_atomic_rmw;
static Identifier *LDC_verbose;
static Identifier *LDC_inline_asm;
static Identifier *LDC_inline_ir;
static Identifier *LDC_extern_weak;
static Identifier *LDC_profile_instr;
static Identifier *dcReflect;
static Identifier *opencl;
static Identifier *criticalenter;
static Identifier *criticalexit;
static Identifier *attributes;
static Identifier *udaSection;
static Identifier *udaOptStrategy;
static Identifier *udaTarget;
static Identifier *udaAssumeUsed;
static Identifier *udaCallingConvention;
static Identifier *udaWeak;
static Identifier *udaAllocSize;
static Identifier *udaLLVMAttr;
static Identifier *udaLLVMFastMathFlag;
static Identifier *udaKernel;
static Identifier *udaCompute;
static Identifier *udaDynamicCompile;
static Identifier *udaDynamicCompileConst;
static Identifier *udaDynamicCompileEmit;
static Identifier *udaHidden;
static Identifier *udaNoSanitize;
static Identifier *udaNoSplitStack;
static Identifier *io;
#endif
};