Home
last modified time | relevance | path

Searched refs:Factors (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp1106 SmallVector<ValueEntry, 8> Factors; in RemoveFactorFromExpression() local
1107 Factors.reserve(Tree.size()); in RemoveFactorFromExpression()
1109 Factors.append(E.second, ValueEntry(getRank(E.first), E.first)); in RemoveFactorFromExpression()
1113 for (unsigned i = 0, e = Factors.size(); i != e; ++i) { in RemoveFactorFromExpression()
1114 if (Factors[i].Op == Factor) { in RemoveFactorFromExpression()
1116 Factors.erase(Factors.begin()+i); in RemoveFactorFromExpression()
1122 if (ConstantInt *FC2 = dyn_cast<ConstantInt>(Factors[i].Op)) in RemoveFactorFromExpression()
1125 Factors.erase(Factors.begin()+i); in RemoveFactorFromExpression()
1129 if (ConstantFP *FC2 = dyn_cast<ConstantFP>(Factors[i].Op)) { in RemoveFactorFromExpression()
1135 Factors.erase(Factors.begin() + i); in RemoveFactorFromExpression()
[all …]
H A DLoopStrengthReduce.cpp2150 SetVector<int64_t, SmallVector<int64_t, 8>, SmallSet<int64_t, 8>> Factors; member in __anonc21373340a11::LSRInstance
2930 Factors.insert(Factor->getAPInt().getSExtValue()); in CollectInterestingTypesAndFactors()
2936 Factors.insert(Factor->getAPInt().getSExtValue()); in CollectInterestingTypesAndFactors()
3592 for (size_t i = 0, e = Factors.size(); i != e; ++i) in CollectFixupsAndInitialFormulae()
3593 if (Factors[i] != -1) in CollectFixupsAndInitialFormulae()
3594 Factors.insert(-(uint64_t)Factors[i]); in CollectFixupsAndInitialFormulae()
3595 Factors.insert(-1); in CollectFixupsAndInitialFormulae()
4221 for (int64_t Factor : Factors) { in GenerateICmpZeroScales()
4314 for (int64_t Factor : Factors) { in GenerateScales()
6219 Factors.clear(); in LSRInstance()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDelinearization.cpp265 SmallVector<const SCEV *, 2> Factors; in removeConstantFactors() local
268 Factors.push_back(Op); in removeConstantFactors()
270 return SE.getMulExpr(Factors); in removeConstantFactors()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DReassociate.h121 SmallVectorImpl<reassociate::Factor> &Factors);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp5319 SmallVector<Register, 16> Shifts, Factors; in buildUDivorURemUsingMul() local
5325 if (IsSplat && !Factors.empty()) { in buildUDivorURemUsingMul()
5327 Factors.push_back(Factors[0]); in buildUDivorURemUsingMul()
5342 Factors.push_back(MIB.buildConstant(ScalarTy, Factor).getReg(0)); in buildUDivorURemUsingMul()
5354 Factor = MIB.buildBuildVector(Ty, Factors).getReg(0); in buildUDivorURemUsingMul()
5357 Factor = Factors[0]; in buildUDivorURemUsingMul()
5639 SmallVector<Register, 16> MagicFactors, Factors, Shifts, ShiftMasks; in buildSDivUsingMul() local
5665 Factors.push_back(MIB.buildConstant(ScalarTy, NumeratorFactor).getReg(0)); in buildSDivUsingMul()
5682 Factor = MIB.buildBuildVector(Ty, Factors).getReg(0); in buildSDivUsingMul()
5689 Factor = Factors[0]; in buildSDivUsingMul()
H A DLegalizerHelper.cpp6516 SmallVector<Register, 4> Factors; in multiplyRegisters() local
6524 Factors.push_back(Mul.getReg(0)); in multiplyRegisters()
6531 Factors.push_back(Umulh.getReg(0)); in multiplyRegisters()
6535 Factors.push_back(CarrySumPrevDstIdx); in multiplyRegisters()
6542 B.buildUAddo(NarrowTy, LLT::scalar(1), Factors[0], Factors[1]); in multiplyRegisters()
6545 for (unsigned i = 2; i < Factors.size(); ++i) { in multiplyRegisters()
6547 B.buildUAddo(NarrowTy, LLT::scalar(1), FactorSum, Factors[i]); in multiplyRegisters()
6554 FactorSum = B.buildAdd(NarrowTy, Factors[0], Factors[1]).getReg(0); in multiplyRegisters()
6555 for (unsigned i = 2; i < Factors.size(); ++i) in multiplyRegisters()
6556 FactorSum = B.buildAdd(NarrowTy, FactorSum, Factors[i]).getReg(0); in multiplyRegisters()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp6327 SmallVector<SDValue, 16> Shifts, Factors; in BuildExactSDIV() local
6340 Factors.push_back(DAG.getConstant(Factor, dl, SVT)); in BuildExactSDIV()
6351 Factor = DAG.getBuildVector(VT, dl, Factors); in BuildExactSDIV()
6353 assert(Shifts.size() == 1 && Factors.size() == 1 && in BuildExactSDIV()
6357 Factor = DAG.getSplatVector(VT, dl, Factors[0]); in BuildExactSDIV()
6361 Factor = Factors[0]; in BuildExactSDIV()
6385 SmallVector<SDValue, 16> Shifts, Factors; in BuildExactUDIV() local
6399 Factors.push_back(DAG.getConstant(Factor, dl, SVT)); in BuildExactUDIV()
6412 Factor = DAG.getBuildVector(VT, dl, Factors); in BuildExactUDIV()
6414 assert(Shifts.size() == 1 && Factors.size() == 1 && in BuildExactUDIV()
[all …]
/freebsd/contrib/one-true-awk/testdir/
H A Dfunstack.ok2097 Socio-Economic-Political Factors . . . . 193--199
H A Dfunstack.in15811 title = "Computer Networks in Higher Education: Socio-Economic-Political Factors",