Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 3173) sorted by relevance

12345678910>>...127

/llvm-project-15.0.7/polly/lib/External/isl/imath/tests/gmp-compat-test/
H A Dgenctest.py73 code = "\t"
83 return code
86 code = ""
94 return code
115 code = ""
116 code += """
122 return code
125 code = ""
179 code = ""
244 code = ""
[all …]
/llvm-project-15.0.7/llvm/test/MC/Mips/
H A Dmodule-directive-bad.s6 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
10 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
14 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
18 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
22 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
30 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
38 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
46 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
54 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
62 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Option/
H A DOptParser.td95 code ValuesCode = ?;
100 code MacroPrefix = "";
101 code KeyPath = ?;
102 code DefaultValue = ?;
109 code Normalizer = "";
145 class ValuesCode<code valuecode> { code ValuesCode = valuecode; }
218 code other_value, code other_name>
234 class ShouldParseIf<code condition> { code ShouldParse = condition; }
236 class Normalizer<code normalizer> { code Normalizer = normalizer; }
240 class ValueMerger<code merger> { code ValueMerger = merger; }
[all …]
/llvm-project-15.0.7/clang/include/clang/AST/
H A DStmtDataCollectors.td2 code Code = [{
12 code Code = [{
19 code Code = [{
24 code Code = [{
29 code Code = [{
34 code Code = [{
43 code Code = [{
69 code Code = [{
74 code Code = [{
81 code Code = [{
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dverify-gfx90a-aligned-vgprs.mir64 ; CHECK: *** Bad machine code: Subtarget requires even aligned vector registers ***
65 ; CHECK: *** Bad machine code: Subtarget requires even aligned vector registers ***
66 ; CHECK: *** Bad machine code: Subtarget requires even aligned vector registers ***
72 ; CHECK: *** Bad machine code: Subtarget requires even aligned vector registers ***
73 ; CHECK: *** Bad machine code: Subtarget requires even aligned vector registers ***
74 ; CHECK: *** Bad machine code: Subtarget requires even aligned vector registers ***
75 ; CHECK: *** Bad machine code: Subtarget requires even aligned vector registers ***
82 ; CHECK: *** Bad machine code: Subtarget requires even aligned vector registers ***
83 ; CHECK: *** Bad machine code: Subtarget requires even aligned vector registers ***
84 ; CHECK: *** Bad machine code: Subtarget requires even aligned vector registers ***
[all …]
H A Dhsa-note-no-func.ll1 ; RUN: llc < %s -mtriple=amdgcn-- -mcpu=gfx600 --amdhsa-code-object-version=2 | FileCheck --check-p…
2 ; RUN: llc < %s -mtriple=amdgcn-- -mcpu=gfx601 --amdhsa-code-object-version=2 | FileCheck --check-p…
3 ; RUN: llc < %s -mtriple=amdgcn-- -mcpu=gfx602 --amdhsa-code-object-version=2 | FileCheck --check-p…
4 ; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx700 --amdhsa-code-object-version=2 | FileCheck --c…
5 ; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=kaveri --amdhsa-code-object-version=2 | FileCheck --c…
6 ; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx701 --amdhsa-code-object-version=2 | FileCheck --c…
7 ; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=hawaii --amdhsa-code-object-version=2 | FileCheck --c…
8 ; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx702 --amdhsa-code-object-version=2 | FileCheck --c…
9 ; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx703 --amdhsa-code-object-version=2 | FileCheck --c…
10 ; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=kabini --amdhsa-code-object-version=2 | FileCheck --c…
[all …]
/llvm-project-15.0.7/llvm/test/TableGen/
H A Dcode.td6 // CHECK: code CodeCode = [{code here;}]
7 // CHECK: code StringCode = [{code here;}]
18 // CHECK: code CodeCode = [{with concat 42}]
19 // CHECK: code StringCode = [{with concat 42}]
22 // CHECK: code CodeCode = [{with concat 108!}]
23 // CHECK: code StringCode = [{with concat 108!}]
25 class A<code c> {
26 code CodeCode = c;
30 def A1 : A<[{code here;}]>;
43 // ERROR1: the 'code' type is not allowed
[all …]
/llvm-project-15.0.7/llvm/test/MC/ARM/
H A Ddirective-arch-mode-switch.s6 @ CHECK: .code 32
11 @ CHECK-NOT: .code
13 @ CHECK-NOT: .code
18 @ CHECK: .code 16
24 @ CHECK-NOT: .code
26 @ CHECK-NOT: .code
31 @ CHECK-NOT: .code
33 @ CHECK-NOT: .code
37 @ CHECK: .code 32
42 @ CHECK-NOT: .code
[all …]
H A Dthumb-invalid-crypto.txt5 @ CHECK: error: instruction 'aesd' is not predicable, but condition code specified
7 @ CHECK: error: instruction 'aesimc' is not predicable, but condition code specified
9 @ CHECK: error: instruction 'aesmc' is not predicable, but condition code specified
11 @ CHECK: error: instruction 'aese' is not predicable, but condition code specified
15 @ CHECK: error: instruction 'sha1h' is not predicable, but condition code specified
17 @ CHECK: error: instruction 'sha1su1' is not predicable, but condition code specified
23 @ CHECK: error: instruction 'sha1c' is not predicable, but condition code specified
25 @ CHECK: error: instruction 'sha1m' is not predicable, but condition code specified
27 @ CHECK: error: instruction 'sha1p' is not predicable, but condition code specified
40 @ CHECK: error: instruction 'vmull' is not predicable, but condition code specified
[all …]
/llvm-project-15.0.7/clang/utils/TestUtils/
H A Dpch-test.pl21 my $code = system("clang -fsyntax-only -x $language $file > /dev/null 2>&1");
22 if ($code == 0) {
24 $code = system("clang -cc1 -emit-pch -x $language -o $file.pch $file > /dev/null 2>&1");
25 if ($code == 0) {
26 …$code = system("clang -cc1 -include-pch $file.pch -x $language -ast-dump /dev/null > /dev/null 2>&…
27 if ($code == 0) {
29 } elsif (($code & 0xFF) == SIGINT) {
37 } elsif (($code & 0xFF) == SIGINT) {
44 } elsif (($code & 0xFF) == SIGINT) {
/llvm-project-15.0.7/llvm/test/MachineVerifier/
H A Dtest_g_ptrmask.mir15 ; CHECK: Bad machine code: Type mismatch in generic instruction
16 ; CHECK: Bad machine code: ptrmask result type must be a pointer
19 ; CHECK: Bad machine code: Type mismatch in generic instruction
22 ; CHECK: Bad machine code: ptrmask mask type must be an integer
28 ; CHECK: Bad machine code: Type mismatch in generic instruction
29 ; CHECK: Bad machine code: ptrmask result type must be a pointer
32 ; CHECK: Bad machine code: Type mismatch in generic instruction
35 ; CHECK: Bad machine code: Type mismatch in generic instruction
36 ; CHECK: Bad machine code: ptrmask mask type must be an integer
37 ; CHECK: Bad machine code: operand types must be all-vector or all-scalar
[all …]
H A Dtest_g_memmove.mir17 ; CHECK: *** Bad machine code: memcpy/memmove must have 2 memory operands ***
20 ; CHECK: *** Bad machine code: memcpy/memmove must have 2 memory operands ***
23 ; CHECK: *** Bad machine code: memcpy/memmove must have 2 memory operands ***
26 ; CHECK: *** Bad machine code: wrong memory operand types ***
29 ; CHECK: *** Bad machine code: inconsistent memory operand sizes ***
32 ; CHECK: *** Bad machine code: inconsistent memory operand sizes ***
35 ; CHECK: *** Bad machine code: inconsistent memory operand sizes ***
38 ; CHECK: *** Bad machine code: inconsistent store address space ***
41 ; CHECK: *** Bad machine code: inconsistent load address space ***
44 ; CHECK: *** Bad machine code: memory instruction operand must be a pointer ***
[all …]
H A Dtest_g_memcpy.mir17 ; CHECK: *** Bad machine code: memcpy/memmove must have 2 memory operands ***
20 ; CHECK: *** Bad machine code: memcpy/memmove must have 2 memory operands ***
23 ; CHECK: *** Bad machine code: memcpy/memmove must have 2 memory operands ***
26 ; CHECK: *** Bad machine code: wrong memory operand types ***
29 ; CHECK: *** Bad machine code: inconsistent memory operand sizes ***
32 ; CHECK: *** Bad machine code: inconsistent memory operand sizes ***
35 ; CHECK: *** Bad machine code: inconsistent memory operand sizes ***
38 ; CHECK: *** Bad machine code: inconsistent store address space ***
41 ; CHECK: *** Bad machine code: inconsistent load address space ***
44 ; CHECK: *** Bad machine code: memory instruction operand must be a pointer ***
[all …]
H A Dtest_g_addrspacecast.mir19 ; CHECK: Bad machine code: Too few operands
22 ; CHECK: Bad machine code: Too few operands
23 ; CHECK: Bad machine code: Explicit definition marked as use
26 ; CHECK: Bad machine code: addrspacecast types must be pointers
29 ; CHECK: Bad machine code: addrspacecast types must be pointers
32 ; CHECK: Bad machine code: addrspacecast types must be pointers
35 ; CHECK: Bad machine code: addrspacecast types must be pointers
38 ; CHECK: Bad machine code: operand types must be all-vector or all-scalar
41 ; CHECK: Bad machine code: operand types must be all-vector or all-scalar
51 ; CHECK: Bad machine code: addrspacecast must convert different address spaces
[all …]
H A Dtest_g_shuffle_vector.mir17 ; CHECK: Bad machine code: Incorrect mask operand type for G_SHUFFLE_VECTOR
20 ; CHECK: Bad machine code: Incorrect mask operand type for G_SHUFFLE_VECTOR
29 ; CHECK: Bad machine code: Wrong result type for shufflemask
32 ; CHECK: Bad machine code: Wrong result type for shufflemask
35 ; CHECK: Bad machine code: G_SHUFFLE_VECTOR cannot change element type
38 ; CHECK: Bad machine code: Source operands must be the same type
41 ; CHECK: Bad machine code: Out of bounds shuffle index
44 ; CHECK: Bad machine code: Out of bounds shuffle index
49 ; CHECK: Bad machine code: Source operands must be the same type
52 ; CHECK: Bad machine code: G_SHUFFLE_VECTOR cannot change element type
[all …]
H A Dtest_g_memcpy_inline.mir17 ; CHECK: *** Bad machine code: memcpy/memmove must have 2 memory operands ***
20 ; CHECK: *** Bad machine code: memcpy/memmove must have 2 memory operands ***
23 ; CHECK: *** Bad machine code: memcpy/memmove must have 2 memory operands ***
26 ; CHECK: *** Bad machine code: wrong memory operand types ***
29 ; CHECK: *** Bad machine code: inconsistent memory operand sizes ***
32 ; CHECK: *** Bad machine code: inconsistent memory operand sizes ***
35 ; CHECK: *** Bad machine code: inconsistent memory operand sizes ***
38 ; CHECK: *** Bad machine code: inconsistent store address space ***
41 ; CHECK: *** Bad machine code: inconsistent load address space ***
44 ; CHECK: *** Bad machine code: memory instruction operand must be a pointer ***
[all …]
H A Dtest_g_insert.mir12 ; CHECK: Bad machine code: Too few operands
15 ; CHECK: Bad machine code: Too few operands
16 ; CHECK: Bad machine code: generic instruction must use register operands
19 ; CHECK: Bad machine code: generic instruction must use register operands
20 ; CHECK: Bad machine code: generic instruction must use register operands
21 ; CHECK: Bad machine code: insert source must be a register
27 ; CHECK: Bad machine code: insert writes past end of register
30 ; CHECK: Bad machine code: insert offset must be a constant
33 ; CHECK: Bad machine code: insert offset must be a constant
38 ; CHECK: Bad machine code: inserted size must be smaller than total register
[all …]
/llvm-project-15.0.7/llvm/docs/
H A DBitCodeFormat.rst602 .. code-block:: none
610 .. code-block:: none
707 * ``weak``: code 1
790 * ``ccc``: code 0
1009 * code 3: ``byval``
1011 * code 5: ``inreg``
1013 * code 7: ``naked``
1014 * code 8: ``nest``
1032 * code 26: ``ssp``
1035 * code 29: ``sret``
[all …]
/llvm-project-15.0.7/libcxx/test/std/re/re.badexp/
H A Dregex_error.pass.cpp27 assert(e.code() == std::regex_constants::error_collate); in main()
32 assert(e.code() == std::regex_constants::error_ctype); in main()
37 assert(e.code() == std::regex_constants::error_escape); in main()
43 assert(e.code() == std::regex_constants::error_backref); in main()
48 assert(e.code() == std::regex_constants::error_brack); in main()
53 assert(e.code() == std::regex_constants::error_paren); in main()
58 assert(e.code() == std::regex_constants::error_brace); in main()
63 assert(e.code() == std::regex_constants::error_badbrace); in main()
68 assert(e.code() == std::regex_constants::error_range); in main()
74 assert(e.code() == std::regex_constants::error_space); in main()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/quality/
H A DCompletionModelCodegen.py94 code = []
98 return code, 1
197 code = ""
200 code += "namespace {\n"
204 code += " " + \
207 code += "}\n\n"
209 code += "} // namespace\n\n"
214 code += " float Score = 0;\n"
217 code += " return Score;\n"
218 code += "}\n"
[all …]
/llvm-project-15.0.7/clang/docs/
H A DClangOffloadBundler.rst15 code to generate for the offload code regions.
20 chain to combine these multiple code objects into a single bundled code object.
24 non-heterogeneous tool chains. The bundled code object contains the code objects
27 A bundled code object may also be used to bundle just the offloaded code
67 .. _clang-bundled-code-object-layout-text:
86 .. _clang-bundled-code-object-layout:
102 bundled code object to 1st code
129 Each entry in a bundled code object (see
135 .. code::
207 .. code::
[all …]
/llvm-project-15.0.7/flang/runtime/
H A Dstop.cpp54 int code, bool isErrorStop, bool quiet) { in RTNAME()
56 if (Fortran::runtime::executionEnvironment.noStopMessage && code == 0) { in RTNAME()
61 if (code != EXIT_SUCCESS) { in RTNAME()
62 std::fprintf(stderr, ": code %d\n", code); in RTNAME()
67 std::exit(code); in RTNAME()
71 const char *code, std::size_t length, bool isErrorStop, bool quiet) { in RTNAME()
75 std::fprintf(stderr, "%.*s\n", static_cast<int>(length), code); in RTNAME()
113 void RTNAME(PauseStatementInt)(int code) { in RTNAME()
115 std::fprintf(stderr, "Fortran PAUSE %d: hit RETURN to continue:", code); in RTNAME()
120 void RTNAME(PauseStatementText)(const char *code, std::size_t length) { in RTNAME()
[all …]
/llvm-project-15.0.7/clang/test/Index/
H A Dcomplete-designated-initializer.m29 // RUN: c-index-test -code-completion-at=%s:10:22 %s | FileCheck %s
30 // RUN: c-index-test -code-completion-at=%s:11:38 %s | FileCheck %s
31 // RUN: c-index-test -code-completion-at=%s:11:29 %s | FileCheck -check-prefix=CHECK-NONE %s
32 // RUN: c-index-test -code-completion-at=%s:11:34 %s | FileCheck -check-prefix=CHECK-NONE %s
33 // RUN: c-index-test -code-completion-at=%s:12:34 %s | FileCheck %s
34 // RUN: c-index-test -code-completion-at=%s:12:46 %s | FileCheck %s
36 // RUN: c-index-test -code-completion-at=%s:18:22 %s | FileCheck %s
37 // RUN: c-index-test -code-completion-at=%s:21:38 %s | FileCheck %s
38 // RUN: c-index-test -code-completion-at=%s:24:34 %s | FileCheck %s
39 // RUN: c-index-test -code-completion-at=%s:24:46 %s | FileCheck %s
/llvm-project-15.0.7/llvm/test/tools/llvm-objdump/MachO/ARM/
H A Ddata-in-code.test1 RUN: llvm-objdump -m --data-in-code %p/Inputs/data-in-code.macho-arm | FileCheck %s
2 RUN: llvm-otool -Gv %p/Inputs/data-in-code.macho-arm | FileCheck %s
3 RUN: llvm-objdump -m --data-in-code --non-verbose %p/Inputs/data-in-code.macho-arm | FileCheck %s -…
4 RUN: llvm-otool -G %p/Inputs/data-in-code.macho-arm | FileCheck %s --check-prefix=NON_VERBOSE
6 CHECK: Data in code table (4 entries)
13 NON_VERBOSE: Data in code table (4 entries)
/llvm-project-15.0.7/llvm/docs/CommandGuide/
H A Dlli.rst123 .. option:: -code-model=model
125 Choose the code model from:
127 .. code-block:: text
130 tiny: Tiny code model
131 small: Small code model
134 large: Large code model
160 .. code-block:: text
174 .. code-block:: text
185 .. code-block:: text
196 .. code-block:: text
[all …]

12345678910>>...127