| /freebsd-14.2/crypto/openssl/crypto/sha/asm/ |
| 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-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-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-14.2/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFInstrInfo.td | 964 class BSWAP<BPFOpClass Class, bits<32> SizeOp, string OpcodeStr, BPFSrcType SrcType, list<dag> Patt… 980 …def BSWAP16 : BSWAP<BPF_ALU64, 16, "bswap16", BPF_TO_LE, [(set GPR:$dst, (srl (bswap GPR:$src), (i… 981 …def BSWAP32 : BSWAP<BPF_ALU64, 32, "bswap32", BPF_TO_LE, [(set GPR:$dst, (srl (bswap GPR:$src), (i… 982 def BSWAP64 : BSWAP<BPF_ALU64, 64, "bswap64", BPF_TO_LE, [(set GPR:$dst, (bswap GPR:$src))]>; 987 …def BE16 : BSWAP<BPF_ALU, 16, "be16", BPF_TO_BE, [(set GPR:$dst, (srl (bswap GPR:$src), (i64 48)))… 988 …def BE32 : BSWAP<BPF_ALU, 32, "be32", BPF_TO_BE, [(set GPR:$dst, (srl (bswap GPR:$src), (i64 32)))… 989 def BE64 : BSWAP<BPF_ALU, 64, "be64", BPF_TO_BE, [(set GPR:$dst, (bswap GPR:$src))]>; 992 …def LE16 : BSWAP<BPF_ALU, 16, "le16", BPF_TO_LE, [(set GPR:$dst, (srl (bswap GPR:$src), (i64 48)))… 993 …def LE32 : BSWAP<BPF_ALU, 32, "le32", BPF_TO_LE, [(set GPR:$dst, (srl (bswap GPR:$src), (i64 32)))… 994 def LE64 : BSWAP<BPF_ALU, 64, "le64", BPF_TO_LE, [(set GPR:$dst, (bswap GPR:$src))]>;
|
| H A D | BPFISelLowering.cpp | 123 setOperationAction(ISD::BSWAP, MVT::i32, Promote); in BPFTargetLowering()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86TargetTransformInfo.cpp | 3445 { ISD::BSWAP, MVT::v2i64, { 1, 1, 1, 2 } }, in getIntrinsicInstrCost() 3446 { ISD::BSWAP, MVT::v4i64, { 1, 1, 1, 2 } }, in getIntrinsicInstrCost() 3447 { ISD::BSWAP, MVT::v8i64, { 1, 1, 1, 2 } }, in getIntrinsicInstrCost() 3448 { ISD::BSWAP, MVT::v4i32, { 1, 1, 1, 2 } }, in getIntrinsicInstrCost() 3449 { ISD::BSWAP, MVT::v8i32, { 1, 1, 1, 2 } }, in getIntrinsicInstrCost() 3450 { ISD::BSWAP, MVT::v16i32, { 1, 1, 1, 2 } }, in getIntrinsicInstrCost() 3451 { ISD::BSWAP, MVT::v8i16, { 1, 1, 1, 2 } }, in getIntrinsicInstrCost() 3817 { ISD::BSWAP, MVT::v2i64, { 5, 5, 1, 5 } }, in getIntrinsicInstrCost() 3818 { ISD::BSWAP, MVT::v4i32, { 5, 5, 1, 5 } }, in getIntrinsicInstrCost() 3819 { ISD::BSWAP, MVT::v8i16, { 5, 5, 1, 5 } }, in getIntrinsicInstrCost() [all …]
|
| /freebsd-14.2/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-14.2/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-14.2/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-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | ISDOpcodes.h | 714 BSWAP, enumerator
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelLowering.cpp | 1571 setOperationAction(ISD::BSWAP, MVT::i32, Legal); in HexagonTargetLowering() 1572 setOperationAction(ISD::BSWAP, MVT::i64, Legal); in HexagonTargetLowering() 1631 ISD::CTPOP, ISD::CTLZ, ISD::CTTZ, ISD::BSWAP, ISD::BITREVERSE, in HexagonTargetLowering() 1706 setOperationAction(ISD::BSWAP, NativeVT, Legal); in HexagonTargetLowering() 2305 SDValue T1 = DAG.getNode(ISD::BSWAP, dl, MVT::i32, T0); in LowerVECTOR_SHUFFLE() 2332 SDValue T1 = DAG.getNode(ISD::BSWAP, dl, MVT::i64, T0); in LowerVECTOR_SHUFFLE()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelLowering.cpp | 716 ISD::BSWAP, in SystemZTargetLowering() 6931 Op1.getOpcode() == ISD::BSWAP && in combineSTORE() 7122 if (Op.getOpcode() == ISD::BSWAP && Op.hasOneUse()) { in combineEXTRACT_VECTOR_ELT() 7128 Op = DAG.getNode(ISD::BSWAP, SDLoc(N), EltVT, Op); in combineEXTRACT_VECTOR_ELT() 7383 Vec.getOpcode() == ISD::BSWAP || Vec.isUndef() || in combineBSWAP() 7385 Elt.getOpcode() == ISD::BSWAP || Elt.isUndef() || in combineBSWAP() 7398 Vec = DAG.getNode(ISD::BSWAP, SDLoc(N), VecVT, Vec); in combineBSWAP() 7400 Elt = DAG.getNode(ISD::BSWAP, SDLoc(N), EltVT, Elt); in combineBSWAP() 7414 Op0.getOpcode() == ISD::BSWAP || Op0.isUndef() || in combineBSWAP() 7416 Op1.getOpcode() == ISD::BSWAP || Op1.isUndef()) { in combineBSWAP() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/MSP430/ |
| H A D | MSP430ISelLowering.cpp | 981 Victim = DAG.getNode(ISD::BSWAP, dl, VT, Victim); in LowerShifts() 986 Victim = DAG.getNode(ISD::BSWAP, dl, VT, Victim); in LowerShifts()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelLowering.cpp | 464 setOperationAction(ISD::BSWAP, MVT::i32, Legal); in PPCTargetLowering() 465 setOperationAction(ISD::BSWAP, MVT::i64, Legal); in PPCTargetLowering() 467 setOperationAction(ISD::BSWAP, MVT::i32, Expand); in PPCTargetLowering() 469 ISD::BSWAP, MVT::i64, in PPCTargetLowering() 871 setOperationAction(ISD::BSWAP, VT, Expand); in PPCTargetLowering() 1252 setOperationAction(ISD::BSWAP, MVT::v8i16, Legal); in PPCTargetLowering() 11016 Op = DAG.getNode(ISD::BSWAP, dl, MVT::v2i64, Op); in LowerBSWAP() 11683 case ISD::BSWAP: in LowerOperation() 16108 case ISD::BSWAP: { in PerformDAGCombine() 16162 Lo = DAG.getNode(ISD::BSWAP, dl, MVT::i32, Lo); in PerformDAGCombine() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGDumper.cpp | 452 case ISD::BSWAP: return "bswap"; in getOperationName()
|
| H A D | LegalizeIntegerTypes.cpp | 65 case ISD::BSWAP: Res = PromoteIntRes_BSWAP(N); break; in PromoteIntegerResult() 531 !TLI.isOperationLegalOrCustomOrPromote(ISD::BSWAP, NVT)) { in PromoteIntRes_BSWAP() 538 if (N->getOpcode() == ISD::BSWAP) in PromoteIntRes_BSWAP() 539 return DAG.getNode(ISD::SRL, dl, NVT, DAG.getNode(ISD::BSWAP, dl, NVT, Op), in PromoteIntRes_BSWAP() 2625 case ISD::BSWAP: ExpandIntRes_BSWAP(N, Lo, Hi); break; in ExpandIntegerResult() 3570 Lo = DAG.getNode(ISD::BSWAP, dl, Lo.getValueType(), Lo); in ExpandIntRes_BSWAP() 3571 Hi = DAG.getNode(ISD::BSWAP, dl, Hi.getValueType(), Hi); in ExpandIntRes_BSWAP()
|
| H A D | LegalizeVectorOps.cpp | 367 case ISD::BSWAP: in LegalizeOp() 904 case ISD::BSWAP: in Expand()
|
| H A D | DAGCombiner.cpp | 1981 case ISD::BSWAP: return visitBSWAP(N); in visit() 5839 if (HandOpcode == ISD::BSWAP) { in hoistLogicOpWithSameOpcodeHands() 7373 if (!TLI.isOperationLegalOrCustom(ISD::BSWAP, VT)) in MatchBSwapHWordLow() 7643 if (!TLI.isOperationLegalOrCustom(ISD::BSWAP, VT)) in MatchBSwapHWord() 7684 SDValue BSwap = DAG.getNode(ISD::BSWAP, DL, VT, in MatchBSwapHWord() 8754 case ISD::BSWAP: in calculateByteProvider() 9237 !TLI.isOperationLegal(ISD::BSWAP, VT)) in MatchLoadCombine() 9801 return DAG.getNode(ISD::BSWAP, dl, VT, N0); in visitRotate() 10263 if (Opcode != ISD::BSWAP && Opcode != ISD::BITREVERSE) in foldBitOrderCrossLogicOp() 11024 if (N0.getOpcode() == ISD::BSWAP) in visitBSWAP() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | VPIntrinsics.def | 250 VP_PROPERTY_FUNCTIONAL_SDOPC(BSWAP)
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXISelLowering.cpp | 577 setOperationAction(ISD::BSWAP, MVT::i16, Expand); in NVPTXTargetLowering() 578 setOperationAction(ISD::BSWAP, MVT::v2i16, Expand); in NVPTXTargetLowering() 579 setOperationAction(ISD::BSWAP, MVT::i32, Expand); in NVPTXTargetLowering() 580 setOperationAction(ISD::BSWAP, MVT::i64, Expand); in NVPTXTargetLowering()
|