/external/llvm-project/llvm/test/Transforms/LoopPredication/ |
D | visited.ll | 5 declare void @llvm.experimental.guard(i1, ...) 22 ; CHECK-NEXT: call void (i1, ...) @llvm.experimental.guard(i1 [[TMP3]], i32 9) [ "deopt"() ] 49 %guard.cond.2 = and i1 %within.bounds, %unrelated.cond 50 %guard.cond.3 = and i1 %guard.cond.2, %unrelated.cond 51 %guard.cond.4 = and i1 %guard.cond.3, %guard.cond.2 52 %guard.cond.5 = and i1 %guard.cond.4, %guard.cond.3 53 %guard.cond.6 = and i1 %guard.cond.5, %guard.cond.4 54 %guard.cond.7 = and i1 %guard.cond.6, %guard.cond.5 55 %guard.cond.8 = and i1 %guard.cond.7, %guard.cond.6 56 %guard.cond.9 = and i1 %guard.cond.8, %guard.cond.7 [all …]
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | Monitor.java | 474 public void enterWhen(Guard guard) throws InterruptedException { 475 if (guard.monitor != this) { 484 if (!guard.isSatisfied()) { 485 await(guard, signalBeforeWaiting); 504 public boolean enterWhen(Guard guard, Duration time) throws InterruptedException { 505 return enterWhen(guard, toNanosSaturated(time), TimeUnit.NANOSECONDS); 517 public boolean enterWhen(Guard guard, long time, TimeUnit unit) throws InterruptedException { 519 if (guard.monitor != this) { 547 guard.isSatisfied() 549 guard, [all …]
|
/external/guava/android/guava/src/com/google/common/util/concurrent/ |
D | Monitor.java | 433 public void enterWhen(Guard guard) throws InterruptedException { in enterWhen() argument 434 if (guard.monitor != this) { in enterWhen() 443 if (!guard.isSatisfied()) { in enterWhen() 444 await(guard, signalBeforeWaiting); in enterWhen() 463 public boolean enterWhen(Guard guard, long time, TimeUnit unit) throws InterruptedException { in enterWhen() argument 465 if (guard.monitor != this) { in enterWhen() 493 guard.isSatisfied() in enterWhen() 495 guard, in enterWhen() 515 public void enterWhenUninterruptibly(Guard guard) { in enterWhenUninterruptibly() argument 516 if (guard.monitor != this) { in enterWhenUninterruptibly() [all …]
|
/external/rust/crates/crossbeam-epoch/src/sync/ |
D | list.rs | 107 guard: &'g Guard, field 148 pub(crate) unsafe fn delete(&self, guard: &Guard) { in delete() 149 self.next.fetch_or(1, Release, guard); in delete() 172 pub(crate) unsafe fn insert<'g>(&'g self, container: Shared<'g, T>, guard: &'g Guard) { in insert() 180 let mut next = to.load(Relaxed, guard); in insert() 186 match to.compare_exchange_weak(next, entry_ptr, Release, Relaxed, guard) { in insert() 207 pub(crate) fn iter<'g>(&'g self, guard: &'g Guard) -> Iter<'g, T, C> { in iter() 209 guard, in iter() 211 curr: self.head.load(Acquire, guard), in iter() 221 let guard = unprotected(); in drop() localVariable [all …]
|
D | queue.rs | 55 let guard = unprotected(); in new() localVariable 56 let sentinel = sentinel.into_shared(guard); in new() 70 guard: &Guard, in push_internal() 74 let next = o.next.load(Acquire, guard); in push_internal() 79 .compare_exchange(onto, next, Release, Relaxed, guard); in push_internal() 85 .compare_exchange(Shared::null(), new, Release, Relaxed, guard) in push_internal() 91 .compare_exchange(onto, new, Release, Relaxed, guard); in push_internal() 98 pub(crate) fn push(&self, t: T, guard: &Guard) { in push() 103 let new = Owned::into_shared(new, guard); in push() 107 let tail = self.tail.load(Acquire, guard); in push() [all …]
|
/external/rust/crates/crossbeam-epoch/src/ |
D | collector.rs | 17 use crate::guard::Guard; 149 let guard = &handle.pin(); in flush_local_bag() localVariable 151 let a = Owned::new(7).into_shared(guard); in flush_local_bag() 152 guard.defer_destroy(a); in flush_local_bag() 154 assert!(!(*guard.local).bag.with(|b| (*b).is_empty())); in flush_local_bag() 156 while !(*guard.local).bag.with(|b| (*b).is_empty()) { in flush_local_bag() 157 guard.flush(); in flush_local_bag() 169 let guard = &handle.pin(); in garbage_buffering() localVariable 172 let a = Owned::new(7).into_shared(guard); in garbage_buffering() 173 guard.defer_destroy(a); in garbage_buffering() [all …]
|
/external/rust/crates/tokio/src/sync/tests/ |
D | loom_rwlock.rs | 17 let mut guard = rwclone.write().await; in concurrent_write() localVariable 18 *guard += 5; in concurrent_write() 25 let mut guard = rwclone.write_owned().await; in concurrent_write() localVariable 26 *guard += 5; in concurrent_write() 33 let guard = block_on(rwlock.read()); in concurrent_write() localVariable 34 assert_eq!(10, *guard); in concurrent_write() 48 let mut guard = rwclone.write().await; in concurrent_read_write() localVariable 49 *guard += 5; in concurrent_read_write() 56 let mut guard = rwclone.write_owned().await; in concurrent_read_write() localVariable 57 *guard += 5; in concurrent_read_write() [all …]
|
/external/llvm-project/polly/lib/External/isl/ |
D | isl_ast_graft.c | 69 graft->guard = isl_set_universe(isl_space_copy(space)); in isl_ast_graft_alloc() 72 if (!graft->guard || !graft->enforced) in isl_ast_graft_alloc() 127 dim = isl_set_dim(graft_0->guard, isl_dim_set); in equal_independent_guards() 133 skip = isl_set_involves_dims(graft_0->guard, in equal_independent_guards() 146 equal = isl_set_is_equal(graft_0->guard, graft->guard); in equal_independent_guards() 161 static __isl_give isl_set *hoist_guard(__isl_take isl_set *guard, in hoist_guard() argument 168 dim = isl_set_dim(guard, isl_dim_set); in hoist_guard() 170 return isl_set_free(guard); in hoist_guard() 172 guard = isl_set_remove_divs_involving_dims(guard, in hoist_guard() 174 guard = isl_set_eliminate(guard, isl_dim_set, depth, 1); in hoist_guard() [all …]
|
/external/llvm-project/llvm/test/Transforms/InstCombine/ |
D | call-guard.ll | 5 declare void @llvm.experimental.guard(i1, ...) 9 ; CHECK-NEXT: call void (i1, ...) @llvm.experimental.guard(i1 %A) [ "deopt"() ] 11 call void(i1, ...) @llvm.experimental.guard( i1 %A )[ "deopt"() ] 12 call void(i1, ...) @llvm.experimental.guard( i1 %A )[ "deopt"() ] 13 call void(i1, ...) @llvm.experimental.guard( i1 %A )[ "deopt"() ] 14 call void(i1, ...) @llvm.experimental.guard( i1 %A )[ "deopt"() ] 15 call void(i1, ...) @llvm.experimental.guard( i1 %A )[ "deopt"() ] 16 call void(i1, ...) @llvm.experimental.guard( i1 %A )[ "deopt"() ] 17 call void(i1, ...) @llvm.experimental.guard( i1 %A )[ "deopt"() ] 18 call void(i1, ...) @llvm.experimental.guard( i1 %A )[ "deopt"() ] [all …]
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | MonitorTestCase.java | 142 TestGuard guard = new TestGuard(true); in testEnterWhen_initiallyTrue() local 143 thread1.callAndAssertReturns(enterWhen(), guard); in testEnterWhen_initiallyTrue() local 149 TestGuard guard = new TestGuard(false); in testEnterWhen_initiallyFalse() local 150 thread1.callAndAssertWaits(enterWhen(), guard); in testEnterWhen_initiallyFalse() local 152 guard.setSatisfied(true); in testEnterWhen_initiallyFalse() 158 TestGuard guard = new TestGuard(true); in testEnterWhen_alreadyOccupied() local 160 thread1.callAndAssertBlocks(enterWhen(), guard); in testEnterWhen_alreadyOccupied() local 166 TestGuard guard = new TestGuard(true); in testEnterIf_initiallyTrue() local 167 thread1.callAndAssertReturns(true, enterIf(), guard); in testEnterIf_initiallyTrue() 172 TestGuard guard = new TestGuard(false); in testEnterIf_initiallyFalse() local [all …]
|
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/ |
D | MonitorTestCase.java | 142 TestGuard guard = new TestGuard(true); in testEnterWhen_initiallyTrue() local 143 thread1.callAndAssertReturns(enterWhen(), guard); in testEnterWhen_initiallyTrue() local 147 TestGuard guard = new TestGuard(false); in testEnterWhen_initiallyFalse() local 148 thread1.callAndAssertWaits(enterWhen(), guard); in testEnterWhen_initiallyFalse() local 150 guard.setSatisfied(true); in testEnterWhen_initiallyFalse() 156 TestGuard guard = new TestGuard(true); in testEnterWhen_alreadyOccupied() local 158 thread1.callAndAssertBlocks(enterWhen(), guard); in testEnterWhen_alreadyOccupied() local 164 TestGuard guard = new TestGuard(true); in testEnterIf_initiallyTrue() local 165 thread1.callAndAssertReturns(true, enterIf(), guard); in testEnterIf_initiallyTrue() 170 TestGuard guard = new TestGuard(false); in testEnterIf_initiallyFalse() local [all …]
|
/external/openscreen/third_party/abseil/src/absl/debugging/internal/ |
D | demangle.cc | 280 ComplexityGuard guard(state); in ParseOneCharToken() local 281 if (guard.IsTooComplex()) return false; in ParseOneCharToken() 293 ComplexityGuard guard(state); in ParseTwoCharToken() local 294 if (guard.IsTooComplex()) return false; in ParseTwoCharToken() 306 ComplexityGuard guard(state); in ParseCharClass() local 307 if (guard.IsTooComplex()) return false; in ParseCharClass() 604 ComplexityGuard guard(state); in ParseMangledName() local 605 if (guard.IsTooComplex()) return false; in ParseMangledName() 613 ComplexityGuard guard(state); in ParseEncoding() local 614 if (guard.IsTooComplex()) return false; in ParseEncoding() [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/debugging/internal/ |
D | demangle.cc | 280 ComplexityGuard guard(state); in ParseOneCharToken() local 281 if (guard.IsTooComplex()) return false; in ParseOneCharToken() 293 ComplexityGuard guard(state); in ParseTwoCharToken() local 294 if (guard.IsTooComplex()) return false; in ParseTwoCharToken() 306 ComplexityGuard guard(state); in ParseCharClass() local 307 if (guard.IsTooComplex()) return false; in ParseCharClass() 604 ComplexityGuard guard(state); in ParseMangledName() local 605 if (guard.IsTooComplex()) return false; in ParseMangledName() 613 ComplexityGuard guard(state); in ParseEncoding() local 614 if (guard.IsTooComplex()) return false; in ParseEncoding() [all …]
|
/external/libtextclassifier/abseil-cpp/absl/debugging/internal/ |
D | demangle.cc | 280 ComplexityGuard guard(state); in ParseOneCharToken() local 281 if (guard.IsTooComplex()) return false; in ParseOneCharToken() 293 ComplexityGuard guard(state); in ParseTwoCharToken() local 294 if (guard.IsTooComplex()) return false; in ParseTwoCharToken() 306 ComplexityGuard guard(state); in ParseCharClass() local 307 if (guard.IsTooComplex()) return false; in ParseCharClass() 604 ComplexityGuard guard(state); in ParseMangledName() local 605 if (guard.IsTooComplex()) return false; in ParseMangledName() 613 ComplexityGuard guard(state); in ParseEncoding() local 614 if (guard.IsTooComplex()) return false; in ParseEncoding() [all …]
|
/external/abseil-cpp/absl/debugging/internal/ |
D | demangle.cc | 279 ComplexityGuard guard(state); in ParseOneCharToken() local 280 if (guard.IsTooComplex()) return false; in ParseOneCharToken() 292 ComplexityGuard guard(state); in ParseTwoCharToken() local 293 if (guard.IsTooComplex()) return false; in ParseTwoCharToken() 305 ComplexityGuard guard(state); in ParseCharClass() local 306 if (guard.IsTooComplex()) return false; in ParseCharClass() 600 ComplexityGuard guard(state); in ParseMangledName() local 601 if (guard.IsTooComplex()) return false; in ParseMangledName() 609 ComplexityGuard guard(state); in ParseEncoding() local 610 if (guard.IsTooComplex()) return false; in ParseEncoding() [all …]
|
/external/webrtc/third_party/abseil-cpp/absl/debugging/internal/ |
D | demangle.cc | 279 ComplexityGuard guard(state); in ParseOneCharToken() local 280 if (guard.IsTooComplex()) return false; in ParseOneCharToken() 292 ComplexityGuard guard(state); in ParseTwoCharToken() local 293 if (guard.IsTooComplex()) return false; in ParseTwoCharToken() 305 ComplexityGuard guard(state); in ParseCharClass() local 306 if (guard.IsTooComplex()) return false; in ParseCharClass() 600 ComplexityGuard guard(state); in ParseMangledName() local 601 if (guard.IsTooComplex()) return false; in ParseMangledName() 609 ComplexityGuard guard(state); in ParseEncoding() local 610 if (guard.IsTooComplex()) return false; in ParseEncoding() [all …]
|
/external/llvm/test/Transforms/GuardWidening/ |
D | range-check-merging.ll | 1 ; RUN: opt -S -guard-widening < %s | FileCheck %s 3 declare void @llvm.experimental.guard(i1,...) 7 ; CHECK-NOT: @llvm.experimental.guard 9 ; CHECK: call void (i1, ...) @llvm.experimental.guard(i1 %wide.chk2) [ "deopt"() ] 14 call void(i1, ...) @llvm.experimental.guard(i1 %chk0) [ "deopt"() ] 18 call void(i1, ...) @llvm.experimental.guard(i1 %chk1) [ "deopt"() ] 22 call void(i1, ...) @llvm.experimental.guard(i1 %chk2) [ "deopt"() ] 26 call void(i1, ...) @llvm.experimental.guard(i1 %chk3) [ "deopt"() ] 32 ; CHECK-NOT: llvm.experimental.guard 34 ; CHECK: call void (i1, ...) @llvm.experimental.guard(i1 %wide.chk2) [ "deopt"() ] [all …]
|
D | basic.ll | 1 ; RUN: opt -S -guard-widening < %s | FileCheck %s 2 ; RUN: opt -S -passes=guard-widening < %s | FileCheck %s 4 declare void @llvm.experimental.guard(i1,...) 12 ; CHECK: call void (i1, ...) @llvm.experimental.guard(i1 %wide.chk) [ "deopt"() ] 15 call void(i1, ...) @llvm.experimental.guard(i1 %cond_0) [ "deopt"() ] 16 call void(i1, ...) @llvm.experimental.guard(i1 %cond_1) [ "deopt"() ] 25 ; CHECK: call void (i1, ...) @llvm.experimental.guard(i1 %wide.chk) [ "deopt"() ] 28 call void(i1, ...) @llvm.experimental.guard(i1 %cond_0) [ "deopt"() ] 39 ; CHECK-NOT: call void (i1, ...) @llvm.experimental.guard( 41 call void(i1, ...) @llvm.experimental.guard(i1 %cond_1) [ "deopt"() ] [all …]
|
/external/llvm-project/llvm/test/Transforms/GuardWidening/ |
D | range-check-merging.ll | 1 ; RUN: opt -S -guard-widening < %s | FileCheck %s 3 declare void @llvm.experimental.guard(i1,...) 7 ; CHECK-NOT: @llvm.experimental.guard 9 ; CHECK: call void (i1, ...) @llvm.experimental.guard(i1 %wide.chk2) [ "deopt"() ] 14 call void(i1, ...) @llvm.experimental.guard(i1 %chk0) [ "deopt"() ] 18 call void(i1, ...) @llvm.experimental.guard(i1 %chk1) [ "deopt"() ] 22 call void(i1, ...) @llvm.experimental.guard(i1 %chk2) [ "deopt"() ] 26 call void(i1, ...) @llvm.experimental.guard(i1 %chk3) [ "deopt"() ] 32 ; CHECK-NOT: llvm.experimental.guard 34 ; CHECK: call void (i1, ...) @llvm.experimental.guard(i1 %wide.chk2) [ "deopt"() ] [all …]
|
D | basic.ll | 1 ; RUN: opt -S -guard-widening < %s | FileCheck %s 2 ; RUN: opt -S -passes=guard-widening < %s | FileCheck %s 4 declare void @llvm.experimental.guard(i1,...) 12 ; CHECK: call void (i1, ...) @llvm.experimental.guard(i1 %wide.chk) [ "deopt"() ] 15 call void(i1, ...) @llvm.experimental.guard(i1 %cond_0) [ "deopt"() ] 16 call void(i1, ...) @llvm.experimental.guard(i1 %cond_1) [ "deopt"() ] 25 ; CHECK: call void (i1, ...) @llvm.experimental.guard(i1 %wide.chk) [ "deopt"() ] 28 call void(i1, ...) @llvm.experimental.guard(i1 %cond_0) [ "deopt"() ] 39 ; CHECK-NOT: call void (i1, ...) @llvm.experimental.guard( 41 call void(i1, ...) @llvm.experimental.guard(i1 %cond_1) [ "deopt"() ] [all …]
|
/external/vixl/src/aarch64/ |
D | macro-assembler-aarch64.h | 1066 SingleEmissionCheckScope guard(this); in Adr() 1072 SingleEmissionCheckScope guard(this); in Adrp() 1079 SingleEmissionCheckScope guard(this); in Asr() 1087 SingleEmissionCheckScope guard(this); in Asr() 1117 SingleEmissionCheckScope guard(this); in Bfm() 1127 SingleEmissionCheckScope guard(this); in Bfi() 1133 SingleEmissionCheckScope guard(this); in Bfc() 1143 SingleEmissionCheckScope guard(this); in Bfxil() 1151 SingleEmissionCheckScope guard(this); in Bl() 1157 SingleEmissionCheckScope guard(this); in Blr() [all …]
|
/external/compiler-rt/lib/safestack/ |
D | safestack.cc | 95 static inline void *unsafe_stack_alloc(size_t size, size_t guard) { in unsafe_stack_alloc() argument 96 CHECK_GE(size + guard, size); in unsafe_stack_alloc() 97 void *addr = MmapOrDie(size + guard, "unsafe_stack_alloc"); in unsafe_stack_alloc() 98 MprotectNoAccess((uptr)addr, (uptr)guard); in unsafe_stack_alloc() 99 return (char *)addr + guard; in unsafe_stack_alloc() 102 static inline void unsafe_stack_setup(void *start, size_t size, size_t guard) { in unsafe_stack_setup() argument 104 CHECK_GE((char *)start + guard, (char *)start); in unsafe_stack_setup() 111 unsafe_stack_guard = guard; in unsafe_stack_setup() 176 size_t guard = 0; in INTERCEPTOR() local 180 pthread_attr_getguardsize(attr, &guard); in INTERCEPTOR() [all …]
|
/external/llvm/test/Transforms/EarlyCSE/ |
D | guards.ll | 3 declare void @llvm.experimental.guard(i1,...) 6 ; We can do store to load forwarding over a guard, since it does not 11 ; CHECK-NEXT: call void (i1, ...) @llvm.experimental.guard(i1 %cond) [ "deopt"() ] 15 call void(i1,...) @llvm.experimental.guard(i1 %cond) [ "deopt"() ] 21 ; We can CSE loads over a guard, since it does not clobber memory 25 ; CHECK-NEXT: call void (i1, ...) @llvm.experimental.guard(i1 %cond) [ "deopt"() ] 29 call void(i1,...) @llvm.experimental.guard(i1 %cond) [ "deopt"() ] 40 call void(i1, ...) @llvm.experimental.guard(i1 true) [ "deopt"() ] 45 ; After a guard has executed the condition it was guarding is known to 50 ; CHECK-NEXT: call void (i1, ...) @llvm.experimental.guard(i1 %cond0) [ "deopt"() ] [all …]
|
/external/vixl/src/aarch32/ |
D | macro-assembler-aarch32.h | 86 ExactAssemblyScopeWithoutPoolsCheck guard(this, in EmitPoolHeader() 109 ExactAssemblyScopeWithoutPoolsCheck guard(this, in EmitNopBytes() 569 MacroEmissionCheckScope guard(this, pool_policy); in Adr() 570 ITScope it_scope(this, &cond, guard); in Adr() 592 MacroEmissionCheckScope guard(this, pool_policy); in Ldr() 593 ITScope it_scope(this, &cond, guard); in Ldr() 613 MacroEmissionCheckScope guard(this, pool_policy); in Ldrb() 614 ITScope it_scope(this, &cond, guard); in Ldrb() 635 MacroEmissionCheckScope guard(this, pool_policy); in Ldrd() 636 ITScope it_scope(this, &cond, guard); in Ldrd() [all …]
|
/external/rust/crates/crossbeam-epoch/benches/ |
D | defer.rs | 12 let guard = &epoch::pin(); in single_alloc_defer_free() localVariable 13 let p = Owned::new(1).into_shared(guard); in single_alloc_defer_free() 15 guard.defer_destroy(p); in single_alloc_defer_free() 23 let guard = &epoch::pin(); in single_defer() localVariable 24 guard.defer(move || ()); in single_defer() 38 let guard = &epoch::pin(); in multi_alloc_defer_free() localVariable 39 let p = Owned::new(1).into_shared(guard); in multi_alloc_defer_free() 41 guard.defer_destroy(p); in multi_alloc_defer_free() 61 let guard = &epoch::pin(); in multi_defer() localVariable 62 guard.defer(move || ()); in multi_defer()
|