Home
last modified time | relevance | path

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

12345678910

/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.cpp609 Constant *llvm::ConstantFoldBinaryInstruction(unsigned Opcode, Constant *C1, in ConstantFoldBinaryInstruction() argument
616 Opcode, C1->getType(), /*AllowRHSIdentity*/ false)) { in ConstantFoldBinaryInstruction()
617 if (C1 == Identity) in ConstantFoldBinaryInstruction()
620 return C1; in ConstantFoldBinaryInstruction()
622 Opcode, C1->getType(), /*AllowRHSIdentity*/ true)) { in ConstantFoldBinaryInstruction()
624 return C1; in ConstantFoldBinaryInstruction()
628 if (isa<PoisonValue>(C1) || isa<PoisonValue>(C2)) in ConstantFoldBinaryInstruction()
629 return PoisonValue::get(C1->getType()); in ConstantFoldBinaryInstruction()
633 bool IsScalableVector = isa<ScalableVectorType>(C1->getType()); in ConstantFoldBinaryInstruction()
635 (!C1->getType()->isVectorTy() || IsScalableVector) && in ConstantFoldBinaryInstruction()
[all …]
H A DConstantsContext.h71 BinaryConstantExpr(unsigned Opcode, Constant *C1, Constant *C2, in BinaryConstantExpr() argument
73 : ConstantExpr(C1->getType(), Opcode, &Op<0>(), 2) { in BinaryConstantExpr()
74 Op<0>() = C1; in BinaryConstantExpr()
99 ExtractElementConstantExpr(Constant *C1, Constant *C2) in ExtractElementConstantExpr() argument
100 : ConstantExpr(cast<VectorType>(C1->getType())->getElementType(), in ExtractElementConstantExpr()
102 Op<0>() = C1; in ExtractElementConstantExpr()
126 InsertElementConstantExpr(Constant *C1, Constant *C2, Constant *C3) in InsertElementConstantExpr() argument
127 : ConstantExpr(C1->getType(), Instruction::InsertElement, in InsertElementConstantExpr()
129 Op<0>() = C1; in InsertElementConstantExpr()
154 ShuffleVectorConstantExpr(Constant *C1, Constant *C2, ArrayRef<int> Mask) in ShuffleVectorConstantExpr() argument
[all …]
/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/contrib/llvm-project/lldb/include/lldb/Utility/
H A DIterable.h113 template <typename C1, typename E1, E1 (*A1)(typename C1::const_iterator &)>
114 friend AdaptedConstIterator<C1, E1, A1>
115 operator+(typename C1::const_iterator::difference_type,
116 AdaptedConstIterator<C1, E1, A1> &);
118 template <typename C1, typename E1, E1 (*A1)(typename C1::const_iterator &)>
119 friend typename C1::const_iterator::difference_type
120 operator-(AdaptedConstIterator<C1, E1, A1> &,
121 AdaptedConstIterator<C1, E1, A1> &);
123 template <typename C1, typename E1, E1 (*A1)(typename C1::const_iterator &)>
124 friend void swap(AdaptedConstIterator<C1, E1, A1> &,
[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
521 L[i] ^= C0(K, i) ^ C1(K, (i - 1) & 7) ^ in whirlpool_block()
528 L[i] ^= C0(S, i) ^ C1(S, (i - 1) & 7) ^ in whirlpool_block()
567 L0 = C0(K, 0) ^ C1(K, 7) ^ C2(K, 6) ^ C3(K, 5) ^ in whirlpool_block()
569 L1 = C0(K, 1) ^ C1(K, 0) ^ C2(K, 7) ^ C3(K, 6) ^ in whirlpool_block()
571 L2 = C0(K, 2) ^ C1(K, 1) ^ C2(K, 0) ^ C3(K, 7) ^ in whirlpool_block()
573 L3 = C0(K, 3) ^ C1(K, 2) ^ C2(K, 1) ^ C3(K, 0) ^ in whirlpool_block()
575 L4 = C0(K, 4) ^ C1(K, 3) ^ C2(K, 2) ^ C3(K, 1) ^ in whirlpool_block()
[all …]
/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()
441 Constant *C, *C1; in commonShiftTransforms() local
443 match(Op1, m_NUWAddLike(m_Value(A), m_Constant(C1)))) { in commonShiftTransforms()
444 Value *NewC = Builder.CreateBinOp(I.getOpcode(), C, C1); in commonShiftTransforms()
633 const APInt *C1; in foldShiftedShift() local
634 match(InnerShift->getOperand(1), m_APInt(C1)); in foldShiftedShift()
[all …]
H A DInstCombineMulDivRem.cpp228 Constant *C1, *C2; in visitMul() local
231 m_ImmConstant(C1))) && in visitMul()
232 match(C1, m_APInt(IVal))) { in visitMul()
235 ConstantFoldBinaryOpOperands(Instruction::Shl, C1, C2, DL); in visitMul()
246 if (match(&I, m_Mul(m_Value(NewOp), m_Constant(C1)))) { in visitMul()
248 if (Constant *NewCst = ConstantExpr::getExactLogBase2(C1)) { in visitMul()
308 Constant *C1; in visitMul() local
309 if (match(Op0, m_OneUse(m_AddLike(m_Value(X), m_ImmConstant(C1))))) { in visitMul()
311 Value *NewC = Builder.CreateMul(C1, MulC); in visitMul()
376 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()
H A Dk_cos.c57 C1 = 4.16666666666666019037e-02, /* 0x3FA55555, 0x5555554C */ variable
71 r = z*(C1+z*(C2+z*C3)) + w*w*(C4+z*(C5+z*C6)); in __kernel_cos()
/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.cpp670 const APInt &C1 = MaybeOp1Cst->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 …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetFolder.h177 auto *C1 = dyn_cast<Constant>(V1); in FoldShuffleVector() local
179 if (C1 && C2) in FoldShuffleVector()
180 return Fold(ConstantExpr::getShuffleVector(C1, C2, Mask)); in FoldShuffleVector()
193 auto *C1 = dyn_cast<Constant>(LHS); in FoldBinaryIntrinsic() local
195 if (C1 && C2) in FoldBinaryIntrinsic()
196 return ConstantFoldBinaryIntrinsic(ID, C1, C2, Ty, FMFSource); in FoldBinaryIntrinsic()
/freebsd/crypto/openssl/crypto/sm2/
H A Dsm2_crypt.c297 EC_POINT *C1 = NULL; in ossl_sm2_decrypt()
362 C1 = EC_POINT_new(group); in ossl_sm2_decrypt()
363 if (C1 == NULL) { in ossl_sm2_decrypt()
368 if (!EC_POINT_set_affine_coordinates(group, C1, sm2_ctext->C1x, in ossl_sm2_decrypt()
370 || !EC_POINT_mul(group, C1, NULL, C1, EC_KEY_get0_private_key(key), in ossl_sm2_decrypt()
372 || !EC_POINT_get_affine_coordinates(group, C1, x2, y2, ctx)) { in ossl_sm2_decrypt()
423 EC_POINT_free(C1);
279 EC_POINT *C1 = NULL; ossl_sm2_decrypt() local
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp1223 Constant *C1 = ConstantFoldIntegerCast(CE1->getOperand(0), IntPtrTy, in ConstantFoldCompareInstOperands() local
1225 if (C0 && C1) in ConstantFoldCompareInstOperands()
1226 return ConstantFoldCompareInstOperands(Predicate, C0, C1, DL, TLI); in ConstantFoldCompareInstOperands()
2785 const APInt *C0, *C1; in ConstantFoldIntrinsicCall2() local
2787 !getConstIntOrUndef(Operands[1], C1)) in ConstantFoldIntrinsicCall2()
2801 if (!C0 && !C1) in ConstantFoldIntrinsicCall2()
2803 if (!C0 || !C1) in ConstantFoldIntrinsicCall2()
2806 Ty, ICmpInst::compare(*C0, *C1, in ConstantFoldIntrinsicCall2()
2809 : *C1); in ConstantFoldIntrinsicCall2()
2816 if (!C0 || !C1) in ConstantFoldIntrinsicCall2()
[all …]
/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/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 …]
/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/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 …]
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPContext.cpp99 template <typename T> static bool isSubset(ArrayRef<T> C0, ArrayRef<T> C1) { in isSubset() argument
101 assert(llvm::is_sorted(C0) && llvm::is_sorted(C1) && in isSubset()
104 if (C0.size() > C1.size()) in isSubset()
107 auto It1 = C1.begin(), End1 = C1.end(); in isSubset()
124 static bool isStrictSubset(ArrayRef<T> C0, ArrayRef<T> C1) { in isStrictSubset() argument
125 if (C0.size() >= C1.size()) in isStrictSubset()
127 return isSubset<T>(C0, C1); in isStrictSubset()

12345678910