/llvm-project/llvm/test/CodeGen/MSP430/ |
H A D | inline-asm-register-names.ll | 6 ; Tested with PUSH instruction since it does not support memory operands. 10 call void asm sideeffect "push r0", ""() nounwind 11 ; CHECK: push r0 12 call void asm sideeffect "push r1", ""() nounwind 13 ; CHECK: push r1 14 call void asm sideeffect "push r2", ""() nounwind 15 ; CHECK: push r2 16 call void asm sideeffect "push r3", ""() nounwind 17 ; CHECK: push r3 18 call void asm sideeffect "push r4", ""() nounwind [all …]
|
/llvm-project/clang/test/Parser/ |
H A D | pragma-attribute.cpp | 3 #pragma clang attribute push(__attribute__((annotate("test"))), apply_to = function) 9 #pragma clang attribute push(__attribute__((annotate("test"))), apply_to = any(variable(is_parameter), function)) 12 #pragma clang attribute push(__attribute__((annotate("test"))), apply_to = variable(unless(is_parameter))) 15 #pragma clang attribute push(__attribute__((annotate("test"))), apply_to = any(variable(unless(is_parameter)))) 18 #pragma clang attribute push (__attribute__((abi_tag("a")))) // expected-error {{expected ','}} 19 #pragma clang attribute push (__attribute__((abi_tag("a"))) apply_to=function) // expected-error {{expected ','}} 20 #pragma clang attribute push (__attribute__((abi_tag("a"))) = function) // expected-error {{expected ','}} 21 #pragma clang attribute push (__attribute__((abi_tag("a"))) any(function)) // expected-error {{expected ','}} 23 #pragma clang attribute push (__attribute__((abi_tag("a"))) 22) // expected-error {{expected ','}} 24 #pragma clang attribute push (__attribute_ [all...] |
H A D | pragma-pack.c | 11 #pragma pack(push) 14 /* expected-warning {{expected integer or identifier in '#pragma pack'}}*/ #pragma pack(push,) 15 /* expected-warning {{expected integer or identifier in '#pragma pack'}}*/ #pragma pack(push,) 18 #pragma pack(push,i) 19 /* expected-warning {{expected integer or identifier in '#pragma pack'}}*/ #pragma pack(push,i, 20 /* expected-warning {{expected integer or identifier in '#pragma pack'}}*/ #pragma pack(push,i,) 21 /* expected-warning {{expected integer or identifier in '#pragma pack'}}*/ #pragma pack(push,i,help… 23 #pragma pack(push,8) 24 /* expected-warning {{missing ')' after '#pragma pack'}}*/ #pragma pack(push,8, 25 /* expected-warning {{missing ')' after '#pragma pack'}}*/ #pragma pack(push,8,) [all …]
|
/llvm-project/llvm/test/CodeGen/AVR/ |
H A D | interrupts.ll | 9 ; CHECK-NEXT: push r0 11 ; CHECK-NEXT: push r0 22 ; CHECK-NEXT: push r0 24 ; CHECK-NEXT: push r0 35 ; CHECK: push r0 37 ; CHECK-NEXT: push r0 48 ; CHECK: push r0 50 ; CHECK-NEXT: push r0 61 ; CHECK-NEXT: push r0 63 ; CHECK-NEXT: push r [all...] |
H A D | bug-56423.ll | 10 ; AVR51-NEXT: push r6 11 ; AVR51-NEXT: push r7 12 ; AVR51-NEXT: push r8 13 ; AVR51-NEXT: push r9 14 ; AVR51-NEXT: push r14 15 ; AVR51-NEXT: push r15 16 ; AVR51-NEXT: push r16 17 ; AVR51-NEXT: push r17 18 ; AVR51-NEXT: push r28 19 ; AVR51-NEXT: push r29 [all …]
|
/llvm-project/llvm/test/CodeGen/WebAssembly/ |
H A D | stack-alignment.ll | 7 ; CHECK: global.get $push[[L1:.+]]=, __stack_pointer{{$}} 8 ; CHECK-NEXT: i[[PTR]].const $push[[L2:.+]]=, 16 9 ; CHECK-NEXT: i[[PTR]].sub $push[[L10:.+]]=, $pop[[L1]], $pop[[L2]] 10 ; CHECK-NEXT: local.tee $push{{.+}}=, [[SP:.+]], $pop[[L10]] 12 ; CHECK: local.get $push[[L3:.+]]=, [[SP]]{{$}} 13 ; CHECK: i[[PTR]].add $push[[underaligned:.+]]=, $pop[[L3]], $pop{{.+}} 16 ; CHECK: local.get $push[[M4:.+]]=, [[SP]]{{$}} 17 ; CHECK: i[[PTR]].add $push[[L5:.+]]=, $pop[[M4]], $pop{{.+}} 27 ; CHECK: global.get $push[[L10:.+]]=, __stack_pointer{{$}} 28 ; CHECK-NEXT: local.tee $push[[L9:.+]]=, [[BP:.+]], $pop[[L10]] [all …]
|
H A D | conv-trap.ll | 11 ; CHECK-NEXT: f32.abs $push[[ABS:[0-9]+]]=, $0{{$}} 12 ; CHECK-NEXT: f32.const $push[[LIMIT:[0-9]+]]=, 0x1p31{{$}} 13 ; CHECK-NEXT: f32.lt $push[[LT:[0-9]+]]=, $pop[[ABS]], $pop[[LIMIT]]{{$}} 14 ; CHECK-NEXT: i32.eqz $push[[EQZ:[0-9]+]]=, $pop[[LT]] 16 ; CHECK-NEXT: i32.trunc_f32_s $push[[NUM:[0-9]+]]=, $0{{$}} 20 ; CHECK-NEXT: i32.const $push[[ALT:[0-9]+]]=, -2147483648{{$}} 30 ; CHECK-NEXT: f32.const $push[[LIMIT:[0-9]+]]=, 0x1p32{{$}} 31 ; CHECK-NEXT: f32.lt $push[[LT:[0-9]+]]=, $0, $pop[[LIMIT]]{{$}} 32 ; CHECK-NEXT: f32.const $push[[ZERO:[0-9]+]]=, 0x0p0{{$}} 33 ; CHECK-NEXT: f32.ge $push[[GE:[0-9]+]]=, $0, $pop[[ZERO]]{{$}} [all …]
|
H A D | comparisons-i32.ll | 10 ; CHECK-NEXT: local.get $push[[L0:[0-9]+]]=, 0{{$}} 11 ; CHECK-NEXT: local.get $push[[L1:[0-9]+]]=, 1{{$}} 12 ; CHECK-NEXT: i32.eq $push[[L2:[0-9]+]]=, $pop[[L0]], $pop[[L1]]{{$}} 14 ; FAST-NEXT: i32.const $push[[L3:[0-9]+]]=, 1{{$}} 15 ; FAST-NEXT: i32.and $push[[L4:[0-9]+]]=, $pop[[L2]], $pop[[L3]]{{$}} 24 ; CHECK: i32.ne $push[[L0:[0-9]+]]=, $pop{{[0-9]+}}, $pop{{[0-9]+}}{{$}} 26 ; FAST-NEXT: i32.const $push[[L1:[0-9]+]]=, 1{{$}} 27 ; FAST-NEXT: i32.and $push[[L2:[0-9]+]]=, $pop[[L0]], $pop[[L1]]{{$}} 36 ; CHECK: i32.lt_s $push[[L0:[0-9]+]]=, $pop{{[0-9]+}}, $pop{{[0-9]+}}{{$}} 38 ; FAST-NEXT: i32.const $push[[L1:[0-9]+]]=, 1{{$}} [all …]
|
H A D | comparisons-i64.ll | 10 ; CHECK-NEXT: local.get $push[[L0:[0-9]+]]=, 0{{$}} 11 ; CHECK-NEXT: local.get $push[[L1:[0-9]+]]=, 1{{$}} 12 ; CHECK-NEXT: i64.eq $push[[L2:[0-9]+]]=, $pop[[L0]], $pop[[L1]]{{$}} 14 ; FAST-NEXT: i32.const $push[[L3:[0-9]+]]=, 1{{$}} 15 ; FAST-NEXT: i32.and $push[[L4:[0-9]+]]=, $pop[[L2]], $pop[[L3]]{{$}} 24 ; CHECK: i64.ne $push[[L0:[0-9]+]]=, $pop{{[0-9]+}}, $pop{{[0-9]+}}{{$}} 26 ; FAST-NEXT: i32.const $push[[L1:[0-9]+]]=, 1{{$}} 27 ; FAST-NEXT: i32.and $push[[L2:[0-9]+]]=, $pop[[L0]], $pop[[L1]]{{$}} 36 ; CHECK: i64.lt_s $push[[L0:[0-9]+]]=, $pop{{[0-9]+}}, $pop{{[0-9]+}}{{$}} 38 ; FAST-NEXT: i32.const $push[[L1:[0-9]+]]=, 1{{$}} [all …]
|
H A D | simd-sext-inreg.ll | 11 ; SIMD128-NEXT: i32.const $push[[T0:[0-9]+]]=, 7{{$}} 12 ; SIMD128-NEXT: i8x16.shl $push[[T1:[0-9]+]]=, $0, $pop[[T0]]{{$}} 13 ; SIMD128-NEXT: i32.const $push[[T2:[0-9]+]]=, 7{{$}} 14 ; SIMD128-NEXT: i8x16.shr_s $push[[R:[0-9]+]]=, $pop[[T1]], $pop[[T2]]{{$}} 24 ; SIMD128-NEXT: i32.const $push[[T0:[0-9]+]]=, 15{{$}} 25 ; SIMD128-NEXT: i16x8.shl $push[[T1:[0-9]+]]=, $0, $pop[[T0]]{{$}} 26 ; SIMD128-NEXT: i32.const $push[[T2:[0-9]+]]=, 15{{$}} 27 ; SIMD128-NEXT: i16x8.shr_s $push[[R:[0-9]+]]=, $pop[[T1]], $pop[[T2]]{{$}} 37 ; SIMD128-NEXT: i32.const $push[[T0:[0-9]+]]=, 31{{$}} 38 ; SIMD128-NEXT: i32x4.shl $push[[T1:[0-9]+]]=, $0, $pop[[T0]]{{$}} [all …]
|
H A D | load-store-pic.ll | 23 ; PIC: global.get $push[[L0:[0-9]+]]=, __memory_base{{$}} 24 ; PIC-NEXT: [[PTR]].const $push[[L1:[0-9]+]]=, hidden_global@MBREL{{$}} 25 ; PIC-NEXT: [[PTR]].add $push[[L2:[0-9]+]]=, $pop[[L0]], $pop[[L1]]{{$}} 26 ; PIC-NEXT: i32.load $push[[L3:[0-9]+]]=, 0($pop[[L2]]){{$}} 35 ; PIC: global.get $push[[L0:[0-9]+]]=, __memory_base{{$}} 36 ; PIC-NEXT: [[PTR]].const $push[[L1:[0-9]+]]=, hidden_global_array@MBREL{{$}} 37 ; PIC-NEXT: [[PTR]].add $push[[L2:[0-9]+]]=, $pop[[L0]], $pop[[L1:[0-9]+]]{{$}} 38 ; PIC-NEXT: [[PTR]].const $push[[L3:[0-9]+]]=, 20{{$}} 39 ; PIC-NEXT: [[PTR]].add $push[[L4:[0-9]+]]=, $pop[[L2]], $pop[[L3]]{{$}} 40 ; PIC-NEXT: i32.load $push{{[0-9]+}}=, 0($pop[[L4]]){{$}} [all …]
|
H A D | byval.ll | 23 ; CHECK-NEXT: global.get $push[[L2:.+]]=, __stack_pointer 24 ; CHECK-NEXT: i32.const $push[[L3:.+]]=, 16 25 ; CHECK-NEXT: i32.sub $push[[L11:.+]]=, $pop[[L2]], $pop[[L3]] 27 ; CHECK-NEXT: local.tee $push[[L10:.+]]=, $[[SP:.+]]=, $pop[[L11]]{{$}} 30 ; CHECK-NEXT: i32.load $push[[L0:.+]]=, 0($0) 33 ; CHECK-NEXT: i32.const $push[[L5:.+]]=, 12{{$}} 34 ; CHECK-NEXT: i32.add $push[[ARG:.+]]=, $[[SP]], $pop[[L5]]{{$}} 38 ; CHECK-NEXT: i32.const $push[[L6:.+]]=, 16 39 ; CHECK-NEXT: i32.add $push[[L8:.+]]=, $[[SP]], $pop[[L6]] 49 ; CHECK: i32.const $push[[L1:.+]]=, 16 [all …]
|
H A D | signext-zeroext.ll | 9 ; CHECK-NEXT: i32.const $push[[NUM0:[0-9]+]]=, 24{{$}} 10 ; CHECK-NEXT: i32.shl $push[[NUM2:[0-9]+]]=, $0, $pop[[NUM0]]{{$}} 11 ; CHECK-NEXT: i32.const $push[[NUM1:[0-9]+]]=, 24{{$}} 12 ; CHECK-NEXT: i32.shr_s $push[[NUM3:[0-9]+]]=, $pop[[NUM2]], $pop[[NUM1]]{{$}} 20 ; CHECK-NEXT: i32.const $push[[NUM0:[0-9]+]]=, 255{{$}} 21 ; CHECK-NEXT: i32.and $push[[NUM1:[0-9]+]]=, $0, $pop[[NUM0]]{{$}} 29 ; CHECK-NEXT: i32.const $push[[NUM0:[0-9]+]]=, 255{{$}} 30 ; CHECK-NEXT: i32.and $push[[NUM1:[0-9]+]]=, $0, $pop[[NUM0]]{{$}} 31 ; CHECK-NEXT: call $push[[NUM2:[0-9]+]]=, z2s_func, $pop[[NUM1]]{{$}} 42 ; CHECK-NEXT: i32.const $push[[NUM0:[0-9]+]]=, 24{{$}} [all …]
|
H A D | i32.ll | 13 ; CHECK-NEXT: local.get $push[[L0:[0-9]+]]=, 0{{$}} 14 ; CHECK-NEXT: local.get $push[[L1:[0-9]+]]=, 1{{$}} 24 ; CHECK-NEXT: local.get $push[[L0:[0-9]+]]=, 0{{$}} 25 ; CHECK-NEXT: local.get $push[[L1:[0-9]+]]=, 1{{$}} 35 ; CHECK-NEXT: local.get $push[[L0:[0-9]+]]=, 0{{$}} 36 ; CHECK-NEXT: local.get $push[[L1:[0-9]+]]=, 1{{$}} 46 ; CHECK-NEXT: local.get $push[[L0:[0-9]+]]=, 0{{$}} 47 ; CHECK-NEXT: local.get $push[[L1:[0-9]+]]=, 1{{$}} 57 ; CHECK-NEXT: local.get $push[[L0:[0-9]+]]=, 0{{$}} 58 ; CHECK-NEXT: local.get $push[[L1:[0-9]+]]=, 1{{$}} [all …]
|
H A D | call.ll | 21 ; CHECK-NEXT: {{^}} call $push[[NUM:[0-9]+]]=, i32_nullary{{$}} 30 ; CHECK-NEXT: {{^}} call $push[[NUM:[0-9]+]]=, i64_nullary{{$}} 39 ; CHECK-NEXT: {{^}} call $push[[NUM:[0-9]+]]=, float_nullary{{$}} 48 ; CHECK-NEXT: {{^}} call $push[[NUM:[0-9]+]]=, double_nullary{{$}} 57 ; CHECK-NEXT: {{^}} call $push[[NUM:[0-9]+]]=, v128_nullary{{$}} 75 ; CHECK-NEXT: local.get $push[[L0:[0-9]+]]=, 0{{$}} 76 ; CHECK-NEXT: {{^}} call $push[[NUM:[0-9]+]]=, i32_unary, $pop[[L0]]{{$}} 85 ; CHECK-NEXT: local.get $push[[L0:[0-9]+]]=, 0{{$}} 86 ; CHECK-NEXT: local.get $push[[L1:[0-9]+]]=, 1{{$}} 87 ; CHECK-NEXT: {{^}} call $push[[NUM:[0-9]+]]=, i32_binary, $pop[[L0]], $pop[[L1]]{{$}} [all …]
|
/llvm-project/llvm/test/CodeGen/AVR/features/ |
H A D | avr-tiny.ll | 58 ; CHECK-MEGA-NEXT: push r0 60 ; CHECK-MEGA-NEXT: push r0 61 ; CHECK-MEGA-NEXT: push r1 63 ; CHECK-MEGA-NEXT: push r24 77 ; CHECK-NEXT: push r16 79 ; CHECK-NEXT: push r16 80 ; CHECK-NEXT: push r17 82 ; CHECK-NEXT: push r24 102 ; CHECK-MEGA-NEXT: push r0 104 ; CHECK-MEGA-NEXT: push r0 [all …]
|
/llvm-project/flang/unittests/Evaluate/ |
H A D | intrinsics.cpp | 63 template <typename A> TestCall &Push(A &&x) { in Push() function 68 template <typename A> TestCall &Push(NamedArg<A> &&x) { in Push() function 74 template <typename A, typename... As> TestCall &Push(A &&x, As &&...xs) { in Push() function 75 Push(std::move(x)); in Push() 76 return Push(std::move(xs)...); in Push() 166 .Push(Const(Scalar<Int4>{})) in TestIntrinsics() 169 .Push(Named("a", Const(Scalar<Int4>{}))) in TestIntrinsics() 172 .Push(Const(Scalar<Int4>{})) in TestIntrinsics() 175 .Push(Named("bad", Const(Scalar<Int4>{}))) in TestIntrinsics() 179 .Push(Const(Scalar<Int4>{})) in TestIntrinsics() [all …]
|
/llvm-project/clang/test/Sema/ |
H A D | pragma-attribute-strict-subjects.c | 3 #pragma clang attribute push (__attribute__((annotate("test"))), apply_to = any(function, variable)) 9 #pragma clang attribute push (__attribute__((annotate("subRuleContradictions"))), apply_to = any(variable, variable(is_parameter), function(is_member), variable(is_global))) 15 #pragma clang attribute push (__attribute__((annotate("subRuleContradictions2"))), apply_to = any(function(is_member), function)) 20 #pragma clang attribute push (__attribute__((annotate("subRuleContradictions3"))), apply_to = any(variable, variable(unless(is_parameter)))) 25 #pragma clang attribute push (__attribute__((annotate("negatedSubRuleContradictions1"))), apply_to = any(variable(is_parameter), variable(unless(is_parameter)))) 30 #pragma clang attribute push (__attribute__((annotate("negatedSubRuleContradictions2"))), apply_to = any(variable(unless(is_parameter)), variable(is_thread_local), function, variable(is_global))) 38 #pragma clang attribute push (__attribute__((abi_tag("a"))), apply_to = any(function)) 42 #pragma clang attribute push (__attribute__((abi_tag("a"))), apply_to = any(record(unless(is_union)), function, variable)) 46 #pragma clang attribute push (__attribute__((abi_tag("a"))), apply_to = any(function, variable, record(unless(is_union)))) 50 #pragma clang attribute push (__attribute_ [all...] |
H A D | pragma-attribute.c | 3 …// expected-error {{'#pragma clang attribute pop' with no matching '#pragma clang attribute push'}} 6 …tribute push (__attribute__((annotate)), apply_to = function) // expected-warning {{unused attribu… 7 #pragma clang attribute pop // expected-note {{'#pragma clang attribute push' regions ends here}} 10 #pragma clang attribute push (__attribute__((annotate)), apply_to = function) // expected-error 4 {… 15 #pragma clang attribute push (__attribute__((annotate())), apply_to = function) // expected-error 2… 19 #pragma clang attribute push (__attribute__((annotate("hello", "world"))), apply_to = function) 29 #pragma clang attribute push (__attribute__((optnone)), apply_to = function) // expected-note 2 {{c… 41 #pragma clang attribute push (__attribute__((annotate())), apply_to = function) // expected-error{{… 47 … // expected-error{{'#pragma clang attribute pop' with no matching '#pragma clang attribute push'}} 50 #pragma clang attribute push [all …]
|
/llvm-project/clang/test/Lexer/ |
H A D | pragma-operators.cpp | 7 // CHECK: #pragma warning(push) 10 // CHECK: #pragma warning(push) 13 #define A(X) extern "C" { __pragma(warning(push)) \ 17 #pragma warning(push) 21 #define pragma_L _Pragma(L"GCC diagnostic push") 29 // CHECK: #pragma GCC diagnostic push 46 #pragma warning(push) 47 #pragma warning(push, 1L) 48 #pragma warning(push, 4U) 49 #pragma warning(push, 0x1) [all …]
|
/llvm-project/llvm/test/MC/Mips/ |
H A D | mips-hwr-register-names.s | 9 # CHECK: .set push 14 # CHECK: .set push 20 # CHECK: .set push 25 # CHECK: .set push 31 # CHECK: .set push 36 # CHECK: .set push 42 # CHECK: .set push 47 # CHECK: .set push 53 # CHECK: .set push 58 # CHECK: .set push [all …]
|
/llvm-project/llvm/test/MC/AVR/ |
H A D | inst-push.s | 5 push r31 6 push r25 7 push r5 8 push r0 10 ; CHECK: push r31 ; encoding: [0xff,0x93] 11 ; CHECK: push r25 ; encoding: [0x9f,0x93] 12 ; CHECK: push r5 ; encoding: [0x5f,0x92] 13 ; CHECK: push r0 ; encoding: [0x0f,0x92] 15 ; CHECK-INST: push r31 16 ; CHECK-INST: push r2 [all...] |
/llvm-project/clang/test/FixIt/ |
H A D | fixit-pragma-attribute.cpp | 3 #pragma clang attribute push (annotate) 6 #pragma clang attribute push (annotate(("test"))) 10 #pragma clang attribute push(__attribute__((annotate("test"))), apply_to = any( enum, function, fun… 14 #pragma clang attribute push(__attribute__((annotate("test"))), apply_to = any( variable(is_global)… 18 #pragma clang attribute push (__attribute__((annotate("subRuleContradictions"))), apply_to = any(va… 24 #pragma clang attribute push (__attribute__((annotate("subRuleContradictions2"))), apply_to = any(f… 29 #pragma clang attribute push (__attribute__((annotate("negatedSubRuleContradictions1"))), apply_to … 33 #pragma clang attribute push (__attribute__((annotate("negatedSubRuleContradictions2"))), apply_to … 37 #pragma clang attribute push (__attribute__((abi_tag("a"))), apply_to = any(enum, variable)) 41 #pragma clang attribute push (__attribute__((abi_tag("a")))) [all …]
|
/llvm-project/llvm/test/tools/llvm-readobj/COFF/ |
H A D | arm-unwind-packed.s | 34 // CHECK-NEXT: push {r4} 53 // CHECK-NEXT: push {r4, lr} 74 // CHECK-NEXT: push {lr} 98 // CHECK-NEXT: push {r11, lr} 122 // CHECK-NEXT: push {r11, lr} 165 // CHECK-NEXT: push {r4-r11, lr} 185 // CHECK-NEXT: push {r4-r11, lr} 205 // CHECK-NEXT: push {r4, lr} 206 // CHECK-NEXT: push {r0-r3} 227 // CHECK-NEXT: push {r11, lr} [all …]
|
/llvm-project/clang/test/Preprocessor/ |
H A D | pragma_microsoft.c | 45 __pragma(warning(push)); \ 62 // CHECK: #pragma warning(push) in f() 71 // CHECK: #pragma warning(push) in f() 120 #pragma warning(push) 121 // CHECK: #pragma warning(push) 122 #pragma warning(push, 1) 123 // CHECK: #pragma warning(push, 1) 144 #pragma warning(5: 123) // expected-warning {{expected 'push', 'pop', 'default', 'disable', 'error'… 146 #pragma warning(push, 0) 147 // CHECK: #pragma warning(push, 0) [all …]
|