Home
last modified time | relevance | path

Searched refs:blk (Results 1 – 25 of 46) sorted by relevance

12

/llvm-project/llvm/test/CodeGen/AMDGPU/
H A Dswitch-default-block-unreachable.ll12 ; 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 Dstack-capture-leak-no-arc.mm41 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 Dobjc-live-crash.mm16 Blk blk; field
19 RAII(Blk blk): blk(blk) {}
20 ~RAII() { blk(); }
H A Dlive-stmts.mm16 Blk blk; field
19 RAII(Blk blk): blk(blk) {}
31 ~RAII() { blk(); }
H A Dstack-capture-leak-arc.mm192 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 Darc-nsconsumed-errors.mm3 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 Darc-nsconsumed-errors.m5 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 Dblock-ivar.m15 int (^blk)(void) = ^{ return _prop; };
16 return blk();
/llvm-project/flang/test/Semantics/
H A Dresolve121.f9031 common /blk/ k1 common
32 save /blk/
43 common /blk/ k1 common
H A Dcall10.f9032 common /blk/ v4 common
33 save /blk/
113 common /blk/ v4 common
H A Dbind-c02.f9037 common /blk/ y
38 bind(c) :: x, /blk/, z ! no error for variable and common block
H A Ddeclarations01.f9011 common /blk/ x2, x3 common
H A Dmodfile58.f908 common /blk/ dx common
/llvm-project/clang/test/CodeGenObjC/
H A D2008-11-25-Blocks.m4 - (id)B:(void (^)(void))blk;
8 - (id)B:(void (^)(void))blk {
10 blk();
H A Dblocks-ivar-debug.m14 int (^blk)(void) = ^{ return _prop; };
15 return blk();
H A Dencode-test-bitint.m8 __auto_type blk = ^int(unsigned _BitInt(64) len)
16 __auto_type blk = ^unsigned _BitInt(64)(int len)
/llvm-project/clang/test/CodeGenObjCXX/
H A Dproperty-lvalue-lambda.mm7 @property blk_t blk; property
24 x.blk = [] {};
36 // [x setBlk: operator+([x blk], [] {})]
41 x.blk += [] {};
/llvm-project/clang/test/ARCMT/
H A Dblock_copy_release.m.result7 typedef void (^blk)(int);
9 void func(blk b) {
10 blk c = [b copy];
H A Dblock_copy_release.m7 typedef void (^blk)(int);
9 void func(blk b) {
10 blk c = Block_copy(b);
/llvm-project/flang/test/Lower/OpenMP/
H A Dthreadprivate-use-association.f9012 common /blk/ x, z common
49 common /blk/ x1, z1 common
H A Dprivate-commonblock.f9072 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 Dthreadprivate-common-block-hlfir.f9023 common /blk/ a common
/llvm-project/mlir/test/Dialect/GPU/
H A Dops.mlir21 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 Dequivalence-with-host-assoc.f9090 common /blk/ k1 common
145 common /blk/ k1 common
/llvm-project/llvm/lib/Support/
H A DSHA1.cpp32 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()

12