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

12

/external/llvm/lib/CodeGen/
H A DInterleavedAccessPass.cpp22 // E.g. An interleaved load (Factor = 2):
30 // E.g. An interleaved store (Factor = 3):
102 /// \p Factor like:
103 /// <Index, Index+Factor, ..., Index+(NumElts-1)*Factor>
104 static bool isDeInterleaveMaskOfFactor(ArrayRef<int> Mask, unsigned Factor, argument
106 // Check all potential start indices from 0 to (Factor - 1).
107 for (Index = 0; Index < Factor; Index++) {
110 // Check that elements are in ascending order by Factor. Ignore undef
113 if (Mask[i] >= 0 && static_cast<unsigned>(Mask[i]) != Index + i * Factor)
128 isDeInterleaveMask(ArrayRef<int> Mask, unsigned &Factor, unsigned &Index) argument
147 isReInterleaveMask(ArrayRef<int> Mask, unsigned &Factor) argument
197 unsigned Factor, Index; local
245 unsigned Factor; local
[all...]
H A DMachineTraceMetrics.cpp811 unsigned Factor = MTM.SchedModel.getResourceFactor(K);
814 << PRDepths[K]/Factor << " ops x" << Factor << ")\n";
1029 unsigned Factor = MTM.SchedModel.getResourceFactor(K);
1032 << PRHeights[K]/Factor << " ops x" << Factor << ")\n";
H A DMachineScheduler.cpp1706 unsigned Factor = SchedModel->getResourceFactor(PIdx); local
1707 RemainingCounts[PIdx] += (Factor * PI->Cycles);
1942 unsigned Factor = SchedModel->getResourceFactor(PIdx); local
1943 unsigned Count = Factor * Cycles;
1945 << " +" << Cycles << "x" << Factor << "u\n"); local
/external/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp81 struct Factor { struct in namespace:__anon12970
85 Factor(Value *Base, unsigned Power) : Base(Base), Power(Power) {} function in struct:__anon12970::Factor
89 bool operator()(const Factor &LHS, const Factor &RHS) {
96 bool operator()(const Factor &LHS, const Factor &RHS) {
180 SmallVectorImpl<Factor> &Factors);
182 SmallVectorImpl<Factor> &Factors);
184 Value *RemoveFactorFromExpression(Value *V, Value *Factor);
1094 /// and if this sequence contains a multiply by Factor,
1096 RemoveFactorFromExpression(Value *V, Value *Factor) argument
[all...]
H A DLoopStrengthReduce.cpp2401 if (const SCEVConstant *Factor =
2404 if (Factor->getAPInt().getMinSignedBits() <= 64)
2405 Factors.insert(Factor->getAPInt().getSExtValue());
2406 } else if (const SCEVConstant *Factor =
2410 if (Factor->getAPInt().getMinSignedBits() <= 64)
2411 Factors.insert(Factor->getAPInt().getSExtValue());
3476 for (int64_t Factor : Factors) {
3478 if (Base.BaseOffset == INT64_MIN && Factor == -1)
3480 int64_t NewBaseOffset = (uint64_t)Base.BaseOffset * Factor;
3481 if (NewBaseOffset / Factor !
4888 OS << '*' << Factor; local
[all...]
/external/llvm/include/llvm/CodeGen/
H A DMachineTraceMetrics.h380 unsigned Factor = SchedModel.getLatencyFactor(); local
381 return (Scaled + Factor - 1) / Factor;
H A DBasicTTIImpl.h513 unsigned Factor,
521 assert(Factor > 1 && NumElts % Factor == 0 && "Invalid interleave factor");
523 unsigned NumSubElts = NumElts / Factor;
541 assert(Indices.size() <= Factor &&
545 assert(Index < Factor && "Invalid index for interleaved memory op");
550 Instruction::ExtractElement, VT, Index + i * Factor);
573 Cost += ExtSubCost * Factor;
512 getInterleavedMemoryOpCost(unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, unsigned Alignment, unsigned AddressSpace) argument
/external/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp441 unsigned Factor,
445 assert(Factor >= 2 && "Invalid interleave factor");
448 if (Factor <= TLI->getMaxSupportedInterleaveFactor()) {
450 Type *SubVecTy = VectorType::get(VecTy->getScalarType(), NumElts / Factor);
454 if (NumElts % Factor == 0 && (SubVecSize == 64 || SubVecSize == 128))
455 return Factor;
458 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices,
440 getInterleavedMemoryOpCost(unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, unsigned Alignment, unsigned AddressSpace) argument
H A DAArch64TargetTransformInfo.h127 int getInterleavedMemoryOpCost(unsigned Opcode, Type *VecTy, unsigned Factor,
H A DAArch64ISelLowering.h303 unsigned Factor) const override;
305 unsigned Factor) const override;
/external/libvpx/libvpx/vp8/encoder/
H A Dratectrl.c1145 double Factor = 0.99; local
1152 (int)(Factor * projected_size_based_on_q);
1153 Factor += factor_adjustment;
1155 if (Factor >= 0.999)
1156 Factor = 0.999;
1306 double Factor = 0.99; local
1320 double Factor = (double)target_bits_per_mb/(double)bits_per_mb_at_this_q;
1323 Factor = Factor/1.2683;
1325 Oq = pow( Factor, (1.
[all...]
/external/eigen/Eigen/src/Core/
H A DVectorwiseOp.h424 template<int Factor> const Replicate<ExpressionType,(IsVertical?Factor:1),(IsHorizontal?Factor:1)>
425 replicate(Index factor = Factor) const
427 return Replicate<ExpressionType,Direction==Vertical?Factor:1,Direction==Horizontal?Factor:1>
H A DReplicate.h39 Factor = (RowFactor==Dynamic || ColFactor==Dynamic) ? Dynamic : RowFactor*ColFactor enumerator in enum:Eigen::internal::traits::__anon5158
41 typedef typename nested<MatrixType,Factor>::type MatrixTypeNested;
/external/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.h119 int getInterleavedMemoryOpCost(unsigned Opcode, Type *VecTy, unsigned Factor,
H A DARMTargetTransformInfo.cpp473 unsigned Factor,
477 assert(Factor >= 2 && "Invalid interleave factor");
483 if (Factor <= TLI->getMaxSupportedInterleaveFactor() && !EltIs64Bits) {
485 Type *SubVecTy = VectorType::get(VecTy->getScalarType(), NumElts / Factor);
489 if (NumElts % Factor == 0 && (SubVecSize == 64 || SubVecSize == 128))
490 return Factor;
493 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices,
472 getInterleavedMemoryOpCost(unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, unsigned Alignment, unsigned AddressSpace) argument
H A DARMISelLowering.h452 unsigned Factor) const override;
454 unsigned Factor) const override;
/external/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.h87 unsigned Factor,
H A DPPCTargetTransformInfo.cpp391 unsigned Factor,
409 Cost += Factor*(LT.first-1);
390 getInterleavedMemoryOpCost(unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, unsigned Alignment, unsigned AddressSpace) argument
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp462 // Input Instr I Factor AddSub0 AddSub1
467 Value *Factor = nullptr; local
472 Factor = Opnd0_0;
474 Factor = Opnd0_1;
476 if (Factor) {
477 AddSub0 = (Factor == Opnd0_0) ? Opnd0_1 : Opnd0_0;
478 AddSub1 = (Factor == Opnd1_0) ? Opnd1_1 : Opnd1_0;
481 Factor = Opnd0_1;
486 if (!Factor)
506 Value *RI = createFMul(Factor, NewAddSu
[all...]
/external/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp284 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices,
286 int Cost = TTIImpl->getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices,
283 getInterleavedMemoryOpCost( unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, unsigned Alignment, unsigned AddressSpace) const argument
H A DScalarEvolutionExpander.cpp221 /// FactorOutConstant - Test if S is divisible by Factor, using signed
222 /// division. If so, update S with Factor divided out and return true.
229 const SCEV *Factor, ScalarEvolution &SE,
232 if (Factor->isOne())
236 if (S == Factor) {
247 if (const SCEVConstant *FC = dyn_cast<SCEVConstant>(Factor)) {
268 const SCEVConstant *FC = cast<SCEVConstant>(Factor);
282 if (!FactorOutConstant(Step, StepRem, Factor, SE, DL))
287 if (!FactorOutConstant(Start, Remainder, Factor, SE, DL))
228 FactorOutConstant(const SCEV *&S, const SCEV *&Remainder, const SCEV *Factor, ScalarEvolution &SE, const DataLayout &DL) argument
/external/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h464 /// \p Factor is the interleave factor
469 int getInterleavedMemoryOpCost(unsigned Opcode, Type *VecTy, unsigned Factor,
618 unsigned Factor,
794 int getInterleavedMemoryOpCost(unsigned Opcode, Type *VecTy, unsigned Factor,
797 return Impl.getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices,
H A DTargetTransformInfoImpl.h308 unsigned Factor,
307 getInterleavedMemoryOpCost(unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, unsigned Alignment, unsigned AddressSpace) argument
/external/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp685 Factor = std::abs(Stride);
686 assert(Factor > 1 && "Invalid interleave factor");
693 unsigned getFactor() const { return Factor; }
713 if (Index >= static_cast<int>(Factor))
719 if (LargestKey - Key >= static_cast<int>(Factor))
756 unsigned Factor; // Interleave Factor. member in class:__anon13026::InterleaveGroup
4587 unsigned Factor = std::abs(Stride); local
4590 if (Factor < 2 || Factor > MaxInterleaveGroupFacto
4718 VectorizationFactor Factor = { 1U, 0U }; local
[all...]
/external/llvm/lib/IR/
H A DConstantFold.cpp2189 ConstantInt *Factor = ConstantInt::get(CI->getType(), NumElements); local
2190 NewIdxs[i] = ConstantExpr::getSRem(CI, Factor);
2193 Constant *Div = ConstantExpr::getSDiv(CI, Factor);

Completed in 4841 milliseconds

12