/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopPredication/ |
D | visited.ll | 4 declare void @llvm.experimental.guard(i1, ...) 24 ; CHECK-NEXT: call void (i1, ...) @llvm.experimental.guard(i1 [[guard_cond]], i32 9) [ "deopt"() ] 29 %guard.cond.2 = and i1 %within.bounds, %unrelated.cond 30 %guard.cond.3 = and i1 %guard.cond.2, %unrelated.cond 31 %guard.cond.4 = and i1 %guard.cond.3, %guard.cond.2 32 %guard.cond.5 = and i1 %guard.cond.4, %guard.cond.3 33 %guard.cond.6 = and i1 %guard.cond.5, %guard.cond.4 34 %guard.cond.7 = and i1 %guard.cond.6, %guard.cond.5 35 %guard.cond.8 = and i1 %guard.cond.7, %guard.cond.6 36 %guard.cond.9 = and i1 %guard.cond.8, %guard.cond.7 [all …]
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | Monitor.java | 419 public void enterWhen(Guard guard) throws InterruptedException { in enterWhen() argument 420 if (guard.monitor != this) { in enterWhen() 429 if (!guard.isSatisfied()) { in enterWhen() 430 await(guard, signalBeforeWaiting); in enterWhen() 443 public void enterWhenUninterruptibly(Guard guard) { in enterWhenUninterruptibly() argument 444 if (guard.monitor != this) { in enterWhenUninterruptibly() 453 if (!guard.isSatisfied()) { in enterWhenUninterruptibly() 454 awaitUninterruptibly(guard, signalBeforeWaiting); in enterWhenUninterruptibly() 471 public boolean enterWhen(Guard guard, long time, TimeUnit unit) throws InterruptedException { in enterWhen() argument 473 if (guard.monitor != this) { in enterWhen() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/ |
D | call-guard.ll | 3 declare void @llvm.experimental.guard(i1, ...) 7 ; CHECK-NEXT: call void (i1, ...) @llvm.experimental.guard(i1 %A) [ "deopt"() ] 9 call void(i1, ...) @llvm.experimental.guard( i1 %A )[ "deopt"() ] 10 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"() ] [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 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/swiftshader/third_party/llvm-7.0/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/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/aarch32/ |
D | macro-assembler-aarch32.h | 86 ExactAssemblyScopeWithoutPoolsCheck guard(this, in EmitPoolHeader() 109 ExactAssemblyScopeWithoutPoolsCheck guard(this, in EmitNopBytes() 566 MacroEmissionCheckScope guard(this, pool_policy); in Adr() 567 ITScope it_scope(this, &cond, guard); in Adr() 589 MacroEmissionCheckScope guard(this, pool_policy); in Ldr() 590 ITScope it_scope(this, &cond, guard); in Ldr() 610 MacroEmissionCheckScope guard(this, pool_policy); in Ldrb() 611 ITScope it_scope(this, &cond, guard); in Ldrb() 632 MacroEmissionCheckScope guard(this, pool_policy); in Ldrd() 633 ITScope it_scope(this, &cond, guard); in Ldrd() [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/aarch64/ |
D | macro-assembler-aarch64.h | 974 SingleEmissionCheckScope guard(this); in Adr() 980 SingleEmissionCheckScope guard(this); in Adrp() 987 SingleEmissionCheckScope guard(this); in Asr() 995 SingleEmissionCheckScope guard(this); in Asr() 1025 SingleEmissionCheckScope guard(this); in Bfm() 1035 SingleEmissionCheckScope guard(this); in Bfi() 1041 SingleEmissionCheckScope guard(this); in Bfc() 1051 SingleEmissionCheckScope guard(this); in Bfxil() 1059 SingleEmissionCheckScope guard(this); in Bl() 1065 SingleEmissionCheckScope guard(this); in Blr() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopUnswitch/ |
D | guards.ll | 3 declare void @llvm.experimental.guard(i1, ...) 8 ; CHECK-NOT: guard 10 ; CHECK: call void (i1, ...) @llvm.experimental.guard(i1 false) [ "deopt"() ] 17 call void(i1, ...) @llvm.experimental.guard(i1 %c) [ "deopt"() ] 29 ; CHECK-NOT: guard 31 ; CHECK: call void (i1, ...) @llvm.experimental.guard(i1 false) [ "deopt"(i32 2) ] 32 ; CHECK-NOT: guard 34 ; CHECK: call void (i1, ...) @llvm.experimental.guard(i1 false) [ "deopt"(i32 1) ] 35 ; CHECK-NOT: guard 37 ; CHECK: call void (i1, ...) @llvm.experimental.guard(i1 false) [ "deopt"(i32 1) ] [all …]
|
/external/llvm/test/Transforms/LoopUnswitch/ |
D | guards.ll | 3 declare void @llvm.experimental.guard(i1, ...) 8 ; CHECK-NOT: guard 10 ; CHECK: call void (i1, ...) @llvm.experimental.guard(i1 false) [ "deopt"() ] 17 call void(i1, ...) @llvm.experimental.guard(i1 %c) [ "deopt"() ] 29 ; CHECK-NOT: guard 31 ; CHECK: call void (i1, ...) @llvm.experimental.guard(i1 false) [ "deopt"(i32 2) ] 32 ; CHECK-NOT: guard 34 ; CHECK: call void (i1, ...) @llvm.experimental.guard(i1 false) [ "deopt"(i32 1) ] 35 ; CHECK-NOT: guard 37 ; CHECK: call void (i1, ...) @llvm.experimental.guard(i1 false) [ "deopt"(i32 1) ] [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/EarlyCSE/ |
D | guards.ll | 4 declare void @llvm.experimental.guard(i1,...) 9 ; We can do store to load forwarding over a guard, since it does not 14 ; CHECK-NEXT: call void (i1, ...) @llvm.experimental.guard(i1 %cond) [ "deopt"() ] 18 call void(i1,...) @llvm.experimental.guard(i1 %cond) [ "deopt"() ] 24 ; We can CSE loads over a guard, since it does not clobber memory 28 ; CHECK-NEXT: call void (i1, ...) @llvm.experimental.guard(i1 %cond) [ "deopt"() ] 32 call void(i1,...) @llvm.experimental.guard(i1 %cond) [ "deopt"() ] 43 call void(i1, ...) @llvm.experimental.guard(i1 true) [ "deopt"() ] 48 ; After a guard has executed the condition it was guarding is known to 53 ; CHECK-NEXT: call void (i1, ...) @llvm.experimental.guard(i1 %cond0) [ "deopt"() ] [all …]
|
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/operators/ |
D | rx-observe_on.hpp | 99 void finish(std::unique_lock<std::mutex>& guard, typename mode::type end) const { in finish() 100 if (!guard.owns_lock()) { in finish() 109 RXCPP_UNWIND_AUTO([&](){guard.lock();}); in finish() 110 guard.unlock(); in finish() 115 void ensure_processing(std::unique_lock<std::mutex>& guard) const { in ensure_processing() 116 if (!guard.owns_lock()) { in ensure_processing() 123 finish(guard, mode::Disposed); in ensure_processing() 133 std::unique_lock<std::mutex> guard(lock); in ensure_processing() 136 finish(guard, mode::Disposed); in ensure_processing() 150 std::unique_lock<std::mutex> guard(lock); in ensure_processing() [all …]
|
/external/v8/src/libplatform/ |
D | default-foreground-task-runner.cc | 18 base::LockGuard<base::Mutex> guard(&lock_); in Terminate() local 35 base::LockGuard<base::Mutex> guard(&lock_); in PostTask() local 36 PostTaskLocked(std::move(task), guard); in PostTask() 46 base::LockGuard<base::Mutex> guard(&lock_); in PostDelayedTask() local 54 base::LockGuard<base::Mutex> guard(&lock_); in PostIdleTask() local 65 base::LockGuard<base::Mutex> guard(&lock_); in PopTaskFromQueue() local 67 std::unique_ptr<Task> task = PopTaskFromDelayedQueueLocked(guard); in PopTaskFromQueue() 69 PostTaskLocked(std::move(task), guard); in PopTaskFromQueue() 70 task = PopTaskFromDelayedQueueLocked(guard); in PopTaskFromQueue() 75 WaitForTaskLocked(guard); in PopTaskFromQueue() [all …]
|
/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.mod/ |
D | swap.pass.cpp | 127 DisableAllocationGuard guard; in main() local 128 ((void)guard); in main() 138 DisableAllocationGuard guard; in main() local 139 ((void)guard); in main() 146 DisableAllocationGuard guard; in main() local 147 ((void)guard); in main() 154 DisableAllocationGuard guard; in main() local 155 ((void)guard); in main() 163 DisableAllocationGuard guard; in main() local 164 ((void)guard); in main() [all …]
|
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
D | signal_segv_handler.cc | 24 void *guard; variable 27 mprotect(guard, page_size, PROT_READ | PROT_WRITE); in handler() 38 guard = mmap(0, 3 * page_size, PROT_NONE, MAP_ANON | MAP_PRIVATE, -1, 0); in main() 39 guard = (char*)guard + page_size; // work around a kernel bug in main() 41 mprotect(guard, page_size, PROT_NONE); in main() 42 *(int*)guard = 1; in main()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/JumpThreading/ |
D | guards.ll | 3 declare void @llvm.experimental.guard(i1, ...) 26 ; CHECK-NEXT: call void (i1, ...) @llvm.experimental.guard(i1 %condGuard 33 ; CHECK-NOT: call void(i1, ...) @llvm.experimental.guard( 37 call void(i1, ...) @llvm.experimental.guard(i1 %condGuard) [ "deopt"() ] 51 ; CHECK-NEXT: call void (i1, ...) @llvm.experimental.guard(i1 %condGuard 66 ; CHECK-NOT: call void(i1, ...) @llvm.experimental.guard( 70 call void(i1, ...) @llvm.experimental.guard(i1 %condGuard) [ "deopt"() ] 96 ; CHECK-NEXT: call void (i1, ...) @llvm.experimental.guard(i1 %condGuard) [ "deopt"() ] 100 call void(i1, ...) @llvm.experimental.guard(i1 %condGuard) [ "deopt"() ] 126 ; CHECK-NEXT: call void (i1, ...) @llvm.experimental.guard(i1 %condGuard) [ "deopt"() ] [all …]
|
/external/llvm/test/Analysis/ScalarEvolution/ |
D | guards.ll | 11 declare void @llvm.experimental.guard(i1, ...) 21 ; CHECK: call void (i1, ...) @llvm.experimental.guard(i1 true) [ "deopt"() ] 23 ; CHECK: call void (i1, ...) @llvm.experimental.guard(i1 %iv.inc.cmp) [ "deopt"() ] 30 call void(i1, ...) @llvm.experimental.guard(i1 %iv.cmp) [ "deopt"() ] 33 call void(i1, ...) @llvm.experimental.guard(i1 %iv.inc.cmp) [ "deopt"() ] 56 ; CHECK: call void (i1, ...) @llvm.experimental.guard(i1 %iv.inc.cmp) [ "deopt"() ] 65 call void(i1, ...) @llvm.experimental.guard(i1 %iv.inc.cmp) [ "deopt"() ] 80 call void(i1, ...) @llvm.experimental.guard(i1 %entry.cond) [ "deopt"() ] 85 ; CHECK: call void (i1, ...) @llvm.experimental.guard(i1 true) [ "deopt"() ] 87 ; CHECK: call void (i1, ...) @llvm.experimental.guard(i1 %iv.inc.cmp) [ "deopt"() ] [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/ScalarEvolution/ |
D | guards.ll | 11 declare void @llvm.experimental.guard(i1, ...) 23 ; CHECK: call void (i1, ...) @llvm.experimental.guard(i1 true) [ "deopt"() ] 25 ; CHECK: call void (i1, ...) @llvm.experimental.guard(i1 %iv.inc.cmp) [ "deopt"() ] 32 call void(i1, ...) @llvm.experimental.guard(i1 %iv.cmp) [ "deopt"() ] 35 call void(i1, ...) @llvm.experimental.guard(i1 %iv.inc.cmp) [ "deopt"() ] 58 ; CHECK: call void (i1, ...) @llvm.experimental.guard(i1 %iv.inc.cmp) [ "deopt"() ] 68 call void(i1, ...) @llvm.experimental.guard(i1 %iv.inc.cmp) [ "deopt"() ] 83 call void(i1, ...) @llvm.experimental.guard(i1 %entry.cond) [ "deopt"() ] 88 ; CHECK: call void (i1, ...) @llvm.experimental.guard(i1 true) [ "deopt"() ] 90 ; CHECK: call void (i1, ...) @llvm.experimental.guard(i1 %iv.inc.cmp) [ "deopt"() ] [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/BasicAA/ |
D | guards.ll | 5 declare void @llvm.experimental.guard(i1, ...) 9 tail call void(i1,...) @llvm.experimental.guard(i1 true) [ "deopt"() ] 15 ; CHECK: Just Ref: Ptr: i8* %P <-> tail call void (i1, ...) @llvm.experimental.guard(i1 true) [ … 16 ; CHECK: Just Ref: Ptr: i8* %Q <-> tail call void (i1, ...) @llvm.experimental.guard(i1 true) [ … 19 ; CHECK: Just Ref: tail call void (i1, ...) @llvm.experimental.guard(i1 true) [ "deopt"() ] <-> … 20 …* %Q, i64 12, i1 false) <-> tail call void (i1, ...) @llvm.experimental.guard(i1 true) [ "deopt"… 24 tail call void(i1,...) @llvm.experimental.guard(i1 true) [ "deopt"() ] 28 ; CHECK: NoModRef: tail call void (i1, ...) @llvm.experimental.guard(i1 true) [ "deopt"() ] <-> … 29 …@unknown_but_readonly() <-> tail call void (i1, ...) @llvm.experimental.guard(i1 true) [ "deopt"…
|
/external/llvm/test/Analysis/BasicAA/ |
D | guards.ll | 5 declare void @llvm.experimental.guard(i1, ...) 9 tail call void(i1,...) @llvm.experimental.guard(i1 true) [ "deopt"() ] 15 ; CHECK: Just Ref: Ptr: i8* %P <-> tail call void (i1, ...) @llvm.experimental.guard(i1 true) [ … 16 ; CHECK: Just Ref: Ptr: i8* %Q <-> tail call void (i1, ...) @llvm.experimental.guard(i1 true) [ … 19 ; CHECK: Just Ref: tail call void (i1, ...) @llvm.experimental.guard(i1 true) [ "deopt"() ] <-> … 20 …64 12, i32 1, i1 false) <-> tail call void (i1, ...) @llvm.experimental.guard(i1 true) [ "deopt"… 24 tail call void(i1,...) @llvm.experimental.guard(i1 true) [ "deopt"() ] 28 ; CHECK: NoModRef: tail call void (i1, ...) @llvm.experimental.guard(i1 true) [ "deopt"() ] <-> … 29 …@unknown_but_readonly() <-> tail call void (i1, ...) @llvm.experimental.guard(i1 true) [ "deopt"…
|
/external/llvm/test/Transforms/SimplifyCFG/ |
D | guards.ll | 3 declare void @llvm.experimental.guard(i1, ...) 8 ; CHECK-NEXT: call void (i1, ...) @llvm.experimental.guard(i1 false) [ "deopt"() ] 11 call void(i1, ...) @llvm.experimental.guard(i1 false) [ "deopt"() ] 16 ; Demonstrate that we (intentionally) do not simplify a guard on undef 26 call void(i1, ...) @llvm.experimental.guard(i1 undef) [ "deopt"() ] 39 call void(i1, ...) @llvm.experimental.guard(i1 false) [ "deopt"() ] 47 ; CHECK-NEXT: call void (i1, ...) @llvm.experimental.guard(i1 false) [ "deopt"() ] 61 call void(i1, ...) @llvm.experimental.guard(i1 false) [ "deopt"() ] 79 ; CHECK-NEXT: call void (i1, ...) @llvm.experimental.guard(i1 false) [ "deopt"() ]
|