Home
last modified time | relevance | path

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

1234

/external/swiftshader/third_party/llvm-7.0/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/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/
Dbswap.ll105 ; CHECK-NEXT: [[BSWAP:%.*]] = call i32 @llvm.bswap.i32(i32 %x)
106 ; CHECK-NEXT: ret i32 [[BSWAP]]
129 ; CHECK-NEXT: [[BSWAP:%.*]] = call i32 @llvm.bswap.i32(i32 %x)
131 ; CHECK-NEXT: ret i32 [[BSWAP]]
151 ; CHECK-NEXT: [[BSWAP:%.*]] = call i32 @llvm.bswap.i32(i32 %x)
152 ; CHECK-NEXT: ret i32 [[BSWAP]]
175 ; CHECK-NEXT: [[BSWAP:%.*]] = call i32 @llvm.bswap.i32(i32 %x)
177 ; CHECK-NEXT: ret i32 [[BSWAP]]
Dbswap-fold.ll62 ; Fold: OP( BSWAP(x), BSWAP(y) ) -> BSWAP( OP(x, y) )
63 ; Fold: OP( BSWAP(x), CONSTANT ) -> BSWAP( OP(x, BSWAP(CONSTANT) ) )
/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/elfutils/libasm/
Dasm_addint8.c49 #define BSWAP(size) _BSWAP(size) macro
105 var = BSWAP(SIZE) (var); in FCT()
/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.pl358 my ($ABCD,$E,$E_,$BSWAP,$ABCD_SAVE,$E_SAVE)=map("%xmm$_",(0..3,8,9));
379 movdqa K_XX_XX+0xa0(%rip),$BSWAP # byte-n-word swap
386 pshufb $BSWAP,@MSG[0]
388 pshufb $BSWAP,@MSG[1]
389 pshufb $BSWAP,@MSG[2]
391 pshufb $BSWAP,@MSG[3]
426 pshufb $BSWAP,@MSG[0]
432 pshufb $BSWAP,@MSG[1]
438 pshufb $BSWAP,@MSG[2]
443 pshufb $BSWAP,@MSG[3]
Dsha512-x86_64.pl556 my ($Wi,$ABEF,$CDGH,$TMP,$BSWAP,$ABEF_SAVE,$CDGH_SAVE)=map("%xmm$_",(0..2,7..10));
583 movdqa $TMP,$BSWAP # offload
671 movdqa $BSWAP,$TMP
/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-7.0/llvm/lib/Target/BPF/
DBPFInstrInfo.td572 class BSWAP<bits<32> SizeOp, string OpcodeStr, BPFSrcType SrcType, list<dag> Pattern>
588 def BE16 : BSWAP<16, "be16", BPF_TO_BE, [(set GPR:$dst, (srl (bswap GPR:$src), (i64 48)))]>;
589 def BE32 : BSWAP<32, "be32", BPF_TO_BE, [(set GPR:$dst, (srl (bswap GPR:$src), (i64 32)))]>;
590 def BE64 : BSWAP<64, "be64", BPF_TO_BE, [(set GPR:$dst, (bswap GPR:$src))]>;
593 def LE16 : BSWAP<16, "le16", BPF_TO_LE, [(set GPR:$dst, (srl (bswap GPR:$src), (i64 48)))]>;
594 def LE32 : BSWAP<32, "le32", BPF_TO_LE, [(set GPR:$dst, (srl (bswap GPR:$src), (i64 32)))]>;
595 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/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DISDOpcodes.h320 BSWAP, CTTZ, CTLZ, CTPOP, enumerator
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp1662 { ISD::BSWAP, MVT::v4i64, 1 }, in getIntrinsicInstrCost()
1663 { ISD::BSWAP, MVT::v8i32, 1 }, in getIntrinsicInstrCost()
1664 { ISD::BSWAP, MVT::v16i16, 1 }, in getIntrinsicInstrCost()
1689 { ISD::BSWAP, MVT::v4i64, 4 }, in getIntrinsicInstrCost()
1690 { ISD::BSWAP, MVT::v8i32, 4 }, in getIntrinsicInstrCost()
1691 { ISD::BSWAP, MVT::v16i16, 4 }, in getIntrinsicInstrCost()
1732 { ISD::BSWAP, MVT::v2i64, 1 }, in getIntrinsicInstrCost()
1733 { ISD::BSWAP, MVT::v4i32, 1 }, in getIntrinsicInstrCost()
1734 { ISD::BSWAP, MVT::v8i16, 1 }, in getIntrinsicInstrCost()
1753 { ISD::BSWAP, MVT::v2i64, 7 }, in getIntrinsicInstrCost()
[all …]
/external/llvm/include/llvm/CodeGen/
DISDOpcodes.h342 BSWAP, CTTZ, CTLZ, CTPOP, BITREVERSE, enumerator
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DISDOpcodes.h385 BSWAP, CTTZ, CTLZ, CTPOP, BITREVERSE, enumerator
/external/llvm/lib/Target/Mips/
DMips16ISelLowering.cpp147 setOperationAction(ISD::BSWAP, MVT::i32, Expand); in Mips16TargetLowering()
148 setOperationAction(ISD::BSWAP, MVT::i64, Expand); in Mips16TargetLowering()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMips16ISelLowering.cpp147 setOperationAction(ISD::BSWAP, MVT::i32, Expand); in Mips16TargetLowering()
148 setOperationAction(ISD::BSWAP, MVT::i64, Expand); in Mips16TargetLowering()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorOps.cpp284 case ISD::BSWAP: in LegalizeOp()
687 case ISD::BSWAP: in Expand()
DSelectionDAGDumper.cpp317 case ISD::BSWAP: return "bswap"; in getOperationName()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorOps.cpp343 case ISD::BSWAP: in LegalizeOp()
717 case ISD::BSWAP: in Expand()
DSelectionDAGDumper.cpp346 case ISD::BSWAP: return "bswap"; in getOperationName()
/external/swiftshader/third_party/LLVM/lib/Target/Blackfin/
DBlackfinISelLowering.cpp104 setOperationAction(ISD::BSWAP, MVT::i32, Expand); in BlackfinTargetLowering()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DLegalizeIntegerTypes.cpp55 case ISD::BSWAP: Res = PromoteIntRes_BSWAP(N); break; in PromoteIntegerResult()
270 return DAG.getNode(ISD::SRL, dl, NVT, DAG.getNode(ISD::BSWAP, dl, NVT, Op), in PromoteIntRes_BSWAP()
1099 case ISD::BSWAP: ExpandIntRes_BSWAP(N, Lo, Hi); break; in ExpandIntegerResult()
1682 Lo = DAG.getNode(ISD::BSWAP, dl, Lo.getValueType(), Lo); in ExpandIntRes_BSWAP()
1683 Hi = DAG.getNode(ISD::BSWAP, dl, Hi.getValueType(), Hi); in ExpandIntRes_BSWAP()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyISelLowering.cpp97 {ISD::BSWAP, ISD::SMUL_LOHI, ISD::UMUL_LOHI, in WebAssemblyTargetLowering()

1234