| /llvm-project-15.0.7/llvm/test/Transforms/LoopPredication/ |
| H A D | visited.ll | 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 57 %guard.cond.10 = and i1 %guard.cond.9, %guard.cond.8 58 %guard.cond.11 = and i1 %guard.cond.10, %guard.cond.9 59 %guard.cond.12 = and i1 %guard.cond.11, %guard.cond.10 60 %guard.cond.13 = and i1 %guard.cond.12, %guard.cond.11 [all …]
|
| /llvm-project-15.0.7/polly/lib/External/isl/ |
| H A D | isl_ast_graft.c | 175 guard = isl_set_compute_divs(guard); in hoist_guard() 237 guard = isl_set_copy(graft_0->guard); in isl_ast_graft_list_extract_hoistable_guard() 239 guard = hoist_guard(guard, build); in isl_ast_graft_list_extract_hoistable_guard() 261 guard = isl_set_union(guard, guard_i); in isl_ast_graft_list_extract_hoistable_guard() 313 guard = isl_set_make_disjoint(guard); in ast_node_insert_if() 638 guard = isl_set_copy(graft->guard); in insert_pending_guard_nodes() 653 if_node[n_if].guard = guard; in insert_pending_guard_nodes() 810 graft->guard = isl_set_intersect(graft->guard, guard); in store_guard() 811 graft->guard = isl_set_gist(graft->guard, in store_guard() 842 graft->guard = isl_set_gist(graft->guard, in gist_guards() [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | call-guard.ll | 6 declare void @llvm.experimental.guard(i1, ...) 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"() ] 19 call void(i1, ...) @llvm.experimental.guard( i1 %A )[ "deopt"() ] 20 call void(i1, ...) @llvm.experimental.guard( i1 %A )[ "deopt"() ] 62 ; guard might control dereferenceability [all …]
|
| /llvm-project-15.0.7/llvm/test/Linker/ |
| H A D | stack-protector-guard-module-attrs.ll | 17 !0 = !{i32 1, !"stack-protector-guard", !"sysreg"} 25 !0 = !{i32 1, !"stack-protector-guard", !"global"} 33 !0 = !{i32 1, !"stack-protector-guard-reg", !"sp_el0"} 41 !0 = !{i32 1, !"stack-protector-guard-reg", !"sp_el1"} 49 !0 = !{i32 1, !"stack-protector-guard-offset", i32 257} 57 !0 = !{i32 1, !"stack-protector-guard-offset", i32 256} 65 !0 = !{i32 1, !"stack-protector-guard", !"sysreg"} 66 !1 = !{i32 1, !"stack-protector-guard-reg", !"sp_el0"} 67 !2 = !{i32 1, !"stack-protector-guard-offset", i32 257} 75 !0 = !{i32 1, !"stack-protector-guard", !"sysreg"} [all …]
|
| /llvm-project-15.0.7/llvm/test/Analysis/AliasSet/ |
| H A D | guards.ll | 3 declare void @llvm.experimental.guard(i1, ...) 16 call void (i1, ...) @llvm.experimental.guard(i1 %cond_b) [ "deopt"() ] 32 call void (i1, ...) @llvm.experimental.guard(i1 %cond_b) [ "deopt"() ] 48 call void (i1, ...) @llvm.experimental.guard(i1 %cond_b) [ "deopt"() ] 64 call void (i1, ...) @llvm.experimental.guard(i1 %cond_b) [ "deopt"() ] 79 call void (i1, ...) @llvm.experimental.guard(i1 %cond_a) [ "deopt"() ] 95 call void (i1, ...) @llvm.experimental.guard(i1 %cond_a) [ "deopt"() ] 111 call void (i1, ...) @llvm.experimental.guard(i1 %cond_a) [ "deopt"() ] 127 call void (i1, ...) @llvm.experimental.guard(i1 %cond_a) [ "deopt"() ] 143 call void (i1, ...) @llvm.experimental.guard(i1 %cond_a) [ "deopt"() ] [all …]
|
| /llvm-project-15.0.7/lldb/source/API/ |
| H A D | SBBreakpointLocation.cpp | 89 std::lock_guard<std::recursive_mutex> guard( in GetLoadAddress() local 102 std::lock_guard<std::recursive_mutex> guard( in SetEnabled() local 113 std::lock_guard<std::recursive_mutex> guard( in IsEnabled() local 125 std::lock_guard<std::recursive_mutex> guard( in GetHitCount() local 137 std::lock_guard<std::recursive_mutex> guard( in GetIgnoreCount() local 149 std::lock_guard<std::recursive_mutex> guard( in SetIgnoreCount() local 160 std::lock_guard<std::recursive_mutex> guard( in SetCondition() local 171 std::lock_guard<std::recursive_mutex> guard( in GetCondition() local 183 std::lock_guard<std::recursive_mutex> guard( in SetAutoContinue() local 194 std::lock_guard<std::recursive_mutex> guard( in GetAutoContinue() local [all …]
|
| H A D | SBBreakpoint.cpp | 123 std::lock_guard<std::recursive_mutex> guard( in ClearAllBreakpointSites() local 157 std::lock_guard<std::recursive_mutex> guard( in FindLocationIDByAddress() local 177 std::lock_guard<std::recursive_mutex> guard( in FindLocationByID() local 192 std::lock_guard<std::recursive_mutex> guard( in GetLocationAtIndex() local 206 std::lock_guard<std::recursive_mutex> guard( in SetEnabled() local 217 std::lock_guard<std::recursive_mutex> guard( in IsEnabled() local 230 std::lock_guard<std::recursive_mutex> guard( in SetOneShot() local 241 std::lock_guard<std::recursive_mutex> guard( in IsOneShot() local 253 std::lock_guard<std::recursive_mutex> guard( in IsInternal() local 266 std::lock_guard<std::recursive_mutex> guard( in SetIgnoreCount() local [all …]
|
| H A D | SBBreakpointName.cpp | 212 std::lock_guard<std::recursive_mutex> guard( in SetEnabled() local 236 std::lock_guard<std::recursive_mutex> guard( in IsEnabled() local 249 std::lock_guard<std::recursive_mutex> guard( in SetOneShot() local 263 std::lock_guard<std::recursive_mutex> guard( in IsOneShot() local 276 std::lock_guard<std::recursive_mutex> guard( in SetIgnoreCount() local 290 std::lock_guard<std::recursive_mutex> guard( in GetIgnoreCount() local 303 std::lock_guard<std::recursive_mutex> guard( in SetCondition() local 317 std::lock_guard<std::recursive_mutex> guard( in GetCondition() local 330 std::lock_guard<std::recursive_mutex> guard( in SetAutoContinue() local 344 std::lock_guard<std::recursive_mutex> guard( in GetAutoContinue() local [all …]
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | attr-guard_nocf.c | 5 __declspec(guard(nocf)) void testGuardNoCF(void) { // no warning in testGuardNoCF() 9 int __declspec(guard(nocf)) i; // expected-warning {{'guard' a… 10 void testGuardNoCFFuncParam(double __declspec(guard(nocf)) i) {} // expected-warning {{'guard' a… in testGuardNoCFFuncParam() 11 __declspec(guard(nocf)) typedef void (*FuncPtrWithGuardNoCF)(void); // expected-warning {{'guard' a… 14 __declspec(guard) void testGuardNoCFParams(void) { // expected-error {{'guard' attribute takes one … in testGuardNoCFParams() 18 __declspec(guard(1)) void testGuardNoCFParamType(void) { // expected-error {{'guard' attribute requ… in testGuardNoCFParamType() 22 __declspec(guard(nocf, nocf)) void testGuardNoCFTooManyParams(void) { // expected-error {{use of un… in testGuardNoCFTooManyParams() 26 __declspec(guard(cf)) void testGuardNoCFInvalidParam(void) { // expected-warning {{'guard' attribut… in testGuardNoCFInvalidParam()
|
| /llvm-project-15.0.7/llvm/test/Transforms/LoopFusion/ |
| H A D | guarded.ll | 83 for.first.guard: 85 br i1 %cmp.guard, label %for.first.preheader, label %for.second.guard 101 for.second.guard: 139 for.first.guard: 141 br i1 %cmp.guard, label %for.first.preheader, label %for.second.guard 158 for.second.guard: 196 for.first.guard: 198 br i1 %cmp.guard, label %for.first.preheader, label %for.second.guard 214 for.second.guard: 255 for.first.guard: [all …]
|
| H A D | guarded_unsafeblock_peel.ll | 10 ; CHECK: for.first.guard 11 ; CHECK: br i1 %cmp3, label %for.first.preheader, label %for.second.guard 18 ; CHECK-NEXT: br label %for.second.guard 19 ; CHECK: for.second.guard: 31 for.first.guard: 33 br i1 %cmp3, label %for.first.preheader, label %for.second.guard 35 for.first.preheader: ; preds = %for.first.guard 48 br label %for.second.guard 50 for.second.guard: ; preds = %for.first.exit, %for.first.guard 54 for.second.preheader: ; preds = %for.second.guard [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/GuardWidening/ |
| H A D | basic.ll | 2 ; RUN: opt -S -guard-widening < %s | FileCheck %s 3 ; RUN: opt -S -passes=guard-widening < %s | FileCheck %s 5 declare void @llvm.experimental.guard(i1,...) 18 call void(i1, ...) @llvm.experimental.guard(i1 %cond_0) [ "deopt"() ] 19 call void(i1, ...) @llvm.experimental.guard(i1 %cond_1) [ "deopt"() ] 39 call void(i1, ...) @llvm.experimental.guard(i1 %cond_0) [ "deopt"() ] 49 call void(i1, ...) @llvm.experimental.guard(i1 %cond_1) [ "deopt"() ] 73 call void(i1, ...) @llvm.experimental.guard(i1 %cond_0) [ "deopt"() ] 202 ; All else equal, we try to widen the earliest guard we can. This 236 ; In this case the earliest dominating guard is in a loop, and we [all …]
|
| H A D | posion.ll | 2 ; RUN: opt -S -guard-widening -dce < %s | FileCheck %s 6 declare void @llvm.experimental.guard(i1,...) 8 ; This tests shows the incorrect behavior of guard widening in terms of 15 ; The first two checks are in the first basic block and guard widening 21 ; are enough to cover c1 and c5, so it ends up with guard of c3 && c4 52 call void(i1, ...) @llvm.experimental.guard(i1 %c1) [ "deopt"(i64 1) ] 53 call void(i1, ...) @llvm.experimental.guard(i1 %c5) [ "deopt"(i64 5) ] 56 call void(i1, ...) @llvm.experimental.guard(i1 %c4) [ "deopt"(i64 4) ] 57 call void(i1, ...) @llvm.experimental.guard(i1 %c3) [ "deopt"(i64 3) ] 97 call void(i1, ...) @llvm.experimental.guard(i1 %c1) [ "deopt"(i64 1) ] [all …]
|
| H A D | range-check-merging.ll | 2 ; RUN: opt -S -guard-widening < %s | FileCheck %s 4 declare void @llvm.experimental.guard(i1,...) 26 call void(i1, ...) @llvm.experimental.guard(i1 %chk0) [ "deopt"() ] 30 call void(i1, ...) @llvm.experimental.guard(i1 %chk1) [ "deopt"() ] 34 call void(i1, ...) @llvm.experimental.guard(i1 %chk2) [ "deopt"() ] 38 call void(i1, ...) @llvm.experimental.guard(i1 %chk3) [ "deopt"() ] 62 call void(i1, ...) @llvm.experimental.guard(i1 %chk0) [ "deopt"() ] 66 call void(i1, ...) @llvm.experimental.guard(i1 %chk1) [ "deopt"() ] 70 call void(i1, ...) @llvm.experimental.guard(i1 %chk2) [ "deopt"() ] 74 call void(i1, ...) @llvm.experimental.guard(i1 %chk3) [ "deopt"() ] [all …]
|
| H A D | basic-loop.ll | 2 ; RUN: opt -S -passes="loop-mssa(guard-widening)" -verify-memoryssa < %s | FileCheck %s 4 declare void @llvm.experimental.guard(i1,...) 29 call void(i1, ...) @llvm.experimental.guard(i1 %cond_0) [ "deopt"(i32 0) ] 31 call void(i1, ...) @llvm.experimental.guard(i1 %cond_1) [ "deopt"(i32 1) ] 33 call void(i1, ...) @llvm.experimental.guard(i1 %cond_2) [ "deopt"(i32 2) ] 54 call void(i1, ...) @llvm.experimental.guard(i1 %cond_0) [ "deopt"(i32 0) ] 59 call void(i1, ...) @llvm.experimental.guard(i1 %cond_1) [ "deopt"(i32 1) ] 61 call void(i1, ...) @llvm.experimental.guard(i1 %cond_2) [ "deopt"(i32 2) ] 88 call void(i1, ...) @llvm.experimental.guard(i1 %cond_0) [ "deopt"(i32 0) ] 94 call void(i1, ...) @llvm.experimental.guard(i1 %cond_2) [ "deopt"(i32 2) ] [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/safestack/ |
| H A D | safestack.cpp | 92 SFS_CHECK(size + guard >= size); in unsafe_stack_alloc() 96 Mprotect(addr, guard, PROT_NONE); in unsafe_stack_alloc() 97 return (char *)addr + guard; in unsafe_stack_alloc() 109 unsafe_stack_guard = guard; in unsafe_stack_setup() 213 size_t guard = 0; in INTERCEPTOR() local 217 pthread_attr_getguardsize(attr, &guard); in INTERCEPTOR() 230 void *addr = unsafe_stack_alloc(size, guard); in INTERCEPTOR() 239 tinfo->unsafe_stack_guard = guard; in INTERCEPTOR() 268 size_t guard = 4096; in __safestack_init() local 275 void *addr = unsafe_stack_alloc(size, guard); in __safestack_init() [all …]
|
| /llvm-project-15.0.7/lldb/source/Target/ |
| H A D | ThreadPlanStack.cpp | 42 std::lock_guard<std::recursive_mutex> guard(m_stack_mutex); in DumpThreadPlans() local 56 std::lock_guard<std::recursive_mutex> guard(m_stack_mutex); in PrintOneStack() local 85 std::lock_guard<std::recursive_mutex> guard(m_stack_mutex); in CheckpointCompletedPlans() local 93 std::lock_guard<std::recursive_mutex> guard(m_stack_mutex); in RestoreCompletedPlanCheckpoint() local 102 std::lock_guard<std::recursive_mutex> guard(m_stack_mutex); in DiscardCompletedPlanCheckpoint() local 108 std::lock_guard<std::recursive_mutex> guard(m_stack_mutex); in ThreadDestroyed() local 137 std::lock_guard<std::recursive_mutex> guard(m_stack_mutex); in PushPlan() local 150 std::lock_guard<std::recursive_mutex> guard(m_stack_mutex); in PopPlan() local 164 std::lock_guard<std::recursive_mutex> guard(m_stack_mutex); in DiscardPlan() local 180 std::lock_guard<std::recursive_mutex> guard(m_stack_mutex); in DiscardPlansUpToPlan() local [all …]
|
| /llvm-project-15.0.7/flang/lib/Decimal/ |
| H A D | decimal-to-binary.cpp | 247 GuardType guard{guard_}; in ToBinary() local 250 guard = (guard & 1) | (guard >> 1) | in ToBinary() 256 if (guard != 0) { in ToBinary() 266 guard = (((guard >> (guardBits - 2)) & 1) << (guardBits - 1)) | (guard & 1); in ToBinary() 272 incr = guard > oneHalf || (guard == oneHalf && (fraction & 1)); in ToBinary() 275 incr = guard != 0 && !isNegative; in ToBinary() 278 incr = guard != 0 && isNegative; in ToBinary() 283 incr = guard >= oneHalf; in ToBinary() 385 int guard{0}; in ConvertToBinary() local 391 guard = guard + guard + !IsZero(); in ConvertToBinary() [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/EarlyCSE/ |
| H A D | guards.ll | 6 declare void @llvm.experimental.guard(i1,...) 11 ; We can do store to load forwarding over a guard, since it does not 26 call void(i1,...) @llvm.experimental.guard(i1 %cond) [ "deopt"() ] 32 ; We can CSE loads over a guard, since it does not clobber memory 46 call void(i1,...) @llvm.experimental.guard(i1 %cond) [ "deopt"() ] 57 call void(i1, ...) @llvm.experimental.guard(i1 true) [ "deopt"() ] 62 ; After a guard has executed the condition it was guarding is known to 71 call void(i1,...) @llvm.experimental.guard(i1 %cond0) [ "deopt"() ] 73 call void(i1,...) @llvm.experimental.guard(i1 %cond1) [ "deopt"() ] 184 ; Check that we do not DSE over calls to @llvm.experimental.guard. [all …]
|
| /llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
| H A D | signal_segv_handler.cpp | 25 void *guard; variable 28 mprotect(guard, page_size, PROT_READ | PROT_WRITE); in handler() 45 guard = mmap(0, 3 * page_size, PROT_NONE, MAP_ANON | MAP_PRIVATE, -1, 0); in main() 46 guard = (char*)guard + page_size; // work around a kernel bug in main() 48 mprotect(guard, page_size, PROT_NONE); in main() 49 *(int*)guard = 1; in main()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.mod/ |
| H A D | swap.pass.cpp | 133 ((void)guard); in main() 143 DisableAllocationGuard guard; in main() local 144 ((void)guard); in main() 151 DisableAllocationGuard guard; in main() local 152 ((void)guard); in main() 159 DisableAllocationGuard guard; in main() local 160 ((void)guard); in main() 168 DisableAllocationGuard guard; in main() local 169 ((void)guard); in main() 180 ((void)guard); in main() [all …]
|
| /llvm-project-15.0.7/lldb/source/Breakpoint/ |
| H A D | BreakpointList.cpp | 31 std::lock_guard<std::recursive_mutex> guard(m_mutex); in Add() local 45 std::lock_guard<std::recursive_mutex> guard(m_mutex); in Remove() local 63 std::lock_guard<std::recursive_mutex> guard(m_mutex); in RemoveInvalidLocations() local 69 std::lock_guard<std::recursive_mutex> guard(m_mutex); in SetEnabledAll() local 75 std::lock_guard<std::recursive_mutex> guard(m_mutex); in SetEnabledAllowed() local 82 std::lock_guard<std::recursive_mutex> guard(m_mutex); in RemoveAll() local 94 std::lock_guard<std::recursive_mutex> guard(m_mutex); in RemoveAllowed() local 122 std::lock_guard<std::recursive_mutex> guard(m_mutex); in FindBreakpointByID() local 151 std::lock_guard<std::recursive_mutex> guard(m_mutex); in Dump() local 163 std::lock_guard<std::recursive_mutex> guard(m_mutex); in GetBreakpointAtIndex() local [all …]
|
| H A D | BreakpointLocationList.cpp | 30 std::lock_guard<std::recursive_mutex> guard(m_mutex); in Create() local 69 std::lock_guard<std::recursive_mutex> guard(m_mutex); in FindByID() local 81 std::lock_guard<std::recursive_mutex> guard(m_mutex); in FindInModule() local 97 std::lock_guard<std::recursive_mutex> guard(m_mutex); in FindByAddress() local 125 std::lock_guard<std::recursive_mutex> guard(m_mutex); in Dump() local 136 std::lock_guard<std::recursive_mutex> guard(m_mutex); in GetByIndex() local 145 std::lock_guard<std::recursive_mutex> guard(m_mutex); in GetByIndex() local 154 std::lock_guard<std::recursive_mutex> guard(m_mutex); in ClearAllBreakpointSites() local 161 std::lock_guard<std::recursive_mutex> guard(m_mutex); in ResolveAllBreakpointSites() local 172 std::lock_guard<std::recursive_mutex> guard(m_mutex); in GetHitCount() local [all …]
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | guard_nocf.cpp | 7 __declspec(guard(nocf)) void nocf0() { in nocf0() 22 __declspec(guard(nocf)) void nocf1(); 30 __declspec(guard(nocf)) void nocf2() { in nocf2() 46 __declspec(guard(nocf)) void cf1() { in cf1() 59 __declspec(guard(nocf)) void nocf4() override { in nocf4() 71 __declspec(guard(nocf)) virtual void cf2();
|
| /llvm-project-15.0.7/lldb/source/DataFormatters/ |
| H A D | TypeCategoryMap.cpp | 28 std::lock_guard<std::recursive_mutex> guard(m_map_mutex); in Add() local 35 std::lock_guard<std::recursive_mutex> guard(m_map_mutex); in Delete() local 47 std::lock_guard<std::recursive_mutex> guard(m_map_mutex); in Enable() local 55 std::lock_guard<std::recursive_mutex> guard(m_map_mutex); in Disable() local 63 std::lock_guard<std::recursive_mutex> guard(m_map_mutex); in Enable() local 85 std::lock_guard<std::recursive_mutex> guard(m_map_mutex); in Disable() local 95 std::lock_guard<std::recursive_mutex> guard(m_map_mutex); in EnableAllCategories() local 118 std::lock_guard<std::recursive_mutex> guard(m_map_mutex); in DisableAllCategories() local 126 std::lock_guard<std::recursive_mutex> guard(m_map_mutex); in Clear() local 134 std::lock_guard<std::recursive_mutex> guard(m_map_mutex); in Get() local [all …]
|