Home
last modified time | relevance | path

Searched refs:import (Results 1 – 25 of 1778) sorted by relevance

12345678910>>...72

/llvm-project-15.0.7/clang/test/CXX/lex/lex.pptoken/
H A Dp3-2a.cpp5 import <foo bar>;
16 import <foo bar>;
28 import <foo bar> import <foo bar>;
34 import <foo bar> {} import <foo bar>;
45 import <foo bar>;
49 import <foo bar>;
54 import <foo bar>;
58 import HEADER;
61 import <
68 import
[all …]
/llvm-project-15.0.7/flang/test/Semantics/
H A Dresolve28.f907 import, none
9 import, all
12 import :: t
14 import, none
17 import, all
19 import :: t
22 import :: t
24 import, all
31 import, none
40 import, none
[all …]
H A Dresolve29.f9010 import :: t1
16 import :: t2
24 import, all
34 import, only: s5
39 import, only: t1
52 import :: ck
/llvm-project-15.0.7/flang/module/
H A Domp_lib.h119 import
124 import
129 import
134 import
139 import
144 import
149 import
154 import
159 import
164 import
[all …]
H A D__fortran_ieee_exceptions.f9058 import ieee_flag_type
66 import ieee_flag_type
74 import ieee_modes_type
81 import ieee_status_type
88 import ieee_flag_type; \
101 import ieee_flag_type; \
114 import ieee_modes_type
121 import ieee_status_type
128 import ieee_flag_type; \
134 import ieee_flag_type
[all …]
/llvm-project-15.0.7/llvm/test/ThinLTO/X86/
H A Dcache-typeid-resolutions.ll2 ; RUN: opt -module-hash -module-summary %S/Inputs/cache-typeid-resolutions-import.ll -o %t-import.bc
9 ; where both t and t-import are sensitive to typeid1's resolution
12import.bc -cache-dir %t.cache -r=%t.bc,f1,plx -r=%t.bc,f1_actual,plx -r=%t.bc,f2,plx -r=%t-import.…
13import.bc %t1.bc -cache-dir %t.cache -r=%t.bc,f1,plx -r=%t.bc,f1_actual,plx -r=%t.bc,f2,plx -r=%t-
17 ; where both t and t-import are sensitive to typeid2's resolution
20import.bc -cache-dir %t.cache -r=%t.bc,f1,plx -r=%t.bc,f2,plx -r=%t.bc,f1_actual,plx -r=%t-import.…
21import.bc %t2.bc -cache-dir %t.cache -r=%t.bc,f1,plx -r=%t.bc,f2,plx -r=%t.bc,f1_actual,plx -r=%t2…
22import.bc %t3.bc -cache-dir %t.cache -r=%t.bc,f1,plx -r=%t.bc,f2,plx -r=%t.bc,f1_actual,plx -r=%t3…
H A Dfuncimport-stats.ll6 ; RUN: llvm-lto -thinlto-action=import %t2.bc -thinlto-index=%t3.bc -o /dev/null -debug-only=functi…
15 ; CHECK: [[NUM_FUNCS]] function-import - Number of functions imported in backend
16 ; CHECK-NEXT: [[NUM_FUNCS]] function-import - Number of functions thin link decided to import
17 ; CHECK-NEXT: [[NUM_VARS]] function-import - Number of global variables imported in backend
18 ; CHECK-NEXT: [[NUM_VARS]] function-import - Number of global variables thin link decided to import
19 ; CHECK-NEXT: 1 function-import - Number of modules imported from
/llvm-project-15.0.7/clang/test/Modules/
H A Dcxx20-import-diagnostics-a.cpp60 import B;
61 export import C;
73 export import C; // expected-error {{export declaration can only be used within a module interface …
81 export import B;
85 import C; // expected-error {{imports must immediately follow the module declaration}}
93 import C; // expected-error {{imports must immediately follow the module declaration}}
101 import B; // expected-error {{module imports cannot be in the global module fragment}}
115 import B; // expected-error {{module imports cannot be in the private module fragment}}
121 import B; // expected-error {{import of module 'B' appears within its own implementation}}
127 import B; // expected-error {{import of module 'B' appears within its own interface}}
[all …]
H A Dframework-name.m10 // RUN: echo '@import NameInModMap;' | not %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-ca…
11 // RUN: echo '@import NameInDir;' | not %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache…
12 // RUN: echo '@import NameInImport;' | not %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-ca…
13 // RUN: echo '@import NameInImportInferred;' | not %clang_cc1 -fmodules -fimplicit-module-maps -fmo…
21 #import <NameInDir/NameInDir.h> // expected-remark {{import of module 'NameInModMap'}}
23 // The name in the import doesn't match the module name.
24 #import <NameInImport/NameInDir2.h> // expected-remark {{import of module 'NameInDir2'}}
25 @import NameInDir2; // OK
27 // The name in the import doesn't match the module name (inferred framework module).
28 #import <NameInImportInferred/NameInDirInferred.h> // expected-remark {{import of module 'NameInDir…
[all …]
H A Drequires.m6 @import DependsOnModule.CXX; // expected-note {{module imported here}}
7 @import DependsOnModule.NotCXX;
9 @import DependsOnModule.NotObjC; // expected-note {{module imported here}}
10 @import DependsOnModule.CustomReq1; // OK
14 @import RequiresWithMissingHeader; // OK
20 @import DependsOnModule.CXX11; // expected-note {{module imported here}}
22 @import DependsOnModule.CXX14; // expected-note {{module imported here}}
24 @import DependsOnModule.CXX17; // expected-note {{module imported here}}
27 @import DependsOnModule.C99; // expected-note {{module imported here}}
29 @import DependsOnModule.C11; // expected-note {{module imported here}}
[all …]
H A Dlookup.cpp2 #define import @import macro
3 import lookup_left_cxx;
4 #undef import
5 #define IMPORT(X) @import X
20 int import; variable
23 int import; in f() local
H A Dpreprocess.m9 #import "diamond_right.h"
10 #import "diamond_right.h" // to check that imports get their own line
19 // CHECK-NEXT: #pragma clang module import diamond_left /* clang -E: implicit import for #import "d…
21 // CHECK: #pragma clang module import diamond_right /* clang -E: implicit import for #import "diamo…
22 // CHECK: #pragma clang module import diamond_right /* clang -E: implicit import for #import "diamo…
23 // CHECK: #pragma clang module import file /* clang -E: implicit import for #include "file.h" */{{$…
H A Dnormal-module-map.cpp9 @import Umbrella2;
19 @import nested_umbrella.a;
31 @import nested_umbrella.b;
37 @import nested_umbrella.a_extras;
39 @import nested_umbrella._1;
41 @import nested_umbrella.decltype_;
H A Dcxx20-hu-01.cpp47 import "hu-01.h";
57 import "hu-01.h";
72 export import "hu-01.h";
75 import "hu-02.h";
85 export import "hu-01.h";
96 import "hu-03.h";
H A Dauto-module-import.m7 // entities. For error recovery, those cases implicitly trigger an import.
9 #include <DependsOnModule/DependsOnModule.h> // expected-remark{{treating #include as an import of …
23 #import <AlsoDependsOnModule/AlsoDependsOnModule.h> // expected-remark{{treating #import as an impo…
37 #include <NoUmbrella/A.h> // expected-remark{{treating #include as an import of module 'NoUmbrella.…
41 #include <NoUmbrella/SubDir/C.h> // expected-remark{{treating #include as an import of module 'NoUm…
72 #include <NoUmbrella/A_Private.h> // expected-remark{{treating #include as an import of module 'NoU…
80 #include <Module/NotInModule.h> // expected-remark{{treating #include as an import of module 'Modul…
88 #include <NoUmbrella/A.h> // expected-remark {{treating #include as an import}} \
94 #include <NoUmbrella/A.h> // expected-remark {{treating #include as an import}} \
98 #include <NoUmbrella/A.h> // expected-remark {{treating #include as an import}} \
[all …]
/llvm-project-15.0.7/clang/test/CXX/modules-ts/dcl.dcl/dcl.module/dcl.module.import/
H A Dp1.cpp29 import x;
37 import x [[]];
38 import x [[foo]]; // expected-warning {{unknown attribute 'foo' ignored}}
39 import x [[noreturn]]; // expected-error {{'noreturn' attribute cannot be applied to a module impor…
40 import x [[blarg::noreturn]]; // expected-warning {{unknown attribute 'noreturn' ignored}}
42 import x.y;
43 import a.b; // Does not imply existence of module a.
44 import x.; // expected-error {{expected a module name after 'import'}}
45 import .x; // expected-error {{expected a module name after 'import'}}
49 import blarg; // expected-error {{module 'blarg' not found}}
/llvm-project-15.0.7/clang/test/CXX/basic/basic.link/
H A Dp3.cpp8 struct import { struct inner {}; }; struct
18 import x = {}; // expected-error {{module 'x' not found}}
22 template<int> struct import;
23 template<> struct import<n> { struct
29 struct X {} import<n>::y; // expected-error {{'n' file not found}}
35 ::import x = {};
38 import::inner xi = {};
43 import b;
47 extern "C++" import cxxi;
52 struct X {} import; variable
/llvm-project-15.0.7/llvm/test/Transforms/FunctionImport/
H A Dhotness_based_import.ll7 ; RUN: opt -passes=function-import -summary-file %t3.thinlto.bc %t.bc -import-instr-limit=1 --S | F…
8 …UN: opt -passes=function-import -summary-file %t3.thinlto.bc %t.bc -import-instr-limit=1 --S -impo…
9 ; RUN: opt -passes=function-import -summary-file %t3.thinlto.bc %t.bc -import-instr-limit=1 --S -im…
10 …UN: opt -passes=function-import -summary-file %t3.thinlto.bc %t.bc -import-instr-limit=1 --S -impo…
11 …UN: opt -passes=function-import -summary-file %t3.thinlto.bc %t.bc -import-instr-limit=1 --S -impo…
26 ; we should not import any of calledFromHot functions
27 …UN: opt -passes=function-import -summary-file %t3.thinlto.bc %t.bc -import-instr-limit=1 --S -impo…
40 ; RUN: opt -passes=function-import -summary-file %t3.thinlto.bc %t.bc -import-instr-limit=1 -import
50 … RUN: opt -passes=function-import -summary-file %t3.thinlto.bc %t.bc -import-instr-limit=1 -import
60 ; Test import with hot multiplier 0.0 and high threshold - don't import functions called from hot c…
[all …]
H A Dfuncimport_cutoff.ll1 ; Test to ensure that thin linking with -import-cutoff stops importing when
11 ; First do with default options, which should import both foo and bar
12 ; RUN: opt -passes=function-import -stats -print-imports -summary-file %t3.thinlto.bc %t.bc -S 2>&1…
14 ; Next try to restrict to 1 import. This should import just foo.
15 ; RUN: opt -import-cutoff=1 -passes=function-import -stats -print-imports -summary-file %t3.thinlto…
17 ; Next try to restrict to 0 imports. This should not import.
18 ; RUN: opt -import-cutoff=0 -passes=function-import -stats -print-imports -summary-file %t3.thinlto…
47 ; IMPORT: 2 function-import - Number of functions imported
48 ; IMPORT1: 1 function-import - Number of functions imported
49 ; NOIMPORT-NOT: function-import - Number of functions imported
H A Dadjustable_threshold.ll6 ; Test import with default progressive instruction factor
7 ; RUN: opt -passes=function-import -summary-file %t3.thinlto.bc %t.bc -import-instr-limit=10 -S | F…
10 ; Test import with a reduced progressive instruction factor
11 ; RUN: opt -passes=function-import -summary-file %t3.thinlto.bc %t.bc -import-instr-limit=10 -impor…
14 ; Test force import all
15 ; RUN: opt -passes=function-import -summary-file %t3.thinlto.bc %t.bc \
16 ; RUN: -import-instr-limit=1 -force-import-all -S \
32 ; import it
H A Dfuncimport.ll8 ; Do the import now
12 ; RUN: opt -passes='function-import' -debug-only=function-import -enable-import-metadata -summary-f…
16 ; Test import with smaller instruction limit
17 ; RUN: opt -passes=function-import -enable-import-metadata -summary-file %t3.thinlto.bc %t.bc -imp…
20 ; Test force import all
46 ; Won't import weak alias
64 ; The import of referencestatics will expose call to staticfunc that
75 ; The import of referenceglobals will expose call to globalfunc1 that
104 ; Won't import weak func
108 ; Won't import linkonce func
[all …]
/llvm-project-15.0.7/openmp/runtime/src/include/
H A Domp_lib.h.var277 import
282 import
287 import
292 import
297 import
302 import
307 import
312 import
317 import
322 import
[all …]
/llvm-project-15.0.7/lldb/examples/customization/import-python/
H A DREADME5 Python module which provides implementation for the 'import' command.
12 The import command defined by importcmd.py can be used in LLDB to load a Python
16 ordinary 'import' mechanism. In this respect, modules imported from LLDB command
21 (lldb) script import importcmd
22 (lldb) command script add import -f importcmd.pyimport_cmd
23 (lldb) import ../demo.py
29 Of course, the commands to import the importcmd.py module and to define the import
33 WARNING: The import command defined by importcmd.py is now obsolete
35 (lldb) command script import ../demo.py
40 using the native "command script import" command, which offers a superset of what the import comman…
/llvm-project-15.0.7/mlir/utils/mbr/
H A Dmlir-mbr.in4 import argparse
5 import datetime
6 import json
7 import os
8 import sys
10 from urllib import error as urlerror
11 from urllib import parse as urlparse
12 from urllib import request
18 from main import main
/llvm-project-15.0.7/polly/docs/experiments/matmul/
H A Drunall.sh42 opt -basic-aa -polly-import-jscop -polly-ast -analyze matmul.preopt.ll \
44 opt -basic-aa -polly-import-jscop -polly-ast -analyze matmul.preopt.ll \
46 opt -basic-aa -polly-import-jscop -polly-ast -analyze matmul.preopt.ll \
48 opt -basic-aa -polly-import-jscop -polly-ast -analyze matmul.preopt.ll \
49 -polly-import-jscop-postfix=interchanged+tiled+vector \
53 opt -S -basic-aa -polly-import-jscop -polly-import-jscop-postfix=interchanged \
56 opt -S -basic-aa -polly-import-jscop \
57 -polly-import-jscop-postfix=interchanged+tiled -polly-codegen \
60 opt -S -basic-aa -polly-import-jscop -polly-process-unprofitable\
61 -polly-import-jscop-postfix=interchanged+tiled+vector -polly-codegen \
[all …]

12345678910>>...72