| /freebsd/crypto/openssl/crypto/sha/asm/ |
| H A D | sha1-586.pl | 438 my ($ABCD,$E,$E_,$BSWAP)=map("xmm$_",(0..3)); 470 &movdqa ($BSWAP,&QWP(0x50,$tmp1)); # byte-n-word swap 477 &pshufb (@MSG[0],$BSWAP); 479 &pshufb (@MSG[1],$BSWAP); 480 &pshufb (@MSG[2],$BSWAP); 481 &pshufb (@MSG[3],$BSWAP); 514 &pshufb (@MSG[0],$BSWAP); 520 &pshufb (@MSG[1],$BSWAP); 526 &pshufb (@MSG[2],$BSWAP); 531 &pshufb (@MSG[3],$BSWAP);
|
| H A D | sha1-mb-x86_64.pl | 540 my ($ABCD0,$E0,$E0_,$BSWAP,$ABCD1,$E1,$E1_)=map("%xmm$_",(0..3,8..10)); 578 movdqa K_XX_XX+0x80(%rip),$BSWAP # byte-n-word swap 628 pshufb $BSWAP,@MSG0[0] 630 pshufb $BSWAP,@MSG1[0] 633 pshufb $BSWAP,@MSG0[1] 636 pshufb $BSWAP,@MSG1[1] 650 pshufb $BSWAP,@MSG0[2] 653 pshufb $BSWAP,@MSG1[2] 657 pshufb $BSWAP,@MSG0[3] 659 pshufb $BSWAP,@MSG1[3]
|
| H A D | sha1-x86_64.pl | 374 my ($ABCD,$E,$E_,$BSWAP,$ABCD_SAVE,$E_SAVE)=map("%xmm$_",(0..3,8,9)); 395 movdqa K_XX_XX+0xa0(%rip),$BSWAP # byte-n-word swap 402 pshufb $BSWAP,@MSG[0] 404 pshufb $BSWAP,@MSG[1] 405 pshufb $BSWAP,@MSG[2] 407 pshufb $BSWAP,@MSG[3] 442 pshufb $BSWAP,@MSG[0] 448 pshufb $BSWAP,@MSG[1] 454 pshufb $BSWAP,@MSG[2] 459 pshufb $BSWAP,@MSG[3]
|
| H A D | sha512-x86_64.pl | 577 my ($Wi,$ABEF,$CDGH,$TMP,$BSWAP,$ABEF_SAVE,$CDGH_SAVE)=map("%xmm$_",(0..2,7..10)); 605 movdqa $TMP,$BSWAP # offload 693 movdqa $BSWAP,$TMP
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFInstrInfo.td | 1153 class BSWAP<BPFOpClass Class, bits<32> SizeOp, string OpcodeStr, BPFSrcType SrcType, list<dag> Patt… 1169 …def BSWAP16 : BSWAP<BPF_ALU64, 16, "bswap16", BPF_TO_LE, [(set GPR:$dst, (srl (bswap GPR:$src), (i… 1170 …def BSWAP32 : BSWAP<BPF_ALU64, 32, "bswap32", BPF_TO_LE, [(set GPR:$dst, (srl (bswap GPR:$src), (i… 1171 def BSWAP64 : BSWAP<BPF_ALU64, 64, "bswap64", BPF_TO_LE, [(set GPR:$dst, (bswap GPR:$src))]>; 1176 …def BE16 : BSWAP<BPF_ALU, 16, "be16", BPF_TO_BE, [(set GPR:$dst, (srl (bswap GPR:$src), (i64 48)))… 1177 …def BE32 : BSWAP<BPF_ALU, 32, "be32", BPF_TO_BE, [(set GPR:$dst, (srl (bswap GPR:$src), (i64 32)))… 1178 def BE64 : BSWAP<BPF_ALU, 64, "be64", BPF_TO_BE, [(set GPR:$dst, (bswap GPR:$src))]>; 1181 …def LE16 : BSWAP<BPF_ALU, 16, "le16", BPF_TO_LE, [(set GPR:$dst, (srl (bswap GPR:$src), (i64 48)))… 1182 …def LE32 : BSWAP<BPF_ALU, 32, "le32", BPF_TO_LE, [(set GPR:$dst, (srl (bswap GPR:$src), (i64 32)))… 1183 def LE64 : BSWAP<BPF_ALU, 64, "le64", BPF_TO_LE, [(set GPR:$dst, (bswap GPR:$src))]>;
|
| H A D | BPFISelLowering.cpp | 135 setOperationAction(ISD::BSWAP, MVT::i32, Promote); in BPFTargetLowering()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86TargetTransformInfo.cpp | 3698 { ISD::BSWAP, MVT::v2i64, { 1, 1, 1, 2 } }, in getIntrinsicInstrCost() 3699 { ISD::BSWAP, MVT::v4i64, { 1, 1, 1, 2 } }, in getIntrinsicInstrCost() 3700 { ISD::BSWAP, MVT::v8i64, { 1, 1, 1, 2 } }, in getIntrinsicInstrCost() 3701 { ISD::BSWAP, MVT::v4i32, { 1, 1, 1, 2 } }, in getIntrinsicInstrCost() 3702 { ISD::BSWAP, MVT::v8i32, { 1, 1, 1, 2 } }, in getIntrinsicInstrCost() 3703 { ISD::BSWAP, MVT::v16i32, { 1, 1, 1, 2 } }, in getIntrinsicInstrCost() 3704 { ISD::BSWAP, MVT::v8i16, { 1, 1, 1, 2 } }, in getIntrinsicInstrCost() 3705 { ISD::BSWAP, MVT::v16i16, { 1, 1, 1, 2 } }, in getIntrinsicInstrCost() 3706 { ISD::BSWAP, MVT::v32i16, { 1, 1, 1, 2 } }, in getIntrinsicInstrCost() 3782 { 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 | 1767 my ($BSWAP,$ABCD,$E,$E_,$ABCD_SAVE,$E_SAVE)=map("%xmm$_",(7..12)); 1794 movdqa K_XX_XX+0x50(%rip),$BSWAP # byte-n-word swap 1814 pshufb $BSWAP,@MSG[0] 1820 pshufb $BSWAP,@MSG[1] 1831 pshufb $BSWAP,@MSG[2] 1840 pshufb $BSWAP,@MSG[3]
|
| H A D | aesni-sha256-x86_64.pl | 1329 my ($Wi,$ABEF,$CDGH,$TMP,$BSWAP,$ABEF_SAVE,$CDGH_SAVE)=map("%xmm$_",(0..3,7..9)); 1416 movdqa $TMP,$BSWAP # offload 1538 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 | 765 BSWAP, enumerator
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | Mips16ISelLowering.cpp | 154 setOperationAction(ISD::BSWAP, MVT::i32, Expand); in Mips16TargetLowering() 155 setOperationAction(ISD::BSWAP, MVT::i64, Expand); in Mips16TargetLowering()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelLowering.cpp | 1659 setOperationAction(ISD::BSWAP, MVT::i32, Legal); in HexagonTargetLowering() 1660 setOperationAction(ISD::BSWAP, MVT::i64, Legal); in HexagonTargetLowering() 1720 ISD::CTPOP, ISD::CTLZ, ISD::CTTZ, ISD::BSWAP, ISD::BITREVERSE, in HexagonTargetLowering() 1800 setOperationAction(ISD::BSWAP, NativeVT, Legal); in HexagonTargetLowering() 2344 SDValue T1 = DAG.getNode(ISD::BSWAP, dl, MVT::i32, T0); in LowerVECTOR_SHUFFLE() 2371 SDValue T1 = DAG.getNode(ISD::BSWAP, dl, MVT::i64, T0); in LowerVECTOR_SHUFFLE()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/ |
| H A D | MSP430ISelLowering.cpp | 860 Victim = DAG.getNode(ISD::BSWAP, dl, VT, Victim); in LowerShifts() 865 Victim = DAG.getNode(ISD::BSWAP, dl, VT, Victim); in LowerShifts()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelLowering.cpp | 796 ISD::BSWAP, in SystemZTargetLowering() 8128 Op1.getOpcode() == ISD::BSWAP && in combineSTORE() 8337 if (Op.getOpcode() == ISD::BSWAP && Op.hasOneUse()) { in combineEXTRACT_VECTOR_ELT() 8343 Op = DAG.getNode(ISD::BSWAP, SDLoc(N), EltVT, Op); in combineEXTRACT_VECTOR_ELT() 8615 Vec.getOpcode() == ISD::BSWAP || Vec.isUndef() || in combineBSWAP() 8617 Elt.getOpcode() == ISD::BSWAP || Elt.isUndef() || in combineBSWAP() 8630 Vec = DAG.getNode(ISD::BSWAP, SDLoc(N), VecVT, Vec); in combineBSWAP() 8632 Elt = DAG.getNode(ISD::BSWAP, SDLoc(N), EltVT, Elt); in combineBSWAP() 8646 Op0.getOpcode() == ISD::BSWAP || Op0.isUndef() || in combineBSWAP() 8648 Op1.getOpcode() == ISD::BSWAP || Op1.isUndef()) { in combineBSWAP() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelLowering.cpp | 482 setOperationAction(ISD::BSWAP, MVT::i32, Legal); in PPCTargetLowering() 483 setOperationAction(ISD::BSWAP, MVT::i64, Legal); in PPCTargetLowering() 485 setOperationAction(ISD::BSWAP, MVT::i32, Expand); in PPCTargetLowering() 486 setOperationAction(ISD::BSWAP, MVT::i64, in PPCTargetLowering() 890 setOperationAction(ISD::BSWAP, VT, Expand); in PPCTargetLowering() 1280 setOperationAction(ISD::BSWAP, MVT::v8i16, Legal); in PPCTargetLowering() 1281 setOperationAction(ISD::BSWAP, MVT::v4i32, Legal); in PPCTargetLowering() 1282 setOperationAction(ISD::BSWAP, MVT::v2i64, Legal); in PPCTargetLowering() 1283 setOperationAction(ISD::BSWAP, MVT::v1i128, Legal); in PPCTargetLowering() 1422 setTargetDAGCombine({ISD::BSWAP, ISD::INTRINSIC_WO_CHAIN, in PPCTargetLowering() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGDumper.cpp | 506 case ISD::BSWAP: return "bswap"; in getOperationName()
|
| H A D | LegalizeIntegerTypes.cpp | 65 case ISD::BSWAP: Res = PromoteIntRes_BSWAP(N); break; in PromoteIntegerResult() 621 !TLI.isOperationLegalOrCustomOrPromote(ISD::BSWAP, NVT)) { in PromoteIntRes_BSWAP() 628 if (N->getOpcode() == ISD::BSWAP) in PromoteIntRes_BSWAP() 629 return DAG.getNode(ISD::SRL, dl, NVT, DAG.getNode(ISD::BSWAP, dl, NVT, Op), in PromoteIntRes_BSWAP() 2968 case ISD::BSWAP: ExpandIntRes_BSWAP(N, Lo, Hi); break; in ExpandIntegerResult() 3951 Lo = DAG.getNode(ISD::BSWAP, dl, Lo.getValueType(), Lo); in ExpandIntRes_BSWAP() 3952 Hi = DAG.getNode(ISD::BSWAP, dl, Hi.getValueType(), Hi); in ExpandIntRes_BSWAP()
|
| H A D | LegalizeVectorOps.cpp | 387 case ISD::BSWAP: in LegalizeOp() 948 case ISD::BSWAP: in Expand()
|
| H A D | DAGCombiner.cpp | 1953 case ISD::BSWAP: return visitBSWAP(N); in visit() 6221 if (HandOpcode == ISD::BSWAP) { in hoistLogicOpWithSameOpcodeHands() 7682 for (unsigned Opc : {ISD::BSWAP, ISD::BITREVERSE}) in visitAND() 7824 if (!TLI.isOperationLegalOrCustom(ISD::BSWAP, VT)) in MatchBSwapHWordLow() 7922 SDValue Res = DAG.getNode(ISD::BSWAP, SDLoc(N), VT, N00); in MatchBSwapHWordLow() 8027 if (N.getOpcode() == ISD::SRL && N.getOperand(0).getOpcode() == ISD::BSWAP) { in isBSwapHWordPair() 8075 SDValue BSwap = DAG.getNode(ISD::BSWAP, DL, VT, Shift0.getOperand(0)); in matchBSwapHWordOrAndAnd() 8093 if (!TLI.isOperationLegalOrCustom(ISD::BSWAP, VT)) in MatchBSwapHWord() 8132 SDValue BSwap = DAG.getNode(ISD::BSWAP, DL, VT, in MatchBSwapHWord() 9210 case ISD::BSWAP: in calculateByteProvider() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | VPIntrinsics.def | 222 VP_PROPERTY_FUNCTIONAL_SDOPC(BSWAP)
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
| H A D | LoongArchISelLowering.cpp | 116 setOperationAction(ISD::BSWAP, MVT::i16, Custom); in LoongArchTargetLowering() 118 setOperationAction(ISD::BSWAP, GRLenVT, Expand); in LoongArchTargetLowering() 158 setOperationAction(ISD::BSWAP, MVT::i32, Custom); in LoongArchTargetLowering() 316 setOperationAction(ISD::BSWAP, VT, Legal); in LoongArchTargetLowering() 383 setOperationAction(ISD::BSWAP, VT, Legal); in LoongArchTargetLowering() 4108 case ISD::BSWAP: { in ReplaceNodeResults()
|