/llvm-project/polly/lib/External/isl/imath/tests/gmp-compat-test/ |
H A D | genctest.py | 73 code = "\t" 75 code += self.api_call_prefix(ty) + "init(" + var + ");\n\t" 76 code += ( 83 code += ";\n\t" 84 code += self.api_call_prefix(ty) + "canonicalize(" + var + ")" 86 code += var + "=" + param 87 return code 90 code = "" 93 code += "\t" 94 code += self.test_var_type(p) + " " [all …]
|
/llvm-project/lldb/docs/use/ |
H A D | map.rst | 24 .. code-block:: shell 29 .. code-block:: shell 38 .. code-block:: shell 44 .. code-block:: shell 53 .. code-block:: shell 61 .. code-block:: shell 73 .. code-block:: shell 81 .. code-block:: shell 92 .. code-block:: shell 100 .. code [all...] |
/llvm-project/llvm/test/MC/Mips/ |
H A D | module-directive-bad.s | 6 # 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 26 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code 30 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code 34 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code 38 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code 42 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code [all …]
|
/llvm-project/llvm/include/llvm/Option/ |
H A D | OptParser.td | 112 code ValuesCode = ?; 118 code MacroPrefix = ""; 119 code KeyPath = ?; 120 code DefaultValue = ?; 121 code ImpliedValue = ?; 122 code ImpliedCheck = "false"; 123 code ShouldParse = "true"; 125 code NormalizerRetTy = ?; 126 code NormalizedValuesScope = ""; 127 code Normalizer = ""; [all …]
|
/llvm-project/clang/include/clang/AST/ |
H A D | StmtDataCollectors.td | 2 code Code = [{ 4 // This ensures that non-macro-generated code isn't identical to 5 // macro-generated code. 12 code Code = [{ 19 code Code = [{ 24 code Code = [{ 29 code Code = [{ 34 code Code = [{ 43 code Code = [{ 68 code Cod [all...] |
/llvm-project/libcxx/test/std/thread/futures/futures.future_error/ |
H A D | code.pass.cpp | 24 ASSERT_NOEXCEPT(std::declval<std::future_error const&>().code()); in main() 25 …ASSERT_SAME_TYPE(decltype(std::declval<std::future_error const&>().code()), std::error_code const&… in main() 31 std::error_code const& code = f.code(); in main() local 32 assert(code == std::make_error_code(std::future_errc::broken_promise)); in main() 36 std::error_code const& code = f.code(); in main() local 37 assert(code == std::make_error_code(std::future_errc::future_already_retrieved)); in main() 41 std::error_code const& code = f.code(); in main() local 42 assert(code == std::make_error_code(std::future_errc::promise_already_satisfied)); in main() 46 std::error_code const& code = f.code(); in main() local 47 assert(code == std::make_error_code(std::future_errc::no_state)); in main()
|
/llvm-project/mlir/lib/Query/Matcher/ |
H A D | Parser.cpp | 44 : code(matcherCode), startOfLine(matcherCode), error(error) { in CodeTokenizer() 51 : code(matcherCode), startOfLine(matcherCode), error(error), in CodeTokenizer() 99 if (codeCompletionLocation && codeCompletionLocation <= code.data()) { in getNextToken() 107 if (code.empty()) { in getNextToken() 113 switch (code[0]) { in getNextToken() 115 code = code.drop_until([](char c) { return c == '\n'; }); in getNextToken() 118 result.set(TokenKind::Comma, firstCharacterAndDrop(code)); in getNextToken() 121 result.set(TokenKind::Period, firstCharacterAndDrop(code)); in getNextToken() 125 startOfLine = code.drop_front(); in getNextToken() 126 result.set(TokenKind::NewLine, firstCharacterAndDrop(code)); in getNextToken() [all …]
|
/llvm-project/llvm/test/CodeGen/AMDGPU/ |
H A D | verify-gfx90a-aligned-vgprs.mir | 65 ; CHECK: *** Bad machine code: Subtarget requires even aligned vector registers *** 66 ; CHECK: *** Bad machine code: Subtarget requires even aligned vector registers *** 67 ; 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 *** 76 ; 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 *** 85 ; CHECK: *** Bad machine code [all...] |
H A D | generic-targets-require-v6.ll | 1 ; RUN: not llc -mtriple=amdgcn -mcpu=gfx9-generic --amdhsa-code-object-version=5 -o - %s 2>&1 | FileCheck --check-prefix=GFX9-V5 %s 2 ; RUN: not llc -mtriple=amdgcn -mcpu=gfx9-4-generic --amdhsa-code-object-version=5 -o - %s 2>&1 | FileCheck --check-prefix=GFX9-4-V5 %s 3 ; RUN: not llc -mtriple=amdgcn -mcpu=gfx10-1-generic --amdhsa-code-object-version=5 -o - %s 2>&1 | FileCheck --check-prefix=GFX101-V5 %s 4 ; RUN: not llc -mtriple=amdgcn -mcpu=gfx10-3-generic --amdhsa-code-object-version=5 -o - %s 2>&1 | FileCheck --check-prefix=GFX103-V5 %s 5 ; RUN: not llc -mtriple=amdgcn -mcpu=gfx11-generic --amdhsa-code-object-version=5 -o - %s 2>&1 | FileCheck --check-prefix=GFX11-V5 %s 6 ; RUN: not llc -mtriple=amdgcn -mcpu=gfx12-generic --amdhsa-code-object-version=5 -o - %s 2>&1 | FileCheck --check-prefix=GFX12-V5 %s 8 ; RUN: llc -mtriple=amdgcn -mcpu=gfx9-generic --amdhsa-code-object-version=6 -o - %s 9 ; RUN: llc -mtriple=amdgcn -mcpu=gfx9-4-generic --amdhsa-code-object-version=6 -o - %s 10 ; RUN: llc -mtriple=amdgcn -mcpu=gfx10-1-generic --amdhsa-code-object-version=6 -o - %s 11 ; RUN: llc -mtriple=amdgcn -mcpu=gfx10-3-generic --amdhsa-code [all...] |
/llvm-project/llvm/test/MC/ARM/ |
H A D | directive-arch-mode-switch.s | 6 @ CHECK: .code 32 8 @ In ARM mode, switch to an arch which has ARM and Thumb, no warning or .code directive (stay in AR… 11 @ CHECK-NOT: .code 13 @ CHECK-NOT: .code 15 @ In ARM mode, switch to an arch which has Thumb only, expect warning and .code 16 directive 18 @ CHECK: .code 16 21 @ In Thumb mode, switch to an arch which has ARM and Thumb, no warning or .code directive (stay in … 24 @ CHECK-NOT: .code 26 @ CHECK-NOT: .code 28 @ In Thumb mode, switch to a CPU which has ARM and Thumb, no warning or .code directive (stay in Th… [all …]
|
H A D | thumb-invalid-crypto.txt | 5 @ 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 19 @ CHECK: error: instruction 'sha256su0' 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 [all …]
|
/llvm-project/clang-tools-extra/clangd/unittests/ |
H A D | PreambleTests.cpp | 323 EXPECT_THAT(getPreamblePatch("", Modified.code()), in TEST() 326 auto AST = createPatchedAST("", Modified.code()); in TEST() 353 EXPECT_THAT(getPreamblePatch(Baseline, Modified.code()), in TEST() 356 auto AST = createPatchedAST(Baseline, Modified.code()); in TEST() 416 auto AST = createPatchedAST(Case.Baseline, Modified.code()); in TEST() 440 auto AST = createPatchedAST(Baseline, Modified.code()); in TEST() 452 getHover(*AST, offsetToPosition(Modified.code(), Modified.point()), in TEST() 578 TU.Code = Modified.code().str(); in TEST() 633 auto AST = createPatchedAST(Code.code(), NewCode.code()); in TEST() 644 auto AST = createPatchedAST(Code.code(), NewCode.code()); in TEST() [all …]
|
/llvm-project/llvm/test/TableGen/ |
H A D | code.td | 6 // 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/llvm/docs/ |
H A D | BitCodeFormat.rst | 231 Data records consist of a record code and a number of (up to) 64-bit integer 232 values. The interpretation of the code and values is application specific and 235 there is a record which encodes the target triple of a module. The code is 245 [UNABBREV_RECORD, code\ :sub:`vbr6`, numops\ :sub:`vbr6`, op0\ :sub:`vbr6`, op1\ :sub:`vbr6`, ...] 250 record by emitting the code and operands as VBRs. 254 ``MODULE_CODE_TRIPLE`` code, a vbr6 for the length of the string, which is equal 274 The record code, which is the first field of an abbreviated record, may be 327 are just emitted as their code. 331 have extra data are emitted as their code, followed by the extra data. 335 * Fixed (code [all...] |
/llvm-project/llvm/test/MachineVerifier/ |
H A D | test_g_ptrmask.mir | 15 ; 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 D | test_g_memmove.mir | 17 ; 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 D | test_g_memcpy.mir | 17 ; 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 D | test_g_addrspacecast.mir | 19 ; 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 44 ; CHECK: Bad machine code: operand types must preserve number of vector elements [all …]
|
H A D | test_g_shuffle_vector.mir | 17 ; 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 23 ; CHECK: Bad machine code: Incorrect mask operand type for G_SHUFFLE_VECTOR 26 ; 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 [all …]
|
H A D | test_g_insert.mir | 12 ; 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/clang/utils/TestUtils/ |
H A D | pch-test.pl | 21 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/llvm/test/CodeGen/AArch64/ |
H A D | arm64-opt-remarks-lazy-bfi.ll | 35 ; HOTNESS-NEXT: Executing Pass 'Verify generated machine code' on Function 'empty_func'... 36 ; HOTNESS-NEXT: Freeing Pass 'Verify generated machine code' on Function 'empty_func'... 39 ; HOTNESS-NEXT: Executing Pass 'Verify generated machine code' on Function 'empty_func'... 40 ; HOTNESS-NEXT: Freeing Pass 'Verify generated machine code' on Function 'empty_func'... 43 ; HOTNESS-NEXT: Executing Pass 'Verify generated machine code' on Function 'empty_func'... 44 ; HOTNESS-NEXT: Freeing Pass 'Verify generated machine code' on Function 'empty_func'... 47 ; HOTNESS-NEXT: Executing Pass 'Verify generated machine code' on Function 'empty_func'... 48 ; HOTNESS-NEXT: Freeing Pass 'Verify generated machine code' on Function 'empty_func'... 51 ; HOTNESS-NEXT: Executing Pass 'Verify generated machine code' 52 ; HOTNESS-NEXT: Freeing Pass 'Verify generated machine code' [all …]
|
/llvm-project/libcxx/test/std/re/re.badexp/ |
H A D | regex_error.pass.cpp | 27 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/clang-tools-extra/clangd/quality/ |
H A D | CompletionModelCodegen.py | 101 code = [] 104 code.append(node(t, label=label, next_label="t%d" % (tree_num + 1))) 105 return code, 1 114 code.append(node(t, label=label, next_label=true_label)) 116 return code + false_code + true_code, 1 + false_size + true_size 209 code = "" 212 code += "namespace {\n" 215 code += "LLVM_ATTRIBUTE_NOINLINE float EvaluateTree%d(const %s& E) {\n" % ( 219 code += ( 222 code += "}\n\n" [all …]
|
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/readability/ |
H A D | avoid-unconditional-preprocessor-if.rst | 6 Finds code blocks that are constantly enabled or disabled in preprocessor 10 .. code-block:: c++ 13 // some disabled code 17 // some enabled code that can be disabled manually 20 Unconditional preprocessor directives, such as ``#if 0`` for disabled code 21 and ``#if 1`` for enabled code, can lead to dead code and always enabled code, 22 respectively. Dead code can make understanding the codebase more difficult, 28 like ``#ifdef DEBUGGING_ENABLED``, to control code enabling or disabling. 31 code using ``/* */`` block comments and add a hint, such as ``@todo``,
|