/llvm-project/flang/test/Semantics/OpenMP/ |
H A D | atomic04.f90 | 7 ! Update assignment must be 'var = var op expr' or 'var = expr op var' 23 !ERROR: Atomic update statement should be of form `x = x operator expr` OR `x = expr operator x` 24 !ERROR: Exactly one occurence of 'x' expected on the RHS of atomic update assignment statement 27 !ERROR: Atomic update statement should be of form `x = x operator expr` OR `x = expr operator x` 28 !ERROR: Exactly one occurence of 'x' expected on the RHS of atomic update assignment statement 36 !ERROR: Atomic update statement should be of form `x = x operator expr` OR `x = expr operator x` 37 !ERROR: Exactly one occurence of 'x' expected on the RHS of atomic update assignment statement 40 !ERROR: Atomic update statement should be of form `x = x operator expr` OR `x = expr operator x` 41 !ERROR: Exactly one occurence of 'x' expected on the RHS of atomic update assignment statement 49 !ERROR: Atomic update statement should be of form `x = x operator expr` OR `x = expr operator x` [all …]
|
H A D | atomic02.f90 | 31 !ERROR: Invalid or missing operator in atomic update statement 34 !ERROR: Expected scalar variable on the LHS of atomic update assignment statement 35 !ERROR: Invalid or missing operator in atomic update statement 36 !ERROR: Expected scalar expression on the RHS of atomic update assignment statement 39 !ERROR: Atomic update statement should be of form `l = l operator expr` OR `l = expr operator l` 40 !ERROR: Invalid or missing operator in atomic update statement 43 !ERROR: Atomic update statement should be of form `l = l operator expr` OR `l = expr operator l` 44 !ERROR: Invalid or missing operator in atomic update statement 47 !ERROR: Atomic update statement should be of form `l = l operator expr` OR `l = expr operator l` 48 !ERROR: Invalid or missing operator in atomic update statemen [all...] |
H A D | atomic03.f90 | 28 …!ERROR: Intrinsic procedure arguments in atomic update statement must have exactly one occurence o… 31 …!ERROR: Intrinsic procedure arguments in atomic update statement must have exactly one occurence o… 34 …!ERROR: Intrinsic procedure arguments in atomic update statement must have exactly one occurence o… 37 …!ERROR: Intrinsic procedure arguments in atomic update statement must have exactly one occurence o… 40 …!ERROR: Intrinsic procedure arguments in atomic update statement must have exactly one occurence o… 44 !ERROR: Invalid intrinsic procedure name in OpenMP ATOMIC (UPDATE) statement 45 …!ERROR: Intrinsic procedure arguments in atomic update statement must have exactly one occurence o… 48 !ERROR: Invalid intrinsic procedure name in OpenMP ATOMIC (UPDATE) statement 49 …!ERROR: Intrinsic procedure arguments in atomic update statement must have exactly one occurence o… 51 !$omp atomic update [all …]
|
H A D | atomic01.f90 | 56 !UPDATE 58 !ERROR: At most one SEQ_CST clause can appear on the UPDATE directive 59 !$omp atomic seq_cst seq_cst update 60 !ERROR: Invalid or missing operator in atomic update statement 63 !ERROR: At most one SEQ_CST clause can appear on the UPDATE directive 64 !$omp atomic update seq_cst seq_cst 65 !ERROR: Invalid or missing operator in atomic update statement 68 !ERROR: At most one SEQ_CST clause can appear on the UPDATE directive 69 !$omp atomic seq_cst update seq_cst 70 !ERROR: Invalid or missing operator in atomic update statemen [all...] |
/llvm-project/clang/test/OpenMP/ |
H A D | target_update_to_messages.cpp | 71 …update to(*this) // le45-error {{expected expression containing only member accesses and/or array … in foo() 73 …update to(*(this->ptr)) // le45-error {{expected expression containing only member accesses and/or… in foo() 74 …update to(*(this->S->i+this->S->p)) // le45-error {{expected expression containing only member acc… in foo() 75 …update to(*(this->S->i+this->S->s6[0].pp)) // le45-error {{expected expression containing only mem… in foo() 76 …update to(*(a+this->ptr)) // le45-error {{expected expression containing only member accesses and/… in foo() 77 …update to(*(*(this->ptr)+a+this->ptr)) // le45-error {{expected expression containing only member … in foo() 78 #pragma omp target update to(*(this+this)) // expected-error {{invalid operands to binary expressio… in foo() 82 …update to(marr [0:1][2:4][1:2]) // le45-error {{array section does not specify contiguous storage}… in foo() 108 …update to // expected-error {{expected '(' after 'to'}} expected-error {{expected at least one 'to… in tmain() 109 …update to( // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error {… in tmain() [all …]
|
H A D | target_update_if_messages.cpp | 17 #pragma omp target update to(argc) if(cond) // expected-warning {{variable 'cond' is uninitialized … in xxx() 27 #pragma omp target update to(n) if // expected-error {{expected '(' after 'if'}} in tmain() 28 #pragma omp target update from(n) if ( // expected-error {{expected expression}} expected-error {{e… in tmain() 29 #pragma omp target update to(n) if () // expected-error {{expected expression}} in tmain() 30 #pragma omp target update from(n) if (argc // expected-error {{expected ')'}} expected-note {{to ma… in tmain() 31 #pragma omp target update to(n) if (argc)) // expected-warning {{extra tokens at the end of '#pragm… in tmain() 32 #pragma omp target update from(n) if (argc > 0 ? argv[1] : argv[2]) in tmain() 33 #pragma omp target update to(n) if (foobool(argc)), if (true) // expected-error {{directive '#pragm… in tmain() 34 #pragma omp target update from(n) if (S) // expected-error {{'S' does not refer to a value}} in tmain() 35 #pragma omp target update to(n) if (argv[1]=2) // expected-error {{expected ')'}} expected-note {{t… in tmain() [all …]
|
H A D | target_update_from_messages.cpp | 70 …update from(*this) // le45-error {{expected expression containing only member accesses and/or arra… in foo() 72 …update from(*(this->ptr)) // le45-error {{expected expression containing only member accesses and/… in foo() 73 …update from(*(this->S->i+this->S->p)) // le45-error {{expected expression containing only member a… in foo() 74 …update from(*(this->S->i+this->S->s6[0].pp)) // le45-error {{expected expression containing only m… in foo() 75 …update from(*(a+this->ptr)) // le45-error {{expected expression containing only member accesses an… in foo() 76 …update from(*(*(this->ptr)+a+this->ptr)) // le45-error {{expected expression containing only membe… in foo() 77 #pragma omp target update from(*(this+this)) // expected-error {{invalid operands to binary express… in foo() 102 …update from // expected-error {{expected '(' after 'from'}} expected-error {{expected at least one… in tmain() 103 …update from( // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error… in tmain() 104 …update from() // expected-error {{expected expression}} expected-error {{expected at least one 'to… in tmain() [all …]
|
H A D | target_update_ast_print.cpp | 28 #pragma omp target update to(([a][targ])p, a) if(l>5) device(l) nowait depend(inout:l) in foo() 30 #pragma omp target update from(b, ([a][targ])p) if(l<5) device(l-1) nowait depend(inout:l) in foo() 33 #pragma omp target update to(marr[2][0:2][0:2]) in foo() 35 #pragma omp target update from(marr[2][0:2][0:2]) in foo() 37 #pragma omp target update from(marr[:2][0:2][0:2:1]) in foo() 39 #pragma omp target update to(marr[:l][:l][l:]) in foo() 41 #pragma omp target update to(marr[:2][:1][:]) in foo() 43 #pragma omp target update from(marr[:2][:1][:]) in foo() 45 #pragma omp target update to(marr[:2][:][:1]) in foo() 47 #pragma omp target update from(marr[:2][:][:1]) in foo() [all …]
|
H A D | target_update_messages.cpp | 13 #pragma omp target update to(x) in xxx() 21 #pragma omp target update to(y) // expected-error {{the host cannot update a declare target variabl… in yyy() 28 #pragma omp target update from(z) // expected-error {{the host cannot update a declare target varia… in zzz() 52 …pragma omp target update // expected-error {{expected at least one 'to' clause or 'from' clause sp… 53 …#pragma omp target update to(m) { // expected-warning {{extra tokens at the end of '#pragma omp ta… 54 …#pragma omp target update to(m) ( // expected-warning {{extra tokens at the end of '#pragma omp ta… 55 …#pragma omp target update to(m) [ // expected-warning {{extra tokens at the end of '#pragma omp ta… 56 …#pragma omp target update to(m) ] // expected-warning {{extra tokens at the end of '#pragma omp ta… 57 …#pragma omp target update to(m) ) // expected-warning {{extra tokens at the end of '#pragma omp ta… 64 …@+1 {{expected at least one 'to' clause or 'from' clause specified to '#pragma omp target update'}} [all …]
|
H A D | target_update_depend_messages.cpp | 29 #pragma omp depend target update to(z) // expected-error{{expected an OpenMP directive}} in tmain() 30 #pragma omp depend(out:argc) target update to(z) // expected-error{{expected an OpenMP directive}} in tmain() 31 …#pragma omp target depend(in:argc) update to(z) // expected-error{{unexpected OpenMP clause 'updat… in tmain() 34 #pragma omp target update to(z) depend // expected-error {{expected '(' after 'depend'}} in tmain() 35 #pragma omp target update to(z) depend( // omp4-error {{expected 'in', 'out', 'inout' or 'mutexino… in tmain() 36 #pragma omp target update to(z) depend() // omp4-error {{expected 'in', 'out', 'inout' or 'mutexino… in tmain() 37 #pragma omp target update to(z) depend(argc // omp4-error {{expected 'in', 'out', 'inout' or 'mutex… in tmain() 38 #pragma omp target update to(z) depend(source : argc) // omp4-error {{expected 'in', 'out', 'inout'… in tmain() 39 #pragma omp target update to(z) depend(source) // expected-error {{expected expression}} expected-w… in tmain() 40 #pragma omp target update to(z) depend(in : argc)) // expected-warning {{extra tokens at the end of… in tmain() [all …]
|
H A D | target_update_device_messages.cpp | 17 #pragma omp target update to(i) device // expected-error {{expected '(' after 'device'}} in tmain() 18 #pragma omp target update to(i) device ( // expected-error {{expected expression}} expected-error {… in tmain() 19 #pragma omp target update to(i) device () // expected-error {{expected expression}} in tmain() 20 #pragma omp target update to(i) device (argc // expected-error {{expected ')'}} expected-note {{to … in tmain() 21 #pragma omp target update to(i) device (argc)) // expected-warning {{extra tokens at the end of '#p… in tmain() 22 #pragma omp target update from(i) device (argc > 0 ? argv[1] : argv[2]) // expected-error {{express… in tmain() 23 #pragma omp target update from(i) device (argc + z) in tmain() 24 #pragma omp target update from(i) device (device_num: argc + z) // expected-error {{use of undeclar… in tmain() 25 #pragma omp target update from(i) device (argc), device (argc+1) // expected-error {{directive '#pr… in tmain() 26 #pragma omp target update from(i) device (S1) // expected-error {{'S1' does not refer to a value}} in tmain() [all …]
|
H A D | declare_mapper_messages.cpp | 92 …update to(mapper) // expected-error {{expected '(' after 'mappe… in fun() 93 …update to(mapper() // expected-error {{illegal OpenMP user-defin… in fun() 94 …update to(mapper:vv) // expected-error {{expected '(' after 'mappe… in fun() 95 …update to(mapper(:vv) // expected-error {{illegal OpenMP user-defin… in fun() 96 …update to(mapper(aa :vv) // expected-error {{expected ')'}} expected-n… in fun() 97 …update to(mapper(N2:: :vv) // expected-error {{use of undeclared identif… in fun() 98 …update to(mapper(N1:: :vv) // expected-error {{illegal OpenMP user-defin… in fun() 99 …update to(mapper(N1::aa) :vv) // expected-error {{cannot find a valid user-… in fun() 100 …update to(mapper(ab):vv) // expected-error {{cannot find a valid user-… in fun() 101 …update to(mapper(ab):arr[0:2]) // expected-error {{cannot find a valid user-… in fun() [all …]
|
H A D | target_update_nowait_messages.cpp | 8 #pragma omp nowait target update to(i) // expected-error {{expected an OpenMP directive}} in main() 9 …#pragma omp target nowait update to(i) // expected-error {{unexpected OpenMP clause 'update' in di… in main() 11 …update nowait() to(i) // expected-warning {{extra tokens at the end of '#pragma omp target update'… in main() 12 …#pragma omp target update to(i) nowait( // expected-warning {{extra tokens at the end of '#pragma … in main() 13 …#pragma omp target update to(i) nowait (argc)) // expected-warning {{extra tokens at the end of '#… in main() 14 #pragma omp target update to(i) nowait device (-10u) in main() 15 …pragma omp target update to(i) nowait (3.14) device (-10u) // expected-warning {{extra tokens at t… in main() 16 …#pragma omp target update to(i) nowait nowait // expected-error {{directive '#pragma omp target up… in main() 17 …#pragma omp target update nowait to(i) nowait // expected-error {{directive '#pragma omp target up… in main()
|
H A D | declare_mapper_messages.c | 97 #pragma omp target update to(mapper) // expected-error {{expected '(' after 'mapper'}} expected-error {{expected expression}} expected-error {{expected at least one 'to' clause or 'from' clause specified to '#pragma omp target update'}} in fun() 98 #pragma omp target update to(mapper() // expected-error {{illegal OpenMP user-defined mapper identifier}} expected-error {{expected expression}} expected-error {{expected at least one 'to' clause or 'from' clause specified to '#pragma omp target update'}} in fun() 99 #pragma omp target update to(mapper:vv) // expected-error {{expected '(' after 'mapper'}} expected-error {{expected at least one 'to' clause or 'from' clause specified to '#pragma omp target update'}} in fun() 100 #pragma omp target update to(mapper(:vv) // expected-error {{illegal OpenMP user-defined mapper identifier}} expected-error {{expected at least one 'to' clause or 'from' clause specified to '#pragma omp target update'}} in fun() 101 #pragma omp target update to(mapper(aa :vv) // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error {{expected at least one 'to' clause or 'from' clause specified to '#pragma omp target update'}} in fun() [all...] |
H A D | declare_mapper_ast_print.cpp | 85 #pragma omp target update to(mapper(id): fd) in foo() 86 #pragma omp target update to(mapper(idd): fd.b) in foo() 87 #pragma omp target update from(mapper(id): fd) in foo() 88 #pragma omp target update from(mapper(idd): fd.b) in foo() 101 // CHECK: #pragma omp target update to(mapper(id): fd) 102 // CHECK: #pragma omp target update to(mapper(idd): fd.b) 103 // CHECK: #pragma omp target update from(mapper(id): fd) 104 // CHECK: #pragma omp target update from(mapper(idd): fd.b) 115 // CHECK: #pragma omp target update to(mapper(id): fd) 116 // CHECK: #pragma omp target update to(mapper(idd): fd.b) [all …]
|
H A D | depobj_messages.cpp | 43 #pragma omp depobj(x)update(inout) // expected-error {{'#pragma omp depobj' cannot be an immediate substatement}} in tmain() 160 #pragma omp depobj(x) update // expected-error {{expected '(' after 'update'}} in main() 161 #pragma omp depobj(x) update( // expected-error {{expected ')'}} expected-note {{to match this '('}} omp52-error {{expected 'in', 'out', 'inout', 'mutexinoutset' or 'inoutset' in OpenMP clause 'update'}} omp51-error {{expected 'in', 'out', 'inout', 'mutexinoutset' or 'inoutset' in OpenMP clause 'update'}} omp50-error {{expected 'in', 'out', 'inout' or 'mutexinoutset' in OpenMP clause 'update'}} in main() 162 #pragma omp depobj(x) update(sink // expected-error {{expected ')'}} expected-note {{to match this '('}} omp52-error {{expected 'in', 'out', 'inout', 'mutexinoutset' or 'inoutset' in OpenMP clause 'update'}} omp51-error {{expected 'in', 'out', 'inout', 'mutexinoutset' or 'inoutset' in OpenMP clause 'update'}} omp5 in main() [all...] |
/llvm-project/llvm/test/tools/dsymutil/X86/ |
H A D | dwarf5-addrx.test | 3 ## in case --update. 50 RUN: dsymutil --update -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/dwarf5/dwarf5-addrx.… 53 RUN: llvm-dwarfdump --verbose %t.dSYM | FileCheck %s --check-prefix UPDATE-DWARF 60 RUN: dsymutil --linker parallel --update -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/dw… 63 RUN: llvm-dwarfdump --verbose %t.dSYM | FileCheck %s --check-prefix UPDATE-DWARF 110 UPDATE-DWARF: DW_TAG_compile_unit 111 UPDATE-DWARF: DW_AT_name [DW_FORM_strx] {{.*}} "dwarf5-addrx.c" 112 UPDATE-DWARF: DW_AT_low_pc [DW_FORM_addrx] (indexed (00000000) address = 0x0000000000000000) 113 UPDATE-DWARF: DW_AT_high_pc [DW_FORM_data4] (0x00000103) 114 UPDATE-DWARF: DW_TAG_subprogram [all …]
|
/llvm-project/flang/test/Semantics/OpenACC/ |
H A D | acc-update-validity.f90 | 4 ! 2.14.4 Update 25 !ERROR: At least one of DEVICE, HOST, SELF clause must appear on the UPDATE directive 26 !$acc update 28 !$acc update device(t%arr(:)) 30 !$acc update device(ta(i)%arr(:)) 32 !$acc update self(a, f) host(g) device(h) 34 !$acc update host(aa) async(1) 36 !$acc update device(bb) async(async1) 38 !ERROR: At most one ASYNC clause can appear on the UPDATE directive 39 !$acc update host(aa, bb) async(1) async(2) [all …]
|
/llvm-project/llvm/test/tools/yaml2obj/ELF/ |
H A D | override-shflags.yaml | 5 # RUN: llvm-readobj --sections %t1 | FileCheck %s --check-prefix=UPDATE-FLAGS 7 # UPDATE-FLAGS: Name: .symtab 8 # UPDATE-FLAGS-NEXT: Type: SHT_SYMTAB 9 # UPDATE-FLAGS-NEXT: Flags [ (0x1) 11 # UPDATE-FLAGS: Name: .strtab 12 # UPDATE-FLAGS-NEXT: Type: SHT_STRTAB 13 # UPDATE-FLAGS-NEXT: Flags [ (0x2) 15 # UPDATE-FLAGS: Name: .shstrtab 16 # UPDATE-FLAGS-NEXT: Type: SHT_STRTAB 17 # UPDATE-FLAGS-NEXT: Flags [ (0x3) [all …]
|
/llvm-project/flang/test/Parser/OpenMP/ |
H A D | atomic-unparse.f90 | 55 !UPDATE 56 !$omp atomic update 58 !$omp atomic seq_cst update 60 !$omp atomic update seq_cst 62 !$omp atomic release update 64 !$omp atomic update release 66 !$omp atomic acq_rel update 68 !$omp atomic update acq_rel 70 !$omp atomic acquire update 72 !$omp atomic update acquir [all...] |
/llvm-project/llvm/test/tools/llvm-objcopy/ELF/ |
H A D | update-section.test | 11 ## Update the segment section with a regular chunk of data the same size as the section. 12 # RUN: llvm-objcopy --update-section=.in_segment=%t.same %t %t.same.o 17 ## back (from the second `--update-section`), then it should be the exact same as the 20 # RUN: llvm-objcopy --update-section=.in_segment=%t.same --update-section=.in_segment=%t.zeros %t %… 23 ## Update segment section with a smaller chunk of data. This will also update the 26 # RUN: llvm-objcopy --update-section=.in_segment=%t.short %t %t.short.o 35 ## Add a new section via --add-section, then update it. 36 # RUN: llvm-objcopy --add-section=.added=%t.zeros --update-section=.added=%t.updated \ 39 # RUN: FileCheck %s --check-prefix=ADD-UPDATE 42 # RUN: llvm-objcopy --update-section=.added=%t.updated --add-section=.added=%t.updated \ [all …]
|
/llvm-project/clang/test/Driver/ |
H A D | fprofile-update.c | 2 /// if -fprofile-update={atomic,prefer-atomic} is specified. 3 // RUN: %clang -### %s -c -fprofile-update=atomic 2>&1 | FileCheck %s 4 // RUN: %clang -### %s -c -fprofile-update=prefer-atomic 2>&1 | FileCheck %s 6 // CHECK: "-fprofile-update=atomic" 8 // RUN: %clang -### %s -c -fprofile-update=atomic -fprofile-update=single 2>&1 | FileCheck %s --che… 10 // SINGLE-NOT: "-fprofile-update=atomic" 12 // RUN: not %clang %s -c -fprofile-update=unknown 2>&1 | FileCheck %s --check-prefix=ERROR 14 // ERROR: error: unsupported argument 'unknown' to option '-fprofile-update=' 17 // RUN: %clang -### %s --target=powerpc-unknown-aix -fprofile-generate -fprofile-update=atomic 2>&1… 18 // RUN: %clang -### %s --target=powerpc-unknown-aix -fprofile-generate -fprofile-update=prefer-atom… [all …]
|
/llvm-project/mlir/test/Target/LLVMIR/ |
H A D | openmp-llvm-invalid.mlir | 3 // Checking translation when the update is carried out by using more than one op 6 omp.atomic.update %x : !llvm.ptr { 19 // update operation 21 // expected-error @+2 {{no atomic update operation with region argument as operand found inside atomic.update region}} 22 // expected-error @+1 {{LLVM Translation failed for operation: omp.atomic.update}} 23 omp.atomic.update %x : !llvm.ptr { 33 // Checking translation when the update is carried out by using more than one 39 // expected-error @+1 {{no atomic update operation with region argument as operand found inside atomic.update regio [all...] |
/llvm-project/llvm/include/llvm/Analysis/ |
H A D | GenericDomTreeUpdater.h | 10 // way to update dominator tree related data structures. 85 /// least one update pending. If DT or PDT is nullptr it is treated 115 /// Note: There are two strategies to update the DomTreeT and the 120 /// explicitly call Flush APIs. It is recommended to use this update strategy 127 /// Although GenericDomTree provides several update primitives, 140 /// in sync with + all updates before that single update. 144 /// *before* submitting the updates because the internal update routine will 145 /// analyze the current state of the CFG to determine whether an update 147 /// 2. It is illegal to submit any update that has already been submitted, 165 /// in sync with + all updates before that single update 219 isSelfDominance(typename DomTreeT::UpdateType Update) isSelfDominance() argument [all...] |
/llvm-project/offload/test/offloading/fortran/ |
H A D | target_update.f90 | 1 ! Offloading test for the `target update` directive. 27 ! Test that without a `target update` directive, the target update to x is 29 ! CHECK: After first target regions and before target update: x = 5 30 print *, "After first target regions and before target update: x =", x(1) 36 !$omp target update from(x, device_id) 38 ! Test that after the `target update`, the host can see the new x value. 39 ! CHECK: After second target regions and target update: x = 84 40 print *, "After second target regions and target update: x =", x(1)
|