Searched refs:phi (Results 1 - 16 of 16) sorted by relevance

/freebsd-current/contrib/bearssl/src/rsa/
H A Drsa_i31_privexp.c33 * We want to invert e modulo phi = (p-1)(q-1). This first
34 * requires computing phi, which is easy since we have the factors
37 * Since p = 3 mod 4 and q = 3 mod 4, phi/4 is an odd integer.
38 * We could invert e modulo phi/4 then patch the result to
39 * modulo phi, but this would involve assembling three modulus-wide
40 * values (phi/4, 1 and e) and calling moddiv, that requires
47 * - We compute phi = k*e + r (Euclidean division of phi by e).
49 * invertible modulo phi). We also have k != 0 since we
58 * the above implies d < r + e*((phi
62 uint32_t *p, *q, *k, *m, *z, *phi; local
[all...]
H A Drsa_i15_privexp.c33 * We want to invert e modulo phi = (p-1)(q-1). This first
34 * requires computing phi, which is easy since we have the factors
37 * Since p = 3 mod 4 and q = 3 mod 4, phi/4 is an odd integer.
38 * We could invert e modulo phi/4 then patch the result to
39 * modulo phi, but this would involve assembling three modulus-wide
40 * values (phi/4, 1 and e) and calling moddiv, that requires
47 * - We compute phi = k*e + r (Euclidean division of phi by e).
49 * invertible modulo phi). We also have k != 0 since we
58 * the above implies d < r + e*((phi
62 uint16_t *p, *q, *k, *m, *z, *phi; local
[all...]
/freebsd-current/contrib/llvm-project/libcxx/modules/std/
H A Dnumbers.inc34 using std::numbers::phi;
/freebsd-current/contrib/ntp/clockstuff/
H A Dpropdelay.c434 double phi; local
439 phi = (PI/2.0) - atan((h / (EARTHRADIUS * sin(theta))) + tan(theta/2));
440 td = dg / (LIGHTSPEED * sin(phi));
/freebsd-current/contrib/bearssl/test/
H A Dtest_math.c385 mpz_t n, e, d, p, q, dp, dq, iq, t1, t2, phi;
401 mpz_init(phi);
432 mpz_mul(phi, t1, t2);
433 mpz_invert(d, e, phi);
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/
H A DModuloSchedule.cpp428 // Adjust the computations below when the phi and the loop definition
632 // requires a phi in the epilog for the last definition from either
789 /// v1 = phi(a, v2) v1 = phi(a, v2)
790 /// v2 = phi(b, v3) v2 = phi(b, v3)
1093 // The loop value is another phi, which has not been scheduled.
1096 // The loop value is another phi, which has been scheduled.
1266 // Map from <LoopReg, InitReg> to phi register for all created phis. Note that
1269 // Map from LoopReg to phi registe
1463 Register KernelRewriter::phi(Register LoopReg, std::optional<Register> InitReg, function in class:KernelRewriter
[all...]
H A DEarlyIfConversion.cpp110 /// Information about each phi in the Tail block.
117 PHIInfo(MachineInstr *phi) : PHI(phi) {} argument
/freebsd-current/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjC.cpp2995 auto *phi = dyn_cast<llvm::PHINode>(value); local
2996 if (phi && phi->getNumIncomingValues() == 2 &&
2997 isa<llvm::ConstantPointerNull>(phi->getIncomingValue(1)) &&
2998 isa<llvm::CallBase>(phi->getIncomingValue(0))) {
2999 // Handle phi instructions that are generated when it's necessary to check
3001 llvm::Value *inVal = phi->getIncomingValue(0);
3003 phi->setIncomingValue(0, inVal);
3004 value = phi;
H A DCGObjCGNU.cpp2964 // Enter the continuation block and emit a phi if required.
2969 llvm::PHINode *phi = Builder.CreatePHI(v->getType(), 2); local
2970 phi->addIncoming(v, nonNilPathBB);
2971 phi->addIncoming(CGM.EmitNullConstant(ResultType), nilPathBB);
2972 msgRet = RValue::get(phi);
2978 llvm::PHINode *phi = Builder.CreatePHI(v.first->getType(), 2); local
2979 phi->addIncoming(v.first, nonNilPathBB);
2980 phi->addIncoming(llvm::Constant::getNullValue(v.first->getType()),
2986 msgRet = RValue::getComplex(phi, phi2);
H A DCGExpr.cpp5108 llvm::PHINode *phi = Builder.CreatePHI(lhsAddr.getType(), 2, "cond-lvalue"); local
5109 phi->addIncoming(lhsAddr.getPointer(), Info.lhsBlock);
5110 phi->addIncoming(rhsAddr.getPointer(), Info.rhsBlock);
5111 Address result(phi, lhsAddr.getElementType(),
H A DCGExprScalar.cpp3607 llvm::PHINode *phi = Builder.CreatePHI(opTy, 2); local
3608 phi->addIncoming(result, initialBB);
3609 phi->addIncoming(handlerResult, overflowBB);
3611 return phi;
4658 // Insert an entry into the phi node for the edge with the value of RHSCond.
4797 // into the phi node for the edge with the value of RHSCond.
H A DCGObjCMac.cpp1766 // The phi code below assumes that we haven't needed any control flow yet.
1776 // If we've got a scalar return, build a phi.
1785 // Otherwise, build a phi.
1787 llvm::PHINode *phi = CGF.Builder.CreatePHI(null->getType(), 2); local
1788 phi->addIncoming(result.getScalarVal(), callBB);
1789 phi->addIncoming(null, NullBB);
1790 return RValue::get(phi);
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Support/
H A DMathExtras.h45 phi = 1.6180339887498948482; // (0x1.9e3779b97f4a8P+0) https://oeis.org/A001622 member in namespace:llvm::numbers
/freebsd-current/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLLexer.cpp857 INSTKEYWORD(phi, PHI);
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp171 PHINode *phi = cast<PHINode>(I); local
172 phi->addIncoming(UnwindDestPHIValues[i], src);
2722 // phi below.
2956 // If we inserted a phi node, check to see if it has a single value (e.g. all
/freebsd-current/sys/netpfil/ipfw/
H A Dip_fw_sockopt.c3177 struct opcode_obj_rewrite **phi)
3201 *phi = hi;
3176 find_op_rw_range(uint16_t op, struct opcode_obj_rewrite **plo, struct opcode_obj_rewrite **phi) argument

Completed in 450 milliseconds