Home
last modified time | relevance | path

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

1234567891011

/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DInterleavedAccessPass.cpp155 for (Index = 0; Index < Factor; Index++) { in isDeInterleaveMaskOfFactor()
183 for (Factor = 2; Factor <= MaxFactor; Factor++) { in isDeInterleaveMask()
212 for (Factor = 2; Factor <= MaxFactor; Factor++) { in isReInterleaveMask()
213 if (NumElts % Factor) in isReInterleaveMask()
216 unsigned LaneLen = NumElts / Factor; in isReInterleaveMask()
224 for (; I < Factor; I++) { in isReInterleaveMask()
231 unsigned Lane = J * Factor + I; in isReInterleaveMask()
232 unsigned NextLane = Lane + Factor; in isReInterleaveMask()
284 if (I == Factor) in isReInterleaveMask()
330 unsigned Factor, Index; in lowerInterleavedLoad() local
[all …]
H A DInterleavedLoadCombinePass.cpp750 if (NewSize * Factor != OldSize) in computeFromBCI()
758 for (unsigned j = 0; j < Factor; j++) { in computeFromBCI()
1055 unsigned Factor, const DataLayout &DL) { in findPattern() argument
1073 for (i = 1; i < Factor; i++) { in findPattern()
1079 for (i = 1; i < Factor; i++) { in findPattern()
1083 if (i == Factor) { in findPattern()
1135 unsigned Factor = InterleavedLoad.size(); in combine() local
1210 for (unsigned i = 0; i < Factor; i++) in combine()
1238 Mask.push_back(i + j * Factor); in combine()
1250 << ore::NV("Factor", Factor); in combine()
[all …]
H A DMachineTraceMetrics.cpp872 unsigned Factor = MTM.SchedModel.getResourceFactor(K); in computeInstrDepths()
875 << PRDepths[K]/Factor << " ops x" << Factor << ")\n"; in computeInstrDepths()
1057 unsigned Factor = MTM.SchedModel.getResourceFactor(K); in computeInstrHeights()
1060 << PRHeights[K]/Factor << " ops x" << Factor << ")\n"; in computeInstrHeights()
/netbsd/external/apache2/llvm/dist/llvm/lib/IR/
H A DPseudoProbe.cpp39 Probe.Factor = in extractProbeFromDiscriminator()
54 Probe.Factor = II->getFactor()->getZExtValue() / in extractProbe()
65 void setProbeDistributionFactor(Instruction &Inst, float Factor) { in setProbeDistributionFactor() argument
66 assert(Factor >= 0 && Factor <= 1 && in setProbeDistributionFactor()
71 if (Factor < 1) in setProbeDistributionFactor()
72 IntFactor *= Factor; in setProbeDistributionFactor()
90 if (Factor < 1) in setProbeDistributionFactor()
91 IntFactor *= Factor; in setProbeDistributionFactor()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86InterleavedAccess.cpp61 const unsigned Factor; member in __anonb91427670111::X86InterleavedAccessGroup
140 if (!Subtarget.hasAVX() || (Factor != 4 && Factor != 3)) in isSupported()
160 if (ShuffleElemSize == 8 && Factor == 3 && in isSupported()
743 decompose(Inst, Factor, ShuffleTy, DecomposedVectors); in lowerIntoOptimizedSequence()
769 decompose(Shuffles[0], Factor, in lowerIntoOptimizedSequence()
785 if (Factor == 4) in lowerIntoOptimizedSequence()
788 if (Factor == 3) in lowerIntoOptimizedSequence()
812 ArrayRef<unsigned> Indices, unsigned Factor) const { in lowerInterleavedLoad()
813 assert(Factor >= 2 && Factor <= getMaxSupportedInterleaveFactor() && in lowerInterleavedLoad()
830 assert(Factor >= 2 && Factor <= getMaxSupportedInterleaveFactor() && in lowerInterleavedStore()
[all …]
H A DX86TargetTransformInfo.h193 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices,
198 unsigned Opcode, FixedVectorType *VecTy, unsigned Factor,
203 unsigned Opcode, FixedVectorType *VecTy, unsigned Factor,
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DPseudoProbe.h50 uint32_t Factor) { in packProbeData()
54 assert(Factor <= 100 && in packProbeData()
56 return (Index << 3) | (Factor << 19) | (Type << 26) | 0x7; in packProbeData()
86 float Factor; member
95 void setProbeDistributionFactor(Instruction &Inst, float Factor);
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DLowLevelTypeImpl.h150 LLT divide(int Factor) const { in divide() argument
151 assert(Factor != 1); in divide()
153 assert(getNumElements() % Factor == 0); in divide()
154 return scalarOrVector(getNumElements() / Factor, getElementType()); in divide()
157 assert(getSizeInBits() % Factor == 0); in divide()
158 return scalar(getSizeInBits() / Factor); in divide()
/netbsd/external/gpl3/gdb/dist/ld/testsuite/ld-elf/
H A Deh4.s36 .uleb128 0x1 # CIE Code Alignment Factor
37 .sleb128 -8 # CIE Data Alignment Factor
67 .uleb128 0x1 # CIE Code Alignment Factor
68 .sleb128 -8 # CIE Data Alignment Factor
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Scalar/
H A DReassociate.h59 struct Factor { struct
63 Factor(Value *Base, unsigned Power) : Base(Base), Power(Power) {} in Factor() argument
118 SmallVectorImpl<reassociate::Factor> &Factors);
121 Value *RemoveFactorFromExpression(Value *V, Value *Factor);
/netbsd/external/gpl3/gdb.old/dist/ld/testsuite/ld-elf/
H A Deh4.s36 .uleb128 0x1 # CIE Code Alignment Factor
37 .sleb128 -8 # CIE Data Alignment Factor
67 .uleb128 0x1 # CIE Code Alignment Factor
68 .sleb128 -8 # CIE Data Alignment Factor
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DVectorUtils.h584 InterleaveGroup(uint32_t Factor, bool Reverse, Align Alignment) in InterleaveGroup() argument
585 : Factor(Factor), Reverse(Reverse), Alignment(Alignment), in InterleaveGroup()
590 Factor = std::abs(Stride); in InterleaveGroup()
591 assert(Factor > 1 && "Invalid interleave factor"); in InterleaveGroup()
598 uint32_t getFactor() const { return Factor; } in getFactor()
625 if (Index >= static_cast<int32_t>(Factor)) in insertMember()
637 if (*MaybeLargestIndex >= static_cast<int64_t>(Factor)) in insertMember()
697 uint32_t Factor; // Interleave Factor.
/netbsd/external/gpl3/gcc/dist/libphobos/libdruntime/config/x86/
H A Dswitchcontext.S154 .byte 0x1 # uleb128 0x1; CIE Code Alignment Factor
155 .byte 0x7c # sleb128 -4; CIE Data Alignment Factor
224 .byte 0x1 # uleb128 0x1; CIE Code Alignment Factor
225 .byte 0x78 # sleb128 -8; CIE Data Alignment Factor
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp1158 if (Factors[i].Op == Factor) { in RemoveFactorFromExpression()
1644 Value *Factor = Factors[i]; in OptimizeAdd() local
1645 if (!Duplicates.insert(Factor).second) in OptimizeAdd()
1651 MaxOccVal = Factor; in OptimizeAdd()
1660 if (!Duplicates.insert(Factor).second) in OptimizeAdd()
1665 MaxOccVal = Factor; in OptimizeAdd()
1678 MaxOccVal = Factor; in OptimizeAdd()
1807 Factors.push_back(Factor(Op, Count)); in collectMultiplyFactors()
1815 llvm::stable_sort(Factors, [](const Factor &LHS, const Factor &RHS) { in collectMultiplyFactors()
1877 [](const Factor &LHS, const Factor &RHS) { in buildMinimalMultiplyDAG()
[all …]
H A DLoopStrengthReduce.cpp2697 if (const SCEVConstant *Factor = in CollectInterestingTypesAndFactors() local
2702 } else if (const SCEVConstant *Factor = in CollectInterestingTypesAndFactors() local
3902 for (int64_t Factor : Factors) { in GenerateICmpZeroScales() local
3907 if (NewBaseOffset / Factor != Base.BaseOffset) in GenerateICmpZeroScales()
3918 Offset = (uint64_t)Offset * Factor; in GenerateICmpZeroScales()
3919 if (Offset / Factor != LU.MinOffset) in GenerateICmpZeroScales()
3955 Factor == -1) in GenerateICmpZeroScales()
3987 for (int64_t Factor : Factors) { in GenerateScales() local
3988 Base.Scale = Factor; in GenerateScales()
5741 for (int64_t Factor : Factors) { in print_factors_and_types() local
[all …]
/netbsd/external/apache2/llvm/dist/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 >= 0) in simplify()
119 for (int I = 0; I < -T.Factor; ++I) in simplify()
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DMachineTraceMetrics.h416 unsigned Factor = SchedModel.getLatencyFactor(); in getCycles() local
417 return (Scaled + Factor - 1) / Factor; in getCycles()
H A DBasicTTIImpl.h1135 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices,
1141 assert(Factor > 1 && NumElts % Factor == 0 && "Invalid interleave factor");
1143 unsigned NumSubElts = NumElts / Factor;
1188 UsedInsts.set((Index + Elt * Factor) / NumEltsPerLegalInst);
1206 assert(Indices.size() <= Factor &&
1210 assert(Index < Factor && "Invalid index for interleaved memory op");
1215 Index + i * Factor);
1238 Cost += ExtSubCost * Factor;
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp1138 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, in getInterleavedMemoryOpCost() argument
1142 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices, in getInterleavedMemoryOpCost()
1149 assert(Factor > 1 && NumElts % Factor == 0 && "Invalid interleave factor"); in getInterleavedMemoryOpCost()
1150 unsigned VF = NumElts / Factor; in getInterleavedMemoryOpCost()
1160 std::vector<BitVector> ValueVecs(Factor, BitVector(NumVectorMemOps, false)); in getInterleavedMemoryOpCost()
1163 unsigned Vec = (Index + Elt * Factor) / NumEltsPerVecReg; in getInterleavedMemoryOpCost()
1182 unsigned NumSrcVecs = std::min(NumEltsPerVecReg, Factor); in getInterleavedMemoryOpCost()
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DSampleProfile.cpp590 uint64_t Samples = R.get() * Probe->Factor; in getProbeWeight()
599 Remark << ore::NV("Factor", Probe->Factor); in getProbeWeight()
608 << format("%0.2f", Probe->Factor) << ")\n"); in getProbeWeight()
1210 setProbeDistributionFactor(*I, Probe->Factor * in tryInlineCandidate()
1233 float Factor = 1.0; in getInlineCandidate() local
1235 Factor = Probe->Factor; in getInlineCandidate()
1243 CallsiteCount, uint64_t(CalleeSamples->getEntrySamples() * Factor)); in getInlineCandidate()
1245 *NewCandidate = {CB, CalleeSamples, CallsiteCount, Factor}; in getInlineCandidate()
1464 if (Probe->Factor < 1) in generateMDProfMetadata()
1465 T = SampleRecord::adjustCallTargets(T.get(), Probe->Factor); in generateMDProfMetadata()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp237 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, in getInterleavedMemoryOpCost() argument
240 if (Indices.size() != Factor || UseMaskForCond || UseMaskForGaps) in getInterleavedMemoryOpCost()
241 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices, in getInterleavedMemoryOpCost()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp1102 unsigned Limit, Factor = 2; in getNumMemOps() local
1112 Factor = 1; in getNumMemOps()
1125 return MemOps.size() * Factor; in getNumMemOps()
1451 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, in getInterleavedMemoryOpCost() argument
1454 assert(Factor >= 2 && "Invalid interleave factor"); in getInterleavedMemoryOpCost()
1460 if (Factor <= TLI->getMaxSupportedInterleaveFactor() && !EltIs64Bits && in getInterleavedMemoryOpCost()
1464 FixedVectorType::get(VecTy->getScalarType(), NumElts / Factor); in getInterleavedMemoryOpCost()
1471 if (NumElts % Factor == 0 && in getInterleavedMemoryOpCost()
1472 TLI->isLegalInterleavedAccessType(Factor, SubVecTy, Alignment, DL)) in getInterleavedMemoryOpCost()
1480 if (ST->hasMVEIntegerOps() && Factor == 2 && NumElts / Factor > 2 && in getInterleavedMemoryOpCost()
[all …]
H A DMVETailPredication.cpp364 ConstantInt *Factor = ConstantInt::get(cast<IntegerType>(Ty), VectorWidth); in InsertVCTPIntrinsic() local
386 Value *Remaining = Builder.CreateSub(Processed, Factor); in InsertVCTPIntrinsic()
/netbsd/external/gpl3/gcc/dist/libphobos/libdruntime/config/powerpc/
H A Dswitchcontext.S406 .byte 0x1 ; uleb128 0x1; CIE Code Alignment Factor
407 .byte DATA_ALIGN ; sleb128 -4/-8; CIE Data Alignment Factor
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h177 int Factor; member
179 Term(unsigned CounterID, int Factor) in Term()
180 : CounterID(CounterID), Factor(Factor) {} in Term()

1234567891011