Home
last modified time | relevance | path

Searched full:from (Results 1 – 25 of 11409) sorted by relevance

12345678910>>...457

/llvm-project/clang/unittests/Format/
H A DSortImportsTestJS.cpp51 verifySort("import {sym} from 'a';\n" in TEST_F()
52 "import {sym} from 'b';\n" in TEST_F()
53 "import {sym} from 'c';\n" in TEST_F()
56 "import {sym} from 'a';\n" in TEST_F()
57 "import {sym} from 'b';\n" in TEST_F()
58 "import {sym} from 'c';\n" in TEST_F()
64 verifySort("import {sym} from 'a';\n" in TEST_F()
65 "import {sym} from 'b';\n" in TEST_F()
66 "import {sym} from 'c';\n" in TEST_F()
69 "import {sym} from 'a';\n" in TEST_F()
[all …]
/llvm-project/mlir/test/IR/
H A Dvisitors.mlir36 // CHECK: Visiting block ^bb0 from region 0 from operation 'builtin.module'
37 // CHECK: Visiting block ^bb0 from region 0 from operation 'func.func'
38 // CHECK: Visiting block ^bb0 from region 0 from operation 'scf.for'
39 // CHECK: Visiting block ^bb0 from region 0 from operation 'scf.if'
40 // CHECK: Visiting block ^bb0 from region 1 from operation 'scf.if'
43 // CHECK: Visiting region 0 from operation 'builtin.module'
44 // CHECK: Visiting region 0 from operation 'func.func'
45 // CHECK: Visiting region 0 from operation 'scf.for'
46 // CHECK: Visiting region 0 from operation 'scf.if'
47 // CHECK: Visiting region 1 from operation 'scf.if'
[all …]
/llvm-project/libcxx/test/std/concepts/concepts.lang/concept.derived/
H A Dderived_from.pass.cpp28 template <typename From, typename To>
30 { // From as pointer in CheckNotDerivedFromPointer()
31 static_assert(!std::derived_from<From*, To>); in CheckNotDerivedFromPointer()
32 static_assert(!std::derived_from<From*, const To>); in CheckNotDerivedFromPointer()
33 static_assert(!std::derived_from<From*, volatile To>); in CheckNotDerivedFromPointer()
34 static_assert(!std::derived_from<From*, const volatile To>); in CheckNotDerivedFromPointer()
37 static_assert(!std::derived_from<From*, To&>); in CheckNotDerivedFromPointer()
38 static_assert(!std::derived_from<From*, const To&>); in CheckNotDerivedFromPointer()
39 static_assert(!std::derived_from<From*, volatile To&>); in CheckNotDerivedFromPointer()
40 static_assert(!std::derived_from<From*, const volatile To&>); in CheckNotDerivedFromPointer()
[all …]
/llvm-project/clang/test/OpenMP/
H A Dtarget_update_from_messages.cpp70from(*this) // le45-error {{expected expression containing only member accesses and/or array secti… in foo()
72from(*(this->ptr)) // le45-error {{expected expression containing only member accesses and/or arra… in foo()
73from(*(this->S->i+this->S->p)) // le45-error {{expected expression containing only member accesses… in foo()
74from(*(this->S->i+this->S->s6[0].pp)) // le45-error {{expected expression containing only member a… in foo()
75from(*(a+this->ptr)) // le45-error {{expected expression containing only member accesses and/or ar… in foo()
76from(*(*(this->ptr)+a+this->ptr)) // le45-error {{expected expression containing only member acces… in foo()
77 #pragma omp target update from(*(this+this)) // expected-error {{invalid operands to binary express… in foo()
97 T from; in tmain() local
102 …a omp target update from // expected-error {{expected '(' after 'from'}} expected-error {{expected… in tmain()
103from( // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error {{expe… in tmain()
[all …]
H A Dtarget_exit_data_ast_print.cpp31 #pragma omp target exit data map(from: i) in tmain()
33 #pragma omp target exit data map(from: i) if (target exit data: j > 0) in tmain()
35 #pragma omp target exit data map(from: i) if (b) in tmain()
37 #pragma omp target exit data map(from: c) in tmain()
39 #pragma omp target exit data map(from: c) if(b>e) in tmain()
47 #pragma omp target exit data map(from: c) map(release: d) in tmain()
51 #pragma omp target exit data nowait map(from: i) in tmain()
53 #pragma omp target exit data nowait map(from: i) if (target exit data: j > 0) in tmain()
55 #pragma omp target exit data map(from: i) if (b) nowait in tmain()
57 #pragma omp target exit data map(from: c) nowait in tmain()
[all …]
H A Dtarget_exit_data_depend_messages.cpp31 #pragma omp target exit data map(from: i) depend // expected-error {{expected '(' after 'depend'}} in tmain()
33 #pragma omp target exit data map(from : i) depend( // omp4-error {{expected 'in', 'out', 'inout' or… in tmain()
35 #pragma omp target exit data map(from : i) depend() // omp4-error {{expected 'in', 'out', 'inout' o… in tmain()
37 #pragma omp target exit data map(from : i) depend(argc // omp4-error {{expected 'in', 'out', 'inout… in tmain()
39 #pragma omp target exit data map(from : i) depend(source : argc) // omp4-error {{expected 'in', 'ou… in tmain()
41 #pragma omp target exit data map(from : i) depend(source) // expected-error {{expected expression}}… in tmain()
43 …#pragma omp target exit data map(from: i) depend (in : argc)) // expected-warning {{extra tokens a… in tmain()
45 #pragma omp target exit data map(from : i) depend(out:) // expected-error {{expected expression}} in tmain()
47 #pragma omp target exit data map(from : foobool(argc)), depend(in, argc) // omp4-error {{expected e… in tmain()
49 …#pragma omp target exit data map(from: i) depend (out :S1) // expected-error {{'S1' does not refer… in tmain()
[all …]
/llvm-project/mlir/test/Dialect/Affine/
H A Dmemref-dependence-check.mlir12 // There is no dependence from store 0 to load 1 at depth if we take into account
18 // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
19 // expected-remark@above {{dependence from 0 to 0 at depth 2 = false}}
20 // expected-remark@above {{dependence from 0 to 1 at depth 1 = false}}
25 // expected-remark@above {{dependence from 1 to 1 at depth 1 = false}}
26 // expected-remark@above {{dependence from 1 to 1 at depth 2 = false}}
27 // expected-remark@above {{dependence from 1 to 0 at depth 1 = false}}
38 // There is a dependence from 0 to 1 at depth 1 (common surrounding loops 0)
42 // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
43 // expected-remark@above {{dependence from 0 to 0 at depth 2 = false}}
[all …]
/llvm-project/llvm/test/CodeGen/AArch64/
H A Dsve-ld1r.mir10 ; Reads from %object at offset 63 * readsize
16 ; Reads from %object at offset 64 * readsize
22 ; Reads from %object at offset -1 * readsize
40 … ; CHECK: renamable $z0 = LD1RB_IMM renamable $p0, $sp, 63 :: (load (s8) from %ir.object, align 2)
41 …; CHECK: renamable $z0 = LD1RB_H_IMM renamable $p0, $sp, 63 :: (load (s8) from %ir.object, align 2)
42 …; CHECK: renamable $z0 = LD1RB_S_IMM renamable $p0, $sp, 63 :: (load (s8) from %ir.object, align 2)
43 …; CHECK: renamable $z0 = LD1RB_D_IMM renamable $p0, $sp, 63 :: (load (s8) from %ir.object, align 2)
44 …; CHECK: renamable $z0 = LD1RSB_H_IMM renamable $p0, $sp, 63 :: (load (s8) from %ir.object, align …
45 …; CHECK: renamable $z0 = LD1RSB_S_IMM renamable $p0, $sp, 63 :: (load (s8) from %ir.object, align …
46 …; CHECK: renamable $z0 = LD1RSB_D_IMM renamable $p0, $sp, 63 :: (load (s8) from %ir.object, align …
[all …]
H A Dsve-ldnf1.mir10 ; Reads from %object at offset 63 * readsize
16 ; Reads from %object at offset 63 * readsize
23 ; Reads from %object at offset 64 * readsize
29 ; Reads from %object at offset -1 * readsize
51 …IMM renamable $p0, $sp, 7, implicit $ffr, implicit-def $ffr :: (load (s8) from %ir.object, align 2)
52 …IMM renamable $p0, $sp, 7, implicit $ffr, implicit-def $ffr :: (load (s8) from %ir.object, align 2)
53 …IMM renamable $p0, $sp, 7, implicit $ffr, implicit-def $ffr :: (load (s8) from %ir.object, align 2)
54 …IMM renamable $p0, $sp, 7, implicit $ffr, implicit-def $ffr :: (load (s8) from %ir.object, align 2)
55 …IMM renamable $p0, $sp, 7, implicit $ffr, implicit-def $ffr :: (load (s8) from %ir.object, align 2)
56 …IMM renamable $p0, $sp, 7, implicit $ffr, implicit-def $ffr :: (load (s8) from %ir.object, align 2)
[all …]
/llvm-project/clang/test/SemaCXX/
H A Dwarn-literal-conversion.cpp8 …y0 = 1.2222F; // expected-warning {{implicit conversion from 'float' to 'int' changes value from 1… in test0()
9 … = (1.2222F); // expected-warning {{implicit conversion from 'float' to 'int' changes value from 1… in test0()
10 …((1.2222F))); // expected-warning {{implicit conversion from 'float' to 'int' changes value from 1… in test0()
11 … y3 = 12E-1F; // expected-warning {{implicit conversion from 'float' to 'int' changes value from 1… in test0()
12 …y4 = 1.23E1F; // expected-warning {{implicit conversion from 'float' to 'int' changes value from 1… in test0()
14 … y5 = 1.2222; // expected-warning {{implicit conversion from 'double' to 'int' changes value from in test0()
15 …t y6 = 12E-1; // expected-warning {{implicit conversion from 'double' to 'int' changes value from in test0()
16 … y7 = 1.23E1; // expected-warning {{implicit conversion from 'double' to 'int' changes value from in test0()
17 …8 = (1.23E1); // expected-warning {{implicit conversion from 'double' to 'int' changes value from in test0()
20 …y8 = 2.22F; // expected-warning {{implicit conversion from 'float' to 'int' changes value from 2.2… in test0()
[all …]
H A Daarch64-sve-lax-vector-conversions.cpp30 …// lax-vector-none-error@-1 {{assigning to 'sve_fixed_int32_t' (vector of 16 'int' values) from in… in sve_allowed_with_integer_lax_conversions()
32 …// lax-vector-none-error@-1 {{assigning to 'svint64_t' (aka '__SVInt64_t') from incompatible type}} in sve_allowed_with_integer_lax_conversions()
35 …// lax-vector-none-error@-1 {{assigning to 'sve_fixed_int32_t' (vector of 16 'int' values) from in… in sve_allowed_with_integer_lax_conversions()
36 …er-error@-2 {{assigning to 'sve_fixed_int32_t' (vector of 16 'int' values) from incompatible type}} in sve_allowed_with_integer_lax_conversions()
37 …// lax-vector-all-error@-3 {{assigning to 'sve_fixed_int32_t' (vector of 16 'int' values) from inc… in sve_allowed_with_integer_lax_conversions()
39 // lax-vector-none-error@-1 {{assigning to 'svbool_t' (aka '__SVBool_t') from incompatible type}} in sve_allowed_with_integer_lax_conversions()
40 …// lax-vector-integer-error@-2 {{assigning to 'svbool_t' (aka '__SVBool_t') from incompatible type… in sve_allowed_with_integer_lax_conversions()
41 // lax-vector-all-error@-3 {{assigning to 'svbool_t' (aka '__SVBool_t') from incompatible type}} in sve_allowed_with_integer_lax_conversions()
44 …// lax-vector-none-error@-1 {{assigning to 'svint64_t' (aka '__SVInt64_t') from incompatible type}} in sve_allowed_with_integer_lax_conversions()
45 …// lax-vector-integer-error@-2 {{assigning to 'svint64_t' (aka '__SVInt64_t') from incompatible ty… in sve_allowed_with_integer_lax_conversions()
[all …]
H A Dwarn-cast-qual.cpp19 …void* p0 = (void*)(const void*)"txt"; // expected-warning {{cast from 'const void *' to 'void *' d… in cstr()
21 …char* p2 = (char*)"txt"; // expected-warning {{cast from 'const char *' to 'char *' drops const qu… in cstr()
30 …int &a2 = (int &)a; // expected-warning {{cast from 'const int' to 'int &' dr… in foo_0()
31 …const int &a3 = (int &)a; // expected-warning {{cast from 'const int' to 'int &' dr… in foo_0()
32 …int &a4 = (int &)((const int &)a); // expected-warning {{cast from 'const int' to 'int &' dr… in foo_0()
33 …int &a5 = (int &)((int &)a); // expected-warning {{cast from 'const int' to 'int &' dr… in foo_0()
34 …const int &a6 = (int &)((int &)a); // expected-warning {{cast from 'const int' to 'int &' dr… in foo_0()
35 …const int &a7 = (int &)((const int &)a); // expected-warning {{cast from 'const int' to 'int &' dr… in foo_0()
36 …const int &a8 = (const int &)((int &)a); // expected-warning {{cast from 'const int' to 'int &' dr… in foo_0()
45 …int &a2 = (int &)a; // expected-warning {{cast from 'volatile int' to '… in foo_1()
[all …]
/llvm-project/llvm/include/llvm/Support/
H A DCasting.h34 template <typename From> struct simplify_type {
35 using SimpleType = From; // The real type this represents...
38 static SimpleType &getSimplifiedValue(From &Val) { return Val; } in getSimplifiedValue()
41 template <typename From> struct simplify_type<const From> {
42 using NonConstSimpleType = typename simplify_type<From>::SimpleType;
47 static RetType getSimplifiedValue(const From &Val) {
48 return simplify_type<From>::getSimplifiedValue(const_cast<From &>(Val));
60 // The core of the implementation of isa<X> is here; To and From shoul
[all...]
/llvm-project/clang/test/Sema/
H A Dconstant-conversion.c10 …0000000U; // expected-warning {{implicit conversion from 'unsigned long' to 'int' changes value fr… in test_6792488()
16 …a.i5 = 36; // expected-warning {{implicit truncation from 'int' to bit-field changes value from 36… in test_7809123()
24 …s.b = -3; // expected-warning {{implicit truncation from 'int' to bit-field changes value from in test()
25 …s.b = -2; // expected-warning {{implicit truncation from 'int' to bit-field changes value from in test()
28 …1; // one-bit-warning {{implicit truncation from 'int' to a one-bit wide bit-field changes val… in test()
31 …s.b = 2; // expected-warning {{implicit truncation from 'int' to bit-field changes value from in test()
46 …; // expected-warning {{implicit truncation from 'int' to bit-field changes value from in test3()
47 …, 0, 0 }; // expected-warning {{implicit truncation from 'int' to bit-field changes value from in test3()
48 …}}; // expected-warning {{implicit truncation from 'int' to bit-field changes value from in test3()
49 …) { 10, 0 }; // expected-warning {{implicit truncation from 'int' to bit-field changes value from in test3()
[all …]
/llvm-project/clang/include/clang/AST/
H A DASTImporter.h1 //===- ASTImporter.h - Importing ASTs from other Contexts -------*- C++ -*-===//
9 // This file defines the ASTImporter class which imports AST nodes from one
51 // \brief Returns with a list of declarations started from the canonical decl
54 // `Decl::redecls()` gives a list of decls which always start from the
60 /// Imports selected nodes from one AST context into another context,
75 // From the call stack of the import functions we can read the very same
113 // they are independent from A,B and E.
207 /// The contexts we're importing to and from.
210 /// The file managers we're importing to and from.
218 /// Whether the last diagnostic came from th
308 importInto(ImportT & To,const ImportT & From) importInto() argument
548 Imported(Decl * From,Decl * To) Imported() argument
[all...]
/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_bvgraph.h43 bool addEdge(uptr from, uptr to) { in addEdge() argument
44 check(from, to); in addEdge()
45 return v[from].setBit(to); in addEdge()
49 uptr addEdges(const BV &from, uptr to, uptr added_edges[], in addEdges() argument
52 t1.copyFrom(from); in addEdges()
63 // Returns true if an edge from=>to exist.
65 // and thus can be called from different threads w/o locking.
68 bool hasEdge(uptr from, uptr to) { return v[from].getBit(to); } in hasEdge() argument
70 // Returns true if the edge from=>to was removed.
71 bool removeEdge(uptr from, uptr to) { in removeEdge() argument
[all …]
/llvm-project/llvm/test/MC/X86/
H A Davx512fp16-complex-fma.s6 // CHECK-STDERR: warning: Destination register should be distinct from source registers
10 // CHECK-STDERR: warning: Destination register should be distinct from source registers
14 // CHECK-STDERR: warning: Destination register should be distinct from source registers
18 // CHECK-STDERR: warning: Destination register should be distinct from source registers
22 // CHECK-STDERR: warning: Destination register should be distinct from source registers
26 // CHECK-STDERR: warning: Destination register should be distinct from source registers
30 // CHECK-STDERR: warning: Destination register should be distinct from source registers
34 // CHECK-STDERR: warning: Destination register should be distinct from source registers
38 // CHECK-STDERR: warning: Destination register should be distinct from source registers
42 // CHECK-STDERR: warning: Destination register should be distinct from source registers
[all …]
H A Davx512fp16-complex-fma_vl.s6 // CHECK-STDERR: warning: Destination register should be distinct from source registers
10 // CHECK-STDERR: warning: Destination register should be distinct from source registers
14 // CHECK-STDERR: warning: Destination register should be distinct from source registers
18 // CHECK-STDERR: warning: Destination register should be distinct from source registers
22 // CHECK-STDERR: warning: Destination register should be distinct from source registers
26 // CHECK-STDERR: warning: Destination register should be distinct from source registers
30 // CHECK-STDERR: warning: Destination register should be distinct from source registers
34 // CHECK-STDERR: warning: Destination register should be distinct from source registers
38 // CHECK-STDERR: warning: Destination register should be distinct from source registers
42 // CHECK-STDERR: warning: Destination register should be distinct from source registers
[all …]
/llvm-project/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/
H A Dreplace_with_range.pass.cpp49 std::size_t from = 0;
57 // - cut starts from: beginning / middle / end;
64 .initial = "", .from = 0, .to = 0, .input = "", .expected = ""};
67 .initial = "", .from = 0, .to = 0, .input = "a", .expected = "a"};
70 .initial = "", .from = 0, .to = 0, .input = "aeiou", .expected = "aeiou"};
74 .from = 0,
82 .initial = "B", .from = 0, .to = 0, .input = "", .expected = "B"};
85 .initial = "B", .from = 0, .to = 0, .input = "a", .expected = "aB"};
88 .initial = "B", .from = 0, .to = 0, .input = "aeiou", .expected = "aeiouB"};
92 .from
45 std::size_t from = 0; global() member
648 auto from = get_pos(c, test_case.from); test_string_replace_with_range() local
[all...]
/llvm-project/libcxx/test/std/numerics/bit/bit.cast/
H A Dbit_cast.compile.pass.cpp13 // template<class To, class From>
14 // constexpr To bit_cast(const From& from) noexcept; // C++20
19 // (1.1) sizeof(To) == sizeof(From) is true;
21 // (1.3) is_trivially_copyable_v<From> is true.
25 // specification (but it can be inferred from the synopsis).
30 template<class To, class From>
31 concept bit_cast_is_valid = requires(From from) {
32 { std::bit_cast<To>(from) } -> std::same_as<To>;
38 struct From { char a; char b; }; argument
39 static_assert(!bit_cast_is_valid<To, From>);
[all …]
/llvm-project/libc/test/src/unistd/
H A Dswab_test.cpp16 const char *from = "abc"; in TEST() local
18 LIBC_NAMESPACE::swab(from, to, -1); in TEST()
23 const char *from = "abc"; in TEST() local
25 LIBC_NAMESPACE::swab(from, to, 0); in TEST()
30 char from[] = {'a'}; in TEST() local
32 LIBC_NAMESPACE::swab(from, to, sizeof(from)); in TEST()
45 const char *from = "ab"; in TEST() local
47 LIBC_NAMESPACE::swab(from, to, in TEST()
48 LIBC_NAMESPACE::internal::string_length(from)); in TEST()
52 const char *from = "abcd"; in TEST() local
[all …]
/llvm-project/libcxx/test/std/containers/views/views.span/span.cons/
H A Dspan.pass.cpp25 template <class T, class From>
30 std::span<From> from; in check() local
31 std::span<T> span{from}; in check()
32 ASSERT_NOEXCEPT(std::span<T>(from)); in check()
37 From array[3] = {}; in check()
38 std::span<From> from(array); in check() local
39 std::span<T> span{from}; in check()
40 ASSERT_NOEXCEPT(std::span<T>(from)); in check()
49 std::span<From, 0> from; in check() local
50 std::span<T, 0> span{from}; in check()
[all …]
/llvm-project/libcxx/test/support/
H A Ddeduction_guides_sfinae_checks.h43 // a given template class `Instantiated` can be deduced from the given
82 // Cannot deduce from (BAD_iter, BAD_iter) in SequenceContainerDeductionGuidesSfinaeAway()
87 // Cannot deduce from (BAD_iter, BAD_iter, alloc) in SequenceContainerDeductionGuidesSfinaeAway()
89 // Cannot deduce from (iter, iter, BAD_alloc) in SequenceContainerDeductionGuidesSfinaeAway()
94 // Cannot deduce from (alloc) in SequenceContainerDeductionGuidesSfinaeAway()
102 // Cannot deduce from (BAD_range) in SequenceContainerDeductionGuidesSfinaeAway()
107 // Cannot deduce from (range, BAD_alloc) in SequenceContainerDeductionGuidesSfinaeAway()
130 // Cannot deduce from (container, BAD_alloc) in ContainerAdaptorDeductionGuidesSfinaeAway()
135 // Cannot deduce from (BAD_iter, BAD_iter) in ContainerAdaptorDeductionGuidesSfinaeAway()
143 // Cannot deduce from (BAD_iter, BAD_iter, alloc) in ContainerAdaptorDeductionGuidesSfinaeAway()
[all …]
/llvm-project/llvm/test/CodeGen/RISCV/
H A Dstack-slot-coloring.mir68 ; CHECK: $x10 = LW %stack.0.a, 0 :: (volatile dereferenceable load (s32) from %ir.a)
69 ; CHECK-NEXT: $x11 = LW %stack.0.a, 0 :: (volatile dereferenceable load (s32) from %ir.a)
70 ; CHECK-NEXT: $x12 = LW %stack.0.a, 0 :: (volatile dereferenceable load (s32) from %ir.a)
71 ; CHECK-NEXT: $x13 = LW %stack.0.a, 0 :: (volatile dereferenceable load (s32) from %ir.a)
72 ; CHECK-NEXT: $x14 = LW %stack.0.a, 0 :: (volatile dereferenceable load (s32) from %ir.a)
73 ; CHECK-NEXT: $x15 = LW %stack.0.a, 0 :: (volatile dereferenceable load (s32) from %ir.a)
74 ; CHECK-NEXT: $x16 = LW %stack.0.a, 0 :: (volatile dereferenceable load (s32) from %ir.a)
75 ; CHECK-NEXT: $x17 = LW %stack.0.a, 0 :: (volatile dereferenceable load (s32) from %ir.a)
76 ; CHECK-NEXT: $x5 = LW %stack.0.a, 0 :: (volatile dereferenceable load (s32) from %ir.a)
77 ; CHECK-NEXT: $x6 = LW %stack.0.a, 0 :: (volatile dereferenceable load (s32) from %ir.a)
[all …]
/llvm-project/llvm/test/CodeGen/NVPTX/
H A Dload-with-non-coherent-cache.ll13 define ptx_kernel void @foo1(ptr noalias readonly %from, ptr %to) {
14 %1 = load float, ptr %from
23 define ptx_kernel void @foo2(ptr noalias readonly %from, ptr %to) {
24 %1 = load double, ptr %from
33 define ptx_kernel void @foo3(ptr noalias readonly %from, ptr %to) {
34 %1 = load i16, ptr %from
43 define ptx_kernel void @foo4(ptr noalias readonly %from, ptr %to) {
44 %1 = load i32, ptr %from
53 define ptx_kernel void @foo5(ptr noalias readonly %from, ptr %to) {
54 %1 = load i64, ptr %from
[all...]

12345678910>>...457