| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/ |
| H A D | narrowing-conversions-bitfields.cpp | 61 void take(T); 64 take<char>(x.id); in test_parameter_passing() 66 take<short>(x.id); in test_parameter_passing() 69 take<int>(x.id); in test_parameter_passing() 71 take<long>(x.id); in test_parameter_passing() 76 take<char>(x.id); in test_parameter_passing() 82 take<long>(x.id); in test_parameter_passing() 87 take<char>(x.id); in test_parameter_passing() 93 take<long>(x.id); in test_parameter_passing() 98 take<char>(x.id); in test_parameter_passing() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.take/ |
| H A D | adaptor.pass.cpp | 45 auto result = input | std::views::take(N); in test_small_range() 71 auto const partial = std::views::transform(f) | std::views::take(3); in test() 84 auto const partial = std::views::take(3) | std::views::transform(f); in test() 96 static_assert(!std::is_invocable_v<decltype(std::views::take)>); in test() 98 static_assert( CanBePiped<SomeView&, decltype(std::views::take(3))>); in test() 99 static_assert( CanBePiped<int(&)[10], decltype(std::views::take(3))>); in test() 100 static_assert(!CanBePiped<int(&&)[10], decltype(std::views::take(3))>); in test() 101 static_assert(!CanBePiped<NotAView, decltype(std::views::take(3))>); in test() 108 static_assert(std::same_as<decltype(std::views::take), decltype(std::ranges::views::take)>); in test() 179 std::same_as<Result> decltype(auto) result = iota | std::views::take(3); in test() [all …]
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | block-args.c | 3 void take(void*); 6 take(^(int x){}); in test() 7 take(^(int x, int y){}); in test() 8 take(^(int x, int y){}); in test() 9 take(^(int x, // expected-note {{previous declaration is here}} in test() 13 take(^(int x) { return x+1; }); in test() 16 take(CP); in test()
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | complex-conversion.cpp | 3 template<typename T> void take(T); 12 …take<float>(Complex); // expected-error {{implicit conversion from '_Complex float' to 'float' is … in func() 13 …take<double>(1.0i); // expected-error {{implicit conversion from '_Complex double' to 'double' is … in func() 14 take<_Complex float>(Complex); in func() 17 take<bool>(Complex); in func()
|
| H A D | cxx1z-copy-omission.cpp | 31 void take(Noncopyable nc) {} in take() function 77 take({}); in test_expressions() 78 take(Noncopyable()); in test_expressions() 79 take(Noncopyable{}); in test_expressions() 80 take(make()); in test_expressions()
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | pass-by-value-noalias.cpp | 19 void take(Foo arg) {} in take() function 43 void take(NonTrivial arg) {} in take() function 59 void take(A arg) {} in take() function 71 take({&p}); // 1 in test() 72 take(CreateA(&p)); // 2 in test()
|
| H A D | strict-vtable-pointers.cpp | 229 void take(AnotherEmpty &); 238 take(noVptrs.empty); in noBarriers() 245 void take(HoldingVirtuals &); 254 take(u.h); in UnionsBarriers2() 274 void take(VirtualInBase &); 275 void take(VirtualInVBase &); 276 void take(VirtualInheritance &); 284 take(u.v1); in UnionsBarrier3() 287 take(u.v2); in UnionsBarrier3() 291 take(u.v3); in UnionsBarrier3()
|
| H A D | builtin-std-move.cpp | 14 extern "C" void take(T &&); 33 take(std::move(t)); in test() 36 take(std::move_if_noexcept(t)); in test() 39 take(std::forward<T&&>(t)); in test()
|
| /llvm-project-15.0.7/llvm/lib/Support/BLAKE3/ |
| H A D | blake3.c | 44 if (take > input_len) { in chunk_state_fill_buf() 45 take = input_len; in chunk_state_fill_buf() 48 memcpy(dest, input, take); in chunk_state_fill_buf() 50 return take; in chunk_state_fill_buf() 123 input += take; in chunk_state_update() 124 input_len -= take; in chunk_state_update() 145 input += take; in chunk_state_update() 146 input_len -= take; in chunk_state_update() 479 take = input_len; in llvm_blake3_hasher_update() 482 input_bytes += take; in llvm_blake3_hasher_update() [all …]
|
| /llvm-project-15.0.7/clang/test/CXX/temp/temp.param/ |
| H A D | p15-cxx0x.cpp | 83 typedef types<typename Take<_>::type...> take; typedef 88 template<unsigned N, typename...Ts> struct take { struct 90 …template inner<wrap<Ts>::template inner...>::take; // expected-error {{too few template arguments}} 97 using T1 = take<3, int, char, double, long>::type; // expected-note {{previous}} 104 using T2 = take<4, int, char, double, long>::type; // expected-note {{previous}} 112 using T3 = take<5, int, char, double, long>::type; // expected-note {{in instantiation of}}
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCScheduleP10.td | 120 // A BR pipeline may take 2 cycles to complete. 125 // A CY pipeline may take 7 cycles to complete. 268 // A DX pipeline may take 5 cycles to complete. 273 // A F2 pipeline may take 4 cycles to complete. 287 // A LD pipeline may take 6 cycles to complete. 292 // A MF pipeline may take 13 cycles to complete. 302 // A MM pipeline may take 10 cycles to complete. 307 // A MU pipeline may take 5 cycles to complete. 312 // A PM pipeline may take 4 cycles to complete. 317 // A ST pipeline may take 3 cycles to complete. [all …]
|
| /llvm-project-15.0.7/clang/test/CodeGenObjC/ |
| H A D | pass-by-value-noalias.m | 20 // WITH_NOALIAS: define{{.*}} void @take(%struct.Foo* noundef %arg) 21 // NO_NOALIAS: define{{.*}} void @take(%struct.Foo* noundef %arg) 22 void take(struct Foo arg) {} function
|
| /llvm-project-15.0.7/lld/test/MachO/ |
| H A D | lto-common-symbol-resolution.ll | 23 ;; Defined symbols take precedence over common bitcode symbols. 37 ;; lld: Weak bitcode symbols take precedence over common bitcode symbols. 43 ;; Weak non-bitcode symbols take precedence over common bitcode symbols. 49 ;; ld64: Archive symbols take precedence over common bitcode symbols. 50 ;; lld: Common bitcode symbols take precedence over archive symbols. 58 ;; ld64: Dylib symbols take precedence over common bitcode symbols. 59 ;; lld: Common bitcode symbols take precedence over dylib symbols.
|
| H A D | lto-symbol-resolution.ll | 16 ;; Regular defined symbols take precedence over weak ones. 22 ;; Regular defined symbols take precedence over weak non-bitcode ones. 29 ;; ld64: Weak non-bitcode symbols take precedence over weak bitcode ones. 37 ;; Weak defined symbols take precedence over dylib symbols. 43 ;; Weak defined symbols take precedence over archive symbols. 55 ;; Archive symbols take precedence over weak dylib symbols.
|
| H A D | symbol-resolution.s | 20 ## Also check that defined symbols take precedence over dylib symbols. 29 ## But defined symbols should still take precedence.
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | LSPBinderTests.cpp | 55 std::vector<llvm::json::Value> take(llvm::StringRef Method) { in take() function 141 EXPECT_THAT(RawOutgoing.take("echo"), ElementsAre(llvm::json::Value(2))); in TEST() 148 EXPECT_THAT(RawOutgoing.take("wrongSignature"), in TEST() 156 EXPECT_THAT(RawOutgoing.take("fail"), ElementsAre(llvm::json::Value(2))); in TEST()
|
| /llvm-project-15.0.7/llvm/test/Verifier/ |
| H A D | dereferenceable-md.ll | 42 ; CHECK: dereferenceable, dereferenceable_or_null take one operand 51 ; CHECK: dereferenceable, dereferenceable_or_null take one operand 106 ; CHECK: dereferenceable, dereferenceable_or_null take one operand 113 ; CHECK: dereferenceable, dereferenceable_or_null take one operand
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | TokenKinds.def | 798 // The lexer produces these so that they only take effect when the parser 803 // The lexer produces these so that they only take effect when the parser 808 // The lexer produces these so that they only take effect when the parser 813 // The lexer produces these so that they only take effect when the parser 823 // The lexer produces these so that they only take effect when the parser 828 // The lexer produces these so that they only take effect when the parser 833 // The lexer produces these so that they only take effect when the parser 838 // The lexer produces these so that they only take effect when the parser 843 // The lexer produces these so that they only take effect when the parser 848 // The lexer produces these so that they only take effect when the parser [all …]
|
| /llvm-project-15.0.7/lld/test/ELF/linkerscript/ |
| H A D | out-of-order.s | 16 # .dynsym is not an orphan, so we take address from script, we assign 22 # must take responsibility to make sure this does not happen.
|
| /llvm-project-15.0.7/libc/docs/ |
| H A D | stdio.rst | 26 These functions take in format strings and arguments of various types and 70 ``FILE`` object type. They only take the name of the file being operated on.
|
| /llvm-project-15.0.7/llvm/test/Transforms/IndVarSimplify/ |
| H A D | cycled_phis.ll | 484 ; CHECK: take.same: 486 ; CHECK: take.increment: 488 ; CHECK: take.smax: 551 switch i32 %switch.cond, label %take.same 553 i32 1, label %take.increment 554 i32 2, label %take.smax 557 take.same: 560 take.increment: 563 take.smax: 569 [%iv.next, %take.increment], [all …]
|
| /llvm-project-15.0.7/polly/lib/External/isl/test_inputs/schedule/ |
| H A D | niewang.sc | 1 # In earlier versions of isl, this test case would take an inordinate 5 # would stand out if it were to take that long again.
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | pass-by-value-noalias.c | 16 void take(struct Foo arg) {} in take() function
|
| /llvm-project-15.0.7/llvm/bindings/ |
| H A D | README.txt | 2 programs written in languages other than C or C++ to take advantage of the LLVM
|
| /llvm-project-15.0.7/mlir/test/Examples/Toy/Ch4/ |
| H A D | invalid.mlir | 5 // - toy.print should take an argument.
|