Home
last modified time | relevance | path

Searched refs:BSWAP (Results 1 – 25 of 128) sorted by relevance

123456

/external/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/
Dlegalize-bswap.mir32 ; GFX8: [[BSWAP:%[0-9]+]]:_(s16) = G_BSWAP [[TRUNC]]
34 ; GFX8: [[LSHR:%[0-9]+]]:_(s16) = G_LSHR [[BSWAP]], [[C]](s16)
68 ; GFX8: [[BSWAP:%[0-9]+]]:_(s16) = G_BSWAP [[TRUNC]]
69 ; GFX8: [[ANYEXT:%[0-9]+]]:_(s32) = G_ANYEXT [[BSWAP]](s16)
105 ; GFX8: [[BSWAP:%[0-9]+]]:_(s32) = G_BSWAP [[COPY1]]
107 ; GFX8: [[LSHR:%[0-9]+]]:_(s32) = G_LSHR [[BSWAP]], [[C]](s32)
125 ; GFX7: [[BSWAP:%[0-9]+]]:_(s32) = G_BSWAP [[COPY]]
126 ; GFX7: $vgpr0 = COPY [[BSWAP]](s32)
129 ; GFX8: [[BSWAP:%[0-9]+]]:_(s32) = G_BSWAP [[COPY]]
130 ; GFX8: $vgpr0 = COPY [[BSWAP]](s32)
[all …]
Dregbankselect-bswap.mir15 ; CHECK: [[BSWAP:%[0-9]+]]:vgpr(s32) = G_BSWAP [[COPY1]]
29 ; CHECK: [[BSWAP:%[0-9]+]]:vgpr(s32) = G_BSWAP [[COPY]]
/external/llvm-project/llvm/test/CodeGen/X86/
Dload-combine.ll2 ; RUN: llc < %s -mtriple=i686-unknown | FileCheck %s --check-prefix=CHECK --check-prefix=BSWAP
44 ; BSWAP-LABEL: load_i32_by_i8_bswap:
45 ; BSWAP: # %bb.0:
46 ; BSWAP-NEXT: movl {{[0-9]+}}(%esp), %eax
47 ; BSWAP-NEXT: movl (%eax), %eax
48 ; BSWAP-NEXT: bswapl %eax
49 ; BSWAP-NEXT: retl
183 ; BSWAP-LABEL: load_i32_by_i16_by_i8_bswap:
184 ; BSWAP: # %bb.0:
185 ; BSWAP-NEXT: movl {{[0-9]+}}(%esp), %eax
[all …]
Dbswap-rotate.ll5 ; Combine BSWAP (lowered to rolw 8) with a second rotate.
/external/llvm-project/llvm/test/CodeGen/Mips/GlobalISel/regbankselect/
Dbswap.mir20 ; MIPS32R2: [[BSWAP:%[0-9]+]]:gprb(s32) = G_BSWAP [[COPY]]
21 ; MIPS32R2: $v0 = COPY [[BSWAP]](s32)
/external/llvm-project/llvm/test/CodeGen/Mips/GlobalISel/legalizer/
Dbswap.mir38 ; MIPS32R2: [[BSWAP:%[0-9]+]]:_(s32) = G_BSWAP [[COPY]]
39 ; MIPS32R2: $v0 = COPY [[BSWAP]](s32)
87 ; MIPS32R2: [[BSWAP:%[0-9]+]]:_(s32) = G_BSWAP [[COPY1]]
89 ; MIPS32R2: $v0 = COPY [[BSWAP]](s32)
Dbitreverse.mir59 ; MIPS32R2: [[BSWAP:%[0-9]+]]:_(s32) = G_BSWAP [[COPY]]
62 ; MIPS32R2: [[AND:%[0-9]+]]:_(s32) = G_AND [[BSWAP]], [[C1]]
64 ; MIPS32R2: [[SHL:%[0-9]+]]:_(s32) = G_SHL [[BSWAP]], [[C]](s32)
165 ; MIPS32R2: [[BSWAP:%[0-9]+]]:_(s32) = G_BSWAP [[COPY1]]
168 ; MIPS32R2: [[AND:%[0-9]+]]:_(s32) = G_AND [[BSWAP]], [[C1]]
170 ; MIPS32R2: [[SHL:%[0-9]+]]:_(s32) = G_SHL [[BSWAP]], [[C]](s32)
/external/llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/
Dlegalize-bswap.mir31 ; CHECK: [[BSWAP:%[0-9]+]]:_(s32) = G_BSWAP [[COPY1]]
33 ; CHECK: [[LSHR:%[0-9]+]]:_(s32) = G_LSHR [[BSWAP]], [[C]](s64)
/external/elfutils/libasm/
Dasm_addint8.c49 #define BSWAP(size) _BSWAP(size) macro
105 var = BSWAP(SIZE) (var); in FCT()
/external/llvm/test/Transforms/InstCombine/
Dbswap-fold.ll92 ; Fold: OP( BSWAP(x), BSWAP(y) ) -> BSWAP( OP(x, y) )
93 ; Fold: OP( BSWAP(x), CONSTANT ) -> BSWAP( OP(x, BSWAP(CONSTANT) ) )
/external/boringssl/src/crypto/fipsmodule/sha/asm/
Dsha1-586.pl431 my ($ABCD,$E,$E_,$BSWAP)=map("xmm$_",(0..3));
463 &movdqa ($BSWAP,&QWP(0x50,$tmp1)); # byte-n-word swap
470 &pshufb (@MSG[0],$BSWAP);
472 &pshufb (@MSG[1],$BSWAP);
473 &pshufb (@MSG[2],$BSWAP);
474 &pshufb (@MSG[3],$BSWAP);
507 &pshufb (@MSG[0],$BSWAP);
513 &pshufb (@MSG[1],$BSWAP);
519 &pshufb (@MSG[2],$BSWAP);
524 &pshufb (@MSG[3],$BSWAP);
Dsha1-x86_64.pl350 my ($ABCD,$E,$E_,$BSWAP,$ABCD_SAVE,$E_SAVE)=map("%xmm$_",(0..3,8,9));
371 movdqa K_XX_XX+0xa0(%rip),$BSWAP # byte-n-word swap
378 pshufb $BSWAP,@MSG[0]
380 pshufb $BSWAP,@MSG[1]
381 pshufb $BSWAP,@MSG[2]
383 pshufb $BSWAP,@MSG[3]
418 pshufb $BSWAP,@MSG[0]
424 pshufb $BSWAP,@MSG[1]
430 pshufb $BSWAP,@MSG[2]
435 pshufb $BSWAP,@MSG[3]
/external/llvm-project/llvm/test/Transforms/InstCombine/
Dbswap.ll234 ; CHECK-NEXT: [[BSWAP:%.*]] = call i32 @llvm.bswap.i32(i32 [[X:%.*]])
235 ; CHECK-NEXT: ret i32 [[BSWAP]]
256 ; CHECK-NEXT: [[BSWAP:%.*]] = call i32 @llvm.bswap.i32(i32 [[X]])
258 ; CHECK-NEXT: ret i32 [[BSWAP]]
278 ; CHECK-NEXT: [[BSWAP:%.*]] = call i32 @llvm.bswap.i32(i32 [[X:%.*]])
279 ; CHECK-NEXT: ret i32 [[BSWAP]]
300 ; CHECK-NEXT: [[BSWAP:%.*]] = call i32 @llvm.bswap.i32(i32 [[X]])
302 ; CHECK-NEXT: ret i32 [[BSWAP]]
670 ; CHECK-NEXT: [[BSWAP:%.*]] = shufflevector <4 x i8> [[X:%.*]], <4 x i8> undef, <4 x i32> <i32 3…
671 ; CHECK-NEXT: call void @use(<4 x i8> [[BSWAP]])
[all …]
Dbswap-fold.ll86 ; Fold: OP( BSWAP(x), BSWAP(y) ) -> BSWAP( OP(x, y) )
87 ; Fold: OP( BSWAP(x), CONSTANT ) -> BSWAP( OP(x, BSWAP(CONSTANT) ) )
/external/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp967 { ISD::BSWAP, MVT::v4i64, 1 }, in getIntrinsicInstrCost()
968 { ISD::BSWAP, MVT::v8i32, 1 }, in getIntrinsicInstrCost()
969 { ISD::BSWAP, MVT::v16i16, 1 } in getIntrinsicInstrCost()
976 { ISD::BSWAP, MVT::v4i64, 4 }, in getIntrinsicInstrCost()
977 { ISD::BSWAP, MVT::v8i32, 4 }, in getIntrinsicInstrCost()
978 { ISD::BSWAP, MVT::v16i16, 4 } in getIntrinsicInstrCost()
985 { ISD::BSWAP, MVT::v2i64, 1 }, in getIntrinsicInstrCost()
986 { ISD::BSWAP, MVT::v4i32, 1 }, in getIntrinsicInstrCost()
987 { ISD::BSWAP, MVT::v8i16, 1 } in getIntrinsicInstrCost()
990 { ISD::BSWAP, MVT::v2i64, 7 }, in getIntrinsicInstrCost()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFInstrInfo.td664 class BSWAP<bits<32> SizeOp, string OpcodeStr, BPFSrcType SrcType, list<dag> Pattern>
680 def BE16 : BSWAP<16, "be16", BPF_TO_BE, [(set GPR:$dst, (srl (bswap GPR:$src), (i64 48)))]>;
681 def BE32 : BSWAP<32, "be32", BPF_TO_BE, [(set GPR:$dst, (srl (bswap GPR:$src), (i64 32)))]>;
682 def BE64 : BSWAP<64, "be64", BPF_TO_BE, [(set GPR:$dst, (bswap GPR:$src))]>;
685 def LE16 : BSWAP<16, "le16", BPF_TO_LE, [(set GPR:$dst, (srl (bswap GPR:$src), (i64 48)))]>;
686 def LE32 : BSWAP<32, "le32", BPF_TO_LE, [(set GPR:$dst, (srl (bswap GPR:$src), (i64 32)))]>;
687 def LE64 : BSWAP<64, "le64", BPF_TO_LE, [(set GPR:$dst, (bswap GPR:$src))]>;
/external/llvm/lib/Target/BPF/
DBPFInstrInfo.td501 class BSWAP<bits<32> SizeOp, string OpcodeStr, list<dag> Pattern>
522 def BSWAP16 : BSWAP<16, "bswap16", [(set GPR:$dst, (srl (bswap GPR:$src), (i64 48)))]>;
523 def BSWAP32 : BSWAP<32, "bswap32", [(set GPR:$dst, (srl (bswap GPR:$src), (i64 32)))]>;
524 def BSWAP64 : BSWAP<64, "bswap64", [(set GPR:$dst, (bswap GPR:$src))]>;
/external/llvm/include/llvm/CodeGen/
DISDOpcodes.h342 BSWAP, CTTZ, CTLZ, CTPOP, BITREVERSE, enumerator
/external/llvm-project/llvm/lib/Target/BPF/
DBPFInstrInfo.td836 class BSWAP<bits<32> SizeOp, string OpcodeStr, BPFSrcType SrcType, list<dag> Pattern>
852 def BE16 : BSWAP<16, "be16", BPF_TO_BE, [(set GPR:$dst, (srl (bswap GPR:$src), (i64 48)))]>;
853 def BE32 : BSWAP<32, "be32", BPF_TO_BE, [(set GPR:$dst, (srl (bswap GPR:$src), (i64 32)))]>;
854 def BE64 : BSWAP<64, "be64", BPF_TO_BE, [(set GPR:$dst, (bswap GPR:$src))]>;
857 def LE16 : BSWAP<16, "le16", BPF_TO_LE, [(set GPR:$dst, (srl (bswap GPR:$src), (i64 48)))]>;
858 def LE32 : BSWAP<32, "le32", BPF_TO_LE, [(set GPR:$dst, (srl (bswap GPR:$src), (i64 32)))]>;
859 def LE64 : BSWAP<64, "le64", BPF_TO_LE, [(set GPR:$dst, (bswap GPR:$src))]>;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DISDOpcodes.h474 BSWAP, CTTZ, CTLZ, CTPOP, BITREVERSE, enumerator
/external/llvm-project/llvm/include/llvm/CodeGen/
DISDOpcodes.h615 BSWAP, enumerator
/external/rust/crates/ring/crypto/fipsmodule/sha/asm/
Dsha512-x86_64.pl557 my ($Wi,$ABEF,$CDGH,$TMP,$BSWAP,$ABEF_SAVE,$CDGH_SAVE)=map("%xmm$_",(0..2,7..10));
584 movdqa $TMP,$BSWAP # offload
672 movdqa $BSWAP,$TMP
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp1972 { ISD::BSWAP, MVT::v4i64, 1 }, in getIntrinsicInstrCost()
1973 { ISD::BSWAP, MVT::v8i32, 1 }, in getIntrinsicInstrCost()
1974 { ISD::BSWAP, MVT::v16i16, 1 }, in getIntrinsicInstrCost()
2009 { ISD::BSWAP, MVT::v4i64, 4 }, in getIntrinsicInstrCost()
2010 { ISD::BSWAP, MVT::v8i32, 4 }, in getIntrinsicInstrCost()
2011 { ISD::BSWAP, MVT::v16i16, 4 }, in getIntrinsicInstrCost()
2064 { ISD::BSWAP, MVT::v2i64, 1 }, in getIntrinsicInstrCost()
2065 { ISD::BSWAP, MVT::v4i32, 1 }, in getIntrinsicInstrCost()
2066 { ISD::BSWAP, MVT::v8i16, 1 }, in getIntrinsicInstrCost()
2085 { ISD::BSWAP, MVT::v2i64, 7 }, in getIntrinsicInstrCost()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMips16ISelLowering.cpp146 setOperationAction(ISD::BSWAP, MVT::i32, Expand); in Mips16TargetLowering()
147 setOperationAction(ISD::BSWAP, MVT::i64, Expand); in Mips16TargetLowering()
/external/llvm-project/llvm/lib/Target/Mips/
DMips16ISelLowering.cpp146 setOperationAction(ISD::BSWAP, MVT::i32, Expand); in Mips16TargetLowering()
147 setOperationAction(ISD::BSWAP, MVT::i64, Expand); in Mips16TargetLowering()

123456