/freebsd/crypto/openssl/crypto/sha/asm/ |
H A D | sha1-586.pl | 435 my ($ABCD,$E,$E_,$BSWAP)=map("xmm$_",(0..3)); 467 &movdqa ($BSWAP,&QWP(0x50,$tmp1)); # byte-n-word swap 474 &pshufb (@MSG[0],$BSWAP); 476 &pshufb (@MSG[1],$BSWAP); 477 &pshufb (@MSG[2],$BSWAP); 478 &pshufb (@MSG[3],$BSWAP); 511 &pshufb (@MSG[0],$BSWAP); 517 &pshufb (@MSG[1],$BSWAP); 523 &pshufb (@MSG[2],$BSWAP); 528 &pshufb (@MSG[3],$BSWAP);
|
H A D | sha1-mb-x86_64.pl | 533 my ($ABCD0,$E0,$E0_,$BSWAP,$ABCD1,$E1,$E1_)=map("%xmm$_",(0..3,8..10)); 571 movdqa K_XX_XX+0x80(%rip),$BSWAP # byte-n-word swap 621 pshufb $BSWAP,@MSG0[0] 623 pshufb $BSWAP,@MSG1[0] 626 pshufb $BSWAP,@MSG0[1] 629 pshufb $BSWAP,@MSG1[1] 643 pshufb $BSWAP,@MSG0[2] 646 pshufb $BSWAP,@MSG1[2] 650 pshufb $BSWAP,@MSG0[3] 652 pshufb $BSWAP,@MSG1[3]
|
H A D | sha1-x86_64.pl | 367 my ($ABCD,$E,$E_,$BSWAP,$ABCD_SAVE,$E_SAVE)=map("%xmm$_",(0..3,8,9)); 388 movdqa K_XX_XX+0xa0(%rip),$BSWAP # byte-n-word swap 395 pshufb $BSWAP,@MSG[0] 397 pshufb $BSWAP,@MSG[1] 398 pshufb $BSWAP,@MSG[2] 400 pshufb $BSWAP,@MSG[3] 435 pshufb $BSWAP,@MSG[0] 441 pshufb $BSWAP,@MSG[1] 447 pshufb $BSWAP,@MSG[2] 452 pshufb $BSWAP,@MSG[3]
|
H A D | sha512-x86_64.pl | 566 my ($Wi,$ABEF,$CDGH,$TMP,$BSWAP,$ABEF_SAVE,$CDGH_SAVE)=map("%xmm$_",(0..2,7..10)); 594 movdqa $TMP,$BSWAP # offload 682 movdqa $BSWAP,$TMP
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFInstrInfo.td | 1007 class BSWAP<BPFOpClass Class, bits<32> SizeOp, string OpcodeStr, BPFSrcType SrcType, list<dag> Patt… 1023 …def BSWAP16 : BSWAP<BPF_ALU64, 16, "bswap16", BPF_TO_LE, [(set GPR:$dst, (srl (bswap GPR:$src), (i… 1024 …def BSWAP32 : BSWAP<BPF_ALU64, 32, "bswap32", BPF_TO_LE, [(set GPR:$dst, (srl (bswap GPR:$src), (i… 1025 def BSWAP64 : BSWAP<BPF_ALU64, 64, "bswap64", BPF_TO_LE, [(set GPR:$dst, (bswap GPR:$src))]>; 1030 …def BE16 : BSWAP<BPF_ALU, 16, "be16", BPF_TO_BE, [(set GPR:$dst, (srl (bswap GPR:$src), (i64 48)))… 1031 …def BE32 : BSWAP<BPF_ALU, 32, "be32", BPF_TO_BE, [(set GPR:$dst, (srl (bswap GPR:$src), (i64 32)))… 1032 def BE64 : BSWAP<BPF_ALU, 64, "be64", BPF_TO_BE, [(set GPR:$dst, (bswap GPR:$src))]>; 1035 …def LE16 : BSWAP<BPF_ALU, 16, "le16", BPF_TO_LE, [(set GPR:$dst, (srl (bswap GPR:$src), (i64 48)))… 1036 …def LE32 : BSWAP<BPF_ALU, 32, "le32", BPF_TO_LE, [(set GPR:$dst, (srl (bswap GPR:$src), (i64 32)))… 1037 def LE64 : BSWAP<BPF_ALU, 64, "le64", BPF_TO_LE, [(set GPR:$dst, (bswap GPR:$src))]>;
|
H A D | BPFISelLowering.cpp | 127 setOperationAction(ISD::BSWAP, MVT::i32, Promote); in BPFTargetLowering()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86TargetTransformInfo.cpp | 3544 { ISD::BSWAP, MVT::v2i64, { 1, 1, 1, 2 } }, in getIntrinsicInstrCost() 3545 { ISD::BSWAP, MVT::v4i64, { 1, 1, 1, 2 } }, in getIntrinsicInstrCost() 3546 { ISD::BSWAP, MVT::v8i64, { 1, 1, 1, 2 } }, in getIntrinsicInstrCost() 3547 { ISD::BSWAP, MVT::v4i32, { 1, 1, 1, 2 } }, in getIntrinsicInstrCost() 3548 { ISD::BSWAP, MVT::v8i32, { 1, 1, 1, 2 } }, in getIntrinsicInstrCost() 3549 { ISD::BSWAP, MVT::v16i32, { 1, 1, 1, 2 } }, in getIntrinsicInstrCost() 3550 { ISD::BSWAP, MVT::v8i16, { 1, 1, 1, 2 } }, in getIntrinsicInstrCost() 3551 { ISD::BSWAP, MVT::v16i16, { 1, 1, 1, 2 } }, in getIntrinsicInstrCost() 3552 { ISD::BSWAP, MVT::v32i16, { 1, 1, 1, 2 } }, in getIntrinsicInstrCost() 3624 { ISD::BSWAP, MVT::v8i64, { 4, 7, 5, 5 } }, in getIntrinsicInstrCost() [all …]
|
/freebsd/crypto/openssl/crypto/aes/asm/ |
H A D | aesni-sha1-x86_64.pl | 1762 my ($BSWAP,$ABCD,$E,$E_,$ABCD_SAVE,$E_SAVE)=map("%xmm$_",(7..12)); 1789 movdqa K_XX_XX+0x50(%rip),$BSWAP # byte-n-word swap 1809 pshufb $BSWAP,@MSG[0] 1815 pshufb $BSWAP,@MSG[1] 1826 pshufb $BSWAP,@MSG[2] 1835 pshufb $BSWAP,@MSG[3]
|
H A D | aesni-sha256-x86_64.pl | 1320 my ($Wi,$ABEF,$CDGH,$TMP,$BSWAP,$ABEF_SAVE,$CDGH_SAVE)=map("%xmm$_",(0..3,7..9)); 1407 movdqa $TMP,$BSWAP # offload 1529 movdqa $BSWAP,$TMP
|
/freebsd/sys/amd64/amd64/ |
H A D | bpf_jit_machdep.c | 257 BSWAP(EAX); in bpf_jit_compile() 324 BSWAP(EAX); in bpf_jit_compile()
|
H A D | bpf_jit_machdep.h | 218 #define BSWAP(dr32) do { \ macro
|
/freebsd/sys/i386/i386/ |
H A D | bpf_jit_machdep.c | 271 BSWAP(EAX); in bpf_jit_compile() 343 BSWAP(EAX); in bpf_jit_compile()
|
H A D | bpf_jit_machdep.h | 158 #define BSWAP(dr32) do { \ macro
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | ISDOpcodes.h | 742 BSWAP, enumerator
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | Mips16ISelLowering.cpp | 146 setOperationAction(ISD::BSWAP, MVT::i32, Expand); in Mips16TargetLowering() 147 setOperationAction(ISD::BSWAP, MVT::i64, Expand); in Mips16TargetLowering()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonISelLowering.cpp | 1591 setOperationAction(ISD::BSWAP, MVT::i32, Legal); in HexagonTargetLowering() 1592 setOperationAction(ISD::BSWAP, MVT::i64, Legal); in HexagonTargetLowering() 1651 ISD::CTPOP, ISD::CTLZ, ISD::CTTZ, ISD::BSWAP, ISD::BITREVERSE, in HexagonTargetLowering() 1726 setOperationAction(ISD::BSWAP, NativeVT, Legal); in HexagonTargetLowering() 2322 SDValue T1 = DAG.getNode(ISD::BSWAP, dl, MVT::i32, T0); in LowerVECTOR_SHUFFLE() 2349 SDValue T1 = DAG.getNode(ISD::BSWAP, dl, MVT::i64, T0); in LowerVECTOR_SHUFFLE()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZISelLowering.cpp | 729 ISD::BSWAP, in SystemZTargetLowering() 7062 Op1.getOpcode() == ISD::BSWAP && in combineSTORE() 7265 if (Op.getOpcode() == ISD::BSWAP && Op.hasOneUse()) { in combineEXTRACT_VECTOR_ELT() 7271 Op = DAG.getNode(ISD::BSWAP, SDLoc(N), EltVT, Op); in combineEXTRACT_VECTOR_ELT() 7526 Vec.getOpcode() == ISD::BSWAP || Vec.isUndef() || in combineBSWAP() 7528 Elt.getOpcode() == ISD::BSWAP || Elt.isUndef() || in combineBSWAP() 7541 Vec = DAG.getNode(ISD::BSWAP, SDLoc(N), VecVT, Vec); in combineBSWAP() 7543 Elt = DAG.getNode(ISD::BSWAP, SDLoc(N), EltVT, Elt); in combineBSWAP() 7557 Op0.getOpcode() == ISD::BSWAP || Op0.isUndef() || in combineBSWAP() 7559 Op1.getOpcode() == ISD::BSWAP || Op1.isUndef()) { in combineBSWAP() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.cpp | 474 setOperationAction(ISD::BSWAP, MVT::i32, Legal); in PPCTargetLowering() 475 setOperationAction(ISD::BSWAP, MVT::i64, Legal); in PPCTargetLowering() 477 setOperationAction(ISD::BSWAP, MVT::i32, Expand); in PPCTargetLowering() 479 ISD::BSWAP, MVT::i64, in PPCTargetLowering() 881 setOperationAction(ISD::BSWAP, VT, Expand); in PPCTargetLowering() 1262 setOperationAction(ISD::BSWAP, MVT::v8i16, Legal); in PPCTargetLowering() 1263 setOperationAction(ISD::BSWAP, MVT::v4i32, Legal); in PPCTargetLowering() 1264 setOperationAction(ISD::BSWAP, MVT::v2i64, Legal); in PPCTargetLowering() 1265 setOperationAction(ISD::BSWAP, MVT::v1i128, Legal); in PPCTargetLowering() 1397 setTargetDAGCombine({ISD::BSWAP, ISD::INTRINSIC_WO_CHAIN, in PPCTargetLowering() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/ |
H A D | MSP430ISelLowering.cpp | 982 Victim = DAG.getNode(ISD::BSWAP, dl, VT, Victim); in LowerShifts() 987 Victim = DAG.getNode(ISD::BSWAP, dl, VT, Victim); in LowerShifts()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGDumper.cpp | 484 case ISD::BSWAP: return "bswap"; in getOperationName()
|
H A D | LegalizeIntegerTypes.cpp | 65 case ISD::BSWAP: Res = PromoteIntRes_BSWAP(N); break; in PromoteIntegerResult() 581 !TLI.isOperationLegalOrCustomOrPromote(ISD::BSWAP, NVT)) { in PromoteIntRes_BSWAP() 588 if (N->getOpcode() == ISD::BSWAP) in PromoteIntRes_BSWAP() 589 return DAG.getNode(ISD::SRL, dl, NVT, DAG.getNode(ISD::BSWAP, dl, NVT, Op), in PromoteIntRes_BSWAP() 2787 case ISD::BSWAP: ExpandIntRes_BSWAP(N, Lo, Hi); break; in ExpandIntegerResult() 3753 Lo = DAG.getNode(ISD::BSWAP, dl, Lo.getValueType(), Lo); in ExpandIntRes_BSWAP() 3754 Hi = DAG.getNode(ISD::BSWAP, dl, Hi.getValueType(), Hi); in ExpandIntRes_BSWAP()
|
H A D | LegalizeVectorOps.cpp | 376 case ISD::BSWAP: in LegalizeOp() 869 case ISD::BSWAP: in Expand()
|
H A D | DAGCombiner.cpp | 1895 case ISD::BSWAP: return visitBSWAP(N); in visit() 5843 if (HandOpcode == ISD::BSWAP) { in hoistLogicOpWithSameOpcodeHands() 7364 if (!TLI.isOperationLegalOrCustom(ISD::BSWAP, VT)) in MatchBSwapHWordLow() 7462 SDValue Res = DAG.getNode(ISD::BSWAP, SDLoc(N), VT, N00); in MatchBSwapHWordLow() 7567 if (N.getOpcode() == ISD::SRL && N.getOperand(0).getOpcode() == ISD::BSWAP) { in isBSwapHWordPair() 7615 SDValue BSwap = DAG.getNode(ISD::BSWAP, DL, VT, Shift0.getOperand(0)); in matchBSwapHWordOrAndAnd() 7633 if (!TLI.isOperationLegalOrCustom(ISD::BSWAP, VT)) in MatchBSwapHWord() 7672 SDValue BSwap = DAG.getNode(ISD::BSWAP, DL, VT, in MatchBSwapHWord() 8756 case ISD::BSWAP: in calculateByteProvider() 9058 SourceValue = DAG.getNode(ISD::BSWAP, DL, WideVT, SourceValue); in mergeTruncStores() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | VPIntrinsics.def | 250 VP_PROPERTY_FUNCTIONAL_SDOPC(BSWAP)
|
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/ |
H A D | CSKYISelLowering.cpp | 99 setOperationAction(ISD::BSWAP, MVT::i32, Expand); in CSKYTargetLowering()
|