/llvm-project/lldb/test/API/tools/lldb-dap/breakpoint/ |
H A D | TestDAP_setBreakpoints.py | 106 specified and zero or more source lines. If breakpoints have been 117 lines = [first_line, third_line, second_line] 126 response = self.dap_server.request_setBreakpoints(self.main_path, lines) 132 len(lines), 133 "expect %u source breakpoints" % (len(lines)), 135 for breakpoint, index in zip(breakpoints, range(len(lines))): 137 self.assertTrue(line, lines[index]) 140 self.assertIn(line, lines, "line expected in lines array") 144 # setBreakpoints packet with the same source file with fewer lines. 150 lines.remove(second_line) [all …]
|
/llvm-project/llvm/test/tools/llvm-readobj/ELF/AMDGPU/ |
H A D | elf-headers.test | 2 # RUN: llvm-readobj -h %t | FileCheck %s --check-prefixes=ALL,KNOWN-ABI-VERSION,SINGLE-FLAG --match-full-lines -DABI_VERSION=0 -DFILE=%t -DFLAG_NAME=EF_AMDGPU_MACH_AMDGCN_GFX600 -DFLAG_VALUE=0x20 5 # RUN: llvm-readobj -h %t | FileCheck %s --check-prefixes=ALL,KNOWN-ABI-VERSION,SINGLE-FLAG --match-full-lines -DABI_VERSION=1 -DFILE=%t -DFLAG_NAME=EF_AMDGPU_MACH_AMDGCN_GFX600 -DFLAG_VALUE=0x20 8 # RUN: llvm-readobj -h %t | FileCheck %s --check-prefixes=ALL,KNOWN-ABI-VERSION,SINGLE-FLAG --match-full-lines -DABI_VERSION=2 -DFILE=%t -DFLAG_NAME=EF_AMDGPU_MACH_AMDGCN_GFX600 -DFLAG_VALUE=0x20 11 # RUN: llvm-readobj -h %t | FileCheck %s --check-prefixes=ALL,KNOWN-ABI-VERSION,SINGLE-FLAG --match-full-lines -DABI_VERSION=0 -DFILE=%t -DFLAG_NAME=EF_AMDGPU_MACH_AMDGCN_GFX601 -DFLAG_VALUE=0x21 14 # RUN: llvm-readobj -h %t | FileCheck %s --check-prefixes=ALL,KNOWN-ABI-VERSION,SINGLE-FLAG --match-full-lines -DABI_VERSION=1 -DFILE=%t -DFLAG_NAME=EF_AMDGPU_MACH_AMDGCN_GFX601 -DFLAG_VALUE=0x21 17 # RUN: llvm-readobj -h %t | FileCheck %s --check-prefixes=ALL,KNOWN-ABI-VERSION,SINGLE-FLAG --match-full-lines -DABI_VERSION=2 -DFILE=%t -DFLAG_NAME=EF_AMDGPU_MACH_AMDGCN_GFX601 -DFLAG_VALUE=0x21 20 # RUN: llvm-readobj -h %t | FileCheck %s --check-prefixes=ALL,KNOWN-ABI-VERSION,SINGLE-FLAG --match-full-lines -DABI_VERSION=0 -DFILE=%t -DFLAG_NAME=EF_AMDGPU_MACH_AMDGCN_GFX602 -DFLAG_VALUE=0x3A 23 # RUN: llvm-readobj -h %t | FileCheck %s --check-prefixes=ALL,KNOWN-ABI-VERSION,SINGLE-FLAG --match-full-lines -DABI_VERSION=1 -DFILE=%t -DFLAG_NAME=EF_AMDGPU_MACH_AMDGCN_GFX602 -DFLAG_VALUE=0x3A 26 # RUN: llvm-readobj -h %t | FileCheck %s --check-prefixes=ALL,KNOWN-ABI-VERSION,SINGLE-FLAG --match-full-lines -DABI_VERSION=2 -DFILE=%t -DFLAG_NAME=EF_AMDGPU_MACH_AMDGCN_GFX602 -DFLAG_VALUE=0x3A 29 # RUN: llvm-readobj -h %t | FileCheck %s --check-prefixes=ALL,KNOWN-ABI-VERSION,SINGLE-FLAG --match-full-lines [all...] |
/llvm-project/clang/test/Preprocessor/ |
H A D | arm-target-features.c | 1 // RUN: %clang -target armv8a-none-linux-gnu -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=CHECK-V8A %s 14 // RUN: %clang -target armv8a-none-linux-gnueabi -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=CHECK-V8A-ALLOW-FP-INSTR %s 15 // RUN: %clang -target armv8a-none-linux-gnueabihf -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=CHECK-V8A-ALLOW-FP-INSTR %s 27 // RUN: %clang -target arm-none-linux-gnueabi -march=armv8.2-a+nofp16fml+fp16 -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=CHECK-FULLFP16-VECTOR-SCALAR %s 28 // RUN: %clang -target arm-none-linux-gnueabi -march=armv8.2-a+nofp16+fp16fml -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=CHECK-FULLFP16-VECTOR-SCALAR %s 29 // RUN: %clang -target arm-none-linux-gnueabi -march=armv8.2-a+fp16+nofp16fml -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=CHECK-FULLFP16-VECTOR-SCALAR %s 30 // RUN: %clang -target arm-none-linux-gnueabi -march=armv8-a+fp16fml -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=CHECK-FULLFP16-VECTOR-SCALAR %s 31 // RUN: %clang -target arm-none-linux-gnueabi -march=armv8-a+fp16 -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=CHECK-FULLFP16-VECTOR-SCALAR %s 32 // RUN: %clang -target arm-none-linux-gnueabi -march=armv8.4-a+nofp16fml+fp16 -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=CHECK-FULLFP16-VECTOR-SCALAR %s 33 // RUN: %clang -target arm-none-linux-gnueabi -march=armv8.4-a+nofp16+fp16fml -x c -E -dM %s -o - | FileCheck -match-full-lines [all...] |
H A D | x86_target_features.c | 1 // RUN: %clang -target i386-unknown-unknown -march=core2 -msse4 -x c -E -dM -o - %s | FileCheck -match-full-lines --check-prefix=SSE4 %s 12 // RUN: %clang -target i386-unknown-unknown -march=core2 -msse4.1 -mno-sse4 -x c -E -dM -o - %s | FileCheck -match-full-lines --check-prefix=NOSSE4 %s 16 // RUN: %clang -target i386-unknown-unknown -march=core2 -msse4 -mno-sse2 -x c -E -dM -o - %s | FileCheck -match-full-lines --check-prefix=SSE %s 27 // RUN: %clang -target i386-unknown-unknown -march=pentium-m -x c -E -dM -o - %s | FileCheck -match-full-lines --check-prefix=SSE2 %s 38 // RUN: %clang -target i386-unknown-unknown -march=pentium-m -mno-sse -mavx -x c -E -dM -o - %s | FileCheck -match-full-lines --check-prefix=AVX %s 50 // RUN: %clang -target i386-unknown-unknown -march=pentium-m -mxop -mno-avx -x c -E -dM -o - %s | FileCheck -match-full-lines --check-prefix=SSE4A %s 62 // RUN: %clang -target i386-unknown-unknown -march=atom -mavx512f -x c -E -dM -o - %s | FileCheck -match-full-lines --check-prefix=AVX512F %s 77 // RUN: %clang -target i386-unknown-unknown -march=atom -mavx512cd -x c -E -dM -o - %s | FileCheck -match-full-lines --check-prefix=AVX512CD %s 93 // RUN: %clang -target i386-unknown-unknown -march=atom -mavx512dq -x c -E -dM -o - %s | FileCheck -match-full-lines --check-prefix=AVX512DQ %s 109 // RUN: %clang -target i386-unknown-unknown -march=atom -mavx512bw -x c -E -dM -o - %s | FileCheck -match-full-lines [all...] |
H A D | predefined-macros.c | 4 // RUN: -o - | FileCheck -match-full-lines %s --check-prefix=CHECK-MS-STDINT 60 // RUN: | FileCheck -match-full-lines %s --check-prefix=CHECK-FAST-MATH 66 // RUN: | FileCheck -match-full-lines %s --check-prefix=CHECK-MATH-ERRNO 70 // RUN: | FileCheck -match-full-lines %s --check-prefix=CHECK-NO-MATH-ERRNO 74 // RUN: | FileCheck -match-full-lines %s --check-prefix=CHECK-FINITE-MATH-ONLY 78 // RUN: | FileCheck -match-full-lines %s --check-prefix=CHECK-NO-FINITE-MATH-ONLY 82 // RUN: | FileCheck -match-full-lines %s --check-prefix=CHECK-FINITE-MATH-FLAG-UNDEFINED 86 // RUN: | FileCheck -match-full-lines %s --check-prefix=CHECK-SYNC_CAS_I386 90 // RUN: | FileCheck -match-full-lines %s --check-prefix=CHECK-SYNC_CAS_I486 97 // RUN: | FileCheck -match-full-lines [all...] |
H A D | predefined-macros-hlsl.hlsl | 1 // RUN: %clang_cc1 %s -E -dM -o - -triple dxil-pc-shadermodel6.0-amplification | FileCheck -match-full-lines %s --check-prefixes=CHECK,AMPLIFICATION,NOHALF 2 // RUN: %clang_cc1 %s -E -dM -o - -triple dxil-pc-shadermodel6.0-compute | FileCheck -match-full-lines %s --check-prefixes=CHECK,COMPUTE,NOHALF 3 // RUN: %clang_cc1 %s -E -dM -o - -triple dxil-pc-shadermodel6.0-domain | FileCheck -match-full-lines %s --check-prefixes=CHECK,DOMAIN,NOHALF 4 // RUN: %clang_cc1 %s -E -dM -o - -triple dxil-pc-shadermodel6.0-geometry | FileCheck -match-full-lines %s --check-prefixes=CHECK,GEOMETRY,NOHALF 5 // RUN: %clang_cc1 %s -E -dM -o - -triple dxil-pc-shadermodel6.0-hull | FileCheck -match-full-lines %s --check-prefixes=CHECK,HULL,NOHALF 6 // RUN: %clang_cc1 %s -E -dM -o - -triple dxil-pc-shadermodel6.0-library | FileCheck -match-full-lines %s --check-prefixes=CHECK,LIBRARY,NOHALF 7 // RUN: %clang_cc1 %s -E -dM -o - -triple dxil-pc-shadermodel6.0-mesh | FileCheck -match-full-lines %s --check-prefixes=CHECK,MESH,NOHALF 8 // RUN: %clang_cc1 %s -E -dM -o - -triple dxil-pc-shadermodel6.0-pixel | FileCheck -match-full-lines %s --check-prefixes=CHECK,PIXEL,NOHALF 9 // RUN: %clang_cc1 %s -E -dM -o - -triple dxil-pc-shadermodel6.0-vertex | FileCheck -match-full-lines %s --check-prefixes=CHECK,VERTEX,NOHALF 10 // RUN: %clang_cc1 %s -E -dM -o - -triple dxil-pc-shadermodel6.3-vertex -fnative-half-type | FileCheck -match-full-lines [all...] |
H A D | predefined-arch-macros.c | 5 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_I386_M32 13 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_I386_M64 18 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_I486_M32 27 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_I486_M64 32 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_I586_M32 44 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_I586_M64 49 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_PENTIUM_M32 61 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_PENTIUM_M64 66 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_PENTIUM_MMX_M32 81 // RUN: | FileCheck -match-full-lines [all...] |
/llvm-project/llvm/test/tools/llvm-readobj/ELF/ |
H A D | file-header-os-abi.test | 5 # RUN: llvm-readobj --file-headers %t.osabi.none | FileCheck %s --match-full-lines --check-prefix=O… 6 # RUN: llvm-readelf --file-headers %t.osabi.none | FileCheck %s --match-full-lines --check-prefix=O… 21 # RUN: llvm-readobj --file-headers %t.osabi.hpux | FileCheck %s --match-full-lines --check-prefix=O… 22 # RUN: llvm-readelf --file-headers %t.osabi.hpux | FileCheck %s --match-full-lines --check-prefix=O… 29 # RUN: llvm-readobj --file-headers %t.osabi.netbsd | FileCheck %s --match-full-lines --check-prefix… 30 # RUN: llvm-readelf --file-headers %t.osabi.netbsd | FileCheck %s --match-full-lines --check-prefix… 37 # RUN: llvm-readobj --file-headers %t.osabi.linux | FileCheck %s --match-full-lines --check-prefix=… 38 # RUN: llvm-readelf --file-headers %t.osabi.linux | FileCheck %s --match-full-lines --check-prefix=… 45 # RUN: llvm-readobj --file-headers %t.osabi.hurd | FileCheck %s --match-full-lines --check-prefix=O… 46 # RUN: llvm-readelf --file-headers %t.osabi.hurd | FileCheck %s --match-full-lines --check-prefix=O… [all …]
|
H A D | file-types.test | 4 # RUN: llvm-readobj -h %t1 | FileCheck %s --match-full-lines --check-prefix LLVM-NONE 5 # RUN: llvm-readelf -h %t1 | FileCheck %s --match-full-lines --check-prefix GNU-NONE 20 # RUN: llvm-readobj -h %t2 | FileCheck %s --match-full-lines --check-prefix LLVM-REL 21 # RUN: llvm-readelf -h %t2 | FileCheck %s --match-full-lines --check-prefix GNU-REL 30 # RUN: llvm-readobj -h %t3 | FileCheck %s --match-full-lines --check-prefix LLVM-EXEC 31 # RUN: llvm-readelf -h %t3 | FileCheck %s --match-full-lines --check-prefix GNU-EXEC 40 # RUN: llvm-readobj -h %t4 | FileCheck %s --match-full-lines --check-prefix LLVM-DYN 41 # RUN: llvm-readelf -h %t4 | FileCheck %s --match-full-lines --check-prefix GNU-DYN 50 # RUN: llvm-readobj -h %t5 | FileCheck %s --match-full-lines --check-prefix LLVM-CORE 51 # RUN: llvm-readelf -h %t5 | FileCheck %s --match-full-lines --check-prefix GNU-CORE [all …]
|
/llvm-project/llvm/utils/lint/ |
H A D | common_lint.py | 9 def VerifyLineLength(filename, lines, max_length): argument 10 """Checks to make sure the file has no lines with lines exceeding the length 15 lines: contents of the file as string array 24 for line in lines: 38 def VerifyTabs(filename, lines): argument 43 lines: contents of the file as string array 52 for line in lines: 59 def VerifyTrailingWhitespace(filename, lines): argument 60 """Checks to make sure the file has no lines with trailing whitespace. 64 lines: contents of the file as string array [all …]
|
/llvm-project/clang/lib/Format/ |
H A D | DefinitionBlockSeparator.cpp | 11 /// or removes empty lines separating definition blocks like classes, structs, 33 SmallVectorImpl<AnnotatedLine *> &Lines, tooling::Replacements &Result, in separateBlocks() argument 77 for (unsigned I = 0; I < Lines.size(); ++I) { in separateBlocks() 78 const auto &CurrentLine = Lines[I]; in separateBlocks() 97 IsAccessSpecifierToken(Lines[OpeningLineIndex - 1]->First))) { in separateBlocks() 107 const auto &Line = Lines[LineIndex]; in separateBlocks() 116 Lines[OpeningLineIndex - 1]->Last->opensScope() || in separateBlocks() 132 return FoundEnumKeyword && I + 1 < Lines.size() && in separateBlocks() 133 Lines[I + 1]->First->is(tok::l_brace); in separateBlocks() 141 assert(OperateIndex < Lines.size()); in separateBlocks() [all …]
|
H A D | BreakableToken.cpp | 153 // adaptStartOfLine will break after lines starting with /** if the comment in getCommentSplit() 347 // Following lines are indented by the width of the brace and space if any. in BreakableStringLiteralUsingOperators() 416 unsigned BreakableComment::getLineCount() const { return Lines.size(); } in getLineCount() 422 // Don't break lines matching the comment pragmas regex. in getSplit() 452 // Lines starting with '@' or '\' commonly have special meaning. in mayReflowContent() 453 // Lines starting with '-', '-#', '+' or '*' are bulleted/numbered lists. in mayReflowContent() 493 .split(Lines, UseCRLF ? "\r\n" : "\n"); in BreakableBlockComment() 496 Content.resize(Lines.size()); in BreakableBlockComment() 497 Content[0] = Lines[0]; in BreakableBlockComment() 498 ContentColumn.resize(Lines in BreakableBlockComment() [all...] |
/llvm-project/llvm/test/FileCheck/dump-input/ |
H A D | enable.txt | 23 ; RUN: -match-full-lines -dump-input=foobar 2>&1 \ 24 ; RUN: | FileCheck %s -match-full-lines -check-prefix=BADVAL 28 ; RUN: | FileCheck %s -match-full-lines -check-prefix=BADVAL 54 ; RUN: -match-full-lines -dump-input=never 2>&1 \ 55 ; RUN: | FileCheck %s -match-full-lines -allow-empty \ 61 ; RUN: -match-full-lines -dump-input=never 2>&1 \ 62 ; RUN: | FileCheck %s -match-full-lines -check-prefixes=NOTRACE,ERR,NODUMP 67 ; RUN: -match-full-lines -dump-input=never -v 2>&1 \ 68 ; RUN: | FileCheck %s -match-full-lines -check-prefixes=TRACE,NODUMP 73 ; RUN: -match-full-lines -dump-input=never -v 2>&1 \ [all …]
|
/llvm-project/llvm/include/llvm/DebugInfo/GSYM/ |
H A D | LineTable.h | 53 /// push "Row" onto the end of the "LineTable.Lines" vector. The end result 75 /// LineEntry.Lines array. They do this by using some of the bits to 104 /// Lines.push_back(Row); 115 /// Opcodes that will push "Row" onto the LineEntry.Lines include the 120 Collection Lines; ///< All line entries in the line table. variable 167 bool empty() const { return Lines.empty(); } in empty() 168 void clear() { Lines.clear(); } in clear() 174 if (Lines.empty()) in first() 176 return Lines.front(); in first() 183 if (Lines.empty()) in last() [all …]
|
/llvm-project/clang/tools/clang-format/ |
H A D | clang-format.py | 25 # You can also pass in the variable "l:lines" to choose the range for 30 # : let l:lines="all" 80 if vim.eval('exists("l:lines")') == "1": 81 lines = ["--lines", vim.eval("l:lines")] 88 lines = [] 91 lines += ["--lines", "%s:%s" % (op[3] + 1, op[4])] 92 if lines [all...] |
/llvm-project/llvm/test/Other/ |
H A D | new-pm-print-pipeline.ll | 3 ; RUN: opt -disable-output -disable-verify -print-pipeline-passes -passes='function(adce),function(adce)' < %s | FileCheck %s --match-full-lines --check-prefixes=CHECK-0 6 ; RUN: opt -disable-output -disable-verify -print-pipeline-passes -passes='module(rpo-function-attrs,require<globals-aa>,function(float2int,lower-constant-intrinsics,loop(loop-rotate)),invalidate<globals-aa>)' < %s | FileCheck %s --match-full-lines --check-prefixes=CHECK-1 10 ; RUN: opt -o /dev/null -disable-verify -print-pipeline-passes -passes='function(mem2reg)' < %s -disable-pipeline-verification | FileCheck %s --match-full-lines --check-prefixes=CHECK-3 13 ; RUN: opt -disable-output -disable-verify -print-pipeline-passes -passes='function(loop-mssa(indvars))' < %s | FileCheck %s --match-full-lines --check-prefixes=CHECK-4 16 ; RUN: opt -disable-output -disable-verify -print-pipeline-passes -passes='cgscc(argpromotion,require<no-op-cgscc>,no-op-cgscc,devirt<7>(inline,no-op-cgscc)),function(loop(require<no-op-loop>))' < %s | FileCheck %s --match-full-lines --check-prefixes=CHECK-5 19 ; RUN: opt -disable-output -disable-verify -print-pipeline-passes -passes='function(ee-instrument<>,ee-instrument<post-inline>)' < %s | FileCheck %s --match-full-lines --check-prefixes=CHECK-6 22 ; RUN: opt -disable-output -disable-verify -print-pipeline-passes -passes='loop(simple-loop-unswitch<nontrivial;trivial>,simple-loop-unswitch<no-nontrivial;no-trivial>)' < %s | FileCheck %s --match-full-lines --check-prefixes=CHECK-7 25 ; RUN: opt -disable-output -disable-verify -print-pipeline-passes -passes='function(mldst-motion<split-footer-bb>,mldst-motion<no-split-footer-bb>)' < %s | FileCheck %s --match-full-lines --check-prefixes=CHECK-8 28 ; RUN: opt -disable-output -disable-verify -print-pipeline-passes -passes='function(lower-matrix-intrinsics<>,lower-matrix-intrinsics<minimal>)' < %s | FileCheck %s --match-full-lines --check-prefixes=CHECK-9 31 ; RUN: opt -disable-output -disable-verify -print-pipeline-passes -passes='function(loop-unroll<>,loop-unroll<partial;peeling;runtime;upperbound;profile-peeling;full-unroll-max=5;O1>,loop-unroll<no-partial;no-peeling;no-runtime;no-upperbound;no-profile-peeling;full-unroll-max=7;O1>)' < %s | FileCheck %s --match-full-lines [all...] |
/llvm-project/llvm/test/tools/llvm-objcopy/ |
H A D | tool-help-message.test | 1 # RUN: llvm-objcopy -h | FileCheck --check-prefix=OBJCOPY-USAGE %s --match-full-lines 2 # RUN: llvm-objcopy --help | FileCheck --check-prefix=OBJCOPY-USAGE %s --match-full-lines 3 # RUN: not llvm-objcopy 2>&1 | FileCheck --check-prefix=OBJCOPY-USAGE %s --match-full-lines 4 # RUN: not llvm-objcopy -- 2>&1 | FileCheck --check-prefix=OBJCOPY-USAGE %s --match-full-lines 9 # RUN: llvm-strip -h | FileCheck --check-prefix=STRIP-USAGE %s --match-full-lines 10 # RUN: llvm-strip --help | FileCheck --check-prefix=STRIP-USAGE %s --match-full-lines 11 # RUN: not llvm-strip 2>&1 | FileCheck --check-prefix=STRIP-USAGE %s --match-full-lines 12 # RUN: not llvm-strip -- 2>&1 | FileCheck --check-prefix=STRIP-USAGE %s --match-full-lines 17 … llvm-install-name-tool -h | FileCheck --check-prefix=INSTALL-NAME-TOOL-USAGE %s --match-full-lines 18 …m-install-name-tool --help | FileCheck --check-prefix=INSTALL-NAME-TOOL-USAGE %s --match-full-lines [all …]
|
/llvm-project/llvm/utils/lit/tests/Inputs/shtest-define/ |
H A D | line-number-substitutions.txt | 1 # Does it work as expected directly in RUN lines? 8 # DEFINE: %{lines} = %(line) 9 # RUN: echo '%{lines}' 12 # REDEFINE: %{lines} = %(line), \ 15 # RUN: echo '%{lines}' 20 # DEFINE: %{lines-rel} = %(line+1), \ 23 # RUN: echo '%{lines-rel}' 26 # REDEFINE: %{lines-rel} = %(line+5), \ 29 # RUN: echo '%{lines-rel}'
|
/llvm-project/cross-project-tests/debuginfo-tests/dexter/dex/command/ |
H A D | ParseCommand.py | 219 msg: str, path: str, lines: list, point: TextPoint 223 err.src = lines[point.line].rstrip() 387 lines = fp.readlines() 389 test_file, lines, valid_commands, source_root_dir 440 def _find_all_commands_in_lines(self, lines): argument 441 """Use DExTer parsing methods to find all the mock commands in lines. 447 __file__, lines, self.valid_commands, None 451 def _find_all_mock_values_in_lines(self, lines): argument 452 """Use DExTer parsing methods to find all mock command values in lines. 455 values (list(str)): MockCmd values found in lines [all...] |
/llvm-project/lldb/test/API/tools/lldb-dap/launch/ |
H A D | TestDAP_launch.py | 27 lines = output.splitlines() 28 self.assertIn(program, lines[0], "make sure program path is in first argument") 79 lines = output.splitlines() 81 for line in lines: 108 lines = output.splitlines() 111 for line in lines: 132 lines = output.splitlines() 135 for line in lines: 174 lines = output.splitlines() 175 for line in lines [all...] |
/llvm-project/llvm/include/llvm/Testing/ADT/ |
H A D | StringMap.h | 29 std::vector<std::string> Lines; variable 33 Lines.push_back(SS.str()); 35 llvm::sort(Lines); 36 Lines.insert(Lines.begin(), "{"); 37 Lines.insert(Lines.end(), "}"); 40 make_range(Lines.begin(), Lines.end()))
|
/llvm-project/polly/test/ |
H A D | update_check.py | 5 # Update lit FileCheck files by replacing the 'CHECK:' lines by the actual output of the 'RUN:' command. 35 def ltrim_emptylines(lines, meta=None): argument 36 while len(lines) and emptyline.fullmatch(lines[0]): 37 del lines[0] 42 def rtrim_emptylines(lines): argument 43 while len(lines) and emptyline.fullmatch(lines[-1]): 44 del lines[-1] 47 def trim_emptylines(lines) argument 68 common_indent(lines) global() argument 80 classyfier1(lines) global() argument 202 classyfier2(lines) global() argument 489 writelines(lines) global() argument [all...] |
/llvm-project/openmp/runtime/test/affinity/format/ |
H A D | check.py | 13 self.lines = [] 19 self.lines = [l.rstrip("\r\n") for l in sys.stdin.readlines()] 44 if len(self.lines) == 0: 54 # If there are extra lines of output then raise Checks.CheckError 58 for idx, line in enumerate(self.lines): 66 del self.lines[index] 67 if len(self.lines) != 0: 69 "{}: Extra output: {}".format(self.prefix, self.lines) 76 a program against "CHECK" lines in filename"""
|
/llvm-project/llvm/test/tools/llvm-ar/ |
H A D | full-path-option.test | 22 RUN: llvm-ar t display.a a/foo.txt | FileCheck %s --check-prefix=DISPLAY-FOUND --match-full-lines 32 RUN: llvm-ar t del1.a a/foo.txt | FileCheck %s --check-prefix=DISPLAY-FOUND --match-full-lines 42 RUN: llvm-ar t add.a | FileCheck %s --check-prefix=ADD --match-full-lines 53 RUN: llvm-ar t add-inc.a | FileCheck %s --check-prefix=ADD-INC --match-full-lines 64 RUN: llvm-ar t nested.a | FileCheck %s --check-prefix=NESTED --match-full-lines 73 RUN: llvm-ar p add.a foo.txt | FileCheck %s --check-prefix=PRINT-PARENT --match-full-lines 74 RUN: llvm-ar p add.a a/foo.txt | FileCheck %s --check-prefix=PRINT-A --match-full-lines 75 RUN: llvm-ar p add.a b/foo.txt | FileCheck %s --check-prefix=PRINT-B --match-full-lines 83 RUN: llvm-ar t add.a foo.txt | FileCheck %s --check-prefix=LIST-PARENT --match-full-lines 84 RUN: llvm-ar t add.a a/foo.txt | FileCheck %s --check-prefix=LIST-A --match-full-lines [all …]
|
/llvm-project/clang/test/SemaOpenCL/ |
H A D | features.cl | 2 // RUN: | FileCheck -match-full-lines %s --check-prefix=NO-FEATURES 4 // RUN: | FileCheck -match-full-lines %s --check-prefix=FEATURES 6 // RUN: | FileCheck -match-full-lines %s --check-prefix=NO-FEATURES 8 // RUN: | FileCheck -match-full-lines %s --check-prefix=FEATURES 10 // RUN: | FileCheck -match-full-lines %s --check-prefix=NO-FEATURES 12 // RUN: | FileCheck -match-full-lines %s --check-prefix=FEATURES 14 // RUN: | FileCheck -match-full-lines %s --check-prefix=NO-FEATURES 16 // RUN: | FileCheck -match-full-lines %s --check-prefix=FEATURES 21 // RUN: | FileCheck -match-full-lines %s --check-prefix=NO-FEATURES 23 // RUN: | FileCheck -match-full-lines %s --check-prefix=NO-FEATURES [all …]
|