| /llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/GlobalISel/ |
| H A D | ppc-irtranslator-stackprotect.ll | 16 ; LINUX: stackProtector: '%stack.0.StackGuardSlot' 19 ; LINUX: - { id: 0, name: StackGuardSlot, type: default, offset: 0, size: 8, alignment: 8, 22 ; LINUX: [[GUARD_SLOT:%[0-9]+]]:_(p0) = G_FRAME_INDEX %stack.0.StackGuardSlot 24 …UX: G_STORE [[GUARD]](p0), [[GUARD_SLOT]](p0) :: (volatile store (p0) into %stack.0.StackGuardSlot) 26 %StackGuardSlot = alloca ptr 27 call void @llvm.stackprotector(ptr undef, ptr %StackGuardSlot) 34 ; OPENBSD: stackProtector: '%stack.0.StackGuardSlot' 37 ; OPENBSD: - { id: 0, name: StackGuardSlot, type: default, offset: 0, size: 8, alignment: 8, 41 ; OPENBSD: [[GUARD_SLOT:%[0-9]+]]:_(p0) = G_FRAME_INDEX %stack.0.StackGuardSlot 45 %StackGuardSlot = alloca i8* [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/ |
| H A D | stack-guard-reassign.mir | 6 %StackGuardSlot = alloca i8* 15 stackProtector: '%stack.0.StackGuardSlot' 17 - { id: 0, name: StackGuardSlot, size: 8, alignment: 8, stack-id: default } 20 # CHECK: - { id: 0, name: StackGuardSlot, type: default, offset: -24, size: 8, 29 …STRXui killed %25, %stack.0.StackGuardSlot, 0 :: (volatile store (s64) into %stack.0.StackGuardSlo… 30 …%28:gpr64 = LDRXui %stack.0.StackGuardSlot, 0 :: (volatile load (s64) from %stack.0.StackGuardSlot)
|
| H A D | stack-guard-reassign-sve.mir | 6 %StackGuardSlot = alloca i8* 16 stackProtector: '%stack.3.StackGuardSlot' 34 - { id: 3, name: StackGuardSlot, size: 8, alignment: 16, stack-id: scalable-vector } 35 # CHECK: - { id: 3, name: StackGuardSlot, type: default, offset: -16, size: 8, 42 …STRXui killed %25, %stack.3.StackGuardSlot, 0 :: (volatile store (s64) into %stack.3.StackGuardSlo… 43 …%28:gpr64 = LDRXui %stack.3.StackGuardSlot, 0 :: (volatile load (s64) from %stack.3.StackGuardSlot)
|
| H A D | ldst-nopreidx-sp-redzone.mir | 20 %StackGuardSlot = alloca i8*, align 8 22 call void @llvm.stackprotector(i8* %0, i8** %StackGuardSlot) 35 %StackGuardSlot = alloca i8*, align 8 37 call void @llvm.stackprotector(i8* %0, i8** %StackGuardSlot) 50 %StackGuardSlot = alloca i8*, align 8 52 call void @llvm.stackprotector(i8* %0, i8** %StackGuardSlot) 99 stackProtector: '%stack.0.StackGuardSlot' 110 - { id: 0, name: StackGuardSlot, type: default, offset: -40, size: 8, 212 stackProtector: '%stack.0.StackGuardSlot' 223 - { id: 0, name: StackGuardSlot, type: default, offset: -40, size: 8, [all …]
|
| H A D | stack-guard-remat-bitcast.ll | 53 %StackGuardSlot = alloca i8* 55 call void @llvm.stackprotector(i8* %StackGuard, i8** %StackGuardSlot)
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/GlobalISel/ |
| H A D | arm64-irtranslator-stackprotect.ll | 7 ; CHECK: stackProtector: '%stack.0.StackGuardSlot' 10 ; CHECK: - { id: 0, name: StackGuardSlot, type: default, offset: 0, size: 8, alignment: 8, 13 ; CHECK: [[GUARD_SLOT:%[0-9]+]]:_(p0) = G_FRAME_INDEX %stack.0.StackGuardSlot 15 …CK: G_STORE [[GUARD]](p0), [[GUARD_SLOT]](p0) :: (volatile store (p0) into %stack.0.StackGuardSlot) 18 %StackGuardSlot = alloca i8* 19 call void @llvm.stackprotector(i8* undef, i8** %StackGuardSlot)
|
| H A D | irtranslator-delayed-stack-protector.ll | 9 ; CHECK-NEXT: [[FRAME_INDEX:%[0-9]+]]:_(p0) = G_FRAME_INDEX %stack.0.StackGuardSlot 12 …[LOAD_STACK_GUARD1]](p0), [[FRAME_INDEX]](p0) :: (volatile store (p0) into %stack.0.StackGuardSlot) 18 ; CHECK-NEXT: [[FRAME_INDEX2:%[0-9]+]]:_(p0) = G_FRAME_INDEX %stack.0.StackGuardSlot 19 …[0-9]+]]:_(s64) = G_LOAD [[FRAME_INDEX2]](p0) :: (volatile load (s64) from %stack.0.StackGuardSlot)
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | SafeStack.cpp | 467 Value *V = IRB.CreateLoad(StackPtrTy, StackGuardSlot); in checkStackGuard() 490 AllocaInst *StackGuardSlot) { in moveStaticAllocasToUnsafeStack() argument 511 if (StackGuardSlot) { in moveStaticAllocasToUnsafeStack() 512 Type *Ty = StackGuardSlot->getAllocatedType(); in moveStaticAllocasToUnsafeStack() 514 SSL.addObject(StackGuardSlot, getStaticAllocaAllocationSize(StackGuardSlot), in moveStaticAllocasToUnsafeStack() 561 if (StackGuardSlot) { in moveStaticAllocasToUnsafeStack() 562 unsigned Offset = SSL.getObjectOffset(StackGuardSlot); in moveStaticAllocasToUnsafeStack() 569 StackGuardSlot->replaceAllUsesWith(NewAI); in moveStaticAllocasToUnsafeStack() 570 StackGuardSlot->eraseFromParent(); in moveStaticAllocasToUnsafeStack() 807 AllocaInst *StackGuardSlot = nullptr; in run() local [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/MIR/X86/ |
| H A D | frame-info-stack-references.mir | 11 %StackGuardSlot = alloca i8* 13 call void @llvm.stackprotector(i8* %StackGuard, i8** %StackGuardSlot) 44 # CHECK: stackProtector: '%stack.0.StackGuardSlot' 45 stackProtector: '%stack.0.StackGuardSlot' 50 - { id: 0, name: StackGuardSlot, offset: -24, size: 8, alignment: 8 }
|
| H A D | expected-stack-object.mir | 10 %StackGuardSlot = alloca i8* 12 call void @llvm.stackprotector(i8* %StackGuard, i8** %StackGuardSlot) 47 - { id: 0, name: StackGuardSlot, offset: -24, size: 8, alignment: 8 }
|
| H A D | external-symbol-operands.mir | 10 %StackGuardSlot = alloca i8* 12 call void @llvm.stackprotector(i8* %StackGuard, i8** %StackGuardSlot)
|
| /llvm-project-15.0.7/llvm/test/Transforms/SafeStack/X86/ |
| H A D | ssp.ll | 10 ; CHECK: %[[StackGuardSlot:.*]] = bitcast i8* %[[A]] to i8** 12 ; CHECK: store i8* %[[StackGuard]], i8** %[[StackGuardSlot]] 18 ; CHECK: %[[B:.*]] = load i8*, i8** %[[StackGuardSlot]]
|
| H A D | coloring-ssp.ll | 11 ; CHECK: %[[StackGuardSlot:.*]] = bitcast i8* %[[A]] to i8** 12 ; CHECK: store i8* %{{.*}}, i8** %[[StackGuardSlot]]
|
| H A D | abi_ssp.ll | 17 ; COMMON: store i8* %[[StackGuard]], i8** %[[StackGuardSlot:.*]] 21 ; COMMON: %[[A:.*]] = load i8*, i8** %[[StackGuardSlot]]
|
| /llvm-project-15.0.7/llvm/test/Transforms/SafeStack/AArch64/ |
| H A D | abi_ssp.ll | 14 ; TLS: store i8* %[[StackGuard]], i8** %[[StackGuardSlot:.*]] 18 ; TLS: %[[A:.*]] = load i8*, i8** %[[StackGuardSlot]]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | stack-protector-weight.ll | 21 ; MSVC-SELDAG: (volatile load (s32) from %stack.0.StackGuardSlot) 28 ; MSVC-IR: (volatile load (s32) from %stack.0.StackGuardSlot)
|
| H A D | stack-protector-2.ll | 174 ; CHECK-NEXT: %StackGuardSlot = alloca i8*
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/AArch64/ |
| H A D | asan-stack-vars.mir | 82 %StackGuardSlot = alloca i8* 84 call void @llvm.stackprotector(i8* %0, i8** %StackGuardSlot) 231 %85 = load volatile i8*, i8** %StackGuardSlot 362 stackProtector: '%stack.0.StackGuardSlot' 366 - { id: 0, name: StackGuardSlot, offset: -40, size: 8, alignment: 8, 431 STRXui killed renamable $x13, $sp, 39 :: (volatile store (s64) into %stack.0.StackGuardSlot) 637 renamable $x9 = LDRXui $sp, 39 :: (load (s64) from %stack.0.StackGuardSlot)
|