Home
last modified time | relevance | path

Searched refs:Factor (Results 1 – 25 of 184) sorted by relevance

12345678

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DInterleavedAccessPass.cpp142 static bool isDeInterleaveMaskOfFactor(ArrayRef<int> Mask, unsigned Factor, in isDeInterleaveMaskOfFactor() argument
145 for (Index = 0; Index < Factor; Index++) { in isDeInterleaveMaskOfFactor()
151 if (Mask[i] >= 0 && static_cast<unsigned>(Mask[i]) != Index + i * Factor) in isDeInterleaveMaskOfFactor()
166 static bool isDeInterleaveMask(ArrayRef<int> Mask, unsigned &Factor, in isDeInterleaveMask() argument
173 for (Factor = 2; Factor <= MaxFactor; Factor++) { in isDeInterleaveMask()
175 if (Mask.size() * Factor > NumLoadElements) in isDeInterleaveMask()
177 if (isDeInterleaveMaskOfFactor(Mask, Factor, Index)) in isDeInterleaveMask()
195 static bool isReInterleaveMask(ArrayRef<int> Mask, unsigned &Factor, in isReInterleaveMask() argument
202 for (Factor = 2; Factor <= MaxFactor; Factor++) { in isReInterleaveMask()
203 if (NumElts % Factor) in isReInterleaveMask()
[all …]
DInterleavedLoadCombinePass.cpp105 std::list<VectorInfo> &InterleavedLoad, unsigned Factor,
694 bool isInterleaved(unsigned Factor, const DataLayout &DL) const { in isInterleaved()
697 if (!EI[i].Ofs.isProvenEqualTo(EI[0].Ofs + i * Factor * Size)) { in isInterleaved()
746 unsigned Factor = Result.VTy->getNumElements() / VTy->getNumElements(); in computeFromBCI() local
750 if (NewSize * Factor != OldSize) in computeFromBCI()
757 for (unsigned i = 0; i < Result.VTy->getNumElements(); i += Factor) { in computeFromBCI()
758 for (unsigned j = 0; j < Factor; j++) { in computeFromBCI()
760 ElementInfo(Old.EI[i / Factor].Ofs + j * NewSize, in computeFromBCI()
761 j == 0 ? Old.EI[i / Factor].LI : nullptr); in computeFromBCI()
1055 unsigned Factor, const DataLayout &DL) { in findPattern() argument
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/
DUnitsConverter.java56 Factor sourceToBase = conversionRates.getFactorToBase(source); in UnitsConverter()
57 Factor targetToBase = conversionRates.getFactorToBase(target); in UnitsConverter()
168 static class Factor { class in UnitsConverter
200 public Factor() { in Factor() method in UnitsConverter.Factor
205 public static Factor processFactor(String factor) { in processFactor()
218 Factor num = processFactorWithoutDivision(fractions[0]); in processFactor()
219 Factor den = processFactorWithoutDivision(fractions[1]); in processFactor()
223 private static Factor processFactorWithoutDivision(String factorWithoutDivision) { in processFactorWithoutDivision()
224 Factor result = new Factor(); in processFactorWithoutDivision()
236 protected Factor copy() { in copy()
[all …]
DConversionRates.java41 private UnitsConverter.Factor getFactorToBase(SingleUnitImpl singleUnit) { in getFactorToBase()
44 …UnitsConverter.Factor result = UnitsConverter.Factor.processFactor(mapToConversionRate.get(singleU… in getFactorToBase()
52 public UnitsConverter.Factor getFactorToBase(MeasureUnitImpl measureUnit) { in getFactorToBase()
53 UnitsConverter.Factor result = new UnitsConverter.Factor(); in getFactorToBase()
63 …rotected BigDecimal getOffset(MeasureUnitImpl source, MeasureUnitImpl target, UnitsConverter.Factor in getOffset()
64 … sourceToBase, UnitsConverter.Factor targetToBase, UnitsConverter.Convertibility convertibility) { in getOffset()
/third_party/icu/icu4c/source/i18n/
Dunits_converter.cpp26 void U_I18N_API Factor::multiplyBy(const Factor &rhs) { in multiplyBy()
39 void U_I18N_API Factor::divideBy(const Factor &rhs) { in divideBy()
52 void U_I18N_API Factor::power(int32_t power) { in power()
70 void U_I18N_API Factor::applyPrefix(UMeasurePrefix unitPrefix) { in applyPrefix()
85 void U_I18N_API Factor::substituteConstants() { in substituteConstants()
149 void addFactorElement(Factor &factor, StringPiece elementStr, Signum signum, UErrorCode &status) { in addFactorElement()
180 Factor extractFactorConversions(StringPiece stringFactor, UErrorCode &status) { in extractFactorConversions()
181 Factor result; in extractFactorConversions()
204 Factor loadSingleFactor(StringPiece source, const ConversionRates &ratesInfo, UErrorCode &status) { in loadSingleFactor()
206 if (U_FAILURE(status)) return Factor(); in loadSingleFactor()
[all …]
Dunits_converter.h66 struct U_I18N_API Factor { struct
75 void multiplyBy(const Factor &rhs); argument
76 void divideBy(const Factor &rhs);
101 Factor &factor, UErrorCode &status);
/third_party/node/deps/icu-small/source/i18n/
Dunits_converter.cpp26 void U_I18N_API Factor::multiplyBy(const Factor &rhs) { in multiplyBy()
39 void U_I18N_API Factor::divideBy(const Factor &rhs) { in divideBy()
52 void U_I18N_API Factor::power(int32_t power) { in power()
70 void U_I18N_API Factor::applyPrefix(UMeasurePrefix unitPrefix) { in applyPrefix()
85 void U_I18N_API Factor::substituteConstants() { in substituteConstants()
149 void addFactorElement(Factor &factor, StringPiece elementStr, Signum signum, UErrorCode &status) { in addFactorElement()
180 Factor extractFactorConversions(StringPiece stringFactor, UErrorCode &status) { in extractFactorConversions()
181 Factor result; in extractFactorConversions()
204 Factor loadSingleFactor(StringPiece source, const ConversionRates &ratesInfo, UErrorCode &status) { in loadSingleFactor()
206 if (U_FAILURE(status)) return Factor(); in loadSingleFactor()
[all …]
Dunits_converter.h74 struct U_I18N_API Factor { struct
83 void multiplyBy(const Factor &rhs); argument
84 void divideBy(const Factor &rhs);
109 Factor &factor, UErrorCode &status);
/third_party/skia/third_party/externals/icu/source/i18n/
Dunits_converter.cpp25 void U_I18N_API Factor::multiplyBy(const Factor &rhs) { in multiplyBy()
38 void U_I18N_API Factor::divideBy(const Factor &rhs) { in divideBy()
51 void U_I18N_API Factor::power(int32_t power) { in power()
69 void U_I18N_API Factor::applyPrefix(UMeasurePrefix unitPrefix) { in applyPrefix()
84 void U_I18N_API Factor::substituteConstants() { in substituteConstants()
148 void addFactorElement(Factor &factor, StringPiece elementStr, Signum signum, UErrorCode &status) { in addFactorElement()
179 Factor extractFactorConversions(StringPiece stringFactor, UErrorCode &status) { in extractFactorConversions()
180 Factor result; in extractFactorConversions()
203 Factor loadSingleFactor(StringPiece source, const ConversionRates &ratesInfo, UErrorCode &status) { in loadSingleFactor()
205 if (U_FAILURE(status)) return Factor(); in loadSingleFactor()
[all …]
Dunits_converter.h60 struct U_I18N_API Factor { struct
69 void multiplyBy(const Factor &rhs); argument
70 void divideBy(const Factor &rhs);
95 Factor &factor, UErrorCode &status);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InterleavedAccess.cpp61 const unsigned Factor; member in __anon1585445d0111::X86InterleavedAccessGroup
114 : Inst(I), Shuffles(Shuffs), Indices(Ind), Factor(F), Subtarget(STarget), in X86InterleavedAccessGroup()
140 if (!Subtarget.hasAVX() || (Factor != 4 && Factor != 3)) in isSupported()
152 if (ShuffleElemSize == 64 && WideInstSize == 1024 && Factor == 4) in isSupported()
155 if (ShuffleElemSize == 8 && isa<StoreInst>(Inst) && Factor == 4 && in isSupported()
160 if (ShuffleElemSize == 8 && Factor == 3 && in isSupported()
728 decompose(Inst, Factor, ShuffleTy, DecomposedVectors); in lowerIntoOptimizedSequence()
731 unsigned NumSubVecElems = ShuffleEltTy->getVectorNumElements() / Factor; in lowerIntoOptimizedSequence()
760 unsigned NumSubVecElems = ShuffleTy->getVectorNumElements() / Factor; in lowerIntoOptimizedSequence()
765 decompose(Shuffles[0], Factor, VectorType::get(ShuffleEltTy, NumSubVecElems), in lowerIntoOptimizedSequence()
[all …]
DX86TargetTransformInfo.h161 unsigned Factor, ArrayRef<unsigned> Indices,
166 unsigned Factor, ArrayRef<unsigned> Indices,
171 unsigned Factor, ArrayRef<unsigned> Indices,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DVectorUtils.h419 InterleaveGroup(uint32_t Factor, bool Reverse, Align Alignment) in InterleaveGroup() argument
420 : Factor(Factor), Reverse(Reverse), Alignment(Alignment), in InterleaveGroup()
425 Factor = std::abs(Stride); in InterleaveGroup()
426 assert(Factor > 1 && "Invalid interleave factor"); in InterleaveGroup()
433 uint32_t getFactor() const { return Factor; } in getFactor()
455 if (Index >= static_cast<int32_t>(Factor)) in insertMember()
467 if (*MaybeLargestIndex >= static_cast<int64_t>(Factor)) in insertMember()
531 uint32_t Factor; // Interleave Factor.
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/
DReassociate.h59 struct Factor { struct
63 Factor(Value *Base, unsigned Power) : Base(Base), Power(Power) {} in Factor() function
118 SmallVectorImpl<reassociate::Factor> &Factors);
121 Value *RemoveFactorFromExpression(Value *V, Value *Factor);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DReassociate.cpp1042 Value *ReassociatePass::RemoveFactorFromExpression(Value *V, Value *Factor) { in RemoveFactorFromExpression() argument
1060 if (Factors[i].Op == Factor) { in RemoveFactorFromExpression()
1067 if (ConstantInt *FC1 = dyn_cast<ConstantInt>(Factor)) { in RemoveFactorFromExpression()
1074 } else if (ConstantFP *FC1 = dyn_cast<ConstantFP>(Factor)) { in RemoveFactorFromExpression()
1546 Value *Factor = Factors[i]; in OptimizeAdd() local
1547 if (!Duplicates.insert(Factor).second) in OptimizeAdd()
1550 unsigned Occ = ++FactorOccurrences[Factor]; in OptimizeAdd()
1553 MaxOccVal = Factor; in OptimizeAdd()
1559 if (ConstantInt *CI = dyn_cast<ConstantInt>(Factor)) { in OptimizeAdd()
1561 Factor = ConstantInt::get(CI->getContext(), -CI->getValue()); in OptimizeAdd()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/Coverage/
DCoverageMapping.cpp57 void CounterExpressionBuilder::extractTerms(Counter C, int Factor, in extractTerms() argument
63 Terms.emplace_back(C.getCounterID(), Factor); in extractTerms()
67 extractTerms(E.LHS, Factor, Terms); in extractTerms()
69 E.RHS, E.Kind == CounterExpression::Subtract ? -Factor : Factor, Terms); in extractTerms()
93 Prev->Factor += I->Factor; in simplify()
105 if (T.Factor <= 0) in simplify()
107 for (int I = 0; I < T.Factor; ++I) in simplify()
117 if (T.Factor >= 0) in simplify()
119 for (int I = 0; I < -T.Factor; ++I) in simplify()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineTraceMetrics.h416 unsigned Factor = SchedModel.getLatencyFactor(); in getCycles() local
417 return (Scaled + Factor - 1) / Factor; in getCycles()
DBasicTTIImpl.h916 unsigned Factor,
925 assert(Factor > 1 && NumElts % Factor == 0 && "Invalid interleave factor");
927 unsigned NumSubElts = NumElts / Factor;
976 UsedInsts.set((Index + Elt * Factor) / NumEltsPerLegalInst);
994 assert(Indices.size() <= Factor &&
998 assert(Index < Factor && "Invalid index for interleaved memory op");
1003 Instruction::ExtractElement, VT, Index + i * Factor);
1026 Cost += ExtSubCost * Factor;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp1062 unsigned Factor, in getInterleavedMemoryOpCost() argument
1069 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices, in getInterleavedMemoryOpCost()
1079 assert(Factor > 1 && NumElts % Factor == 0 && "Invalid interleave factor"); in getInterleavedMemoryOpCost()
1080 unsigned VF = NumElts / Factor; in getInterleavedMemoryOpCost()
1090 std::vector<BitVector> ValueVecs(Factor, BitVector(NumVectorMemOps, false)); in getInterleavedMemoryOpCost()
1093 unsigned Vec = (Index + Elt * Factor) / NumEltsPerVecReg; in getInterleavedMemoryOpCost()
1112 unsigned NumSrcVecs = std::min(NumEltsPerVecReg, Factor); in getInterleavedMemoryOpCost()
/third_party/skia/third_party/externals/swiftshader/src/Device/
DPixelProcessor.hpp145 struct Factor struct in sw::PixelProcessor
168 Factor factor;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp812 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, in getInterleavedMemoryOpCost() argument
815 assert(Factor >= 2 && "Invalid interleave factor"); in getInterleavedMemoryOpCost()
821 if (Factor <= TLI->getMaxSupportedInterleaveFactor() && !EltIs64Bits && in getInterleavedMemoryOpCost()
824 auto *SubVecTy = VectorType::get(VecTy->getScalarType(), NumElts / Factor); in getInterleavedMemoryOpCost()
830 if (NumElts % Factor == 0 && in getInterleavedMemoryOpCost()
831 TLI->isLegalInterleavedAccessType(Factor, SubVecTy, DL)) in getInterleavedMemoryOpCost()
832 return Factor * BaseCost * TLI->getNumInterleavedAccesses(SubVecTy, DL); in getInterleavedMemoryOpCost()
839 if (ST->hasMVEIntegerOps() && Factor == 2 && NumElts / Factor > 2 && in getInterleavedMemoryOpCost()
844 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices, in getInterleavedMemoryOpCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonTargetTransformInfo.cpp218 Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, in getInterleavedMemoryOpCost() argument
221 if (Indices.size() != Factor || UseMaskForCond || UseMaskForGaps) in getInterleavedMemoryOpCost()
222 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices, in getInterleavedMemoryOpCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp681 unsigned Factor, in getInterleavedMemoryOpCost() argument
687 assert(Factor >= 2 && "Invalid interleave factor"); in getInterleavedMemoryOpCost()
691 Factor <= TLI->getMaxSupportedInterleaveFactor()) { in getInterleavedMemoryOpCost()
693 auto *SubVecTy = VectorType::get(VecTy->getScalarType(), NumElts / Factor); in getInterleavedMemoryOpCost()
698 if (NumElts % Factor == 0 && in getInterleavedMemoryOpCost()
700 return Factor * TLI->getNumInterleavedAccesses(SubVecTy, DL); in getInterleavedMemoryOpCost()
703 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices, in getInterleavedMemoryOpCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h173 int Factor; member
175 Term(unsigned CounterID, int Factor) in Term()
176 : CounterID(CounterID), Factor(Factor) {} in Term()
/third_party/python/Modules/_ctypes/libffi_osx/powerpc/
Dppc-darwin_closure.S247 .byte 0x1 ; uleb128 0x1; CIE Code Alignment Factor
248 .byte 0x7c ; sleb128 -4; CIE Data Alignment Factor

12345678