/freebsd-12-stable/sys/cddl/boot/zfs/ |
H A 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( [all...] |
/freebsd-12-stable/contrib/bearssl/src/hash/ |
H A 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( [all...] |
H A 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( [all...] |
/freebsd-12-stable/sys/contrib/libsodium/src/libsodium/crypto_hash/sha256/cp/ |
H A 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( [all...] |
/freebsd-12-stable/sys/contrib/libsodium/src/libsodium/crypto_hash/sha512/cp/ |
H A 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( [all...] |
/freebsd-12-stable/sys/crypto/sha2/ |
H A 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( [all...] |
H A D | sha512c.c | 132 #define ROTR(x, n) ((x >> n) | (x << (64 - n))) macro 133 #define S0(x) (ROTR(x, 28) ^ ROTR(x, 34) ^ ROTR(x, 39)) 134 #define S1(x) (ROTR(x, 14) ^ ROTR(x, 18) ^ ROTR(x, 41)) 135 #define s0(x) (ROTR(x, 1) ^ ROTR(x, 8) ^ SHR(x, 7)) 136 #define s1(x) (ROTR( [all...] |
/freebsd-12-stable/crypto/openssl/crypto/sha/asm/ |
H A 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 [all...] |
H A D | sha512-ia64.pl | 448 _rotr r10=$t1,$Sigma1[0] } // ROTR(e,14) 454 _rotr r11=$t1,$Sigma1[1] } // ROTR(e,41) 481 _rotr r10=$t1,$Sigma1[0] } // ROTR(e,14) 483 _rotr r11=$t1,$Sigma1[1] };; // ROTR(e,18) 488 _rotr r11=$t1,$Sigma1[2] } // ROTR(e,41) 493 _rotr r8=$t0,$Sigma0[0] } // ROTR(a,28) 495 _rotr r9=$t0,$Sigma0[1] };; // ROTR(a,34) 498 _rotr r9=$t0,$Sigma0[2] };; // ROTR(a,39) 516 _rotr r8=X[15-1],$sigma0[0] } // ROTR(s0,1) 520 _rotr r9=X[15-1],$sigma0[1] } // ROTR(s [all...] |
H A D | sha512-armv4.pl | 106 @ Sigma1(x) (ROTR((x),14) ^ ROTR((x),18) ^ ROTR((x),41)) 164 @ Sigma0(x) (ROTR((x),28) ^ ROTR((x),34) ^ ROTR((x),39)) 368 @ sigma0(x) (ROTR((x),1) ^ ROTR((x),8) ^ ((x)>>7)) 385 @ sigma1(x) (ROTR((x),19) ^ ROTR(( [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMSelectionDAGInfo.h | 29 case ISD::ROTR: return ARM_AM::ror; 30 //case ISD::ROTL: // Only if imm -> turn into ROTR.
|
/freebsd-12-stable/crypto/openssl/crypto/sha/ |
H A 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(( [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | ISDOpcodes.h | 471 SHL, SRA, SRL, ROTL, ROTR, FSHL, FSHR, enumerator in enum:llvm::ISD::NodeType
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86TargetTransformInfo.cpp | 2300 { ISD::ROTR, MVT::v8i64, 1 }, 2301 { ISD::ROTR, MVT::v4i64, 1 }, 2302 { ISD::ROTR, MVT::v2i64, 1 }, 2303 { ISD::ROTR, MVT::v16i32, 1 }, 2304 { ISD::ROTR, MVT::v8i32, 1 }, 2305 { ISD::ROTR, MVT::v4i32, 1 } 2307 // XOP: ROTL = VPROT(X,Y), ROTR = VPROT(X,SUB(0,Y)) 2317 { ISD::ROTR, MVT::v4i64, 6 }, 2318 { ISD::ROTR, MVT::v8i32, 6 }, 2319 { ISD::ROTR, MV [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | Mips16ISelLowering.cpp | 144 setOperationAction(ISD::ROTR, MVT::i32, Expand); 145 setOperationAction(ISD::ROTR, MVT::i64, Expand);
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AVR/ |
H A D | AVRISelLowering.cpp | 93 setOperationAction(ISD::ROTR, MVT::i8, Custom); 94 setOperationAction(ISD::ROTR, MVT::i16, Expand); 300 case ISD::ROTR: 319 case ISD::ROTR: 691 case ISD::ROTR:
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGDumper.cpp | 245 case ISD::ROTR: return "rotr";
|
H A D | LegalizeVectorOps.cpp | 391 case ISD::ROTR: 921 case ISD::ROTR:
|
H A D | TargetLowering.cpp | 2569 case ISD::ROTR: { 5160 // We need ROTR to do this. 5161 if (!isOperationLegalOrCustom(ISD::ROTR, VT)) 5166 Op0 = DAG.getNode(ISD::ROTR, DL, VT, Op0, KVal, Flags); 5412 // We need ROTR to do this. 5413 if (!isOperationLegalOrCustom(ISD::ROTR, VT)) 5418 Op0 = DAG.getNode(ISD::ROTR, DL, VT, Op0, KVal, Flags); 5998 unsigned RevRot = IsLeft ? ISD::ROTR : ISD::ROTL;
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARC/ |
H A D | ARCISelLowering.cpp | 104 setOperationAction(ISD::ROTR, MVT::i32, Legal);
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFISelLowering.cpp | 94 setOperationAction(ISD::ROTR, VT, Expand);
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/MSP430/ |
H A D | MSP430ISelLowering.cpp | 83 setOperationAction(ISD::ROTR, MVT::i8, Expand); 85 setOperationAction(ISD::ROTR, MVT::i16, Expand);
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonISelLowering.cpp | 1429 ISD::SDIVREM, ISD::UDIVREM, ISD::ROTL, ISD::ROTR, 1478 ISD::AND, ISD::OR, ISD::XOR, ISD::ROTL, ISD::ROTR, 1617 setOperationAction(ISD::ROTR, MVT::i32, Legal); 1618 setOperationAction(ISD::ROTR, MVT::i64, Legal);
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXISelLowering.cpp | 421 // TODO: we may consider expanding ROTL/ROTR on older GPUs. Currently on GPUs 425 setOperationAction(ISD::ROTR, MVT::i64, Legal); 427 setOperationAction(ISD::ROTR, MVT::i32, Legal); 430 setOperationAction(ISD::ROTR, MVT::i16, Expand); 432 setOperationAction(ISD::ROTR, MVT::i8, Expand);
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelDAGToDAG.cpp | 405 case ISD::ROTR: 2562 case ISD::ROTR: 3082 case ISD::ROTR:
|