Home
last modified time | relevance | path

Searched refs:GCD (Results 1 – 15 of 15) sorted by relevance

/freebsd/crypto/openssl/test/recipes/10-test_bn_data/
H A Dbngcd.txt8 # GCD tests.
10 # These test vectors satisfy gcd(A, B) = GCD.
15 GCD = 0
20 GCD = 1
25 GCD = 1
30 GCD = 70030ffeeea3deaea19387f4f1d0f460a6954a2a9cb98290602ac09036143ef8eb9692f3eac22961811083e073ee0…
35 GCD = 231f16458c487346cf50a17beec83632f25d19abeea1097c746533cd3e35207b7efd75dc3e9c663a64b6861e88579…
42 GCD = 3
46 GCD = 5
50 GCD = 7
[all …]
/freebsd/contrib/llvm-project/llvm/lib/MCA/
H A DSupport.cpp29 // common multiple from the GCD. in operator +=()
30 unsigned GCD = std::gcd(Denominator, RHS.Denominator); in operator +=() local
31 unsigned LCM = (Denominator * RHS.Denominator) / GCD; in operator +=()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVVLOptimizer.cpp160 int GCD = MILMULIsFractional ? std::gcd(Num, Denom * MILMUL) in getEMULEqualsEEWDivSEWTimesLMUL() local
162 Num = MILMULIsFractional ? Num / GCD : Num * MILMUL / GCD; in getEMULEqualsEEWDivSEWTimesLMUL()
163 Denom = MILMULIsFractional ? Denom * MILMUL / GCD : Denom / GCD; in getEMULEqualsEEWDivSEWTimesLMUL()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DBasicAliasAnalysis.cpp1271 APInt GCD; in aliasGEP() local
1282 GCD = ScaleForGCD.abs(); in aliasGEP()
1284 GCD = APIntOps::GreatestCommonDivisor(GCD, ScaleForGCD.abs()); in aliasGEP()
1313 APInt ModOffset = DecompGEP1.Offset.srem(GCD); in aliasGEP()
1315 ModOffset += GCD; // We want mod, not rem. in aliasGEP()
1317 (GCD - ModOffset).uge(V1Size.getValue())) in aliasGEP()
H A DScalarEvolution.cpp7834 unsigned GCD = std::min(MulZeros, TZ); in createSCEV() local
7835 APInt DivAmt = APInt::getOneBitSet(BitWidth, TZ - GCD); in createSCEV()
7837 MulOps.push_back(getConstant(OpC->getAPInt().ashr(GCD))); in createSCEV()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp1288 unsigned GCD = std::gcd(OrigTy.getSizeInBits().getKnownMinValue(), in getGCDType() local
1290 if (GCD == OrigElt.getSizeInBits()) in getGCDType()
1295 if (GCD < OrigElt.getSizeInBits()) in getGCDType()
1297 GCD); in getGCDType()
1300 ElementCount::get(GCD / OrigElt.getSizeInBits().getFixedValue(), in getGCDType()
1320 unsigned GCD = std::gcd(OrigScalar.getSizeInBits().getFixedValue(), in getGCDType() local
1322 return LLT::scalar(GCD); in getGCDType()
H A DLegalizerHelper.cpp2214 const int GCD = std::gcd(SrcSize, WideSize); in widenScalarMergeValues() local
2215 LLT GCDTy = LLT::scalar(GCD); in widenScalarMergeValues()
2224 if (GCD == SrcSize) { in widenScalarMergeValues()
2240 const int PartsPerGCD = WideSize / GCD; in widenScalarMergeValues()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp6018 unsigned GCD = std::gcd(VTNumElts, WidenNumElts); in WidenVecRes_EXTRACT_SUBVECTOR() local
6019 assert((IdxVal % GCD) == 0 && "Expected Idx to be a multiple of the broken " in WidenVecRes_EXTRACT_SUBVECTOR()
6022 ElementCount::getScalable(GCD)); in WidenVecRes_EXTRACT_SUBVECTOR()
6027 for (; I < VTNumElts / GCD; ++I) in WidenVecRes_EXTRACT_SUBVECTOR()
6029 DAG.getExtractSubvector(dl, PartVT, InOp, IdxVal + I * GCD)); in WidenVecRes_EXTRACT_SUBVECTOR()
6030 for (; I < WidenNumElts / GCD; ++I) in WidenVecRes_EXTRACT_SUBVECTOR()
6669 unsigned GCD = std::gcd(VTNumElts, WidenNumElts); in WidenVecRes_VECTOR_REVERSE() local
6671 ElementCount::getScalable(GCD)); in WidenVecRes_VECTOR_REVERSE()
6672 assert((IdxVal % GCD) == 0 && "Expected Idx to be a multiple of the broken " in WidenVecRes_VECTOR_REVERSE()
6676 for (; i < VTNumElts / GCD; ++i) in WidenVecRes_VECTOR_REVERSE()
[all …]
/freebsd/contrib/file/magic/Magdir/
H A Dmap379 … 78~ZIP, RGN or SRF bitmap; 148~ZIP or JAR; 249~display firmware; 251~WiFi or GCD firmware; 255~ZIP
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp3874 const UnnamedGlobalConstantDecl *GCD) { in GetAddrOfUnnamedGlobalConstantDecl() argument
3875 CharUnits Alignment = getContext().getTypeAlignInChars(GCD->getType()); in GetAddrOfUnnamedGlobalConstantDecl()
3878 Entry = &UnnamedGlobalConstantDeclMap[GCD]; in GetAddrOfUnnamedGlobalConstantDecl()
3885 const APValue &V = GCD->getValue(); in GetAddrOfUnnamedGlobalConstantDecl()
3888 Init = Emitter.emitForInitializer(V, GCD->getType().getAddressSpace(), in GetAddrOfUnnamedGlobalConstantDecl()
3889 GCD->getType()); in GetAddrOfUnnamedGlobalConstantDecl()
H A DCGExprConstant.cpp2261 if (const auto *GCD = dyn_cast<UnnamedGlobalConstantDecl>(D)) in tryEmitBase() local
2262 return CGM.GetAddrOfUnnamedGlobalConstantDecl(GCD); in tryEmitBase()
H A DCodeGenModule.h1093 GetAddrOfUnnamedGlobalConstantDecl(const UnnamedGlobalConstantDecl *GCD);
/freebsd/contrib/llvm-project/lldb/docs/
H A Dpython_api_enums.rst1223 libdispatch aka Grand Central Dispatch (GCD) queues can be either
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp4367 if (auto *GCD = dyn_cast<UnnamedGlobalConstantDecl>(D)) { in findCompleteObject() local
4372 return CompleteObject(LVal.Base, const_cast<APValue *>(&GCD->getValue()), in findCompleteObject()
4373 GCD->getType()); in findCompleteObject()
/freebsd/contrib/one-true-awk/testdir/
H A Dfunstack.in9852 @Article{Ragland:1973:GCD,