/external/llvm-project/llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/ |
D | long_ambiguous_chain_s64.ll | 2 …e=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32 5 ; MIPS32-LABEL: long_chain_ambiguous_i64_in_fpr: 6 ; MIPS32: # %bb.0: # %entry 7 ; MIPS32-NEXT: addiu $sp, $sp, -72 8 ; MIPS32-NEXT: .cfi_def_cfa_offset 72 9 ; MIPS32-NEXT: sw $4, 44($sp) # 4-byte Folded Spill 10 ; MIPS32-NEXT: sw $5, 48($sp) # 4-byte Folded Spill 11 ; MIPS32-NEXT: sw $6, 52($sp) # 4-byte Folded Spill 12 ; MIPS32-NEXT: sw $7, 56($sp) # 4-byte Folded Spill 13 ; MIPS32-NEXT: addiu $1, $sp, 88 [all …]
|
D | bitwise.ll | 2 …e=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32 5 ; MIPS32-LABEL: and_i1: 6 ; MIPS32: # %bb.0: # %entry 7 ; MIPS32-NEXT: and $2, $5, $4 8 ; MIPS32-NEXT: jr $ra 9 ; MIPS32-NEXT: nop 16 ; MIPS32-LABEL: and_i8: 17 ; MIPS32: # %bb.0: # %entry 18 ; MIPS32-NEXT: and $2, $5, $4 19 ; MIPS32-NEXT: jr $ra [all …]
|
D | rem_and_div.ll | 2 …e=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32 6 ; MIPS32-LABEL: sdiv_i8: 7 ; MIPS32: # %bb.0: # %entry 8 ; MIPS32-NEXT: sll $1, $5, 24 9 ; MIPS32-NEXT: sra $2, $1, 24 10 ; MIPS32-NEXT: sll $1, $4, 24 11 ; MIPS32-NEXT: sra $1, $1, 24 12 ; MIPS32-NEXT: div $zero, $2, $1 13 ; MIPS32-NEXT: teq $1, $zero, 7 14 ; MIPS32-NEXT: mflo $1 [all …]
|
D | icmp.ll | 2 …e=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32 5 ; MIPS32-LABEL: eq_i32: 6 ; MIPS32: # %bb.0: # %entry 7 ; MIPS32-NEXT: xor $1, $4, $5 8 ; MIPS32-NEXT: sltiu $2, $1, 1 9 ; MIPS32-NEXT: jr $ra 10 ; MIPS32-NEXT: nop 17 ; MIPS32-LABEL: ne_i32: 18 ; MIPS32: # %bb.0: # %entry 19 ; MIPS32-NEXT: xor $1, $4, $5 [all …]
|
D | long_ambiguous_chain_s32.ll | 2 …e=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32 5 ; MIPS32-LABEL: long_chain_ambiguous_i32_in_gpr: 6 ; MIPS32: # %bb.0: # %entry 7 ; MIPS32-NEXT: addiu $sp, $sp, -48 8 ; MIPS32-NEXT: .cfi_def_cfa_offset 48 9 ; MIPS32-NEXT: sw $4, 20($sp) # 4-byte Folded Spill 10 ; MIPS32-NEXT: sw $5, 24($sp) # 4-byte Folded Spill 11 ; MIPS32-NEXT: sw $6, 28($sp) # 4-byte Folded Spill 12 ; MIPS32-NEXT: sw $7, 32($sp) # 4-byte Folded Spill 13 ; MIPS32-NEXT: addiu $1, $sp, 64 [all …]
|
D | phi.ll | 2 …e=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32 5 ; MIPS32-LABEL: phi_i1: 6 ; MIPS32: # %bb.0: # %entry 7 ; MIPS32-NEXT: addiu $sp, $sp, -16 8 ; MIPS32-NEXT: .cfi_def_cfa_offset 16 9 ; MIPS32-NEXT: sw $5, 8($sp) # 4-byte Folded Spill 10 ; MIPS32-NEXT: sw $6, 12($sp) # 4-byte Folded Spill 11 ; MIPS32-NEXT: andi $1, $4, 1 12 ; MIPS32-NEXT: bnez $1, $BB0_2 13 ; MIPS32-NEXT: nop [all …]
|
D | mul.ll | 2 …e=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32 4 ; MIPS32-LABEL: mul_i32: 5 ; MIPS32: # %bb.0: # %entry 6 ; MIPS32-NEXT: mul $2, $4, $5 7 ; MIPS32-NEXT: jr $ra 8 ; MIPS32-NEXT: nop 15 ; MIPS32-LABEL: mul_i8_sext: 16 ; MIPS32: # %bb.0: # %entry 17 ; MIPS32-NEXT: mul $1, $5, $4 18 ; MIPS32-NEXT: sll $1, $1, 24 [all …]
|
D | add.ll | 2 …e=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32 4 ; MIPS32-LABEL: add_i32: 5 ; MIPS32: # %bb.0: # %entry 6 ; MIPS32-NEXT: addu $2, $4, $5 7 ; MIPS32-NEXT: jr $ra 8 ; MIPS32-NEXT: nop 15 ; MIPS32-LABEL: add_i8_sext: 16 ; MIPS32: # %bb.0: # %entry 17 ; MIPS32-NEXT: addu $1, $5, $4 18 ; MIPS32-NEXT: sll $1, $1, 24 [all …]
|
D | sub.ll | 2 …e=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32 5 ; MIPS32-LABEL: sub_i32: 6 ; MIPS32: # %bb.0: # %entry 7 ; MIPS32-NEXT: subu $2, $4, $5 8 ; MIPS32-NEXT: jr $ra 9 ; MIPS32-NEXT: nop 16 ; MIPS32-LABEL: sub_i8_sext: 17 ; MIPS32: # %bb.0: # %entry 18 ; MIPS32-NEXT: subu $1, $5, $4 19 ; MIPS32-NEXT: sll $1, $1, 24 [all …]
|
D | constants.ll | 2 …e=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32 5 ; MIPS32-LABEL: any_i64: 6 ; MIPS32: # %bb.0: # %entry 7 ; MIPS32-NEXT: ori $2, $zero, 0 8 ; MIPS32-NEXT: lui $3, 32768 9 ; MIPS32-NEXT: jr $ra 10 ; MIPS32-NEXT: nop 16 ; MIPS32-LABEL: any_i32: 17 ; MIPS32: # %bb.0: # %entry 18 ; MIPS32-NEXT: lui $2, 32768 [all …]
|
D | cttz.ll | 2 …le=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32 5 ; MIPS32-LABEL: cttz_i32: 6 ; MIPS32: # %bb.0: # %entry 7 ; MIPS32-NEXT: not $1, $4 8 ; MIPS32-NEXT: addiu $2, $4, -1 9 ; MIPS32-NEXT: and $2, $1, $2 10 ; MIPS32-NEXT: ori $1, $zero, 32 11 ; MIPS32-NEXT: clz $2, $2 12 ; MIPS32-NEXT: subu $2, $1, $2 13 ; MIPS32-NEXT: jr $ra [all …]
|
D | select.ll | 2 …e=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32 5 ; MIPS32-LABEL: select_i8: 6 ; MIPS32: # %bb.0: # %entry 7 ; MIPS32-NEXT: move $2, $6 8 ; MIPS32-NEXT: andi $1, $4, 1 9 ; MIPS32-NEXT: movn $2, $5, $1 10 ; MIPS32-NEXT: jr $ra 11 ; MIPS32-NEXT: nop 18 ; MIPS32-LABEL: select_i16: 19 ; MIPS32: # %bb.0: # %entry [all …]
|
D | load_split_because_of_memsize_or_align.ll | 2 …le=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32 32 ; MIPS32-LABEL: load3align1: 33 ; MIPS32: # %bb.0: # %entry 34 ; MIPS32-NEXT: # implicit-def: $at 35 ; MIPS32-NEXT: lwl $1, 3($4) 36 ; MIPS32-NEXT: lwr $1, 0($4) 37 ; MIPS32-NEXT: lui $2, 255 38 ; MIPS32-NEXT: ori $2, $2, 65535 39 ; MIPS32-NEXT: and $2, $1, $2 40 ; MIPS32-NEXT: jr $ra [all …]
|
D | ctpop.ll | 2 …le=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32 5 ; MIPS32-LABEL: ctpop_i32: 6 ; MIPS32: # %bb.0: # %entry 7 ; MIPS32-NEXT: srl $1, $4, 1 8 ; MIPS32-NEXT: lui $2, 21845 9 ; MIPS32-NEXT: ori $2, $2, 21845 10 ; MIPS32-NEXT: and $1, $1, $2 11 ; MIPS32-NEXT: subu $2, $4, $1 12 ; MIPS32-NEXT: srl $1, $2, 2 13 ; MIPS32-NEXT: lui $3, 13107 [all …]
|
D | fptosi_and_fptoui.ll | 2 …psel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32,FP32 3 …fp64,+mips32r2 -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32,FP64 6 ; MIPS32-LABEL: f32toi64: 7 ; MIPS32: # %bb.0: # %entry 8 ; MIPS32-NEXT: addiu $sp, $sp, -24 9 ; MIPS32-NEXT: .cfi_def_cfa_offset 24 10 ; MIPS32-NEXT: sw $ra, 20($sp) # 4-byte Folded Spill 11 ; MIPS32-NEXT: .cfi_offset 31, -4 12 ; MIPS32-NEXT: jal __fixsfdi 13 ; MIPS32-NEXT: nop [all …]
|
D | store_split_because_of_memsize_or_align.ll | 2 …le=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32 32 ; MIPS32-LABEL: store3align1: 33 ; MIPS32: # %bb.0: # %entry 34 ; MIPS32-NEXT: sb $5, 0($4) 35 ; MIPS32-NEXT: srl $1, $5, 8 36 ; MIPS32-NEXT: sb $1, 1($4) 37 ; MIPS32-NEXT: srl $1, $5, 16 38 ; MIPS32-NEXT: sb $1, 2($4) 39 ; MIPS32-NEXT: jr $ra 40 ; MIPS32-NEXT: nop [all …]
|
D | float_args.ll | 2 …psel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32,FP32 3 …fp64,+mips32r2 -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32,FP64 6 ; MIPS32-LABEL: float_in_fpr: 7 ; MIPS32: # %bb.0: # %entry 8 ; MIPS32-NEXT: mov.s $f0, $f14 9 ; MIPS32-NEXT: jr $ra 10 ; MIPS32-NEXT: nop 16 ; MIPS32-LABEL: double_in_fpr: 17 ; MIPS32: # %bb.0: # %entry 18 ; MIPS32-NEXT: mov.d $f0, $f14 [all …]
|
D | implicit_def.ll | 2 …e=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32 6 ; MIPS32-LABEL: g_i32: 7 ; MIPS32: # %bb.0: # %entry 8 ; MIPS32-NEXT: addiu $sp, $sp, -24 9 ; MIPS32-NEXT: .cfi_def_cfa_offset 24 10 ; MIPS32-NEXT: sw $ra, 20($sp) # 4-byte Folded Spill 11 ; MIPS32-NEXT: .cfi_offset 31, -4 12 ; MIPS32-NEXT: # implicit-def: $a0 13 ; MIPS32-NEXT: jal f_i32 14 ; MIPS32-NEXT: nop [all …]
|
D | bitreverse.ll | 2 …le=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32 7 ; MIPS32-LABEL: bitreverse_i32: 8 ; MIPS32: # %bb.0: # %entry 9 ; MIPS32-NEXT: sll $2, $4, 24 10 ; MIPS32-NEXT: srl $1, $4, 24 11 ; MIPS32-NEXT: or $1, $1, $2 12 ; MIPS32-NEXT: andi $2, $4, 65280 13 ; MIPS32-NEXT: sll $2, $2, 8 14 ; MIPS32-NEXT: or $1, $1, $2 15 ; MIPS32-NEXT: srl $2, $4, 8 [all …]
|
D | test_TypeInfoforMF.ll | 2 …e=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32 5 ; MIPS32-LABEL: outgoing_gpr: 6 ; MIPS32: # %bb.0: # %entry 7 ; MIPS32-NEXT: lw $2, 0($4) 8 ; MIPS32-NEXT: jr $ra 9 ; MIPS32-NEXT: nop 16 ; MIPS32-LABEL: outgoing_fpr: 17 ; MIPS32: # %bb.0: # %entry 18 ; MIPS32-NEXT: lwc1 $f0, 0($4) 19 ; MIPS32-NEXT: jr $ra [all …]
|
D | zextLoad_and_sextLoad.ll | 2 …e=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32 5 ; MIPS32-LABEL: load1_s8_to_zextLoad1_s32: 6 ; MIPS32: # %bb.0: # %entry 7 ; MIPS32-NEXT: lbu $2, 0($4) 8 ; MIPS32-NEXT: jr $ra 9 ; MIPS32-NEXT: nop 17 ; MIPS32-LABEL: load2_s16_to_zextLoad2_s32: 18 ; MIPS32: # %bb.0: # %entry 19 ; MIPS32-NEXT: lhu $2, 0($4) 20 ; MIPS32-NEXT: jr $ra [all …]
|
/external/llvm-project/llvm/test/CodeGen/Mips/ |
D | const-mult.ll | 2 ; RUN: llc -mtriple=mipsel-mti-linux-gnu < %s | FileCheck %s -check-prefix=MIPS32 7 ; MIPS32-LABEL: mul5_32: 8 ; MIPS32: # %bb.0: # %entry 9 ; MIPS32-NEXT: sll $1, $4, 2 10 ; MIPS32-NEXT: jr $ra 11 ; MIPS32-NEXT: addu $2, $1, $4 24 ; MIPS32-LABEL: mul27_32: 25 ; MIPS32: # %bb.0: # %entry 26 ; MIPS32-NEXT: sll $1, $4, 2 27 ; MIPS32-NEXT: addu $1, $1, $4 [all …]
|
/external/llvm-project/llvm/test/CodeGen/Mips/GlobalISel/irtranslator/ |
D | extend_args.ll | 2 …l-isel -stop-after=irtranslator -verify-machineinstrs %s -o - | FileCheck %s -check-prefixes=MIPS32 6 ; MIPS32-LABEL: name: sext_arg_i8 7 ; MIPS32: bb.1.entry: 8 ; MIPS32: liveins: $a0 9 ; MIPS32: [[COPY:%[0-9]+]]:_(s32) = COPY $a0 10 ; MIPS32: [[TRUNC:%[0-9]+]]:_(s8) = G_TRUNC [[COPY]](s32) 11 ; MIPS32: [[SEXT:%[0-9]+]]:_(s32) = G_SEXT [[TRUNC]](s8) 12 ; MIPS32: $v0 = COPY [[SEXT]](s32) 13 ; MIPS32: RetRA implicit $v0 19 ; MIPS32-LABEL: name: zext_arg_i8 [all …]
|
/external/llvm-project/llvm/test/CodeGen/Mips/GlobalISel/legalizer/ |
D | rem_and_div.mir | 2 …l-linux-gnu -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s -check-prefixes=MIPS32 31 ; MIPS32-LABEL: name: sdiv_i8 32 ; MIPS32: liveins: $a0, $a1 33 ; MIPS32: [[COPY:%[0-9]+]]:_(s32) = COPY $a0 34 ; MIPS32: [[COPY1:%[0-9]+]]:_(s32) = COPY $a1 35 ; MIPS32: [[COPY2:%[0-9]+]]:_(s32) = COPY [[COPY1]](s32) 36 ; MIPS32: [[C:%[0-9]+]]:_(s32) = G_CONSTANT i32 24 37 ; MIPS32: [[SHL:%[0-9]+]]:_(s32) = G_SHL [[COPY2]], [[C]](s32) 38 ; MIPS32: [[ASHR:%[0-9]+]]:_(s32) = G_ASHR [[SHL]], [[C]](s32) 39 ; MIPS32: [[COPY3:%[0-9]+]]:_(s32) = COPY [[COPY]](s32) [all …]
|
D | bitwise.mir | 2 …l-linux-gnu -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s -check-prefixes=MIPS32 43 ; MIPS32-LABEL: name: and_i1 44 ; MIPS32: liveins: $a0, $a1 45 ; MIPS32: [[COPY:%[0-9]+]]:_(s32) = COPY $a0 46 ; MIPS32: [[COPY1:%[0-9]+]]:_(s32) = COPY $a1 47 ; MIPS32: [[COPY2:%[0-9]+]]:_(s32) = COPY [[COPY1]](s32) 48 ; MIPS32: [[COPY3:%[0-9]+]]:_(s32) = COPY [[COPY]](s32) 49 ; MIPS32: [[AND:%[0-9]+]]:_(s32) = G_AND [[COPY2]], [[COPY3]] 50 ; MIPS32: [[COPY4:%[0-9]+]]:_(s32) = COPY [[AND]](s32) 51 ; MIPS32: $v0 = COPY [[COPY4]](s32) [all …]
|