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.cpp1108 SmallVector<ValueEntry, 8> Factors; in RemoveFactorFromExpression() local
1109 Factors.reserve(Tree.size()); in RemoveFactorFromExpression()
1112 Factors.append(E.second, ValueEntry(getRank(E.first), E.first)); in RemoveFactorFromExpression()
1117 for (unsigned i = 0, e = Factors.size(); i != e; ++i) { in RemoveFactorFromExpression()
1118 if (Factors[i].Op == Factor) { in RemoveFactorFromExpression()
1120 Factors.erase(Factors.begin()+i); in RemoveFactorFromExpression()
1126 if (ConstantInt *FC2 = dyn_cast<ConstantInt>(Factors[i].Op)) in RemoveFactorFromExpression()
1129 Factors.erase(Factors.begin()+i); in RemoveFactorFromExpression()
1133 if (ConstantFP *FC2 = dyn_cast<ConstantFP>(Factors[i].Op)) { in RemoveFactorFromExpression()
1139 Factors.erase(Factors.begin() + i); in RemoveFactorFromExpression()
[all …]
H A DLoopStrengthReduce.cpp2167 SetVector<int64_t, SmallVector<int64_t, 8>, SmallSet<int64_t, 8>> Factors; member in __anonc21373340a11::LSRInstance
2941 Factors.insert(Factor->getAPInt().getSExtValue()); in CollectInterestingTypesAndFactors()
2947 Factors.insert(Factor->getAPInt().getSExtValue()); in CollectInterestingTypesAndFactors()
3607 for (size_t i = 0, e = Factors.size(); i != e; ++i) in CollectFixupsAndInitialFormulae()
3608 if (Factors[i] != -1) in CollectFixupsAndInitialFormulae()
3609 Factors.insert(-(uint64_t)Factors[i]); in CollectFixupsAndInitialFormulae()
3610 Factors.insert(-1); in CollectFixupsAndInitialFormulae()
4246 for (int64_t Factor : Factors) { in GenerateICmpZeroScales()
4339 for (int64_t Factor : Factors) { in GenerateScales()
6247 Factors.clear(); in LSRInstance()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDelinearization.cpp266 SmallVector<const SCEV *, 2> Factors; in removeConstantFactors() local
269 Factors.push_back(Op); in removeConstantFactors()
271 return SE.getMulExpr(Factors); in removeConstantFactors()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DReassociate.h133 SmallVectorImpl<reassociate::Factor> &Factors);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp5185 SmallVector<Register, 16> Shifts, Factors; in buildUDivUsingMul() local
5191 if (IsSplat && !Factors.empty()) { in buildUDivUsingMul()
5193 Factors.push_back(Factors[0]); in buildUDivUsingMul()
5208 Factors.push_back(MIB.buildConstant(ScalarTy, Factor).getReg(0)); in buildUDivUsingMul()
5220 Factor = MIB.buildBuildVector(Ty, Factors).getReg(0); in buildUDivUsingMul()
5223 Factor = Factors[0]; in buildUDivUsingMul()
5428 SmallVector<Register, 16> Shifts, Factors; in buildSDivUsingMul() local
5435 if (IsSplat && !Factors.empty()) { in buildSDivUsingMul()
5437 Factors.push_back(Factors[0]); in buildSDivUsingMul()
5453 Factors.push_back(MIB.buildConstant(ScalarTy, Factor).getReg(0)); in buildSDivUsingMul()
[all …]
H A DLegalizerHelper.cpp5823 SmallVector<Register, 4> Factors; in multiplyRegisters() local
5831 Factors.push_back(Mul.getReg(0)); in multiplyRegisters()
5838 Factors.push_back(Umulh.getReg(0)); in multiplyRegisters()
5842 Factors.push_back(CarrySumPrevDstIdx); in multiplyRegisters()
5849 B.buildUAddo(NarrowTy, LLT::scalar(1), Factors[0], Factors[1]); in multiplyRegisters()
5852 for (unsigned i = 2; i < Factors.size(); ++i) { in multiplyRegisters()
5854 B.buildUAddo(NarrowTy, LLT::scalar(1), FactorSum, Factors[i]); in multiplyRegisters()
5861 FactorSum = B.buildAdd(NarrowTy, Factors[0], Factors[1]).getReg(0); in multiplyRegisters()
5862 for (unsigned i = 2; i < Factors.size(); ++i) in multiplyRegisters()
5863 FactorSum = B.buildAdd(NarrowTy, FactorSum, Factors[i]).getReg(0); in multiplyRegisters()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp6107 SmallVector<SDValue, 16> Shifts, Factors; in BuildExactSDIV() local
6120 Factors.push_back(DAG.getConstant(Factor, dl, SVT)); in BuildExactSDIV()
6131 Factor = DAG.getBuildVector(VT, dl, Factors); in BuildExactSDIV()
6133 assert(Shifts.size() == 1 && Factors.size() == 1 && in BuildExactSDIV()
6137 Factor = DAG.getSplatVector(VT, dl, Factors[0]); in BuildExactSDIV()
6141 Factor = Factors[0]; in BuildExactSDIV()
6167 SmallVector<SDValue, 16> Shifts, Factors; in BuildExactUDIV() local
6181 Factors.push_back(DAG.getConstant(Factor, dl, SVT)); in BuildExactUDIV()
6194 Factor = DAG.getBuildVector(VT, dl, Factors); in BuildExactUDIV()
6196 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",