Home
last modified time | relevance | path

Searched refs:pipe (Results 1 – 25 of 133) sorted by relevance

123456

/llvm-project-15.0.7/clang/test/SemaOpenCL/
H A Dinvalid-pipes-cl2.0.cl8 global pipe int gp; // expected-error {{type '__global read_only pipe int' can only be u…
22 void test1(pipe int *p) {// expected-error {{pipes packet types cannot be of reference type}}
24 void test2(pipe p) {// expected-error {{missing actual type specifier for pipe}}
29pipe int p; // expected-error {{type '__private read_only pipe int' can only be used as a function…
30 //TODO: fix parsing of this pipe int (*p);
33 void test5(pipe int p) {
34 …alid operands to binary expression ('__private read_only pipe int' and '__private read_only pipe i…
35 …alid operands to binary expression ('__private read_only pipe int' and '__private read_only pipe i…
40 typedef pipe int pipe_int_t;
50 int f(pipe int x, int y); // expected-note {{previous declaration is here}}
[all …]
H A Dinvalid-pipe-builtin-cl2.0.cl5 void test1(read_only pipe int p, global int* ptr){
12 read_pipe(tmp, p); // expected-error {{first argument to 'read_pipe' must be a pipe type}}
18 write_pipe(p, ptr); // expected-error {{invalid pipe access modifier (expecting write_only)}}
19 …write_pipe(p, rid, tmp, ptr); // expected-error {{invalid pipe access modifier (expecting write…
29 …ad_pipe(tmp, rid); // expected-error{{first argument to 'commit_read_pipe' must be a pipe type}}
31 …sub_group_commit_write_pipe(p, tmp); // expected-error{{invalid pipe access modifier (expecting…
34 void test2(write_only pipe int p, global int* ptr){
41 write_pipe(tmp, p); // expected-error {{first argument to 'write_pipe' must be a pipe type}}
47 read_pipe(p, ptr); // expected-error {{invalid pipe access modifier (expecting read_only)}}
48 …read_pipe(p, rid, tmp, ptr); // expected-error {{invalid pipe access modifier (expecting read_o…
[all …]
H A Dinvalid-pipes-cl1.2.cl5 void foo(read_only pipe int p);
7 // expected-error@-2 {{OpenCL C version 3.0 does not support the 'pipe' type qualifier}}
8 // expected-error@-3 {{access qualifier can only be used for pipe and image type}}
10 // expected-error@-5 {{C++ for OpenCL version 2021 does not support the 'pipe' type qualifier}}
11 // expected-error@-6 {{access qualifier can only be used for pipe and image type}}
14 // expected-error@-9 {{access qualifier can only be used for pipe and image type}}
18 // 'pipe' should be accepted as an identifier.
19 typedef int pipe;
21 // expected-error@-2 {{OpenCL C version 3.0 does not support the 'pipe' type qualifier}}
24 // expected-error@-5 {{C++ for OpenCL version 2021 does not support the 'pipe' type qualifier}}
H A Daccess-qualifier.cl18 typedef read_only int IntRO; // expected-error {{access qualifier can only be used for pipe and ima…
88 kernel void k9(read_only int i){} // expected-error{{access qualifier can only be used for pipe and…
90 kernel void k10(read_only Int img){} // expected-error {{access qualifier can only be used for pipe
97 kernel void k13(read_write pipe int i){} // expected-error{{access qualifier 'read_write' can not b…
112 void myPipeWrite(write_only pipe int); // expected-note {{passing argument to parameter here}}
113 kernel void k14(read_only pipe int p) {
114 …expected-error {{passing '__private read_only pipe int' to parameter of incompatible type 'write_o…
119 …_write read_only read_only pipe int i){} // expected-error{{access qualifier 'read_write' can not …
120 kernel void pipe_ro_wo(read_only write_only pipe int i){} // expected-error{{multiple access qualif…
122 typedef read_only pipe int ROPipeInt;
[all …]
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/android/
H A Dcloexec-pipe.cpp3 extern "C" int pipe(int pipefd[2]);
7 pipe(pipefd); in warning()
13 int pipe(int pipefd[2]);
16 pipe(pipefd); in noWarningInNamespace()
22 int pipe(int pipefd[2]);
25 pipe(pipefd); in noWarningForMemberFunction()
/llvm-project-15.0.7/lldb/unittests/Core/
H A DCommunicationTest.cpp27 Pipe pipe; in TEST() local
28 ASSERT_THAT_ERROR(pipe.CreateNew(/*child_process_inherit=*/false).ToError(), in TEST()
33 pipe.ReleaseReadFileDescriptor(), /*owns_fd=*/true)); in TEST()
39 pipe.CloseWriteFileDescriptor(); in TEST()
48 Pipe pipe; in TEST() local
49 ASSERT_THAT_ERROR(pipe.CreateNew(/*child_process_inherit=*/false).ToError(), in TEST()
54 int write_fd = pipe.ReleaseWriteFileDescriptor(); in TEST()
59 ConnectionFileDescriptor read_conn{pipe.ReleaseReadFileDescriptor(), in TEST()
/llvm-project-15.0.7/clang/test/CodeGen/
H A D2008-07-31-asm-labels.c11 void pipe() asm("_thisIsNotAPipe");
14 pipe(); in f0()
17 void pipe(int);
20 pipe(1); in f1()
24 void pipe(int arg) { in pipe() function
/llvm-project-15.0.7/clang/test/Modules/
H A Dodr_hash.cl38 typedef read_only pipe int x;
41 typedef read_only pipe int x;
44 typedef read_only pipe int x;
45 typedef write_only pipe int y;
46 typedef read_write pipe int z;
50 typedef write_only pipe int x;
53 typedef read_only pipe float x;
56 typedef read_only pipe int x;
57 typedef write_only pipe int y;
58 typedef read_write pipe int z;
/llvm-project-15.0.7/clang/test/AST/
H A Dast-dump-pipe.cl11 typedef pipe int pipetype;
12 // CHECK: PipeType {{.*}} 'read_only pipe int'
15 typedef read_only pipe int pipetype2;
16 // CHECK: PipeType {{.*}} 'read_only pipe int'
19 typedef write_only pipe int pipetype3;
20 // CHECK: PipeType {{.*}} 'write_only pipe int'
/llvm-project-15.0.7/lldb/unittests/Host/
H A DPipeTest.cpp23 Pipe pipe; in TEST_F() local
25 ASSERT_THAT_ERROR(pipe.CreateWithUniqueName("PipeTest-CreateWithUniqueName", in TEST_F()
35 Pipe pipe; in TEST_F() local
37 ASSERT_THAT_ERROR(pipe.CreateWithUniqueName("PipeTest-OpenAsReader", in TEST_F()
48 pipe.OpenAsReader(name_ref, /*child_process_inherit=*/false).ToError(), in TEST_F()
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/android/
H A Dcloexec-pipe.rst1 .. title:: clang-tidy - android-cloexec-pipe
3 android-cloexec-pipe
6 This check detects usage of ``pipe()``. Using ``pipe()`` is not recommended, ``pipe2()`` is the
15 pipe(pipefd);
/llvm-project-15.0.7/clang/test/CodeGenOpenCL/
H A Dpipe_types.cl12 void test1(read_only pipe int p) {
18 void test2(write_only pipe float p) {
22 void test3(read_only pipe const int p) {
26 void test4(read_only pipe uchar3 p) {
30 void test5(read_only pipe int4 p) {
34 typedef read_only pipe int MyPipe;
46 read_only pipe struct Person SPipe) {
H A Dpipe_builtin.cl11 void test1(read_only pipe int p, global int *ptr) {
22 void test2(write_only pipe int p, global int *ptr) {
33 void test3(read_only pipe int p, global int *ptr) {
40 void test4(write_only pipe int p, global int *ptr) {
47 void test5(read_only pipe int p, global int *ptr) {
54 void test6(write_only pipe int p, global int *ptr) {
61 void test7(read_only pipe int p, global int *ptr) {
68 void test8(write_only pipe int p, global int *ptr) {
H A Dpipe_types_mangling.cl16 void test1(read_only pipe int p) {
23 void test2(write_only pipe float p) {
30 // It isn't possible to overload on pipe types in Linux mode
37 void test2(read_only pipe int p) {
44 void test3(read_only pipe const int p) {
51 void test4(read_only pipe uchar3 p) {
58 void test5(read_only pipe int4 p) {
64 typedef read_only pipe int MyPipe;
79 read_only pipe struct Person SPipe) {
H A Dkernel-arg-info.cl100 kernel void foo8(pipe int p1, pipe uchar p2, pipe uchar2 p3, const pipe uchar p4, write_only pipe u…
157 // CHECK: ![[PIPE_QUAL]] = !{!"pipe", !"pipe", !"pipe", !"pipe", !"pipe"}
/llvm-project-15.0.7/lldb/source/Interpreter/
H A DScriptInterpreter.cpp185 Pipe pipe; in ScriptInterpreterIORedirect() local
186 Status pipe_result = pipe.CreateNew(false); in ScriptInterpreterIORedirect()
188 lldb::file_t read_file = pipe.GetReadNativeHandle(); in ScriptInterpreterIORedirect()
189 pipe.ReleaseReadFileDescriptor(); in ScriptInterpreterIORedirect()
195 pipe.ReleaseReadFileDescriptor(), true); in ScriptInterpreterIORedirect()
205 FILE *outfile_handle = fdopen(pipe.ReleaseWriteFileDescriptor(), "w"); in ScriptInterpreterIORedirect()
/llvm-project-15.0.7/lldb/source/Host/posix/
H A DProcessLauncherPosixFork.cpp261 PipePosix pipe; in LaunchProcess() local
263 error = pipe.CreateNew(child_processes_inherit); in LaunchProcess()
278 pipe.CloseReadFileDescriptor(); in LaunchProcess()
279 ChildFunc(pipe.ReleaseWriteFileDescriptor(), fork_launch_info); in LaunchProcess()
284 pipe.CloseWriteFileDescriptor(); in LaunchProcess()
286 int r = read(pipe.GetReadFileDescriptor(), buf, sizeof buf); in LaunchProcess()
/llvm-project-15.0.7/lldb/test/API/tools/lldb-server/commandline/
H A DTestGdbRemoteConnection.py145 pipe = Pipe(self.getBuildDir())
147 self.addTearDownHook(lambda: pipe.close())
155 args += ["--named-pipe", pipe.name]
162 pipe.finish_connection(self.DEFAULT_TIMEOUT)
163 port = pipe.read(10, self.DEFAULT_TIMEOUT)
/llvm-project-15.0.7/lldb/tools/lldb-server/
H A DLLGSOptions.td20 defm named_pipe: SJ<"named-pipe", "Write port lldb-server will listen on to the given named pipe.">,
24 defm pipe: SJ<"pipe", "Write port lldb-server will listen on to the given file descriptor.">,
/llvm-project-15.0.7/lld/test/COFF/Inputs/
H A Dmanifestdependency-drectve.yaml10 # (pipe into `xxd -p -r` to recover raw contents; pipe into `xxd -p` to put
/llvm-project-15.0.7/clang/test/PCH/
H A Docl_types.h64 void int_pipe_function(pipe int);
66 void person_pipe_function(pipe Person);
H A Docl_types.cl30 void foo9(pipe int P) {
34 void foo10(pipe Person P) {
/llvm-project-15.0.7/mlir/utils/jupyter/mlir_opt_kernel/
H A Dkernel.py138 pipe = Popen(command,
141 output, errors = pipe.communicate()
142 exitcode = pipe.returncode
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64SchedFalkor.td40 def FalkorUnitLD : ProcResource<1>; // Load pipe
42 def FalkorUnitST : ProcResource<1>; // Store pipe
48 def FalkorUnitVX : ProcResource<1>; // Vector X-pipe
49 def FalkorUnitVY : ProcResource<1>; // Vector Y-pipe
/llvm-project-15.0.7/lldb/docs/man/
H A Dlldb-server.rst56 is zero, a random port will be selected, and written as specified by --pipe
57 or --named-pipe options.
63 .. option:: --named-pipe <name>
65 Write the listening port number to the specified named pipe.
67 .. option:: --pipe <fd>
69 Write the listening port number to the specified pipe (fd).

123456