Home
last modified time | relevance | path

Searched refs:Factor (Results 1 - 25 of 67) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
H A DInterleavedAccessPass.cpp23 // E.g. An interleaved load (Factor = 2):
34 // E.g. An interleaved store (Factor = 3):
140 /// \p Factor like:
141 /// <Index, Index+Factor, ..., Index+(NumElts-1)*Factor>
142 static bool isDeInterleaveMaskOfFactor(ArrayRef<int> Mask, unsigned Factor, in isDeInterleaveMaskOfFactor() argument
144 // Check all potential start indices from 0 to (Factor - 1). in isDeInterleaveMaskOfFactor()
145 for (Index = 0; Index < Factor; Index++) { in isDeInterleaveMaskOfFactor()
148 // Check that elements are in ascending order by Factor. Ignore undef in isDeInterleaveMaskOfFactor()
151 if (Mask[i] >= 0 && static_cast<unsigned>(Mask[i]) != Index + i * Factor) in isDeInterleaveMaskOfFactor()
166 isDeInterleaveMask(ArrayRef<int> Mask, unsigned &Factor, unsigned &Index, unsigned MaxFactor, unsigned NumLoadElements) isDeInterleaveMask() argument
195 isReInterleaveMask(ArrayRef<int> Mask, unsigned &Factor, unsigned MaxFactor, unsigned OpNumElts) isReInterleaveMask() argument
309 unsigned Factor, Index; lowerInterleavedLoad() local
428 unsigned Factor; lowerInterleavedStore() local
[all...]
H A DInterleavedLoadCombinePass.cpp105 std::list<VectorInfo> &InterleavedLoad, unsigned Factor,
690 /// \param Factor of the interleave
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] in computeFromBCI()
1053 findPattern( std::list<VectorInfo> &Candidates, std::list<VectorInfo> &InterleavedLoad, unsigned Factor, const DataLayout &DL) findPattern() argument
1137 unsigned Factor = InterleavedLoad.size(); combine() local
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/
H A DUnitsConverter.java56 Factor sourceToBase = conversionRates.getFactorToBase(source); in UnitsConverter()
57 Factor targetToBase = conversionRates.getFactorToBase(target); in UnitsConverter()
164 * Responsible for all the Factor operation
168 static class Factor { class in UnitsConverter
172 // The exponents below correspond to ICU4C's Factor::exponents[].
198 * Creates Empty Factor
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 de in processFactor()
[all...]
H A DConversionRates.java41 private UnitsConverter.Factor getFactorToBase(SingleUnitImpl singleUnit) { in getFactorToBase()
44 UnitsConverter.Factor result = UnitsConverter.Factor.processFactor(mapToConversionRate.get(singleUnit.getSimpleUnitID()).getConversionRate()); in getFactorToBase()
52 public UnitsConverter.Factor getFactorToBase(MeasureUnitImpl measureUnit) { in getFactorToBase()
53 UnitsConverter.Factor result = new UnitsConverter.Factor(); in getFactorToBase()
63 protected 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/
H A 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) {
85 void U_I18N_API Factor::substituteConstants() {
146 Adds single factor to a `Factor` object. Single factor means "23^2", "23.3333", "ft2m^3" ...etc.
149 void addFactorElement(Factor &factor, StringPiece elementStr, Signum signum, UErrorCode &status) {
178 * Extracts `Factor` fro
[all...]
H A Dunits_converter.h45 // In ICU4J, these constants live in UnitConverter.Factor.getConversionRate().
66 struct U_I18N_API Factor { struct
75 void multiplyBy(const Factor &rhs);
76 void divideBy(const Factor &rhs);
81 // Apply SI or binary prefix to the Factor.
87 // In ICU4J, see UnitConverter.Factor.getConversionRate().
98 * Adds a single factor element to the `Factor`. e.g "ft3m", "2.333" or "cup2m3". But not "cup2m3^3".
101 Factor &factor, UErrorCode &status);
/third_party/node/deps/icu-small/source/i18n/
H A 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) {
85 void U_I18N_API Factor::substituteConstants() {
146 Adds single factor to a `Factor` object. Single factor means "23^2", "23.3333", "ft2m^3" ...etc.
149 void addFactorElement(Factor &factor, StringPiece elementStr, Signum signum, UErrorCode &status) {
178 * Extracts `Factor` fro
[all...]
H A Dunits_converter.h49 // In ICU4J, these constants live in UnitConverter.Factor.getConversionRate().
74 struct U_I18N_API Factor { struct
83 void multiplyBy(const Factor &rhs);
84 void divideBy(const Factor &rhs);
89 // Apply SI or binary prefix to the Factor.
95 // In ICU4J, see UnitConverter.Factor.getConversionRate().
106 * Adds a single factor element to the `Factor`. e.g "ft3m", "2.333" or "cup2m3". But not "cup2m3^3".
109 Factor &factor, UErrorCode &status);
/third_party/skia/third_party/externals/icu/source/i18n/
H A 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) {
84 void U_I18N_API Factor::substituteConstants() {
145 Adds single factor to a `Factor` object. Single factor means "23^2", "23.3333", "ft2m^3" ...etc.
148 void addFactorElement(Factor &factor, StringPiece elementStr, Signum signum, UErrorCode &status) {
177 * Extracts `Factor` fro
[all...]
H A Dunits_converter.h42 // In ICU4J, these constants live in UnitConverter.Factor.getConversionRate().
60 struct U_I18N_API Factor { struct
69 void multiplyBy(const Factor &rhs);
70 void divideBy(const Factor &rhs);
75 // Apply SI or binary prefix to the Factor.
81 // In ICU4J, see UnitConverter.Factor.getConversionRate().
92 * Adds a single factor element to the `Factor`. e.g "ft3m", "2.333" or "cup2m3". But not "cup2m3^3".
95 Factor &factor, UErrorCode &status);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
H A DX86InterleavedAccess.cpp44 /// E.g. A group of interleaving access loads (Factor = 2; accessing every
61 const unsigned Factor; member in __anon24947::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()
[all...]
H A 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/Transforms/Scalar/
H A 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/include/llvm/Analysis/
H A 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; }
455 if (Index >= static_cast<int32_t>(Factor))
467 if (*MaybeLargestIndex >= static_cast<int64_t>(Factor))
531 uint32_t Factor; // Interleave Factor member in llvm::InterleaveGroup
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/Coverage/
H A 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 > in simplify()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp1040 /// and if this sequence contains a multiply by Factor,
1041 /// remove Factor from the tree and return the new tree.
1042 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];
1547 if (!Duplicates.insert(Factor).second)
1550 unsigned Occ = ++FactorOccurrences[Factor];
1553 MaxOccVal = Factor;
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
H A DMachineTraceMetrics.h416 unsigned Factor = SchedModel.getLatencyFactor(); in getCycles() local
417 return (Scaled + Factor - 1) / Factor; in getCycles()
/third_party/skia/third_party/externals/swiftshader/src/Device/
H A 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/Hexagon/
H A DHexagonTargetTransformInfo.cpp218 Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, in getInterleavedMemoryOpCost()
221 if (Indices.size() != Factor || UseMaskForCond || UseMaskForGaps) in getInterleavedMemoryOpCost()
222 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices, in getInterleavedMemoryOpCost()
217 getInterleavedMemoryOpCost(unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, unsigned Alignment, unsigned AddressSpace, bool UseMaskForCond, bool UseMaskForGaps) getInterleavedMemoryOpCost() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp1062 unsigned Factor, in getInterleavedMemoryOpCost()
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()
1061 getInterleavedMemoryOpCost(unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, unsigned Alignment, unsigned AddressSpace, bool UseMaskForCond, bool UseMaskForGaps) getInterleavedMemoryOpCost() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h173 int Factor; member
175 Term(unsigned CounterID, int Factor) in Term()
176 : CounterID(CounterID), Factor(Factor) {} in Term()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp681 unsigned Factor, in getInterleavedMemoryOpCost()
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()
680 getInterleavedMemoryOpCost(unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, unsigned Alignment, unsigned AddressSpace, bool UseMaskForCond, bool UseMaskForGaps) getInterleavedMemoryOpCost() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp812 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, in getInterleavedMemoryOpCost()
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, Indice in getInterleavedMemoryOpCost()
811 getInterleavedMemoryOpCost( unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, unsigned Alignment, unsigned AddressSpace, bool UseMaskForCond, bool UseMaskForGaps) getInterleavedMemoryOpCost() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
H A DPixelProcessor.hpp176 struct Factor struct in sw::PixelProcessor
326 Factor factor;
/third_party/python/Modules/_ctypes/libffi_osx/powerpc/
H A Dppc-darwin_closure.S247 .byte 0x1 ; uleb128 0x1; CIE Code Alignment Factor
248 .byte 0x7c ; sleb128 -4; CIE Data Alignment Factor

Completed in 21 milliseconds

123