/llvm-project/llvm/test/CodeGen/AMDGPU/ |
H A D | switch-default-block-unreachable.ll | 12 ; GCN: bb.{{[0-9]+}}.entry.true.blk: 13 ; GCN: bb.{{[0-9]+}}.entry.false.blk: 14 ; GCN: bb.{{[0-9]+}}.switch.blk: 16 ; GCN-NOT: bb.{{[0-9]+}}.preheader.blk 17 ; GCN-NOT: bb.{{[0-9]+}}.pre.false.blk: 18 ; GCN-NOT: bb.{{[0-9]+}}.unreach.blk: 25 br i1 %c0, label %entry.true.blk, label %entry.false.blk 27 entry.true.blk: ; preds = %entry 29 br i1 %exit.cmp, label %switch.blk, label %exit 31 entry.false.blk: ; preds = %entry [all …]
|
/llvm-project/clang/test/Analysis/ |
H A D | stack-capture-leak-no-arc.mm | 41 void output_block(dispatch_block_t * blk) { 43 *blk = ^{ f(x); }; // expected-warning {{Address of stack-allocated block declared on line 43 is still referred to by the caller variable 'blk' upon returning to the caller. This will be a dangling reference [core.StackAddressEscape]}} 47 void output_constant_block(dispatch_block_t * blk) { 48 *blk = ^{ }; 54 __block dispatch_block_t blk; 57 blk = ^{ // expected-warning {{Address of stack-allocated block declared on line 57 is still referred to by the caller variable 'blk' upon returning to the caller. This will be a dangling reference [core.StackAddressEscape]}} 63 blk(); 64 output_block(&blk); [all...] |
H A D | objc-live-crash.mm | 16 Blk blk; field 19 RAII(Blk blk): blk(blk) {} 20 ~RAII() { blk(); }
|
H A D | live-stmts.mm | 16 Blk blk; field 19 RAII(Blk blk): blk(blk) {} 31 ~RAII() { blk(); }
|
H A D | stack-capture-leak-arc.mm | 192 void output_block(dispatch_block_t * blk) { 194 *blk = ^{ f(x); }; 199 __block dispatch_block_t blk; 202 blk = ^{ 207 blk(); 208 output_block(&blk); 209 blk();
|
/llvm-project/clang/test/SemaObjCXX/ |
H A D | arc-nsconsumed-errors.mm | 3 typedef void (^blk)(id, __attribute((ns_consumed)) id); 5 blk a = ^void (__attribute((ns_consumed)) id, __attribute((ns_consumed)) id){}; // expected-error {… 7 blk b = ^void (id, __attribute((ns_consumed)) id){}; 9 blk c = ^void (__attribute((ns_consumed)) id, __attribute((ns_consumed)) id){}; // expected-error {… 11 blk d = ^void (id, id) {}; // expected-error {{cannot initialize a variable of type '__strong blk'}}
|
/llvm-project/clang/test/SemaObjC/ |
H A D | arc-nsconsumed-errors.m | 5 typedef void (^blk)(id arg1, __attribute((ns_consumed)) id arg2); 7 blk a = ^void (__attribute((ns_consumed)) id arg1, __attribute((ns_consumed)) id arg2){}; // expect… 9 blk b = ^void (id arg1, __attribute((ns_consumed)) id arg2){}; 11 blk c = ^void (__attribute((ns_consumed)) id arg1, __attribute((ns_consumed)) id arg2){}; // expect… 13 blk d = ^void (id arg1, id arg2) {}; // expected-error {{incompatible block pointer types initializ…
|
H A D | block-ivar.m | 15 int (^blk)(void) = ^{ return _prop; }; 16 return blk();
|
/llvm-project/flang/test/Semantics/ |
H A D | resolve121.f90 | 31 common /blk/ k1 common 32 save /blk/ 43 common /blk/ k1 common
|
H A D | call10.f90 | 32 common /blk/ v4 common 33 save /blk/ 113 common /blk/ v4 common
|
H A D | bind-c02.f90 | 37 common /blk/ y 38 bind(c) :: x, /blk/, z ! no error for variable and common block
|
H A D | declarations01.f90 | 11 common /blk/ x2, x3 common
|
H A D | modfile58.f90 | 8 common /blk/ dx common
|
/llvm-project/clang/test/CodeGenObjC/ |
H A D | 2008-11-25-Blocks.m | 4 - (id)B:(void (^)(void))blk; 8 - (id)B:(void (^)(void))blk { 10 blk();
|
H A D | blocks-ivar-debug.m | 14 int (^blk)(void) = ^{ return _prop; }; 15 return blk();
|
H A D | encode-test-bitint.m | 8 __auto_type blk = ^int(unsigned _BitInt(64) len) 16 __auto_type blk = ^unsigned _BitInt(64)(int len)
|
/llvm-project/clang/test/CodeGenObjCXX/ |
H A D | property-lvalue-lambda.mm | 7 @property blk_t blk; property 24 x.blk = [] {}; 36 // [x setBlk: operator+([x blk], [] {})] 41 x.blk += [] {};
|
/llvm-project/clang/test/ARCMT/ |
H A D | block_copy_release.m.result | 7 typedef void (^blk)(int); 9 void func(blk b) { 10 blk c = [b copy];
|
H A D | block_copy_release.m | 7 typedef void (^blk)(int); 9 void func(blk b) { 10 blk c = Block_copy(b);
|
/llvm-project/flang/test/Lower/OpenMP/ |
H A D | threadprivate-use-association.f90 | 12 common /blk/ x, z common 49 common /blk/ x1, z1 common
|
H A D | private-commonblock.f90 | 72 common /blk/ a, b, c, d 75 !$omp parallel private(/blk/) 115 common /blk/ c, a 117 !$omp parallel private(/blk/) 76 common /blk/ global() common 121 common /blk/ global() common
|
H A D | threadprivate-common-block-hlfir.f90 | 23 common /blk/ a common
|
/llvm-project/mlir/test/Dialect/GPU/ |
H A D | ops.mlir | 21 func.func @args(%blk : index, %thrd : index, %float : f32, %data : memref<?xf32,1>) { 23 gpu.launch blocks(%bx, %by, %bz) in (%grid_x = %blk, %grid_y = %blk, %grid_z = %blk) 34 func.func @launch_async(%blk : index, %thrd : index) { 37 %name = gpu.launch async [%t] blocks(%arg0, %arg1, %arg2) in (%grid_x = %blk, %grid_y = %blk, %grid_z = %blk) 45 func.func @launch_async_no_deps(%blk : index, %thrd : index) { 47 %t0 = gpu.launch async blocks(%arg0, %arg1, %arg2) in (%grid_x = %blk, [all...] |
/llvm-project/flang/test/Lower/ |
H A D | equivalence-with-host-assoc.f90 | 90 common /blk/ k1 common 145 common /blk/ k1 common
|
/llvm-project/llvm/lib/Support/ |
H A D | SHA1.cpp | 32 static inline uint32_t blk(uint32_t *Buf, int I) { in blk() function 47 E += ((B & (C ^ D)) ^ D) + blk(Buf, I) + 0x5A827999 + rol(A, 5); in r1() 53 E += (B ^ C ^ D) + blk(Buf, I) + 0x6ED9EBA1 + rol(A, 5); in r2() 59 E += (((B | C) & D) | (B & C)) + blk(Buf, I) + 0x8F1BBCDC + rol(A, 5); in r3() 65 E += (B ^ C ^ D) + blk(Buf, I) + 0xCA62C1D6 + rol(A, 5); in r4()
|