Home
last modified time | relevance | path

Searched refs:code (Results 51 – 75 of 4069) sorted by relevance

12345678910>>...163

/llvm-project-15.0.7/flang/lib/Parser/
H A Dcharacters.cpp190 char32_t code{static_cast<char32_t>(DecimalDigitValue(cp[1]))}; in DecodeEscapedCharacter() local
193 code = 8 * code + DecimalDigitValue(cp[len]); in DecodeEscapedCharacter()
195 return {code, static_cast<int>(len)}; in DecodeEscapedCharacter()
219 DecodedCharacter code{DecodeEscapedCharacter(cp + at, bytes - at)}; in DecodeEscapedCharacters() local
220 buffer[len] = code.codepoint; in DecodeEscapedCharacters()
221 at += code.bytes; in DecodeEscapedCharacters()
225 if (code.bytes > 0) { in DecodeEscapedCharacters()
226 code.bytes = count[code.bytes - 1]; in DecodeEscapedCharacters()
228 code.codepoint = buffer[0] & 0xff; in DecodeEscapedCharacters()
229 code.bytes = count[0]; in DecodeEscapedCharacters()
[all …]
/llvm-project-15.0.7/llvm/utils/lit/lit/
H A Dreports.py23 tests = [t for t in tests if t.result.code not in unexecuted_codes]
37 'code': test.result.code.name,
56 'code': micro_test.code.name,
138 elif test.result.code in self.skipped_codes:
145 code = test.result.code
146 if code == lit.Test.EXCLUDED:
148 if code == lit.Test.SKIPPED:
151 assert code == lit.Test.UNSUPPORTED
213 result_code=test.result.code,
214 is_expected=not test.result.code.isFailure,
[all …]
/llvm-project-15.0.7/llvm/docs/HistoricalNotes/
H A D2003-06-25-Reoptimizer1.txt17 do not move code across basic-block boundaries.
26 The reoptimizer maintains a map between machine-code basic blocks and
28 first machine-code basic block of the hot loop region.
33 1) Do a DFS from the first machine-code basic block of the hot loop
36 2) Do a DFS from the last machine-code basic block of the hot loop
89 original code, the instrumented code, and the optimized trace. The
91 the instrumented code are modified to have a branch to the trace
94 We copy the code from the original to the instrumentation version
99 because we might need to put in fixup code for exit BBs.
105 original code, trace, and instrumented code. So we have to keep the
[all …]
/llvm-project-15.0.7/llvm/test/MachineVerifier/
H A Dtest_g_bitcast.mir13 ; CHECK: Bad machine code: bitcast cannot convert between pointers and other types
17 ; CHECK: Bad machine code: bitcast cannot convert between pointers and other
21 ; CHECK: Bad machine code: bitcast sizes must match
25 ; CHECK: Bad machine code: bitcast sizes must match
29 ; CHECK: Bad machine code: bitcast sizes must match
33 ; CHECK: Bad machine code: bitcast sizes must match
37 ; CHECK: Bad machine code: bitcast must change the type
H A Dtest_g_intrinsic.mir17 ; CHECK: Bad machine code: Too few operands
20 ; CHECK: Bad machine code: G_INTRINSIC first src operand must be an intrinsic ID
23 ; CHECK: Bad machine code: G_INTRINSIC first src operand must be an intrinsic ID
26 ; CHECK: Bad machine code: G_INTRINSIC first src operand must be an intrinsic ID
29 ; CHECK: Bad machine code: G_INTRINSIC first src operand must be an intrinsic ID
32 ; CHECK: Bad machine code: G_INTRINSIC used with intrinsic that accesses memory
35 ; CHECK: Bad machine code: G_INTRINSIC used with intrinsic that accesses memory
H A Dtest_g_bzero.mir17 ; CHECK: *** Bad machine code: bzero must have 1 memory operand ***
20 ; CHECK: *** Bad machine code: bzero memory operand must be a store ***
23 ; CHECK: *** Bad machine code: Missing mayLoad flag ***
24 ; CHECK: *** Bad machine code: bzero memory operand must be a store ***
27 ; CHECK: *** Bad machine code: inconsistent bzero address space ***
30 ; CHECK: *** Bad machine code: bzero operand must be a pointer ***
33 ; CHECK: *** Bad machine code: 'tail' flag (last operand) must be an immediate 0 or 1 ***
H A Dtest_g_assert_sext.mir12 ; CHECK: *** Bad machine code: G_ASSERT_SEXT expects an immediate operand #2 ***
16 ; CHECK: *** Bad machine code: G_ASSERT_SEXT expects an immediate operand #2 ***
20 ; CHECK: *** Bad machine code: Type mismatch in generic instruction ***
24 ; CHECK: *** Bad machine code: Type mismatch in generic instruction ***
28 ; CHECK: *** Bad machine code: G_ASSERT_SEXT size must be >= 1 ***
32 ; CHECK: *** Bad machine code: G_ASSERT_SEXT size must be less than source bit width ***
36 ; CHECK: *** Bad machine code: Type mismatch in generic instruction ***
40 ; CHECK: *** Bad machine code: Generic instruction cannot have physical register ***
H A Dtest_g_assert_zext.mir12 ; CHECK: *** Bad machine code: G_ASSERT_ZEXT expects an immediate operand #2 ***
16 ; CHECK: *** Bad machine code: G_ASSERT_ZEXT expects an immediate operand #2 ***
20 ; CHECK: *** Bad machine code: Type mismatch in generic instruction ***
24 ; CHECK: *** Bad machine code: Type mismatch in generic instruction ***
28 ; CHECK: *** Bad machine code: G_ASSERT_ZEXT size must be >= 1 ***
32 ; CHECK: *** Bad machine code: G_ASSERT_ZEXT size must be less than source bit width ***
36 ; CHECK: *** Bad machine code: Type mismatch in generic instruction ***
40 ; CHECK: *** Bad machine code: Generic instruction cannot have physical register ***
H A Dtest_g_is_fpclass.mir19 ; CHECK: *** Bad machine code: Too few operands ***
23 ; CHECK: *** Bad machine code: Destination must be a scalar or vector of scalars ***
26 ; CHECK: *** Bad machine code: Incorrect floating-point semantics (operand 3) ***
29 ; CHECK: *** Bad machine code: Incorrect floating-point class set (operand 2) ***
32 ; CHECK: *** Bad machine code: Source must be a scalar or vector of scalars ***
35 ; CHECK: *** Bad machine code: operand types must be all-vector or all-scalar ***
38 ; CHECK: *** Bad machine code: operand types must preserve number of vector elements ***
H A Dtest_g_extract.mir14 ; CHECK: Bad machine code: Too few operands
17 ; CHECK: Bad machine code: Too few operands
20 ; CHECK: Bad machine code: extract source must be a register
23 ; CHECK: Bad machine code: extract offset must be a constant
28 ; CHECK: Bad machine code: extract source must be larger than result
32 ; CHECK: Bad machine code: extract reads past end of register
H A Dtest_g_memset.mir17 ; CHECK: *** Bad machine code: memset must have 1 memory operand ***
20 ; CHECK: *** Bad machine code: memset memory operand must be a store ***
23 ; CHECK: *** Bad machine code: Missing mayLoad flag ***
24 ; CHECK: *** Bad machine code: memset memory operand must be a store ***
27 ; CHECK: *** Bad machine code: inconsistent memset address space ***
30 ; CHECK: *** Bad machine code: memset operand must be a pointer ***
H A Dtest_g_intrinsic_w_side_effects.mir17 ; CHECK: Bad machine code: Too few operands
20 ; CHECK: Bad machine code: G_INTRINSIC first src operand must be an intrinsic ID
23 ; CHECK: Bad machine code: G_INTRINSIC first src operand must be an intrinsic ID
26 ; CHECK: Bad machine code: G_INTRINSIC first src operand must be an intrinsic ID
29 ; CHECK: Bad machine code: G_INTRINSIC first src operand must be an intrinsic ID
32 ; CHECK: Bad machine code: G_INTRINSIC_W_SIDE_EFFECTS used with readnone intrinsic
H A Dtest_g_fconstant.mir13 ; CHECK: Bad machine code: Instruction cannot use a vector result type
16 ; CHECK: Bad machine code: Too few operands
20 ; CHECK: Bad machine code: G_FCONSTANT operand must be fpimm
24 ; CHECK: Bad machine code: G_FCONSTANT operand must be fpimm
28 ; CHECK: Bad machine code: inconsistent constant size
32 ; CHECK: Bad machine code: inconsistent constant size
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Darm64-tls-local-exec.ll4 ; RUN: llc -mtriple=arm64-none-linux-gnu -verify-machineinstrs -show-mc-encoding -code-model=tiny -…
5 ; RUN: llc -mtriple=arm64-none-linux-gnu -filetype=obj < %s -code-model=tiny -tls-size=24 | llvm-ob…
6 ; RUN: llc -mtriple=arm64-none-linux-gnu -verify-machineinstrs -show-mc-encoding -code-model=small …
11 ; Test the maximum TLS size for each code model (fallback to a smaller size from the specified size)
19 ; Test the default TLS size for each code model
22 ; RUN: llc -mtriple=arm64-none-linux-gnu -verify-machineinstrs -show-mc-encoding -code-model=tiny <…
23 ; RUN: llc -mtriple=arm64-none-linux-gnu -filetype=obj < %s -code-model=tiny | llvm-objdump -r - | …
24 ; RUN: llc -mtriple=arm64-none-linux-gnu -verify-machineinstrs -show-mc-encoding -code-model=small …
25 ; RUN: llc -mtriple=arm64-none-linux-gnu -filetype=obj < %s -code-model=small | llvm-objdump -r - |…
26 ; RUN: llc -mtriple=arm64-none-linux-gnu -verify-machineinstrs -show-mc-encoding -code-model=large …
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DCallHierarchyTests.cpp74 TestTU TU = TestTU::withCode(Source.code()); in TEST()
119 TestTU TU = TestTU::withCode(Source.code()); in TEST()
162 TestTU TU = TestTU::withCode(Source.code()); in TEST()
195 TestTU TU = TestTU::withCode(Source.code()); in TEST()
254 Workspace.addSource("callee.hh", CalleeH.code()); in TEST()
255 Workspace.addSource("caller1.hh", Caller1H.code()); in TEST()
256 Workspace.addSource("caller2.hh", Caller2H.code()); in TEST()
257 Workspace.addMainFile("callee.cc", CalleeC.code()); in TEST()
364 Workspace.addSource("callee.mi", CalleeH.code()); in TEST()
367 Workspace.addMainFile("callee.m", CalleeC.code()); in TEST()
[all …]
/llvm-project-15.0.7/libcxx/test/std/thread/futures/futures.future_error/
H A Dcode.pass.cpp29 assert(f.code() == ec); in main()
34 assert(f.code() == ec); in main()
39 assert(f.code() == ec); in main()
44 assert(f.code() == ec); in main()
49 assert(f.code() == std::make_error_code(std::future_errc::broken_promise)); in main()
53 assert(f.code() == std::make_error_code(std::future_errc::no_state)); in main()
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/readability/
H A Dduplicate-include.rst12 .. code-block:: c++
20 .. code-block:: c++
25 Because of the intervening macro definitions, this code remains unchanged:
27 .. code-block:: c++
31 // ...code with assertions enabled
35 // ...code with assertions disabled
/llvm-project-15.0.7/polly/docs/
H A DHowToManuallyUseTheIndividualPiecesOfPolly.rst255 .. code-block:: console
259 .. code-block:: c
283 .. code-block:: console
287 .. code-block:: c
312 .. code-block:: console
316 .. code-block:: c
351 .. code-block:: c
392 .. code-block:: guess
402 .. code-block:: guess
412 .. code-block:: guess
[all …]
/llvm-project-15.0.7/llvm/docs/
H A DBugpoint.rst13 by optimizers, or bad native code generation (including problems in the static
49 the code generator. Otherwise, if the resulting output differs from the
51 failure, and starts the `code generator debugger`_.
86 The code generator debugger attempts to narrow down the amount of code that is
91 amount of code pushed through the LLVM code generator, to reduce the potential
96 good code.
109 the selected code generator is working properly.
143 .. code-block:: console
169 TargetLowering both have visitor structured code with lots of potential
197 inserting code to limit whether or not to execute the body of the code in the
[all …]
/llvm-project-15.0.7/llvm/test/MC/ARM/
H A Dinvalid-crc32.s11 @ CHECK: error: instruction 'crc32cb' is not predicable, but condition code specified
12 @ CHECK: error: instruction 'crc32b' is not predicable, but condition code specified
13 @ CHECK: error: instruction 'crc32ch' is not predicable, but condition code specified
14 @ CHECK: error: instruction 'crc32h' is not predicable, but condition code specified
15 @ CHECK: error: instruction 'crc32cw' is not predicable, but condition code specified
16 @ CHECK: error: instruction 'crc32w' is not predicable, but condition code specified
/llvm-project-15.0.7/clang/test/Index/
H A Dcomplete-interfaces.m22 // RUN: c-index-test -code-completion-at=%s:6:12 %s | FileCheck -check-prefix=CHECK-CC1 %s
27 // RUN: c-index-test -code-completion-at=%s:11:12 %s | FileCheck -check-prefix=CHECK-CC2 %s
32 // RUN: c-index-test -code-completion-at=%s:11:19 %s | FileCheck -check-prefix=CHECK-CC3 %s
36 // RUN: c-index-test -code-completion-at=%s:16:17 %s | FileCheck -check-prefix=CHECK-CC4 %s
41 // RUN: c-index-test -code-completion-at=%s:19:17 %s | FileCheck -check-prefix=CHECK-CC5 %s
47 // RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_COMPLETION_CACHING=1 c-index-test -code-completion-at=%…
55 // RUN: c-index-test -code-completion-at=%s:51:11 %s | FileCheck -check-prefix=CHECK-USE %s
56 // RUN: c-index-test -code-completion-at=%s:52:17 %s | FileCheck -check-prefix=CHECK-USE %s
63 // RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_COMPLETION_CACHING=1 c-index-test -code-completion-at=%…
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/google/
H A Dobjc-global-variable-declaration.rst16 For code:
18 .. code-block:: objc
24 .. code-block:: objc
30 .. code-block:: objc
36 .. code-block:: objc
40 However for code that prefixed with non-alphabetical characters like:
42 .. code-block:: objc
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dmisplaced-operator-in-strlen-in-alloc.rst16 `C` example code:
18 .. code-block:: c
28 .. code-block:: c
33 `C++` example code:
35 .. code-block:: c++
42 As in the `C` code with the ``malloc()`` function, the suggested fix is to
46 .. code-block:: c++
53 .. code-block:: c
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dtls-models.ll29 ; Non-PIC code can use initial-exec, PIC code has to use general dynamic.
46 ; Non-PIC code can use local exec, PIC code can use local dynamic.
66 ; Non-PIC code can use initial exec, PIC code use local dynamic as specified.
83 ; Non-PIC code can use local exec, PIC code can use local dynamic.
103 ; Non-PIC and PIC code will use initial exec as specified.
120 ; Non-PIC code can use local exec, PIC code use initial exec as specified.
148 ; Non-PIC and PIC code will use local exec as specified.
165 ; Non-PIC and PIC code will use local exec as specified.
/llvm-project-15.0.7/llvm/docs/tutorial/MyFirstLanguageFrontend/
H A DLangImpl09.rst38 .. code-block:: python
76 .. code-block:: udiff
85 .. code-block:: udiff
150 .. code-block:: bash
185 .. code-block:: c++
206 .. code-block:: c++
231 .. code-block:: c++
247 .. code-block:: c++
257 .. code-block:: c++
281 .. code-block:: c++
[all …]

12345678910>>...163