Home
last modified time | relevance | path

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

123

/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.pl425 my ($ABCD,$E,$E_,$BSWAP)=map("xmm$_",(0..3));
457 &movdqa ($BSWAP,&QWP(0x50,$tmp1)); # byte-n-word swap
464 &pshufb (@MSG[0],$BSWAP);
466 &pshufb (@MSG[1],$BSWAP);
467 &pshufb (@MSG[2],$BSWAP);
468 &pshufb (@MSG[3],$BSWAP);
501 &pshufb (@MSG[0],$BSWAP);
507 &pshufb (@MSG[1],$BSWAP);
513 &pshufb (@MSG[2],$BSWAP);
518 &pshufb (@MSG[3],$BSWAP);
Dsha1-x86_64.pl333 my ($ABCD,$E,$E_,$BSWAP,$ABCD_SAVE,$E_SAVE)=map("%xmm$_",(0..3,8,9));
353 movdqa K_XX_XX+0xa0(%rip),$BSWAP # byte-n-word swap
360 pshufb $BSWAP,@MSG[0]
362 pshufb $BSWAP,@MSG[1]
363 pshufb $BSWAP,@MSG[2]
365 pshufb $BSWAP,@MSG[3]
400 pshufb $BSWAP,@MSG[0]
406 pshufb $BSWAP,@MSG[1]
412 pshufb $BSWAP,@MSG[2]
417 pshufb $BSWAP,@MSG[3]
Dsha512-x86_64.pl530 my ($Wi,$ABEF,$CDGH,$TMP,$BSWAP,$ABEF_SAVE,$CDGH_SAVE)=map("%xmm$_",(0..2,7..10));
557 movdqa $TMP,$BSWAP # offload
645 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/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/llvm/include/llvm/CodeGen/
DISDOpcodes.h342 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/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()
DLegalizeIntegerTypes.cpp57 case ISD::BSWAP: Res = PromoteIntRes_BSWAP(N); break; in PromoteIntegerResult()
320 ISD::SRL, dl, NVT, DAG.getNode(ISD::BSWAP, dl, NVT, Op), in PromoteIntRes_BSWAP()
1315 case ISD::BSWAP: ExpandIntRes_BSWAP(N, Lo, Hi); break; in ExpandIntegerResult()
1941 Lo = DAG.getNode(ISD::BSWAP, dl, Lo.getValueType(), Lo); in ExpandIntRes_BSWAP()
1942 Hi = DAG.getNode(ISD::BSWAP, dl, Hi.getValueType(), Hi); in ExpandIntRes_BSWAP()
DLegalizeVectorTypes.cpp71 case ISD::BSWAP: in ScalarizeVectorResult()
628 case ISD::BSWAP: in SplitVectorResult()
2149 case ISD::BSWAP: in WidenVectorResult()
/external/swiftshader/third_party/LLVM/lib/Target/Blackfin/
DBlackfinISelLowering.cpp104 setOperationAction(ISD::BSWAP, MVT::i32, Expand); in BlackfinTargetLowering()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyISelLowering.cpp97 {ISD::BSWAP, ISD::SMUL_LOHI, ISD::UMUL_LOHI, in WebAssemblyTargetLowering()
/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()
DLegalizeDAG.cpp2973 case ISD::BSWAP: in ExpandNode()
3859 case ISD::BSWAP: { in PromoteNode()
3862 Tmp1 = DAG.getNode(ISD::BSWAP, dl, NVT, Tmp1); in PromoteNode()
/external/llvm/docs/
DExtendingLLVM.rst119 well. For a good example, see ``ISD::BSWAP``, which promotes its operand to
/external/llvm/test/CodeGen/X86/
Dbswap-vector.ll291 ; Double BSWAP -> Identity
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/
DMBlazeISelLowering.cpp172 setOperationAction(ISD::BSWAP, MVT::i32, Expand); in MBlazeTargetLowering()
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCISelLowering.cpp147 setOperationAction(ISD::BSWAP, MVT::i32 , Expand); in PPCTargetLowering()
150 setOperationAction(ISD::BSWAP, MVT::i64 , Expand); in PPCTargetLowering()
389 setTargetDAGCombine(ISD::BSWAP); in PPCTargetLowering()
5283 N->getOperand(1).getOpcode() == ISD::BSWAP && in PerformDAGCombine()
5303 case ISD::BSWAP: in PerformDAGCombine()
/external/swiftshader/third_party/LLVM/lib/Target/Alpha/
DAlphaISelLowering.cpp93 setOperationAction(ISD::BSWAP , MVT::i64, Expand); in AlphaTargetLowering()
/external/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp193 setOperationAction(ISD::BSWAP, MVT::i16, Expand); in NVPTXTargetLowering()
194 setOperationAction(ISD::BSWAP, MVT::i32, Expand); in NVPTXTargetLowering()
195 setOperationAction(ISD::BSWAP, MVT::i64, Expand); in NVPTXTargetLowering()
/external/llvm/lib/Target/Lanai/
DLanaiISelLowering.cpp111 setOperationAction(ISD::BSWAP, MVT::i32, Expand); in LanaiTargetLowering()

123