Home
last modified time | relevance | path

Searched refs:C1 (Results 1 – 25 of 261) sorted by relevance

1234567891011

/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/
H A Dblamka-round-avx2.h12 #define G1_AVX2(A0, A1, B0, B1, C0, C1, D0, D1) \ argument
33 ml = _mm256_mul_epu32(C1, D1); \
35 C1 = _mm256_add_epi64(C1, _mm256_add_epi64(D1, ml)); \
37 B1 = _mm256_xor_si256(B1, C1); \
41 #define G2_AVX2(A0, A1, B0, B1, C0, C1, D0, D1) \ argument
61 ml = _mm256_mul_epu32(C1, D1); \
63 C1 = _mm256_add_epi64(C1, _mm256_add_epi64(D1, ml)); \
64 B1 = _mm256_xor_si256(B1, C1); \
68 #define DIAGONALIZE_1(A0, B0, C0, D0, A1, B1, C1, D1) \ argument
75 C1 = _mm256_permute4x64_epi64(C1, _MM_SHUFFLE(1, 0, 3, 2)); \
[all …]
H A Dblamka-round-avx512f.h17 #define G1_AVX512F(A0, B0, C0, D0, A1, B1, C1, D1) \ argument
29 C1 = muladd(C1, D1); \
32 B1 = _mm512_xor_si512(B1, C1); \
38 #define G2_AVX512F(A0, B0, C0, D0, A1, B1, C1, D1) \ argument
50 C1 = muladd(C1, D1); \
53 B1 = _mm512_xor_si512(B1, C1); \
59 #define DIAGONALIZE(A0, B0, C0, D0, A1, B1, C1, D1) \ argument
65 C1 = _mm512_permutex_epi64(C1, _MM_SHUFFLE(1, 0, 3, 2)); \
71 #define UNDIAGONALIZE(A0, B0, C0, D0, A1, B1, C1, D1) \ argument
77 C1 = _mm512_permutex_epi64(C1, _MM_SHUFFLE(1, 0, 3, 2)); \
[all …]
H A Dblamka-round-ssse3.h31 #define G1(A0, B0, C0, D0, A1, B1, C1, D1) \ argument
43 C1 = fBlaMka(C1, D1); \
46 B1 = _mm_xor_si128(B1, C1); \
52 #define G2(A0, B0, C0, D0, A1, B1, C1, D1) \ argument
64 C1 = fBlaMka(C1, D1); \
67 B1 = _mm_xor_si128(B1, C1); \
73 #define DIAGONALIZE(A0, B0, C0, D0, A1, B1, C1, D1) \ argument
81 C0 = C1; \
82 C1 = t0; \
90 #define UNDIAGONALIZE(A0, B0, C0, D0, A1, B1, C1, D1) \ argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp604 Constant *llvm::ConstantFoldBinaryInstruction(unsigned Opcode, Constant *C1, in ConstantFoldBinaryInstruction() argument
611 Opcode, C1->getType(), /*AllowRHSIdentity*/ false)) { in ConstantFoldBinaryInstruction()
612 if (C1 == Identity) in ConstantFoldBinaryInstruction()
615 return C1; in ConstantFoldBinaryInstruction()
617 Opcode, C1->getType(), /*AllowRHSIdentity*/ true)) { in ConstantFoldBinaryInstruction()
619 return C1; in ConstantFoldBinaryInstruction()
623 if (isa<PoisonValue>(C1) || isa<PoisonValue>(C2)) in ConstantFoldBinaryInstruction()
624 return PoisonValue::get(C1->getType()); in ConstantFoldBinaryInstruction()
628 bool IsScalableVector = isa<ScalableVectorType>(C1->getType()); in ConstantFoldBinaryInstruction()
630 (!C1->getType()->isVectorTy() || IsScalableVector) && in ConstantFoldBinaryInstruction()
[all …]
H A DConstantsContext.h75 BinaryConstantExpr(unsigned Opcode, Constant *C1, Constant *C2, in BinaryConstantExpr() argument
77 : ConstantExpr(C1->getType(), Opcode, AllocMarker) { in BinaryConstantExpr()
78 Op<0>() = C1; in BinaryConstantExpr()
105 ExtractElementConstantExpr(Constant *C1, Constant *C2) in ExtractElementConstantExpr() argument
106 : ConstantExpr(cast<VectorType>(C1->getType())->getElementType(), in ExtractElementConstantExpr()
108 Op<0>() = C1; in ExtractElementConstantExpr()
134 InsertElementConstantExpr(Constant *C1, Constant *C2, Constant *C3) in InsertElementConstantExpr() argument
135 : ConstantExpr(C1->getType(), Instruction::InsertElement, AllocMarker) { in InsertElementConstantExpr()
136 Op<0>() = C1; in InsertElementConstantExpr()
163 ShuffleVectorConstantExpr(Constant *C1, Constant *C2, ArrayRef<int> Mask) in ShuffleVectorConstantExpr() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsTargetTransformInfo.cpp19 bool MipsTTIImpl::isLSRCostLess(const TargetTransformInfo::LSRCost &C1, in isLSRCostLess() argument
24 unsigned C1NumRegs = C1.NumRegs + (C1.NumBaseAdds != 0); in isLSRCostLess()
26 return std::tie(C1.Insns, C1NumRegs, C1.AddRecCost, C1.NumIVMuls, in isLSRCostLess()
27 C1.NumBaseAdds, C1.ScaleCost, C1.ImmCost, C1.SetupCost) < in isLSRCostLess()
/freebsd/crypto/openssl/crypto/modes/asm/
H A Dghash-sparcv9.pl360 ($Hhl,$Hlo,$Hhi,$Xlo,$Xhi,$xE1,$sqr, $C0,$C1,$C2,$C3,$V)=
417 xmulx $C2,$Hhl,$C1
428 xor $C0,$C1,$C1 ! Karatsuba post-processing
430 xor $sqr,$Xlo,$Xlo ! real destination is $C1
432 xor $Xlo,$C1,$C1
434 xor $Xhi,$C1,$C1
438 xmulx $C1,$xE1,$C0
439 xor $C1,$C3,$C3
440 xmulxhi $C1,$xE1,$C1
444 xor $C1,$C3,$C3
[all …]
/freebsd/crypto/openssl/crypto/whrlpool/
H A Dwp_block.c183 #define C1(K, i) ROTATE(Cx.q[K.c[(i) * 8 + 1]], 8) macro
201 #define C1(K, i) (Cx.q[1 + 8 * K.c[(i) * 8 + 1]]) macro
214 #define C1(K, i) (((u64_a1 *)(Cx.c + 7))[2 * K.c[(i) * 8 + 1]]) 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 …]
/freebsd/crypto/krb5/src/ccapi/lib/win/
H A DWINCCAPI.sln4 …11D0-8D11-00A0C91BC942}") = "WINCCAPI", "WINCCAPI.vcproj", "{1137FC16-E53E-48C1-8293-085B4BE68C32}"
12 {1137FC16-E53E-48C1-8293-085B4BE68C32}.Debug|Win32.ActiveCfg = Debug|Win32
13 {1137FC16-E53E-48C1-8293-085B4BE68C32}.Debug|Win32.Build.0 = Debug|Win32
14 {1137FC16-E53E-48C1-8293-085B4BE68C32}.Release|Win32.ActiveCfg = Release|Win32
15 {1137FC16-E53E-48C1-8293-085B4BE68C32}.Release|Win32.Build.0 = Release|Win32
/freebsd/crypto/openssl/crypto/chacha/asm/
H A Dchacha-riscv64-v-zbb.pl100 $A1, $B1, $C1,
126 @{[vxor_vv $C1, $C1, $A1]}
139 @{[vror_vi $C1, $C1, 32 - $ROL_SHIFT]}
151 @{[vsll_vi $V_T1, $C1, $ROL_SHIFT]}
155 @{[vsrl_vi $C1, $C1, 32 - $ROL_SHIFT]}
160 @{[vor_vv $C1, $C1, $V_T1]}
177 $A1, $B1, $C1, $D1,
205 $C1, $D1, $B1,
229 $C1, $D1, $B1,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp359 Constant *C0, *C1; in foldShiftOfShiftedBinOp() local
360 if (!match(I.getOperand(1), m_Constant(C1))) in foldShiftOfShiftedBinOp()
380 match(ConstantExpr::getAdd(C0, C1), in foldShiftOfShiftedBinOp()
397 Constant *ShiftSumC = ConstantExpr::getAdd(C0, C1); in foldShiftOfShiftedBinOp()
399 Value *NewShift2 = Builder.CreateBinOp(ShiftOpcode, Y, C1); in foldShiftOfShiftedBinOp()
442 Constant *C, *C1; in commonShiftTransforms() local
444 match(Op1, m_NUWAddLike(m_Value(A), m_Constant(C1)))) { in commonShiftTransforms()
445 Value *NewC = Builder.CreateBinOp(I.getOpcode(), C, C1); in commonShiftTransforms()
649 const APInt *C1; in foldShiftedShift() local
650 match(InnerShift->getOperand(1), m_APInt(C1)); in foldShiftedShift()
[all …]
H A DInstCombineMulDivRem.cpp222 Constant *C1, *C2; in visitMul() local
225 m_ImmConstant(C1))) && in visitMul()
226 match(C1, m_APInt(IVal))) { in visitMul()
229 ConstantFoldBinaryOpOperands(Instruction::Shl, C1, C2, DL); in visitMul()
240 if (match(&I, m_Mul(m_Value(NewOp), m_Constant(C1)))) { in visitMul()
242 if (Constant *NewCst = ConstantExpr::getExactLogBase2(C1)) { in visitMul()
329 Constant *C1; in visitMul() local
330 if (match(Op0, m_OneUse(m_AddLike(m_Value(X), m_ImmConstant(C1))))) { in visitMul()
332 Value *NewC = Builder.CreateMul(C1, MulC); in visitMul()
397 const APInt *C1; in visitMul() local
[all …]
H A DInstCombineAddSub.cpp356 ConstantFP *C0, *C1; in drillValueDownOneStep() local
362 if ((C1 = dyn_cast<ConstantFP>(Opnd1)) && C1->isZero()) in drillValueDownOneStep()
374 if (!C1) in drillValueDownOneStep()
377 Addend.set(C1, nullptr); in drillValueDownOneStep()
762 const APInt *C1 = nullptr, *C2 = nullptr; in checkForNegativeOperand() local
770 if (match(RHS, m_Xor(m_Value(Y), m_APInt(C1)))) in checkForNegativeOperand()
773 if (match(X, m_Xor(m_Value(Y), m_APInt(C1)))) { in checkForNegativeOperand()
776 if (match(Y, m_Or(m_Value(Z), m_APInt(C2))) && (*C2 == ~(*C1))) { in checkForNegativeOperand()
777 Value *NewAnd = Builder.CreateAnd(Z, *C1); in checkForNegativeOperand()
779 } else if (match(Y, m_And(m_Value(Z), m_APInt(C2))) && (*C1 == *C2)) { in checkForNegativeOperand()
[all …]
/freebsd/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
69 VEC8_LINE1(A1, B1, C1, D1); \
73 VEC8_LINE2(A1, B1, C1, D1); \
77 VEC8_LINE3(A1, B1, C1, D1); \
81 VEC8_LINE4(A1, B1, C1, D1); \
86 #define VEC8_ROUND_HALF(A1, B1, C1, D1, A2, B2, C2, D2, A3, B3, C3, D3, A4, \ argument
88 VEC8_LINE1(A1, B1, C1, D1); \
90 VEC8_LINE2(A1, B1, C1, D1); \
92 VEC8_LINE3(A1, B1, C1, D1); \
94 VEC8_LINE4(A1, B1, C1, D1); \
[all …]
/freebsd/lib/msun/src/
H A Dk_sincosl.h25 #define C1 ((long double)C1hi + C1lo) macro
28 C1 = 0.0416666666666666666136L, /* 0xaaaaaaaaaaaaaa9b.0p-68 */ variable
68 r = z * (C1 + z * (C2 + z * (C3 + z * (C4 + z * (C5 + z * (C6 + in __kernel_sincosl()
92 C1 = 4.16666666666666666666666666666666667e-02L, variable
127 r = z * (C1 + z * (C2 + z * (C3 + z * (C4 + z * (C5 + z * (C6 + in __kernel_sincosl()
H A Dk_cosf.c24 C1 = 0x155553e1053a42.0p-57, /* 0.0416666233237390631894 */ variable
40 return ((one+z*C0) + w*C1) + (w*z)*r; in __kernel_cosdf()
/freebsd/lib/msun/ld80/
H A Dk_cosl.c50 #define C1 ((long double)C1hi + C1lo) macro
53 C1 = 0.0416666666666666666136L; /* 0xaaaaaaaaaaaaaa9b.0p-68 */ variable
70 r = z*(C1+z*(C2+z*(C3+z*(C4+z*(C5+z*(C6+z*C7)))))); in __kernel_cosl()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp676 const APInt &C1 = MaybeOp1Cst->Value; in ConstantFoldBinOp() local
682 return C1 + C2; in ConstantFoldBinOp()
686 return C1 + C2.sextOrTrunc(C1.getBitWidth()); in ConstantFoldBinOp()
688 return C1 & C2; in ConstantFoldBinOp()
690 return C1.ashr(C2); in ConstantFoldBinOp()
692 return C1.lshr(C2); in ConstantFoldBinOp()
694 return C1 * C2; in ConstantFoldBinOp()
696 return C1 | C2; in ConstantFoldBinOp()
698 return C1 << C2; in ConstantFoldBinOp()
700 return C1 - C2; in ConstantFoldBinOp()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetFolder.h178 auto *C1 = dyn_cast<Constant>(V1); in FoldShuffleVector() local
180 if (C1 && C2) in FoldShuffleVector()
181 return Fold(ConstantExpr::getShuffleVector(C1, C2, Mask)); in FoldShuffleVector()
194 auto *C1 = dyn_cast<Constant>(LHS); in FoldBinaryIntrinsic() local
196 if (C1 && C2) in FoldBinaryIntrinsic()
197 return ConstantFoldBinaryIntrinsic(ID, C1, C2, Ty, FMFSource); in FoldBinaryIntrinsic()
/freebsd/crypto/openssl/crypto/sm2/
H A Dsm2_crypt.c296 EC_POINT *C1 = NULL; in ossl_sm2_decrypt()
359 C1 = EC_POINT_new(group); in ossl_sm2_decrypt()
360 if (C1 == NULL) { in ossl_sm2_decrypt()
365 if (!EC_POINT_set_affine_coordinates(group, C1, sm2_ctext->C1x, in ossl_sm2_decrypt()
367 || !EC_POINT_mul(group, C1, NULL, C1, EC_KEY_get0_private_key(key), in ossl_sm2_decrypt()
369 || !EC_POINT_get_affine_coordinates(group, C1, x2, y2, ctx)) { in ossl_sm2_decrypt()
420 EC_POINT_free(C1);
284 EC_POINT *C1 = NULL; ossl_sm2_decrypt() local
/freebsd/contrib/arm-optimized-routines/math/
H A Dexp2.c18 #define C1 __exp_data.exp2_poly[0] 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()
130 tmp = tail + r * C1 + r2 * (0.5 + r * C3) + r2 * r2 * (C4 + r * C5 + r2 * C6); in exp2()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DRawCommentList.cpp73 unsigned C1 = SM.getPresumedColumnNumber(L1, &Invalid); in commentsStartOnSameColumn() local
76 return !Invalid && (C1 == C2); in commentsStartOnSameColumn()
295 const RawComment &C1 = *OC.rbegin()->second; in addComment() local
311 if ((C1.isTrailingComment() == C2.isTrailingComment() || in addComment()
312 (C1.isTrailingComment() && !C2.isTrailingComment() && in addComment()
314 commentsStartOnSameColumn(SourceMgr, C1, C2))) && in addComment()
315 onlyWhitespaceBetween(SourceMgr, C1.getEndLoc(), C2.getBeginLoc(), in addComment()
317 SourceRange MergedRange(C1.getBeginLoc(), C2.getEndLoc()); in addComment()
/freebsd/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); \
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVLateBranchOpt.cpp64 int64_t C0, C1; in runOnBasicBlock() local
66 !RISCVInstrInfo::isFromLoadImm(MRI, Cond[2], C1)) in runOnBasicBlock()
70 RISCVInstrInfo::evaluateCondBranch(CC, C0, C1) ? TBB : FBB; in runOnBasicBlock()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_onetimeauth/poly1305/sse2/
H A Dpoly1305_sse2.c210 xmmi C1, C2; in poly1305_blocks() local
501 C1 = _mm_srli_epi64(T0, 26); in poly1305_blocks()
505 T1 = _mm_add_epi64(T1, C1); in poly1305_blocks()
507 C1 = _mm_srli_epi64(T1, 26); in poly1305_blocks()
511 T2 = _mm_add_epi64(T2, C1); in poly1305_blocks()
513 C1 = _mm_srli_epi64(T2, 26); in poly1305_blocks()
517 T3 = _mm_add_epi64(T3, C1); in poly1305_blocks()
519 C1 = _mm_srli_epi64(T3, 26); in poly1305_blocks()
521 T4 = _mm_add_epi64(T4, C1); in poly1305_blocks()
643 C1 = _mm_srli_epi64(T0, 26); in poly1305_blocks()
[all …]

1234567891011