| /llvm-project-15.0.7/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/penalty/ |
| H A D | expect_program_state.cpp | 10 int GCD(int lhs, int rhs) in GCD() function 14 return GCD(rhs, lhs % rhs); in GCD() 19 return GCD(111, 259); in main()
|
| /llvm-project-15.0.7/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/ |
| H A D | expect_program_state.cpp | 11 int GCD(int lhs, int rhs) in GCD() function 15 return GCD(rhs, lhs % rhs); in GCD() 20 return GCD(111, 259); in main()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | ConstraintSystem.h | 27 uint32_t GCD = 1; variable 48 GCD = APIntOps::GreatestCommonDivisor({32, (uint32_t)A}, {32, GCD}) in addVariableRow()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ConstraintSystem.cpp | 72 ((-1) * Constraints[LowerR][1] / GCD), M1)) in eliminateUsingFM() 75 (Constraints[UpperR][1] / GCD), M2)) in eliminateUsingFM() 92 GCD = NewGCD; in eliminateUsingFM()
|
| H A D | BasicAliasAnalysis.cpp | 1214 APInt GCD; in aliasGEP() local 1225 GCD = ScaleForGCD.abs(); in aliasGEP() 1227 GCD = APIntOps::GreatestCommonDivisor(GCD, ScaleForGCD.abs()); in aliasGEP() 1252 APInt ModOffset = DecompGEP1.Offset.srem(GCD); in aliasGEP() 1254 ModOffset += GCD; // We want mod, not rem. in aliasGEP() 1256 (GCD - ModOffset).uge(V1Size.getValue())) in aliasGEP()
|
| H A D | ScalarEvolution.cpp | 7576 unsigned GCD = std::min(MulZeros, TZ); in createSCEV() local 7577 APInt DivAmt = APInt::getOneBitSet(BitWidth, TZ - GCD); in createSCEV() 7579 MulOps.push_back(getConstant(OpC->getAPInt().lshr(GCD))); in createSCEV()
|
| /llvm-project-15.0.7/libc/src/string/memory_utils/ |
| H A D | address.h | 74 constexpr size_t GCD = gcd(ByteOffset, ALIGNMENT); in commonAlign() local 75 if constexpr (is_power2(GCD)) in commonAlign() 76 return GCD; in commonAlign()
|
| /llvm-project-15.0.7/compiler-rt/test/tsan/Darwin/ |
| H A D | workerthreads.mm | 39 // CHECK: Thread {{.*}} is a GCD worker thread 41 // CHECK: Thread {{.*}} is a GCD worker thread
|
| /llvm-project-15.0.7/llvm/lib/MCA/ |
| H A D | Support.cpp | 29 unsigned GCD = GreatestCommonDivisor64(Denominator, RHS.Denominator); in operator +=() local 30 unsigned LCM = (Denominator * RHS.Denominator) / GCD; in operator +=()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | Utils.cpp | 961 int GCD = greatestCommonDivisor(OrigTy.getNumElements(), in getGCDType() local 963 return LLT::scalarOrVector(ElementCount::getFixed(GCD), OrigElt); in getGCDType() 971 unsigned GCD = greatestCommonDivisor(OrigSize, TargetSize); in getGCDType() local 972 if (GCD == OrigElt.getSizeInBits()) in getGCDType() 977 if (GCD < OrigElt.getSizeInBits()) in getGCDType() 978 return LLT::scalar(GCD); in getGCDType() 979 return LLT::fixed_vector(GCD / OrigElt.getSizeInBits(), OrigElt); in getGCDType() 989 unsigned GCD = greatestCommonDivisor(OrigSize, TargetSize); in getGCDType() local 990 return LLT::scalar(GCD); in getGCDType()
|
| H A D | LegalizerHelper.cpp | 1568 const int GCD = greatestCommonDivisor(SrcSize, WideSize); in widenScalarMergeValues() local 1569 LLT GCDTy = LLT::scalar(GCD); in widenScalarMergeValues() 1579 if (GCD == SrcSize) { in widenScalarMergeValues() 1595 const int PartsPerGCD = WideSize / GCD; in widenScalarMergeValues()
|
| /llvm-project-15.0.7/llvm/test/Analysis/ScalarEvolution/ |
| H A D | tripmultiple_calculation.ll | 126 ; If there are multiple exits, the result is the GCD of the multiples
|
| /llvm-project-15.0.7/compiler-rt/lib/asan/tests/ |
| H A D | asan_mac_test_helpers.mm | 81 // Used by the GCD tests to avoid a race between the worker thread reporting a
|
| /llvm-project-15.0.7/mlir/test/Dialect/Affine/ |
| H A D | simplify-structures.mlir | 186 // The set below has rational solutions but no integer solutions; GCD test catches it. 210 // 8*d1 here is a multiple of 4, and so can't lie between 9 and 11. GCD
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeVectorTypes.cpp | 4771 unsigned GCD = greatestCommonDivisor(VTNumElts, WidenNumElts); in WidenVecRes_EXTRACT_SUBVECTOR() local 4775 ElementCount::getScalable(GCD)); in WidenVecRes_EXTRACT_SUBVECTOR() 4780 for (; I < VTNumElts / GCD; ++I) in WidenVecRes_EXTRACT_SUBVECTOR() 4783 DAG.getVectorIdxConstant(IdxVal + I * GCD, dl))); in WidenVecRes_EXTRACT_SUBVECTOR() 4784 for (; I < WidenNumElts / GCD; ++I) in WidenVecRes_EXTRACT_SUBVECTOR() 6130 unsigned GCD = greatestCommonDivisor(OrigElts, WideElts); in WidenVecOp_VECREDUCE() local 6132 ElementCount::getScalable(GCD)); in WidenVecOp_VECREDUCE() 6134 for (unsigned Idx = OrigElts; Idx < WideElts; Idx = Idx + GCD) in WidenVecOp_VECREDUCE() 6167 unsigned GCD = greatestCommonDivisor(OrigElts, WideElts); in WidenVecOp_VECREDUCE_SEQ() local 6169 ElementCount::getScalable(GCD)); in WidenVecOp_VECREDUCE_SEQ() [all …]
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CodeGenModule.cpp | 3051 const UnnamedGlobalConstantDecl *GCD) { in GetAddrOfUnnamedGlobalConstantDecl() argument 3052 CharUnits Alignment = getContext().getTypeAlignInChars(GCD->getType()); in GetAddrOfUnnamedGlobalConstantDecl() 3055 Entry = &UnnamedGlobalConstantDeclMap[GCD]; in GetAddrOfUnnamedGlobalConstantDecl() 3062 const APValue &V = GCD->getValue(); in GetAddrOfUnnamedGlobalConstantDecl() 3065 Init = Emitter.emitForInitializer(V, GCD->getType().getAddressSpace(), in GetAddrOfUnnamedGlobalConstantDecl() 3066 GCD->getType()); in GetAddrOfUnnamedGlobalConstantDecl()
|
| H A D | CGExprConstant.cpp | 1940 if (auto *GCD = dyn_cast<UnnamedGlobalConstantDecl>(D)) in tryEmitBase() local 1941 return CGM.GetAddrOfUnnamedGlobalConstantDecl(GCD); in tryEmitBase()
|
| H A D | CodeGenModule.h | 925 GetAddrOfUnnamedGlobalConstantDecl(const UnnamedGlobalConstantDecl *GCD);
|
| /llvm-project-15.0.7/mlir/test/IR/ |
| H A D | affine-map.mlir | 158 // Simplifications for mod using known GCD's of the LHS expr.
|
| /llvm-project-15.0.7/polly/lib/Analysis/ |
| H A D | ScopInfo.cpp | 295 auto GCD = GreatestCommonDivisor64(NewElementSize, OldElementSize); in updateElementType() local 296 ElementType = IntegerType::get(ElementType->getContext(), GCD); in updateElementType()
|
| /llvm-project-15.0.7/compiler-rt/ |
| H A D | CMakeLists.txt | 143 "Support interception of libdispatch (GCD). Requires '-fblocks'" OFF)
|
| /llvm-project-15.0.7/polly/lib/External/isl/imath/ |
| H A D | ChangeLog | 292 some more GCD tests in tests/lcm.t and tests/gcd.t
|
| /llvm-project-15.0.7/lldb/docs/ |
| H A D | python_api_enums.rst | 1221 libdispatch aka Grand Central Dispatch (GCD) queues can be either
|
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | APIntTest.cpp | 2465 TEST(APIntTest, GCD) { in TEST() argument
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 4028 if (auto *GCD = dyn_cast<UnnamedGlobalConstantDecl>(D)) { in findCompleteObject() local 4033 return CompleteObject(LVal.Base, const_cast<APValue *>(&GCD->getValue()), in findCompleteObject() 4034 GCD->getType()); in findCompleteObject()
|