| /freebsd-12-stable/sys/cddl/boot/zfs/ |
| D | sha256.c | 49 #define ROTR(x, n) (((x) >> (n)) | ((x) << ((sizeof (x) * NBBY)-(n)))) macro 52 #define BIGSIGMA0_256(x) (ROTR(x, 2) ^ ROTR(x, 13) ^ ROTR(x, 22)) 53 #define BIGSIGMA1_256(x) (ROTR(x, 6) ^ ROTR(x, 11) ^ ROTR(x, 25)) 54 #define SIGMA0_256(x) (ROTR(x, 7) ^ ROTR(x, 18) ^ ((x) >> 3)) 55 #define SIGMA1_256(x) (ROTR(x, 17) ^ ROTR(x, 19) ^ ((x) >> 10)) 58 #define BIGSIGMA0_512(x) (ROTR((x), 28) ^ ROTR((x), 34) ^ ROTR((x), 39)) 59 #define BIGSIGMA1_512(x) (ROTR((x), 14) ^ ROTR((x), 18) ^ ROTR((x), 41)) 60 #define SIGMA0_512(x) (ROTR((x), 1) ^ ROTR((x), 8) ^ ((x) >> 7)) 61 #define SIGMA1_512(x) (ROTR((x), 19) ^ ROTR((x), 61) ^ ((x) >> 6))
|
| /freebsd-12-stable/contrib/bearssl/src/hash/ |
| D | sha2big.c | 30 #define ROTR(x, n) (((uint64_t)(x) << (64 - (n))) | ((uint64_t)(x) >> (n))) macro 32 #define BSG5_0(x) (ROTR(x, 28) ^ ROTR(x, 34) ^ ROTR(x, 39)) 33 #define BSG5_1(x) (ROTR(x, 14) ^ ROTR(x, 18) ^ ROTR(x, 41)) 34 #define SSG5_0(x) (ROTR(x, 1) ^ ROTR(x, 8) ^ (uint64_t)((x) >> 7)) 35 #define SSG5_1(x) (ROTR(x, 19) ^ ROTR(x, 61) ^ (uint64_t)((x) >> 6))
|
| D | sha2small.c | 30 #define ROTR(x, n) (((uint32_t)(x) << (32 - (n))) | ((uint32_t)(x) >> (n))) macro 32 #define BSG2_0(x) (ROTR(x, 2) ^ ROTR(x, 13) ^ ROTR(x, 22)) 33 #define BSG2_1(x) (ROTR(x, 6) ^ ROTR(x, 11) ^ ROTR(x, 25)) 34 #define SSG2_0(x) (ROTR(x, 7) ^ ROTR(x, 18) ^ (uint32_t)((x) >> 3)) 35 #define SSG2_1(x) (ROTR(x, 17) ^ ROTR(x, 19) ^ (uint32_t)((x) >> 10))
|
| /freebsd-12-stable/sys/contrib/libsodium/src/libsodium/crypto_hash/sha256/cp/ |
| D | hash_sha256_cp.c | 77 #define ROTR(x, n) ROTR32(x, n) macro 78 #define S0(x) (ROTR(x, 2) ^ ROTR(x, 13) ^ ROTR(x, 22)) 79 #define S1(x) (ROTR(x, 6) ^ ROTR(x, 11) ^ ROTR(x, 25)) 80 #define s0(x) (ROTR(x, 7) ^ ROTR(x, 18) ^ SHR(x, 3)) 81 #define s1(x) (ROTR(x, 17) ^ ROTR(x, 19) ^ SHR(x, 10))
|
| /freebsd-12-stable/sys/contrib/libsodium/src/libsodium/crypto_hash/sha512/cp/ |
| D | hash_sha512_cp.c | 93 #define ROTR(x, n) ROTR64(x, n) macro 94 #define S0(x) (ROTR(x, 28) ^ ROTR(x, 34) ^ ROTR(x, 39)) 95 #define S1(x) (ROTR(x, 14) ^ ROTR(x, 18) ^ ROTR(x, 41)) 96 #define s0(x) (ROTR(x, 1) ^ ROTR(x, 8) ^ SHR(x, 7)) 97 #define s1(x) (ROTR(x, 19) ^ ROTR(x, 61) ^ SHR(x, 6))
|
| /freebsd-12-stable/sys/crypto/sha2/ |
| D | sha256c.c | 106 #define ROTR(x, n) ((x >> n) | (x << (32 - n))) macro 107 #define S0(x) (ROTR(x, 2) ^ ROTR(x, 13) ^ ROTR(x, 22)) 108 #define S1(x) (ROTR(x, 6) ^ ROTR(x, 11) ^ ROTR(x, 25)) 109 #define s0(x) (ROTR(x, 7) ^ ROTR(x, 18) ^ SHR(x, 3)) 110 #define s1(x) (ROTR(x, 17) ^ ROTR(x, 19) ^ SHR(x, 10))
|
| D | sha512c.c | 135 #define ROTR(x, n) ((x >> n) | (x << (64 - n))) macro 136 #define S0(x) (ROTR(x, 28) ^ ROTR(x, 34) ^ ROTR(x, 39)) 137 #define S1(x) (ROTR(x, 14) ^ ROTR(x, 18) ^ ROTR(x, 41)) 138 #define s0(x) (ROTR(x, 1) ^ ROTR(x, 8) ^ SHR(x, 7)) 139 #define s1(x) (ROTR(x, 19) ^ ROTR(x, 61) ^ SHR(x, 6))
|
| /freebsd-12-stable/crypto/openssl/crypto/sha/asm/ |
| D | sha512-mips.pl | 99 $ROTR="drotr"; 114 $ROTR="rotr"; 189 $ROTR $tmp0,$e,@Sigma1[0] 191 $ROTR $tmp1,$e,@Sigma1[1] 193 $ROTR $h,$e,@Sigma1[2] 195 $ROTR $tmp1,$a,@Sigma0[0] 199 $ROTR $h,$a,@Sigma0[1] 203 $ROTR $tmp1,$a,@Sigma0[2] 262 $ROTR $tmp0,@X[1],@sigma0[1] 265 $ROTR $tmp0,@X[1],@sigma0[2] [all …]
|
| /freebsd-12-stable/crypto/openssl/crypto/sha/ |
| D | sha512.c | 402 # define ROTR(a,n) ({ SHA_LONG64 ret; \ macro 432 # define ROTR(a,n) ({ SHA_LONG64 ret; \ macro 437 # define ROTR(a,n) ({ SHA_LONG64 ret; \ macro 452 # define ROTR(a,n) _rotr64((a),n) macro 485 # ifndef ROTR 486 # define ROTR(x,s) (((x)>>s) | (x)<<(64-s)) macro 488 # define Sigma0(x) (ROTR((x),28) ^ ROTR((x),34) ^ ROTR((x),39)) 489 # define Sigma1(x) (ROTR((x),14) ^ ROTR((x),18) ^ ROTR((x),41)) 490 # define sigma0(x) (ROTR((x),1) ^ ROTR((x),8) ^ ((x)>>7)) 491 # define sigma1(x) (ROTR((x),19) ^ ROTR((x),61) ^ ((x)>>6))
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/ |
| D | SHA256.cpp | 36 #define ROTR(x, n) (((x) >> n) | ((x) << (32 - (n)))) macro 41 #define SIGMA_0(x) (ROTR(x, 2) ^ ROTR(x, 13) ^ ROTR(x, 22)) 42 #define SIGMA_1(x) (ROTR(x, 6) ^ ROTR(x, 11) ^ ROTR(x, 25)) 44 #define SIGMA_2(x) (ROTR(x, 17) ^ ROTR(x, 19) ^ SHR(x, 10)) 45 #define SIGMA_3(x) (ROTR(x, 7) ^ ROTR(x, 18) ^ SHR(x, 3))
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/ |
| D | ARMSelectionDAGInfo.h | 29 case ISD::ROTR: return ARM_AM::ror; in getShiftOpcForNode()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
| D | X86TargetTransformInfo.cpp | 3208 { ISD::ROTR, MVT::v8i64, 1 }, in getIntrinsicInstrCost() 3209 { ISD::ROTR, MVT::v4i64, 1 }, in getIntrinsicInstrCost() 3210 { ISD::ROTR, MVT::v2i64, 1 }, in getIntrinsicInstrCost() 3211 { ISD::ROTR, MVT::v16i32, 1 }, in getIntrinsicInstrCost() 3212 { ISD::ROTR, MVT::v8i32, 1 }, in getIntrinsicInstrCost() 3213 { ISD::ROTR, MVT::v4i32, 1 } in getIntrinsicInstrCost() 3225 { ISD::ROTR, MVT::v4i64, 6 }, in getIntrinsicInstrCost() 3226 { ISD::ROTR, MVT::v8i32, 6 }, in getIntrinsicInstrCost() 3227 { ISD::ROTR, MVT::v16i16, 6 }, in getIntrinsicInstrCost() 3228 { ISD::ROTR, MVT::v32i8, 6 }, in getIntrinsicInstrCost() [all …]
|
| D | X86InstrShiftRotate.td | 862 // Convert a ROTL shamt to a ROTR shamt on 32-bit integer. 867 // Convert a ROTL shamt to a ROTR shamt on 64-bit integer.
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| D | ISDOpcodes.h | 661 ROTR, enumerator
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Mips/ |
| D | Mips16ISelLowering.cpp | 144 setOperationAction(ISD::ROTR, MVT::i32, Expand); in Mips16TargetLowering() 145 setOperationAction(ISD::ROTR, MVT::i64, Expand); in Mips16TargetLowering()
|
| D | MipsScheduleP5600.td | 224 def : InstRW<[P5600WriteEitherALU], (instrs ADD, ADDi, ADDiu, ANDi, ORi, ROTR,
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AVR/ |
| D | AVRISelLowering.cpp | 94 setOperationAction(ISD::ROTR, MVT::i8, Custom); in AVRTargetLowering() 95 setOperationAction(ISD::ROTR, MVT::i16, Expand); in AVRTargetLowering() 299 case ISD::ROTR: { in LowerShifts() 323 case ISD::ROTR: in LowerShifts() 804 case ISD::ROTR: in LowerOperation()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| D | WebAssemblyInstrInteger.td | 70 defm ROTR : BinaryInt<rotr, "rotr", 0x78, 0x8a>;
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| D | LegalizeVectorOps.cpp | 388 case ISD::ROTR: in LegalizeOp() 813 case ISD::ROTR: in Expand()
|
| D | SelectionDAGDumper.cpp | 251 case ISD::ROTR: return "rotr"; in getOperationName()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/MSP430/ |
| D | MSP430ISelLowering.cpp | 82 setOperationAction(ISD::ROTR, MVT::i8, Expand); in MSP430TargetLowering() 84 setOperationAction(ISD::ROTR, MVT::i16, Expand); in MSP430TargetLowering()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARC/ |
| D | ARCISelLowering.cpp | 103 setOperationAction(ISD::ROTR, MVT::i32, Legal); in ARCTargetLowering()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/BPF/ |
| D | BPFISelLowering.cpp | 111 setOperationAction(ISD::ROTR, VT, Expand); in BPFTargetLowering()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| D | HexagonISelLowering.cpp | 1588 ISD::SDIVREM, ISD::UDIVREM, ISD::ROTL, ISD::ROTR, in HexagonTargetLowering() 1637 ISD::AND, ISD::OR, ISD::XOR, ISD::ROTL, ISD::ROTR, in HexagonTargetLowering() 1793 setOperationAction(ISD::ROTR, MVT::i32, Legal); in HexagonTargetLowering() 1794 setOperationAction(ISD::ROTR, MVT::i64, Legal); in HexagonTargetLowering()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| D | NVPTXISelLowering.cpp | 409 setOperationAction(ISD::ROTR, MVT::i64, Legal); in NVPTXTargetLowering() 411 setOperationAction(ISD::ROTR, MVT::i32, Legal); in NVPTXTargetLowering() 414 setOperationAction(ISD::ROTR, MVT::i16, Expand); in NVPTXTargetLowering() 416 setOperationAction(ISD::ROTR, MVT::i8, Expand); in NVPTXTargetLowering()
|