Home
last modified time | relevance | path

Searched refs:returns (Results 1 – 25 of 587) sorted by relevance

12345678910>>...24

/llvm-project-15.0.7/openmp/libomptarget/plugins/remote/include/
H A Dopenmp.proto7 rpc Shutdown(Null) returns (I32) {}
10 rpc UnregisterLib(Pointer) returns (I32) {}
13 rpc GetNumberOfDevices(Null) returns (I32) {}
15 rpc InitDevice(I32) returns (I32) {}
16 rpc InitRequires(I64) returns (I32) {}
18 rpc LoadBinary(Binary) returns (TargetTable) {}
20 rpc DataAlloc(AllocData) returns (Pointer) {}
21 rpc DataDelete(DeleteData) returns (I32) {}
23 rpc DataSubmit(stream SubmitData) returns (I32) {}
27 rpc DataExchange(ExchangeData) returns (I32) {}
[all …]
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DFunctionRefTest.cpp52 std::string returns(StringRef) { return "not a function"; } in returns() function
53 std::string returns(function_ref<double()> F) { return "number"; } in returns() function
54 std::string returns(function_ref<StringRef()> F) { return "string"; } in returns() function
57 EXPECT_EQ("not a function", returns("boo!")); in TEST()
58 EXPECT_EQ("number", returns([] { return 42; })); in TEST()
59 EXPECT_EQ("string", returns([] { return "hello"; })); in TEST()
H A DFunctionExtrasTest.cpp266 std::string returns(StringRef) { return "not a function"; } in returns() function
267 std::string returns(unique_function<double()> F) { return "number"; } in returns() function
268 std::string returns(unique_function<StringRef()> F) { return "string"; } in returns() function
271 EXPECT_EQ("not a function", returns("boo!")); in TEST()
272 EXPECT_EQ("number", returns([] { return 42; })); in TEST()
273 EXPECT_EQ("string", returns([] { return "hello"; })); in TEST()
/llvm-project-15.0.7/llvm/bindings/ocaml/llvm/
H A Dllvm.mli438 (** [severity d] returns the severity of [d]. *)
712 (** [subtypes ty] returns [ty]'s subtypes *)
772 (** [type_of v] returns the type of the value [v].
812 (** [user u] returns the user of the use [u].
816 (** [used_value u] returns the usee of the use [u].
934 (** [mdnull c ] returns a null MDNode in context [c]. *)
937 (** [get_mdstring v] returns the MDString.
1278 (** [const_select cond t f] returns the constant conditional which returns value
1622 (** [params f] returns the parameters of function [f].
1818 (** [inst_clone i] returns a copy of instruction [i],
[all …]
/llvm-project-15.0.7/clang/test/Analysis/
H A Dnil-receiver-undefined-larger-than-voidptr-ret.m86 // CHECK-darwin8: warning: The receiver of message 'longDoubleM' is nil and returns a value of type…
87 // CHECK-darwin8: warning: The receiver of message 'longlongM' is nil and returns a value of type '…
88 // CHECK-darwin8: warning: The receiver of message 'doubleM' is nil and returns a value of type 'do…
89 // CHECK-darwin8: warning: The receiver of message 'unsignedLongLongM' is nil and returns a value o…
90 // CHECK-darwin8: warning: The receiver of message 'longlongM' is nil and returns a value of type '…
92 // CHECK-darwin9-NOT: warning: The receiver of message 'longlongM' is nil and returns a value of ty…
93 // CHECK-darwin9-NOT: warning: The receiver of message 'unsignedLongLongM' is nil and returns a val…
94 // CHECK-darwin9-NOT: warning: The receiver of message 'doubleM' is nil and returns a value of type…
95 // CHECK-darwin9-NOT: warning: The receiver of message 'longlongM' is nil and returns a value of ty…
96 // CHECK-darwin9-NOT: warning: The receiver of message 'longDoubleM' is nil and returns a value of …
H A Dretain-release-path-notes.m47 …id leaked = [[NSObject alloc] init]; // expected-note{{Method returns an instance of NSObject with…
57 …id leaked = [foo methodWithValue]; // expected-note{{Method returns an Objective-C object with a +…
65 …id leaked = foo.propertyValue; // expected-note{{Property returns an Objective-C object with a +0 …
96 …id object = foo.propertyValue; // expected-note{{Property returns an Objective-C object with a +0 …
120 …id result = self.propertyValue; // expected-note{{Property returns an Objective-C object with a +0…
125 …id result = self[0]; // expected-note{{Subscript returns an Objective-C object with a +0 retain co…
130 …id result = self[self]; // expected-note{{Subscript returns an Objective-C object with a +0 retain…
135 …id result = [[Foo alloc] init]; // expected-note{{Method returns an instance of Foo with a +1 reta…
140 …id result = [[Foo alloc] init]; // expected-note{{Method returns an instance of Foo with a +1 reta…
215 …self = [super init]; // expected-note 6 {{Method returns an instance of MyObj with a +1 retain cou…
[all …]
H A Dautoreleasewritechecker_test.m98 …easing out parameter inside autorelease pool that may exit before method returns; consider writing…
111 …easing out parameter inside autorelease pool that may exit before method returns; consider writing…
152 …easing out parameter inside autorelease pool that may exit before method returns; consider writing…
158 …easing out parameter inside autorelease pool that may exit before method returns; consider writing…
159 …easing out parameter inside autorelease pool that may exit before method returns; consider writing…
231 …sing out parameter inside autorelease pool that may exit before function returns; consider writing…
255 …sing out parameter inside autorelease pool that may exit before function returns; consider writing…
258 …sing out parameter inside autorelease pool that may exit before function returns; consider writing…
261 …sing out parameter inside autorelease pool that may exit before function returns; consider writing…
264 …sing out parameter inside autorelease pool that may exit before function returns; consider writing…
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/index/remote/
H A DService.proto18 rpc Lookup(LookupRequest) returns (stream LookupReply) {}
20 rpc FuzzyFind(FuzzyFindRequest) returns (stream FuzzyFindReply) {}
22 rpc Refs(RefsRequest) returns (stream RefsReply) {}
24 rpc Relations(RelationsRequest) returns (stream RelationsReply) {}
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dunsafe-perform-selector.m29 - (struct Struct)returnsStruct2; // expected-note {{method 'returnsStruct2' that returns 'struct St…
36 - (Union)returnsUnion; // expected-note 2 {{method 'returnsUnion' that returns 'Union' declared her…
45 - (Rectangle)returnsStruct; // expected-note 4 {{method 'returnsStruct' that returns 'Rectangle' de…
49 - (float3)returnsExtVector; // expected-note {{method 'returnsExtVector' that returns 'float3' (vec…
50 - (int4)returnsVector; // expected-note {{method 'returnsVector' that returns 'int4' (vector of 4 '…
52 + (Rectangle)returnsStructClass; // expected-note 2 {{method 'returnsStructClass' that returns 'Rec…
79 - (struct Struct)returnsSubStructExt; // expected-note {{method 'returnsSubStructExt' that returns
84 …rnsSubStructImpl { // expected-note {{method 'returnsSubStructImpl' that returns 'struct Struct' d…
100 …ctClassImpl { // expected-note {{method 'returnsSubStructClassImpl' that returns 'struct Struct' d…
/llvm-project-15.0.7/clang/test/Sema/
H A Dwarn-documentation.m87 /// \returns Aaa
91 /// \returns Aaa
98 /// \returns aaa.
237 * @returns integer.
246 * \returns integer.
257 * \returns integer.
266 * @returns integer.
274 * \returns integer.
283 * @returns integer.
291 * \returns integer.
[all …]
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Math/IR/
H A DMathOps.td76 floating point type (i.e., scalar, tensor or vector) and returns one result of
128 The `atan2` operation takes two operands and returns one result, all of
132 The 2-argument arcus tangent `atan2(y, x)` returns the angle in the
135 returns the angle on the basis of the ratio y/x.
188 The `copysign` returns a value with the magnitude of the first operand and
413 scalar, tensor or vector) and returns one result of the same type. It has no
464 The `fma` operation takes three operands and returns one result, each of
586 scalar, tensor or vector) and returns one result of the same type. Operands
648 of floating point type (i.e., scalar, tensor or vector) and returns one
668 of floating point type (i.e., scalar, tensor or vector) and returns one
[all …]
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DRedundantSmartptrGetCheck.cpp30 returns(qualType(pointsTo( in callToGet()
41 returns(qualType( in callToGet()
57 returns(qualType(pointsTo(type().bind("op->Type")))))), in registerMatchersForGetArrowStart()
58 has(cxxMethodDecl(hasName("operator*"), returns(qualType(references( in registerMatchersForGetArrowStart()
76 recordDecl(Smartptr, has(cxxConversionDecl(returns(booleanType()))))); in registerMatchersForGetArrowStart()
/llvm-project-15.0.7/llvm/bindings/ocaml/analysis/
H A Dllvm_analysis.mli14 (** [verify_module m] returns [None] if the module [m] is valid, and
19 (** [verify_function f] returns [true] if the function [f] is valid, and
23 (** [verify_module m] returns if the module [m] is valid, but prints a
29 (** [verify_function f] returns if the function [f] is valid, but prints a
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/android/
H A DCloexecOpenCheck.cpp22 functionDecl(isExternC(), returns(isInteger()), in registerMatchers()
27 functionDecl(isExternC(), returns(isInteger()), in registerMatchers()
/llvm-project-15.0.7/llvm/docs/
H A DTypeMetadata.rst122 backwards, if ``llvm.type.test`` returns true for a particular pointer,
212 %a1 = call i1 @foo(i32* @a) ; returns 1
213 %b1 = call i1 @foo(i32* @b) ; returns 1
214 %c1 = call i1 @foo(i32* @c) ; returns 0
215 %a2 = call i1 @bar(i32* @a) ; returns 0
216 %b2 = call i1 @bar(i32* @b) ; returns 1
217 %c2 = call i1 @bar(i32* @c) ; returns 1
218 %d02 = call i1 @bar(i32* getelementptr ([2 x i32]* @d, i32 0, i32 0)) ; returns 0
220 %e = call i1 @baz(void ()* @e) ; returns 1
221 %f = call i1 @baz(void ()* @f) ; returns 0
[all …]
/llvm-project-15.0.7/clang/test/ARCMT/
H A DGC-check-warn-nsalloc.m1 …apple-darwin10 -fobjc-gc-only %s 2>&1 | grep 'warning: \[rewriter\] call returns pointer to GC man…
2 …objc-gc-only -x objective-c++ %s 2>&1 | grep 'warning: \[rewriter\] call returns pointer to GC man…
/llvm-project-15.0.7/llvm/docs/TableGen/
H A DBackGuide.rst179 returns the ``list<int>`` type when called with the ``int`` type.
194 It returns an instance of ``Recty`` corresponding to the derived class.
313 * A function named ``GetValue()`` that returns the value of the instance
385 ``getValue()``. Instead, it provides ``getDef()``, which returns the
396 latter function returns the integer as an ``int64_t``.
439 latter function returns the ``StringRef``.
540 * ``getDefs()`` returns a ``RecordMap`` reference for all the concrete
546 * ``getAllDerivedDefinitions(``\ *classname*\ ``)`` returns a vector of
550 * ``getAllDerivedDefinitions(``\ *classnames*\ ``)`` returns
608 Here is a function that returns a field value as a ``Record``, but returns
[all …]
/llvm-project-15.0.7/libclc/generic/lib/relational/
H A Dsignbit.cl10 // The scalar version of signbit(double) returns an int, but the vector versions
24 // The scalar version of signbit(half) returns an int, but the vector versions
H A Disnan.cl10 // The scalar version of isnan(double) returns an int, but the vector versions
24 // The scalar version of isnan(half) returns an int, but the vector versions
H A Disinf.cl10 // The scalar version of isinf(double) returns an int, but the vector versions
23 // The scalar version of isinf(half) returns an int, but the vector versions
H A Disfinite.cl10 // The scalar version of isfinite(double) returns an int, but the vector versions
23 // The scalar version of isfinite(half) returns an int, but the vector versions
H A Disnormal.cl10 // The scalar version of isnormal(double) returns an int, but the vector versions
23 // The scalar version of isnormal(half) returns an int, but the vector versions
H A Disordered.cl15 // The scalar version of isordered(double, double) returns an int, but the vector versions
25 // The scalar version of isordered(half, half) returns an int, but the vector versions
H A Disnotequal.cl15 // The scalar version of isnotequal(double, double) returns an int, but the vector versions
25 // The scalar version of isnotequal(half, half) returns an int, but the vector versions
/llvm-project-15.0.7/llvm/test/TableGen/
H A Dintrinsic-struct.td35 // CHECK: returns_8_results = {{[0-9]+}}, // llvm.returns.8.results
36 def int_returns_8_results : Intrinsic<"llvm.returns.8.results",

12345678910>>...24