Home
last modified time | relevance | path

Searched refs:C2 (Results 1 – 25 of 247) sorted by relevance

12345678910

/src/crypto/openssl/crypto/modes/asm/
H A Dghash-sparcv9.pl360 ($Hhl,$Hlo,$Hhi,$Xlo,$Xhi,$xE1,$sqr, $C0,$C1,$C2,$C3,$V)=
416 xor $Xlo,$Xhi,$C2 ! Karatsuba pre-processing
417 xmulx $C2,$Hhl,$C1
419 xmulxhi $C2,$Hhl,$C2
429 xor $Xlo,$C2,$C2
431 xor $C3,$C2,$C2
433 xor $Xhi,$C2,$C2
437 xor $C0,$C2,$C2
442 xor $Xlo,$C2,$C2
443 xor $C0,$C2,$C2
[all …]
/src/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp610 Constant *C2) { in ConstantFoldBinaryInstruction() argument
618 return C2; in ConstantFoldBinaryInstruction()
619 if (C2 == Identity) in ConstantFoldBinaryInstruction()
623 if (C2 == Identity) in ConstantFoldBinaryInstruction()
628 if (isa<PoisonValue>(C1) || isa<PoisonValue>(C2)) in ConstantFoldBinaryInstruction()
636 (isa<UndefValue>(C1) || isa<UndefValue>(C2)); in ConstantFoldBinaryInstruction()
640 if (isa<UndefValue>(C1) && isa<UndefValue>(C2)) in ConstantFoldBinaryInstruction()
649 if (isa<UndefValue>(C1) && isa<UndefValue>(C2)) // undef & undef -> undef in ConstantFoldBinaryInstruction()
654 if (isa<UndefValue>(C1) && isa<UndefValue>(C2)) in ConstantFoldBinaryInstruction()
658 if (match(C1, m_APInt(CV)) || match(C2, m_APInt(CV))) in ConstantFoldBinaryInstruction()
[all …]
/src/crypto/openssl/crypto/whrlpool/
H A Dwp_block.c184 #define C2(K, i) ROTATE(Cx.q[K.c[(i) * 8 + 2]], 16) macro
202 #define C2(K, i) (Cx.q[2 + 8 * K.c[(i) * 8 + 2]]) macro
215 #define C2(K, i) (((u64_a1 *)(Cx.c + 6))[2 * K.c[(i) * 8 + 2]]) macro
518 …L[i] ^= C0(K, i) ^ C1(K, (i - 1) & 7) ^ C2(K, (i - 2) & 7) ^ C3(K, (i - 3) & 7) ^ C4(K, (i - 4) & … in whirlpool_block()
522 …L[i] ^= C0(S, i) ^ C1(S, (i - 1) & 7) ^ C2(S, (i - 2) & 7) ^ C3(S, (i - 3) & 7) ^ C4(S, (i - 4) & … in whirlpool_block()
558 …L0 = C0(K, 0) ^ C1(K, 7) ^ C2(K, 6) ^ C3(K, 5) ^ C4(K, 4) ^ C5(K, 3) ^ C6(K, 2) ^ C7(K, 1) ^ RC[r]; in whirlpool_block()
559 … L1 = C0(K, 1) ^ C1(K, 0) ^ C2(K, 7) ^ C3(K, 6) ^ C4(K, 5) ^ C5(K, 4) ^ C6(K, 3) ^ C7(K, 2); in whirlpool_block()
560 … L2 = C0(K, 2) ^ C1(K, 1) ^ C2(K, 0) ^ C3(K, 7) ^ C4(K, 6) ^ C5(K, 5) ^ C6(K, 4) ^ C7(K, 3); in whirlpool_block()
561 … L3 = C0(K, 3) ^ C1(K, 2) ^ C2(K, 1) ^ C3(K, 0) ^ C4(K, 7) ^ C5(K, 6) ^ C6(K, 5) ^ C7(K, 4); in whirlpool_block()
562 … L4 = C0(K, 4) ^ C1(K, 3) ^ C2(K, 2) ^ C3(K, 1) ^ C4(K, 0) ^ C5(K, 7) ^ C6(K, 6) ^ C7(K, 5); in whirlpool_block()
[all …]
/src/sys/contrib/libsodium/src/libsodium/crypto_stream/chacha20/dolbeau/
H A Du8.h67 #define VEC8_ROUND_SEQ(A1, B1, C1, D1, A2, B2, C2, D2, A3, B3, C3, D3, A4, B4, \ argument
70 VEC8_LINE1(A2, B2, C2, D2); \
74 VEC8_LINE2(A2, B2, C2, D2); \
78 VEC8_LINE3(A2, B2, C2, D2); \
82 VEC8_LINE4(A2, B2, C2, D2); \
86 #define VEC8_ROUND_HALF(A1, B1, C1, D1, A2, B2, C2, D2, A3, B3, C3, D3, A4, \ argument
89 VEC8_LINE1(A2, B2, C2, D2); \
91 VEC8_LINE2(A2, B2, C2, D2); \
93 VEC8_LINE3(A2, B2, C2, D2); \
95 VEC8_LINE4(A2, B2, C2, D2); \
[all …]
/src/crypto/openssl/crypto/sm2/
H A Dsm2_crypt.c35 ASN1_OCTET_STRING *C2; member
42 ASN1_SIMPLE(SM2_Ciphertext, C2, ASN1_OCTET_STRING),
81 *pt_size = sm2_ctext->C2->length; in ossl_sm2_plaintext_size()
137 ctext_struct.C2 = NULL; in ossl_sm2_encrypt()
239 ctext_struct.C2 = ASN1_OCTET_STRING_new(); in ossl_sm2_encrypt()
241 if (ctext_struct.C3 == NULL || ctext_struct.C2 == NULL) { in ossl_sm2_encrypt()
246 || !ASN1_OCTET_STRING_set(ctext_struct.C2, msg_mask, msg_len)) { in ossl_sm2_encrypt()
263 ASN1_OCTET_STRING_free(ctext_struct.C2); in ossl_sm2_encrypt()
293 const uint8_t *C2 = NULL; in ossl_sm2_decrypt() local
317 C2 = sm2_ctext->C2->data; in ossl_sm2_decrypt()
[all …]
/src/crypto/openssl/crypto/chacha/asm/
H A Dchacha-riscv64-v-zbb.pl101 $A2, $B2, $C2,
128 @{[vxor_vv $C2, $C2, $A2]}
141 @{[vror_vi $C2, $C2, 32 - $ROL_SHIFT]}
152 @{[vsll_vi $V_T2, $C2, $ROL_SHIFT]}
156 @{[vsrl_vi $C2, $C2, 32 - $ROL_SHIFT]}
162 @{[vor_vv $C2, $C2, $V_T2]}
178 $A2, $B2, $C2, $D2,
206 $C2, $D2, $B2,
230 $C2, $D2, $B2,
/src/lib/msun/src/
H A De_coshl.c47 C2 = 0.5, variable
68 C2 = 0.5, variable
107 ((C8*x2 + C6)*x2 + C4)*x4 + C2*x2 + 1); in coshl()
113 C4)*(x2*x2) + C2*x2 + 1); in coshl()
H A Dk_sincosl.h33 C2 = -0.0013888888888888874, /* -0x16c16c16c16c10.0p-62 */ variable
68 r = z * (C1 + z * (C2 + z * (C3 + z * (C4 + z * (C5 + z * (C6 + in __kernel_sincosl()
93 C2 = -1.38888888888888888888888888888888834e-03L, variable
127 r = z * (C1 + z * (C2 + z * (C3 + z * (C4 + z * (C5 + z * (C6 + in __kernel_sincosl()
H A Dk_cosf.c25 C2 = -0x16c087e80f1e27.0p-62, /* -0.00138867637746099294692 */ variable
39 r = C2+z*C3; in __kernel_cosdf()
H A Dk_cos.c58 C2 = -1.38888888888741095749e-03, /* 0xBF56C16C, 0x16C15177 */ variable
71 r = z*(C1+z*(C2+z*C3)) + w*w*(C4+z*(C5+z*C6)); in __kernel_cos()
H A Dk_sincosf.h25 C2 = -0x16c087e80f1e27.0p-62, /* -0.00138867637746099294692 */ variable
38 r = C2 + z * C3; in __kernel_sincosdf()
/src/contrib/wpa/wpa_supplicant/vs2005/
H A Dwpa_supplicant.sln10 … "wpa_passphrase", "wpa_passphrase\wpa_passphrase.vcproj", "{ADBE4EA8-F0C5-40C2-AE89-C56D0F2EC1DF}"
37 {ADBE4EA8-F0C5-40C2-AE89-C56D0F2EC1DF}.Debug|Win32.ActiveCfg = Debug|Win32
38 {ADBE4EA8-F0C5-40C2-AE89-C56D0F2EC1DF}.Debug|Win32.Build.0 = Debug|Win32
39 {ADBE4EA8-F0C5-40C2-AE89-C56D0F2EC1DF}.Release|Win32.ActiveCfg = Release|Win32
40 {ADBE4EA8-F0C5-40C2-AE89-C56D0F2EC1DF}.Release|Win32.Build.0 = Release|Win32
/src/contrib/llvm-project/clang/lib/AST/
H A DRawCommentList.cpp77 unsigned C2 = SM.getPresumedColumnNumber(L2, &Invalid); in commentsStartOnSameColumn() local
78 return !Invalid && (C1 == C2); in commentsStartOnSameColumn()
299 const RawComment &C2 = RC; in addComment() local
314 if ((C1.isTrailingComment() == C2.isTrailingComment() || in addComment()
315 (C1.isTrailingComment() && !C2.isTrailingComment() && in addComment()
316 isOrdinaryKind(C2.getKind()) && in addComment()
317 commentsStartOnSameColumn(SourceMgr, C1, C2))) && in addComment()
318 onlyWhitespaceBetween(SourceMgr, C1.getEndLoc(), C2.getBeginLoc(), in addComment()
320 SourceRange MergedRange(C1.getBeginLoc(), C2.getEndLoc()); in addComment()
/src/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp762 const APInt *C1 = nullptr, *C2 = nullptr; in checkForNegativeOperand() local
776 if (match(Y, m_Or(m_Value(Z), m_APInt(C2))) && (*C2 == ~(*C1))) { in checkForNegativeOperand()
779 } else if (match(Y, m_And(m_Value(Z), m_APInt(C2))) && (*C1 == *C2)) { in checkForNegativeOperand()
801 if (match(Y, m_And(m_Value(Z), m_APInt(C2))) && *C1 == (*C2 + 1)) { in checkForNegativeOperand()
802 Value *NewOr = Builder.CreateOr(Z, ~(*C2)); in checkForNegativeOperand()
820 const APInt *C1, *C2; in foldNoWrapAdd() local
822 match(Op0, m_ZExt(m_NUWAddLike(m_Value(X), m_APInt(C2)))) && in foldNoWrapAdd()
823 C1->isNegative() && C1->sge(-C2->sext(C1->getBitWidth()))) { in foldNoWrapAdd()
824 APInt NewC = *C2 + C1->trunc(C2->getBitWidth()); in foldNoWrapAdd()
923 const APInt *C2; in foldAddWithConstant() local
[all …]
H A DInstCombineMulDivRem.cpp228 Constant *C1, *C2; in visitMul() local
230 if (match(&I, m_Mul(m_Shl(m_Value(NewOp), m_ImmConstant(C2)), in visitMul()
235 ConstantFoldBinaryOpOperands(Instruction::Shl, C1, C2, DL); in visitMul()
1052 static bool multiplyOverflows(const APInt &C1, const APInt &C2, APInt &Product, in multiplyOverflows() argument
1055 Product = IsSigned ? C1.smul_ov(C2, Overflow) : C1.umul_ov(C2, Overflow); in multiplyOverflows()
1060 static bool isMultiple(const APInt &C1, const APInt &C2, APInt &Quotient, in isMultiple() argument
1062 assert(C1.getBitWidth() == C2.getBitWidth() && "Constant widths not equal"); in isMultiple()
1065 if (C2.isZero()) in isMultiple()
1069 if (IsSigned && C1.isMinSignedValue() && C2.isAllOnes()) in isMultiple()
1074 APInt::sdivrem(C1, C2, Quotient, Remainder); in isMultiple()
[all …]
/src/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp671 const APInt &C2 = MaybeOp2Cst->Value; in ConstantFoldBinOp() local
676 return C1 + C2; in ConstantFoldBinOp()
680 return C1 + C2.sextOrTrunc(C1.getBitWidth()); in ConstantFoldBinOp()
682 return C1 & C2; in ConstantFoldBinOp()
684 return C1.ashr(C2); in ConstantFoldBinOp()
686 return C1.lshr(C2); in ConstantFoldBinOp()
688 return C1 * C2; in ConstantFoldBinOp()
690 return C1 | C2; in ConstantFoldBinOp()
692 return C1 << C2; in ConstantFoldBinOp()
694 return C1 - C2; in ConstantFoldBinOp()
[all …]
/src/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetFolder.h178 auto *C2 = dyn_cast<Constant>(V2); in FoldShuffleVector() local
179 if (C1 && C2) in FoldShuffleVector()
180 return Fold(ConstantExpr::getShuffleVector(C1, C2, Mask)); in FoldShuffleVector()
194 auto *C2 = dyn_cast<Constant>(RHS); in FoldBinaryIntrinsic() local
195 if (C1 && C2) in FoldBinaryIntrinsic()
196 return ConstantFoldBinaryIntrinsic(ID, C1, C2, Ty, FMFSource); in FoldBinaryIntrinsic()
/src/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h1118 static Constant *getAdd(Constant *C1, Constant *C2, bool HasNUW = false,
1120 static Constant *getSub(Constant *C1, Constant *C2, bool HasNUW = false,
1122 static Constant *getMul(Constant *C1, Constant *C2, bool HasNUW = false,
1124 static Constant *getXor(Constant *C1, Constant *C2);
1137 static Constant *getNSWAdd(Constant *C1, Constant *C2) {
1138 return getAdd(C1, C2, false, true);
1141 static Constant *getNUWAdd(Constant *C1, Constant *C2) {
1142 return getAdd(C1, C2, true, false);
1145 static Constant *getNSWSub(Constant *C1, Constant *C2) {
1146 return getSub(C1, C2, false, true);
[all …]
/src/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dinternal_defs.h108 #define CHECK_IMPL(C1, Op, C2) \ argument
110 if (UNLIKELY(!(C1 Op C2))) { \
111 scudo::reportCheckFailed(__FILE__, __LINE__, #C1 " " #Op " " #C2, \
112 (scudo::u64)C1, (scudo::u64)C2); \
/src/lib/msun/ld80/
H A Dk_cosl.c57 C2 = -0.0013888888888888874, /* -0x16c16c16c16c10.0p-62 */ variable
70 r = z*(C1+z*(C2+z*(C3+z*(C4+z*(C5+z*(C6+z*C7)))))); in __kernel_cosl()
/src/lib/msun/ld128/
H A Dk_cosl.c32 C2 = -1.38888888888888888888888888888888834e-03L, variable
50 r = z*(C1+z*(C2+z*(C3+z*(C4+z*(C5+z*(C6+z*(C7+ in __kernel_cosl()
/src/contrib/arm-optimized-routines/math/aarch64/experimental/
H A Dexp_inline.h22 #define C2 __exp_data.poly[5 - EXP_POLY_ORDER] macro
145 tmp = tail + r + r2 * C2 + r * r2 * (C3 + r * C4); in exp_inline()
147 tmp = tail + r + r2 * (C2 + r * C3) + r2 * r2 * (C4 + r * C5); in exp_inline()
/src/contrib/arm-optimized-routines/math/
H A Dexp2.c19 #define C2 __exp_data.exp2_poly[1] macro
126 tmp = tail + r * C1 + r2 * C2 + r * r2 * (C3 + r * C4); in exp2()
128 tmp = tail + r * C1 + r2 * (C2 + r * C3) + r2 * r2 * (C4 + r * C5); in exp2()
/src/contrib/file/magic/Magdir/
H A Dclipper11 # >18 short !074000,004000 C2 R1
19 # >18 short&074000 004000 C2 R1
41 >18 short&074000 004000 C2 R1
/src/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.cpp1243 unsigned C2 = C->getZExtValue(); in Select() local
1245 assert((C2 > 0 && C2 < XLen) && "Unexpected shift amount!"); in Select()
1257 C1 &= maskTrailingZeros<uint64_t>(C2); in Select()
1259 C1 &= maskTrailingOnes<uint64_t>(XLen - C2); in Select()
1271 if (C2 < Leading) { in Select()
1273 if (C2 + 32 == Leading) { in Select()
1275 RISCV::SRLIW, DL, VT, X, CurDAG->getTargetConstant(C2, DL, VT)); in Select()
1285 if (C2 >= 32 && (Leading - C2) == 1 && N0.hasOneUse() && in Select()
1305 const unsigned Msb = llvm::bit_width(C1) + C2 - 1; in Select()
1306 const unsigned Lsb = C2; in Select()
[all …]

12345678910