| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | RenameTests.cpp | 68 TU.HeaderCode = std::string(Code.code()); in buildRefSlab() 95 llvm::StringRef Code = Test.code(); in expectedResult() 825 auto TU = TestTU::withCode(Code.code()); in TEST() 1076 TestTU TU = TestTU::withCode(T.code()); in TEST() 1110 TestTU TU = TestTU::withCode(Code.code()); in TEST() 1169 auto TU = TestTU::withCode(Code.code()); in TEST() 1198 auto TU = TestTU::withCode(Code.code()); in TEST() 1214 << Code.code(); in TEST() 1222 auto TU = TestTU::withCode(Code.code()); in TEST() 1331 TU = TestTU::withCode(MainCode.code()); in TEST() [all …]
|
| H A D | TypeHierarchyTests.cpp | 70 TestTU TU = TestTU::withCode(Source.code()); in TEST() 94 TestTU TU = TestTU::withCode(Source.code()); in TEST() 117 TestTU TU = TestTU::withCode(Source.code()); in TEST() 143 TestTU TU = TestTU::withCode(Source.code()); in TEST() 177 TestTU TU = TestTU::withCode(Source.code()); in TEST() 202 TestTU TU = TestTU::withCode(Source.code()); in TEST() 250 TestTU TU = TestTU::withCode(Source.code()); in TEST() 277 TestTU TU = TestTU::withCode(Source.code()); in TEST() 306 TestTU TU = TestTU::withCode(Source.code()); in TEST() 330 TestTU TU = TestTU::withCode(Source.code()); in TEST() [all …]
|
| /llvm-project-15.0.7/llvm/test/ExecutionEngine/RuntimeDyld/ARM/ |
| H A D | MachO_Thumb_Relocations.s | 10 .code 16 17 .code 16 24 .code 32 30 .code 16 35 # Check that stubs for thumb callers use thumb code (not arm), and that thumb 50 .code 32 54 # Check that stubs for arm callers use arm code (not thumb), and that thumb
|
| /llvm-project-15.0.7/llvm/docs/ |
| H A D | CompileCudaWithLLVM.rst | 157 .. code-block:: c++ 209 .. code-block:: c++ 303 .. code-block:: c++ 312 .. code-block:: c++ 322 .. code-block:: c++ 330 .. code-block:: c++ 364 .. code-block:: c++ 389 .. code-block:: c++ 433 .. code-block:: c++ 465 .. code-block:: c++ [all …]
|
| H A D | HowToSubmitABug.rst | 59 * Otherwise, you have a backend code generator crash. Jump ahead to :ref:`code 70 .. code-block:: text 98 .. code-block:: bash 108 .. code-block:: bash 118 .. code-block:: bash 175 .. code-block:: bash 200 .. code-block:: bash 208 .. code-block:: bash 219 .. code-block:: bash 234 .. code-block:: bash [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/ |
| H A D | mverify-optypes.mir | 43 # CHECK: *** Bad machine code: Expected a non-register operand. *** 47 # CHECK: *** Bad machine code: Expected a non-register operand. *** 51 # CHECK: *** Bad machine code: Expected a non-register operand. *** 55 # CHECK: *** Bad machine code: Addressing mode operands corrupt! *** 58 # CHECK: *** Bad machine code: Addressing mode operands corrupt! *** 61 # CHECK: *** Bad machine code: Expected a non-register operand. *** 65 # CHECK: *** Bad machine code: Expected a non-register operand. *** 69 # CHECK: *** Bad machine code: Expected a non-register operand. ***
|
| /llvm-project-15.0.7/mlir/utils/jupyter/mlir_opt_kernel/ |
| H A D | kernel.py | 102 code, argument 118 def run(code): argument 132 if code.endswith('\n_'): 135 code = code[:-1] + self._ 136 inputmlir.write(code.encode("utf-8")) 155 if not code.strip(): 159 output, errors, exitcode = run(code)
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Support/ |
| H A D | KindMapping.cpp | 132 code = *ptr++; in parseCode() 142 code = *ptr++; in parseDefCode() 145 return parseCode(code, ptr, endPtr); in parseDefCode() 253 char code = '\0'; in parse() local 257 if (code == 'a' || code == 'i' || code == 'l') { in parse() 261 intMap[std::pair<char, KindTy>{code, kind}] = bits; in parse() 262 } else if (code == 'r' || code == 'c') { in parse() 391 static int codeToIndex(char code) { in codeToIndex() argument 392 switch (code) { in codeToIndex() 411 char code; in toDefaultKinds() local [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/readability/ |
| H A D | redundant-declaration.rst | 8 .. code-block:: c++ 15 .. code-block:: c++ 21 when code has been moved around. Having redundant declarations could in worst 22 case mean that there are typos in the code that cause bugs. 24 Normally the code can be automatically fixed, :program:`clang-tidy` can remove 25 the second declaration. However there are 2 cases when you need to fix the code
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/ |
| H A D | arm64-opt-remarks-lazy-bfi.ll | 35 ; HOTNESS-NEXT: Executing Pass 'Verify generated machine code' 36 ; HOTNESS-NEXT: Freeing Pass 'Verify generated machine code' 39 ; HOTNESS-NEXT: Executing Pass 'Verify generated machine code' 40 ; HOTNESS-NEXT: Freeing Pass 'Verify generated machine code' 43 ; HOTNESS-NEXT: Executing Pass 'Verify generated machine code' 44 ; HOTNESS-NEXT: Freeing Pass 'Verify generated machine code' 60 ; NO_HOTNESS-NEXT: Executing Pass 'Verify generated machine code' 61 ; NO_HOTNESS-NEXT: Freeing Pass 'Verify generated machine code' 64 ; NO_HOTNESS-NEXT: Executing Pass 'Verify generated machine code' 65 ; NO_HOTNESS-NEXT: Freeing Pass 'Verify generated machine code' [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/ARM/ |
| H A D | tls-models.ll | 30 ; Non-PIC code can use initial-exec, PIC code has to use general dynamic. 41 ; Non-PIC code can use local exec, PIC code can use local dynamic, 56 ; Non-PIC code can use initial exec, PIC should use local dynamic, 68 ; Non-PIC code can use local exec, PIC code can use local dynamic, 83 ; Non-PIC and PIC code will use initial exec as specified. 94 ; Non-PIC code can use local exec, PIC code use initial exec as specified. 108 ; Non-PIC and PIC code will use local exec as specified. 119 ; Non-PIC and PIC code will use local exec as specified.
|
| /llvm-project-15.0.7/clang/test/Index/ |
| H A D | complete-objc-message.m | 200 // RUN: c-index-test -code-completion-at=%s:23:19 %s | FileCheck -check-prefix=CHECK-CC1 %s 212 // RUN: c-index-test -code-completion-at=%s:24:8 %s | FileCheck -check-prefix=CHECK-CC2 %s 221 // RUN: c-index-test -code-completion-at=%s:61:17 %s | FileCheck -check-prefix=CHECK-CC3 %s 224 // RUN: c-index-test -code-completion-at=%s:65:17 %s | FileCheck -check-prefix=CHECK-CC4 %s 227 // RUN: c-index-test -code-completion-at=%s:74:10 %s | FileCheck -check-prefix=CHECK-CC5 %s 230 // RUN: c-index-test -code-completion-at=%s:82:8 %s | FileCheck -check-prefix=CHECK-CC6 %s 233 // RUN: c-index-test -code-completion-at=%s:95:8 %s | FileCheck -check-prefix=CHECK-CC7 %s 240 // RUN: c-index-test -code-completion-at=%s:95:17 %s | FileCheck -check-prefix=CHECK-CC8 %s 245 // RUN: c-index-test -code-completion-at=%s:95:24 %s | FileCheck -check-prefix=CHECK-CC9 %s 249 // RUN: c-index-test -code-completion-at=%s:61:11 %s | FileCheck -check-prefix=CHECK-CCA %s [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/misc/ |
| H A D | unused-parameters.rst | 7 code (e.g. when a different parameter is used instead). The suggested fixes 15 .. code-block:: c++ 17 void a(int i) { /*some code that doesn't use `i`*/ } 21 void a(int /*i*/) { /*some code that doesn't use `i`*/ } 23 .. code-block:: c++ 26 static void staticFunctionA(int i) { /*some code that doesn't use `i`*/ } 31 static void staticFunctionA() { /*some code that doesn't use `i`*/ }
|
| /llvm-project-15.0.7/llvm/test/MachineVerifier/ |
| H A D | test_g_assert_zext_register_bank_class.mir | 13 ; CHECK: *** Bad machine code: G_ASSERT_ZEXT cannot change register bank *** 17 …; CHECK: *** Bad machine code: G_ASSERT_ZEXT source and destination register classes must match *** 21 ; CHECK: *** Bad machine code: G_ASSERT_ZEXT cannot change register bank *** 25 …; CHECK: *** Bad machine code: G_ASSERT_ZEXT source and destination register classes must match *** 29 ; CHECK: *** Bad machine code: Generic instruction cannot have physical register *** 35 ; CHECK: *** Bad machine code: G_ASSERT_ZEXT cannot change register bank *** 39 ; CHECK: *** Bad machine code: G_ASSERT_ZEXT cannot change register bank ***
|
| H A D | verifier-generic-extend-truncate.mir | 4 # CHECK: Bad machine code: Generic extend/truncate can not operate on pointers 9 # CHECK: Bad machine code: operand types must be all-vector or all-scalar 14 # CHECK: Bad machine code: operand types must preserve number of vector elements 19 # CHECK: Bad machine code: Generic extend has destination type no larger than source 24 # CHECK: Bad machine code: Generic truncate has destination type no smaller than source *** 30 # CHECK: Bad machine code: Generic extend/truncate can not operate on pointers 35 # CHECK: Bad machine code: operand types must preserve number of vector elements 40 # CHECK: Bad machine code: Generic extend has destination type no larger than source 46 # CHECK: Bad machine code: Generic extend/truncate can not operate on pointers 51 # CHECK: Bad machine code: operand types must be all-vector or all-scalar
|
| /llvm-project-15.0.7/libcxx/src/ryu/ |
| H A D | README.txt | 1 The code in this directory is based on Ulf Adams's work. The upstream for the 2 code is: 6 The code has been adapted by Stephan T. Lavavej of Microsoft for usage in 7 std::to_chars. This code has been contributed by Microsoft for inclusion in 10 The code in this directory has a different coding style than other parts to
|
| /llvm-project-15.0.7/compiler-rt/test/profile/ |
| H A D | gcc-flag-compatibility.test | 3 RUN: %clang_pgogen=%t.d/d1/d2 -o %t.d/code %S/Inputs/gcc-flag-compatibility.c 5 # Test that the instrumented code writes to %t.d/d1/d2/ 6 RUN: %run %t.d/code 10 RUN: env LLVM_PROFILE_FILE=%t.d/x1/prof.raw %run %t.d/code 15 RUN: %clang_pgouse=%t.d -o %t.d/code %S/Inputs/gcc-flag-compatibility.c 18 RUN: %clang_pgouse=%t.profdata -o %t.d/code %S/Inputs/gcc-flag-compatibility.c
|
| /llvm-project-15.0.7/llvm/docs/GlobalISel/ |
| H A D | GenericOpcode.rst | 23 .. code-block:: none 32 .. code-block:: none 41 .. code-block:: none 50 .. code-block:: none 59 .. code-block:: none 68 .. code-block:: none 81 .. code-block:: none 91 .. code-block:: none 107 .. code-block:: none 117 .. code-block:: none [all …]
|
| /llvm-project-15.0.7/lldb/source/Expression/ |
| H A D | REPL.cpp | 201 const size_t max_size = code.max_size(); in ReadCode() 224 if (code.empty()) { in IOHandlerInputComplete() 241 if (code[0] == ':') { in IOHandlerInputComplete() 244 code.erase(0, 1); in IOHandlerInputComplete() 245 if (!llvm::StringRef(code).trim().empty()) { in IOHandlerInputComplete() 296 if (code[0] == '<') { in IOHandlerInputComplete() 300 if (!ReadCode(path, code, error_sp)) { in IOHandlerInputComplete() 447 m_code.SplitIntoLines(code); in IOHandlerInputComplete() 457 std::string code(m_code.CopyList()); in IOHandlerInputComplete() local 458 code.append(1, '\n'); in IOHandlerInputComplete() [all …]
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/X86/ |
| H A D | dwarfdump-str-offsets-macho.s | 69 .byte 0x01 # Abbrev code 82 .byte 0x02 # Abbrev code 91 .byte 0x03 # Abbrev code 98 .byte 0x04 # Abbrev code 105 .byte 0x05 # Abbrev code 112 .byte 0x06 # Abbrev code 119 .byte 0x07 # Abbrev code 139 .byte 1 # Abbreviation code 145 .byte 4 # Abbreviation code 148 .byte 5 # Abbreviation code [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/ |
| H A D | signed-char-misuse.rst | 12 misunderstanding of the written code both when an explicit and when an 15 When the code contains an explicit ``signed char`` -> integer conversion, the 17 character code (a value from [0..255]), however, the actual value is in 27 variable is something we should avoid in C++ code. During this comparison, 49 code is also stored as ``-1`` in two's complement form of char type. 51 the end of the file, but also when it gets a character with the 255 code. 53 .. code-block:: c++ 67 A proper way to fix the code above is converting the ``char`` variable to 70 .. code-block:: c++ 88 .. code-block:: c++ [all …]
|
| H A D | branch-clone.rst | 10 .. code-block:: c++ 21 ``then`` and ``else`` branches are identical and the code is equivalent the 22 following shorter and cleaner code: 24 .. code-block:: c++ 41 the code. For example: 43 .. code-block:: c++ 63 .. code-block:: c++ 80 Finally, the check also examines conditional operators and reports code like: 82 .. code-block:: c++
|
| /llvm-project-15.0.7/llvm/test/MC/ARM/ |
| H A D | thumb2-beq-fixup.s | 4 .code 16 13 .code 32 19 .code 32 24 .code 16 31 .code 16
|
| /llvm-project-15.0.7/llvm/test/Transforms/SLPVectorizer/X86/ |
| H A D | crash_7zip.ll | 38 %code.2.i = phi i32 [ %code.4.i, %do.cond.i ], [ undef, %entry ] 40 %.code.2.i = select i1 undef, i32 undef, i32 %code.2.i 45 %sub92.i = sub i32 %.code.2.i, undef 50 %code.4.i = phi i32 [ %sub92.i, %if.else.i ], [ %.code.2.i, %do.body66.i ] 55 %.code.4.i = select i1 undef, i32 undef, i32 %code.4.i 57 store i32 %.code.4.i, i32* %code21.i, align 4
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/modernize/ |
| H A D | replace-auto-ptr.rst | 13 .. code-block:: c++ 37 changed this check will produce broken code (compilation error), where the 38 headers' code will stay unchanged while the code using them will be changed. 40 * Client code that declares a reference to an ``std::auto_ptr`` coming from 41 code that can't be migrated (such as a header coming from a 3\ :sup:`rd` 49 .. code-block:: c++ 55 // <calling code (with migration)...> 64 .. code-block:: c++
|