Home | History | Annotate | Download | only in CodeGen

Lines Matching full:dllimport

20 // CHECK: @ExternGlobalDecl = external dllimport global i32
21 __declspec(dllimport) extern int ExternGlobalDecl;
24 // dllimport implies a declaration.
25 // CHECK: @GlobalDecl = external dllimport global i32
26 __declspec(dllimport) int GlobalDecl;
30 // CHECK: @GlobalRedecl1 = external dllimport global i32
31 __declspec(dllimport) extern int GlobalRedecl1;
32 __declspec(dllimport) extern int GlobalRedecl1;
35 // CHECK: @GlobalRedecl2 = external dllimport global i32
36 __declspec(dllimport) int GlobalRedecl2;
37 __declspec(dllimport) int GlobalRedecl2;
41 // and drop the dllimport with a warning.
43 __declspec(dllimport) extern int GlobalRedecl3;
44 extern int GlobalRedecl3; // dllimport ignored
49 __declspec(dllimport) extern int GlobalRedecl4;
51 int GlobalRedecl4; // dllimport ignored
53 // FIXME: dllimport is dropped in the AST; this should be reflected in codegen (PR02803).
54 // CHECK: @GlobalRedecl5 = external dllimport global i32
55 __declspec(dllimport) extern int GlobalRedecl5;
57 extern int GlobalRedecl5; // dllimport ignored
60 // CHECK: @GlobalRedecl6 = external dllimport global i32
61 __declspec(dllimport) int GlobalRedecl6;
63 extern int GlobalRedecl6; // still dllimport
74 // CHECK-DAG: declare dllimport void @decl()
75 __declspec(dllimport) void decl(void);
82 // MS-DAG: declare dllimport void @inlineFunc()
83 // MO1-DAG: define available_externally dllimport void @inlineFunc()
86 __declspec(dllimport) inline void inlineFunc(void) {}
90 // MS-DAG: declare dllimport void @noinline()
91 // MO1-DAG: define available_externally dllimport void @noinline()
96 __declspec(dllimport) __attribute__((noinline)) inline void noinline(void) {}
97 __declspec(dllimport) __attribute__((always_inline)) inline void alwaysInline(void) {}
102 // CHECK-DAG: declare dllimport void @redecl1()
103 __declspec(dllimport) void redecl1(void);
104 __declspec(dllimport) void redecl1(void);
108 // and drop the dllimport with a warning.
110 __declspec(dllimport) void redecl2(void);
115 __declspec(dllimport) void redecl3(void);
116 void redecl3(void) {} // dllimport ignored
121 __declspec(dllimport) void redecl4(void);
123 void redecl4(void) {} // dllimport ignored
125 // FIXME: dllimport is dropped in the AST; this should be reflected in codegen (PR20803).
126 // CHECK-DAG: declare dllimport
127 __declspec(dllimport) void redecl5(void);
129 void redecl5(void); // dllimport ignored