Home
last modified time | relevance | path

Searched full:output (Results 1 – 25 of 6092) sorted by relevance

12345678910>>...244

/llvm-project/lldb/test/API/tools/lldb-dap/launch/
H A DTestDAP_launch.py25 output = self.get_stdout()
26 self.assertTrue(output and len(output) > 0, "expect program output")
27 lines = output.splitlines()
77 output = self.get_stdout()
78 self.assertTrue(output and len(output) > 0, "expect program output")
79 lines = output
[all...]
/llvm-project/llvm/test/Bitcode/
H A Dinvalid.test2 RUN: not llvm-dis -disable-output %p/Inputs/invalid-empty.bc 2>&1 | \
4 RUN: not llvm-dis -disable-output %p/Inputs/invalid-pr20485.bc 2>&1 | \
6 RUN: not llvm-dis -disable-output %p/Inputs/invalid-abbrev.bc 2>&1 | \
8 RUN: not llvm-dis -disable-output %p/Inputs/invalid-unexpected-eof.bc 2>&1 | \
10 RUN: not llvm-dis -disable-output %p/Inputs/invalid-bad-abbrev-number.bc 2>&1 | \
12 RUN: not llvm-dis -disable-output %p/Inputs/invalid-type-table-forward-ref.bc 2>&1 | \
14 RUN: not llvm-dis -disable-output %p/Inputs/invalid-bitwidth.bc 2>&1 | \
16 RUN: not llvm-dis -disable-output %p/Inputs/invalid-align.bc 2>&1 | \
18 RUN: not llvm-dis -disable-output %p/Inputs/invalid-call-non-function-explicit-type.bc 2>&1 | \
20 RUN: not llvm-dis -disable-output
[all...]
/llvm-project/llvm/test/tools/llvm-reduce/
H A Dfile-output-type.test4 # RUN: llvm-as -o test-output-format.bc %p/Inputs/test-output-format.ll
6 # A .ll input file should default to text output in reduced.ll
7 …instructions --test FileCheck --test-arg %s --test-arg --input-file %p/Inputs/test-output-format.ll
8 # RUN: llvm-as -disable-output reduced.ll
11 # A .bc input file should default to bitcode output, in reduced.bc (with bitcode intermediates)
13 …m-dis-and-filecheck.py --test-arg llvm-dis --test-arg FileCheck --test-arg %s test-output-format.bc
14 # RUN: llvm-dis -disable-output reduced.bc
17 # A .bc input file with a requested .bc output should produce bitcode
18 …m-dis-and-filecheck.py --test-arg llvm-dis --test-arg FileCheck --test-arg %s test-output-format.bc
19 # RUN: llvm-dis -disable-output %t.0.bc
[all …]
/llvm-project/llvm/test/tools/obj2yaml/ELF/
H A Dimplicit-sections-order.yaml11 # RUN: obj2yaml %t1.so | FileCheck %s --check-prefix=OUTPUT
35 # OUTPUT: --- !ELF
36 # OUTPUT-NEXT: FileHeader:
37 # OUTPUT-NEXT: Class: ELFCLASS64
38 # OUTPUT-NEXT: Data: ELFDATA2LSB
39 # OUTPUT-NEXT: Type: ET_DYN
40 # OUTPUT-NEXT: Sections:
41 # OUTPUT-NEXT: - Name: .foo.1
42 # OUTPUT-NEXT: Type: SHT_PROGBITS
43 # OUTPUT-NEXT: - Name: .dynsym
[all …]
/llvm-project/lldb/test/API/python_api/sbstructureddata/
H A DTestStructuredDataAPI.py53 self.fail("FAILED: could not find key_float in description output")
180 output = string_struct.GetStringValue(25)
181 if not "STRING" in output:
182 self.fail("wrong output: " + output)
186 output = string_struct.GetIntegerValue()
187 if output:
189 "Valid integer value " + str(output) + " returned for a string object"
206 output = uint_struct.GetUnsignedIntegerValue()
207 if not output
[all...]
/llvm-project/llvm/tools/llvm-ifs/
H A DOpts.td17 …t : Eq<"hint-ifs-target", "When --output-format is 'IFS', this flag will hint the expected target …
20 defm output : Eq<"output", "Output file **DEPRECATED**">;
21 def : Separate<["-"], "o">, HelpText<"Alias for --output">, Alias<output_EQ>;
22 defm output_elf : Eq<"output-elf", "Output path for ELF file">;
23 defm output_format : Eq<"output-format", "Specify the output file format **DEPRECATED**">;
24 defm output_ifs : Eq<"output-ifs", "Output path for IFS file">;
25 defm output_tbd : Eq<"output-tbd", "Output path for TBD file">;
27 …trip_ifs_arch : FF<"strip-ifs-arch", "Strip target architecture information away from IFS output">;
28 …ifs_bitwidth : FF<"strip-ifs-bitwidth", "Strip target bit width information away from IFS output">;
29 …ndianness : FF<"strip-ifs-endianness", "Strip target endianness information away from IFS output">;
[all …]
/llvm-project/clang/test/CodeGenOpenCL/
H A Dkernels-have-spir-cc-by-default.cl27 kernel void test_single(int_single input, global int* output) {
31 // CHECK: ptr noundef writeonly align 4 captures(none) initializes((0, 4)) %output
32 output[0] = input.a;
35 kernel void test_pair(int_pair input, global int* output) {
39 // CHECK: ptr noundef writeonly align 4 captures(none) initializes((0, 8)) %output
40 output[0] = (int)input.a;
41 output[1] = (int)input.b;
44 kernel void test_kernel(test_struct input, global int* output) {
48 // CHECK: ptr noundef writeonly align 4 captures(none) initializes((0, 32)) %output
49 output[
[all...]
/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/
H A Ddn_expand.cpp14 char output[1024]; in testWrite() local
16 int res = dn_expand(input, input + sizeof(input), input + 23, output, in testWrite()
17 sizeof(output)); in testWrite()
20 assert(strcmp(output, "google\\.com") == 0); in testWrite()
21 check_mem_is_good(output, strlen(output) + 1); in testWrite()
29 char output[1024]; in testWriteZeroLength() local
31 int res = dn_expand(input, input + sizeof(input), input + 23, output, in testWriteZeroLength()
32 sizeof(output)); in testWriteZeroLength()
35 assert(strcmp(output, "") == 0); in testWriteZeroLength()
36 check_mem_is_good(output, strlen(output) + 1); in testWriteZeroLength()
[all …]
/llvm-project/llvm/lib/Support/
H A DYAMLTraits.cpp480 // Output
483 Output::Output(raw_ostream &yout, void *context, int WrapColumn)
486 Output::~Output() = default;
488 bool Output::outputting() const {
492 void Output::beginMapping() {
498 bool Output::mapTag(StringRef Tag, bool Use) {
511 output(" "); in mapTag()
513 output(Ta in mapTag()
484 Output::Output(raw_ostream &yout, void *context, int WrapColumn) Output() function in Output
767 void Output::output(StringRef s) { output() function in Output
772 void Output::output(StringRef S, QuotingType MustQuote) { output() function in Output
909 void ScalarTraits<bool>::output(const bool &Val, void *, raw_ostream &Out) { output() function in ScalarTraits
921 void ScalarTraits<StringRef>::output(const StringRef &Val, void *, output() function in ScalarTraits
932 void ScalarTraits<std::string>::output(const std::string &Val, void *, output() function in ScalarTraits::string
943 void ScalarTraits<uint8_t>::output(const uint8_t &Val, void *, output() function in ScalarTraits
960 void ScalarTraits<uint16_t>::output(const uint16_t &Val, void *, output() function in ScalarTraits
976 void ScalarTraits<uint32_t>::output(const uint32_t &Val, void *, output() function in ScalarTraits
992 void ScalarTraits<uint64_t>::output(const uint64_t &Val, void *, output() function in ScalarTraits
1006 void ScalarTraits<int8_t>::output(const int8_t &Val, void *, raw_ostream &Out) { output() function in ScalarTraits
1022 void ScalarTraits<int16_t>::output(const int16_t &Val, void *, output() function in ScalarTraits
1037 void ScalarTraits<int32_t>::output(const int32_t &Val, void *, output() function in ScalarTraits
1052 void ScalarTraits<int64_t>::output(const int64_t &Val, void *, output() function in ScalarTraits
1065 void ScalarTraits<double>::output(const double &Val, void *, raw_ostream &Out) { output() function in ScalarTraits
1075 void ScalarTraits<float>::output(const float &Val, void *, raw_ostream &Out) { output() function in ScalarTraits
1085 void ScalarTraits<Hex8>::output(const Hex8 &Val, void *, raw_ostream &Out) { output() function in ScalarTraits
1099 void ScalarTraits<Hex16>::output(const Hex16 &Val, void *, raw_ostream &Out) { output() function in ScalarTraits
1113 void ScalarTraits<Hex32>::output(const Hex32 &Val, void *, raw_ostream &Out) { output() function in ScalarTraits
1127 void ScalarTraits<Hex64>::output(const Hex64 &Val, void *, raw_ostream &Out) { output() function in ScalarTraits
1139 void ScalarTraits<VersionTuple>::output(const VersionTuple &Val, void *, output() function in ScalarTraits
[all...]
H A DCompression.cpp47 SmallVectorImpl<uint8_t> &Output) { in compress() argument
50 zlib::compress(Input, Output, P.level); in compress()
53 zstd::compress(Input, Output, P.level, P.zstdEnableLdm); in compress()
59 uint8_t *Output, size_t UncompressedSize) { in decompress() argument
62 return zlib::decompress(Input, Output, UncompressedSize); in decompress()
64 return zstd::decompress(Input, Output, UncompressedSize); in decompress()
70 SmallVectorImpl<uint8_t> &Output, in decompress() argument
74 return zlib::decompress(Input, Output, UncompressedSize); in decompress()
76 return zstd::decompress(Input, Output, UncompressedSize); in decompress()
82 SmallVectorImpl<uint8_t> &Output, in decompress() argument
123 decompress(ArrayRef<uint8_t> Input,uint8_t * Output,size_t & UncompressedSize) decompress() argument
136 decompress(ArrayRef<uint8_t> Input,SmallVectorImpl<uint8_t> & Output,size_t UncompressedSize) decompress() argument
204 decompress(ArrayRef<uint8_t> Input,uint8_t * Output,size_t & UncompressedSize) decompress() argument
218 decompress(ArrayRef<uint8_t> Input,SmallVectorImpl<uint8_t> & Output,size_t UncompressedSize) decompress() argument
234 decompress(ArrayRef<uint8_t> Input,uint8_t * Output,size_t & UncompressedSize) decompress() argument
239 decompress(ArrayRef<uint8_t> Input,SmallVectorImpl<uint8_t> & Output,size_t UncompressedSize) decompress() argument
[all...]
/llvm-project/clang/test/Driver/
H A Dclang-offload-bundler.c56 // CK-HELP: {{.*}}-output=<string> - Output file. Can be specified multiple times for multiple ou…
57 // CK-HELP: {{.*}}-outputs=<string> - [<output file>,...] (deprecated)
61 // CK-HELP: {{.*}}i {{.*}}- cpp-output
62 // CK-HELP: {{.*}}ii {{.*}}- c++-cpp-output
70 // CK-HELP: {{.*}}-unbundle {{.*}}- Unbundle bundled file into several output files.
75 …nu,openmp-x86_64-pc-linux-gnu -input=%t.i -input=%t.tgt1 -input=%t.tgt2 -output=%t.bundle.i -unbun…
78 …openmp-powerpc64le-ibm-linux-gnu,openmp-x86_64-pc-linux-gnu -input=%t.i -output=%t.bundle.i -unbun…
79 // CK-ERR1A: error: number of output files and targets should match in unbundling mode
81 …nmp-powerpc64le-ibm-linux-gnu -input=%t.i -input=%t.tgt1 -input=%t.tgt2 -output=%t.bundle.i 2>&1 |…
82 …4le-ibm-linux-gnu,openmp-x86_64-pc-linux-gnu -input=%t.i -input=%t.tgt1 -output=%t.bundle.i 2>&1 |…
[all …]
H A Ddarwin-dsymutil.c8 // CHECK-MULTIARCH-ACTIONS: 1: preprocessor, {0}, cpp-output
22 …IARCH-BINDINGS: "x86_64-apple-darwin11" - "darwin::Lipo", inputs: [{{.*}}, {{.*}}], output: "a.out"
23 …H-BINDINGS: # "x86_64-apple-darwin11" - "darwin::Dsymutil", inputs: ["a.out"], output: "a.out.dSYM"
25 // Check output name derivation.
30 // RUN: -check-prefix=CHECK-OUTPUT-NAME < %t %s
35 // RUN: -check-prefix=CHECK-OUTPUT-NAME < %t %s
40 // RUN: -check-prefix=CHECK-OUTPUT-NAME < %t %s
42 // CHECK-OUTPUT-NAME: "x86_64-apple-darwin11" - "darwin::Linker", inputs: [{{.*}}], output: "[[outf…
43 // CHECK-OUTPUT-NAME: "x86_64-apple-darwin11" - "darwin::Dsymutil", inputs: ["[[outfile]]"], output
45 // Check output name derivation for multiple -arch options.
[all …]
H A Dhip-output-file-name.hip1 // Output bundled code objects for combined compilation.
6 // CHECK: {{.*}}clang-offload-bundler{{.*}}"-output=hip-output-file-name.o"
8 // Check -E default output is "-" (stdout).
10 // is used to bundle the final output.
12 // Output bundled PPE for one GPU for mixed compliation.
17 // Output unbundled PPE for one GPU for device only compilation.
22 // Output bundled PPE for two GPUs for mixed compilation.
27 // Output bundled PPE for two GPUs for mixed compilation with -save-temps.
32 // Output unbundled PPE for two GPUs for device only compilation.
37 // Output bundled PPE for two GPUs for device only compilation with --gpu-bundle-output.
[all …]
H A Dmodule-output.cppm5 // On AIX, the default output for `-c` may be `.s` instead of `.o`,
14 // output and the name of the .pcm file should be the same with the input file.
15 // RUN: %clang -std=c++20 %t/Hello.cppm -fmodule-output -c -o %t/output/Hello.o \
18 // Tests that the output file will be generated in the input directory if the output
20 // RUN: %clang -std=c++20 %t/Hello.cppm %t/AnotherModule.cppm -fmodule-output -o \
21 // RUN: %t/output/a.out -### 2>&1 | FileCheck %t/AnotherModule.cppm
23 // Tests that clang will reject the command line if it specifies -fmodule-output with
25 // RUN: not %clang %t/Hello.cppm -fmodule-output
[all...]
H A Dhip-binding.hip7 // NRDCS: # "amdgcn-amd-amdhsa" - "clang", inputs: ["[[IN:.*hip-binding.hip]]"], output: "[[OBJ1:.*…
8 // NRDCS: # "amdgcn-amd-amdhsa" - "AMDGCN::Linker", inputs: ["[[OBJ1]]"], output: "[[IMG1:.*]]"
9 // NRDCS: # "amdgcn-amd-amdhsa" - "clang", inputs: ["[[IN:.*hip-binding.hip]]"], output: "[[OBJ2:.*…
10 // NRDCS: # "amdgcn-amd-amdhsa" - "AMDGCN::Linker", inputs: ["[[OBJ2]]"], output: "[[IMG2:.*]]"
11 // NRDCS: # "amdgcn-amd-amdhsa" - "AMDGCN::Linker", inputs: ["[[IMG1]]", "[[IMG2]]"], output: "[[FA…
12 // NRDCS: # "x86_64-unknown-linux-gnu" - "clang", inputs: ["[[IN]]", "[[FATBIN]]"], output: "{{.*}}"
17 // RDCS: # "amdgcn-amd-amdhsa" - "clang", inputs: ["[[IN:.*hip-binding.hip]]"], output: "[[BC1:.*bc…
18 // RDCS: # "amdgcn-amd-amdhsa" - "clang", inputs: ["[[IN:.*hip-binding.hip]]"], output: "[[BC2:.*bc…
19 // RDCS: # "x86_64-unknown-linux-gnu" - "clang", inputs: ["[[IN]]"], output: "[[HOSTOBJ:.*o]]"
20 …own-linux-gnu" - "offload bundler", inputs: ["[[BC1]]", "[[BC2]]", "[[HOSTOBJ]]"], output: "{{.*}}"
[all …]
/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.relative/
H A Drelative.pass.cpp33 const fs::path output = fs::weakly_canonical(p); in test_signature_0() local
34 assert(output == fs::path::string_type(fs::current_path())); in test_signature_0()
39 const fs::path output = fs::weakly_canonical(p); in test_signature_1() local
40 assert(output == fs::path::string_type(fs::current_path())); in test_signature_1()
46 const fs::path output = fs::weakly_canonical(p); in test_signature_2() local
47 assert(output == fs::path::string_type(static_env.File)); in test_signature_2()
53 const fs::path output = fs::weakly_canonical(p); in test_signature_3() local
54 assert(output == fs::path::string_type(static_env.Dir)); in test_signature_3()
60 const fs::path output = fs::weakly_canonical(p); in test_signature_4() local
61 assert(output == fs::path::string_type(static_env.Dir)); in test_signature_4()
[all …]
/llvm-project/clang/utils/ABITest/
H A DABITestGen.py18 output, argument
25 self.output = output
38 self.output,
47 print("#include <stdio.h>\n", file=self.output)
54 for f in (self.output, self.outputTests, self.outputDriver):
67 print("int main(int argc, char **argv) {", file=self.output)
68 print(" int index = -1;", file=self.output)
69 print(" if (argc > 1) index = atoi(argv[1]);", file=self.output)
71 print(" if (index == -1 || index == %d)" % i, file=self.output)
72 print(" %s();" % f, file=self.output)
[all …]
/llvm-project/llvm/utils/lit/tests/Inputs/shtest-shell/
H A Dvalid-shell.txt
/llvm-project/llvm/docs/CommandGuide/
H A Dllvm-objcopy.rst9 :program:`llvm-objcopy` [*options*] *input* [*output*]
15 usage, it makes a semantic copy of the input to the output. If any options are
16 specified, the output may be modified along the way, e.g. by removing sections.
18 If no output file is specified, the input file is modified in-place. If "-" is
20 input stream. If "-" is specified for the output file, the output is written to
21 the standard output stream of the program.
37 Add a .gnu_debuglink section for ``<debug-file>`` to the output.
42 output. For ELF objects the section will be of type `SHT_NOTE`, if the name
60 Remove most local symbols from the output
[all...]
/llvm-project/offload/utils/
H A Dgenerate_microtask_cases.py14 parser.add_argument("--output", help="Output header file to include", required=True)
17 output = ""
19 output += "case %d:\n" % (i)
20 output += "((void (*)(kmp_int32 *, kmp_int32 *\n"
22 output += ", void *"
24 output += "\n"
25 output += "))fn)(&global_tid, &bound_tid\n"
27 output += ", args[%d]" % (j)
29 output += "\n"
30 output += ");\n"
[all …]
/llvm-project/llvm/utils/gn/build/toolchain/
H A DBUILD.gn3 unix_copy_command = "ln -f {{source}} {{output}} 2>/dev/null || (rm -rf {{output}} && cp -af {{source}} {{output}})"
28 depfile = "{{output}}.d"
29 command = "$cc -MMD -MF $depfile -o {{output}} -c {{source}} {{defines}} {{include_dirs}} {{cflags}} {{cflags_c}}"
31 description = "CC {{output}}"
36 depfile = "{{output}}.d"
37 command = "$cxx -MMD -MF $depfile -o {{output}} -c {{source}} {{defines}} {{include_dirs}} {{cflags}} {{cflags_cc}}"
39 description = "CXX {{output}}"
44 depfile = "{{output}}
[all...]
/llvm-project/lld/test/ELF/
H A Dearly-exit-for-bad-paths.s4 # RUN: not ld.lld %t.o -o does_not_exist/output 2>&1 | \
5 # RUN: FileCheck %s -check-prefixes=NO-DIR-OUTPUT,CHECK
7 # RUN: FileCheck %s -check-prefixes=DIR-IS-OUTPUT,CHECK
9 # RUN: echo "OUTPUT(\"does_not_exist/output\")" > %t.script
11 # RUN: FileCheck %s -check-prefixes=NO-DIR-OUTPUT,CHECK
12 # RUN: echo "OUTPUT(\"%s/dir_is_a_file\")" > %t.script
14 # RUN: FileCheck %s -check-prefixes=DIR-IS-OUTPUT,CHECK
16 # RUN: not ld.lld %t.o -o %t -Map=does_not_exist/output 2>&1 | \
21 # NO-DIR-OUTPUT: error: cannot open output file does_not_exist/output:
22 # DIR-IS-OUTPUT: error: cannot open output file {{.*}}/dir_is_a_file:
[all …]
/llvm-project/llvm/test/Other/
H A Dpass-pipeline-parsing.ll1 ; RUN: opt -disable-output -debug-pass-manager \
7 ; RUN: opt -disable-output -debug-pass-manager \
13 ; RUN: opt -disable-output -debug-pass-manager \
19 ; RUN: opt -disable-output -debug-pass-manager \
25 ; RUN: opt -disable-output -debug-pass-manager \
33 ; RUN: opt -disable-output -debug-pass-manager \
39 ; RUN: opt -disable-output -debug-pass-manager \
46 ; RUN: opt -disable-output -debug-pass-manager \
53 ; RUN: opt -disable-output -debug-pass-manager \
64 ; RUN: not opt -disable-output
[all...]
/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMsgPackWriter.h17 /// raw_ostream output = GetOutputStream();
18 /// msgpack::Writer MPWriter(output);
40 /// Writes MessagePack objects to an output stream, one at a time.
49 /// \param OS stream to output MessagePack objects to.
56 /// Write a \em Nil to the output stream.
58 /// The output will be the \em nil format.
61 /// Write a \em Boolean to the output stream.
63 /// The output will be a \em bool format.
66 /// Write a signed integer to the output stream.
68 /// The output will be in the smallest possible \em int format.
[all …]
/llvm-project/clang/test/ExtractAPI/
H A Dlanguage.c4 // RUN: %t/c.reference.output.json.in >> %t/c.reference.output.json
6 // RUN: %t/objc.reference.output.json.in >> %t/objc.reference.output.json
8 // RUN: %t/objcpp.reference.output.json.in >> %t/objcpp.reference.output.json
11 // RUN: %t/c.h -o %t/c.output.json | FileCheck -allow-empty %s
13 // RUN: %t/objc.h -o %t/objc.output.json | FileCheck -allow-empty %s
15 // RUN: %t/objcpp.h -o %t/objcpp.output.json | FileCheck -allow-empty %s
19 // RUN: %t/c.output.json >> %t/c.output-normalized.json
21 // RUN: %t/objc.output.json >> %t/objc.output-normalized.json
23 // RUN: %t/objcpp.output.json >> %t/objcpp.output-normalized.json
25 // RUN: diff %t/c.reference.output.json %t/c.output-normalized.json
[all …]

12345678910>>...244