Home
last modified time | relevance | path

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

123

/external/llvm/lib/CodeGen/
DInterleavedAccessPass.cpp104 static bool isDeInterleaveMaskOfFactor(ArrayRef<int> Mask, unsigned Factor, in isDeInterleaveMaskOfFactor() argument
107 for (Index = 0; Index < Factor; Index++) { in isDeInterleaveMaskOfFactor()
113 if (Mask[i] >= 0 && static_cast<unsigned>(Mask[i]) != Index + i * Factor) in isDeInterleaveMaskOfFactor()
128 static bool isDeInterleaveMask(ArrayRef<int> Mask, unsigned &Factor, in isDeInterleaveMask() argument
134 for (Factor = 2; Factor <= MaxFactor; Factor++) in isDeInterleaveMask()
135 if (isDeInterleaveMaskOfFactor(Mask, Factor, Index)) in isDeInterleaveMask()
147 static bool isReInterleaveMask(ArrayRef<int> Mask, unsigned &Factor) { in isReInterleaveMask() argument
153 for (Factor = 2; Factor <= MaxFactor; Factor++) { in isReInterleaveMask()
154 if (NumElts % Factor) in isReInterleaveMask()
157 unsigned NumSubElts = NumElts / Factor; in isReInterleaveMask()
[all …]
DMachineTraceMetrics.cpp811 unsigned Factor = MTM.SchedModel.getResourceFactor(K); in computeInstrDepths()
814 << PRDepths[K]/Factor << " ops x" << Factor << ")\n"; in computeInstrDepths()
1029 unsigned Factor = MTM.SchedModel.getResourceFactor(K); in computeInstrHeights()
1032 << PRHeights[K]/Factor << " ops x" << Factor << ")\n"; in computeInstrHeights()
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp81 struct Factor { struct
85 Factor(Value *Base, unsigned Power) : Base(Base), Power(Power) {} in Factor() function
89 bool operator()(const Factor &LHS, const Factor &RHS) { in operator ()()
96 bool operator()(const Factor &LHS, const Factor &RHS) { in operator ()()
180 SmallVectorImpl<Factor> &Factors);
182 SmallVectorImpl<Factor> &Factors);
184 Value *RemoveFactorFromExpression(Value *V, Value *Factor);
1096 Value *Reassociate::RemoveFactorFromExpression(Value *V, Value *Factor) { in RemoveFactorFromExpression() argument
1114 if (Factors[i].Op == Factor) { in RemoveFactorFromExpression()
1121 if (ConstantInt *FC1 = dyn_cast<ConstantInt>(Factor)) { in RemoveFactorFromExpression()
[all …]
DLoopStrengthReduce.cpp2401 if (const SCEVConstant *Factor = in CollectInterestingTypesAndFactors() local
2404 if (Factor->getAPInt().getMinSignedBits() <= 64) in CollectInterestingTypesAndFactors()
2405 Factors.insert(Factor->getAPInt().getSExtValue()); in CollectInterestingTypesAndFactors()
2406 } else if (const SCEVConstant *Factor = in CollectInterestingTypesAndFactors() local
2410 if (Factor->getAPInt().getMinSignedBits() <= 64) in CollectInterestingTypesAndFactors()
2411 Factors.insert(Factor->getAPInt().getSExtValue()); in CollectInterestingTypesAndFactors()
3476 for (int64_t Factor : Factors) { in GenerateICmpZeroScales() local
3478 if (Base.BaseOffset == INT64_MIN && Factor == -1) in GenerateICmpZeroScales()
3480 int64_t NewBaseOffset = (uint64_t)Base.BaseOffset * Factor; in GenerateICmpZeroScales()
3481 if (NewBaseOffset / Factor != Base.BaseOffset) in GenerateICmpZeroScales()
[all …]
/external/llvm/test/tools/llvm-objdump/
Deh_frame-arm64.test9 # CHECK: Code Alignment Factor: 1
10 # CHECK: Data Alignment Factor: -8
/external/llvm/include/llvm/CodeGen/
DMachineTraceMetrics.h380 unsigned Factor = SchedModel.getLatencyFactor(); in getCycles() local
381 return (Scaled + Factor - 1) / Factor; in getCycles()
DBasicTTIImpl.h513 unsigned Factor, in getInterleavedMemoryOpCost() argument
521 assert(Factor > 1 && NumElts % Factor == 0 && "Invalid interleave factor"); in getInterleavedMemoryOpCost()
523 unsigned NumSubElts = NumElts / Factor; in getInterleavedMemoryOpCost()
541 assert(Indices.size() <= Factor && in getInterleavedMemoryOpCost()
545 assert(Index < Factor && "Invalid index for interleaved memory op"); in getInterleavedMemoryOpCost()
550 Instruction::ExtractElement, VT, Index + i * Factor); in getInterleavedMemoryOpCost()
573 Cost += ExtSubCost * Factor; in getInterleavedMemoryOpCost()
/external/libvpx/libvpx/vp8/encoder/
Dratectrl.c1145 double Factor = 0.99; in vp8_update_rate_correction_factors() local
1152 (int)(Factor * projected_size_based_on_q); in vp8_update_rate_correction_factors()
1153 Factor += factor_adjustment; in vp8_update_rate_correction_factors()
1155 if (Factor >= 0.999) in vp8_update_rate_correction_factors()
1156 Factor = 0.999; in vp8_update_rate_correction_factors()
1306 double Factor = 0.99; in vp8_regulate_q() local
1348 bits_per_mb_at_this_q = (int)(Factor * bits_per_mb_at_this_q); in vp8_regulate_q()
1349 Factor += factor_adjustment; in vp8_regulate_q()
1351 if (Factor >= 0.999) in vp8_regulate_q()
1352 Factor = 0.999; in vp8_regulate_q()
/external/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp441 unsigned Factor, in getInterleavedMemoryOpCost() argument
445 assert(Factor >= 2 && "Invalid interleave factor"); in getInterleavedMemoryOpCost()
448 if (Factor <= TLI->getMaxSupportedInterleaveFactor()) { in getInterleavedMemoryOpCost()
450 Type *SubVecTy = VectorType::get(VecTy->getScalarType(), NumElts / Factor); in getInterleavedMemoryOpCost()
454 if (NumElts % Factor == 0 && (SubVecSize == 64 || SubVecSize == 128)) in getInterleavedMemoryOpCost()
455 return Factor; in getInterleavedMemoryOpCost()
458 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices, in getInterleavedMemoryOpCost()
DAArch64TargetTransformInfo.h127 int getInterleavedMemoryOpCost(unsigned Opcode, Type *VecTy, unsigned Factor,
DAArch64ISelLowering.h303 unsigned Factor) const override;
305 unsigned Factor) const override;
/external/eigen/Eigen/src/Core/
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>
DReplicate.h39 Factor = (RowFactor==Dynamic || ColFactor==Dynamic) ? Dynamic : RowFactor*ColFactor
41 typedef typename nested<MatrixType,Factor>::type MatrixTypeNested;
/external/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp473 unsigned Factor, in getInterleavedMemoryOpCost() argument
477 assert(Factor >= 2 && "Invalid interleave factor"); in getInterleavedMemoryOpCost()
483 if (Factor <= TLI->getMaxSupportedInterleaveFactor() && !EltIs64Bits) { in getInterleavedMemoryOpCost()
485 Type *SubVecTy = VectorType::get(VecTy->getScalarType(), NumElts / Factor); in getInterleavedMemoryOpCost()
489 if (NumElts % Factor == 0 && (SubVecSize == 64 || SubVecSize == 128)) in getInterleavedMemoryOpCost()
490 return Factor; in getInterleavedMemoryOpCost()
493 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices, in getInterleavedMemoryOpCost()
DARMTargetTransformInfo.h119 int getInterleavedMemoryOpCost(unsigned Opcode, Type *VecTy, unsigned Factor,
DARMISelLowering.h452 unsigned Factor) const override;
454 unsigned Factor) const override;
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp467 Value *Factor = nullptr; in performFactorization() local
472 Factor = Opnd0_0; in performFactorization()
474 Factor = Opnd0_1; in performFactorization()
476 if (Factor) { in performFactorization()
477 AddSub0 = (Factor == Opnd0_0) ? Opnd0_1 : Opnd0_0; in performFactorization()
478 AddSub1 = (Factor == Opnd1_0) ? Opnd1_1 : Opnd1_0; in performFactorization()
481 Factor = Opnd0_1; in performFactorization()
486 if (!Factor) in performFactorization()
506 Value *RI = createFMul(Factor, NewAddSub); in performFactorization()
512 Value *RI = createFDiv(NewAddSub, Factor); in performFactorization()
/external/llvm/include/llvm/Analysis/
DTargetTransformInfo.h469 int getInterleavedMemoryOpCost(unsigned Opcode, Type *VecTy, unsigned Factor,
618 unsigned Factor,
794 int getInterleavedMemoryOpCost(unsigned Opcode, Type *VecTy, unsigned Factor, in getInterleavedMemoryOpCost() argument
797 return Impl.getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices, in getInterleavedMemoryOpCost()
DTargetTransformInfoImpl.h308 unsigned Factor, in getInterleavedMemoryOpCost() argument
/external/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp391 unsigned Factor, in getInterleavedMemoryOpCost() argument
409 Cost += Factor*(LT.first-1); in getInterleavedMemoryOpCost()
DPPCTargetTransformInfo.h87 unsigned Factor,
/external/llvm/lib/Analysis/
DTargetTransformInfo.cpp284 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, in getInterleavedMemoryOpCost() argument
286 int Cost = TTIImpl->getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices, in getInterleavedMemoryOpCost()
DScalarEvolutionExpander.cpp229 const SCEV *Factor, ScalarEvolution &SE, in FactorOutConstant() argument
232 if (Factor->isOne()) in FactorOutConstant()
236 if (S == Factor) { in FactorOutConstant()
247 if (const SCEVConstant *FC = dyn_cast<SCEVConstant>(Factor)) { in FactorOutConstant()
268 const SCEVConstant *FC = cast<SCEVConstant>(Factor); in FactorOutConstant()
282 if (!FactorOutConstant(Step, StepRem, Factor, SE, DL)) in FactorOutConstant()
287 if (!FactorOutConstant(Start, Remainder, Factor, SE, DL)) in FactorOutConstant()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp685 Factor = std::abs(Stride); in InterleaveGroup()
686 assert(Factor > 1 && "Invalid interleave factor"); in InterleaveGroup()
693 unsigned getFactor() const { return Factor; } in getFactor()
713 if (Index >= static_cast<int>(Factor)) in insertMember()
719 if (LargestKey - Key >= static_cast<int>(Factor)) in insertMember()
756 unsigned Factor; // Interleave Factor. member in __anon63bf7e8f0111::InterleaveGroup
4587 unsigned Factor = std::abs(Stride); in collectConstStridedAccesses() local
4590 if (Factor < 2 || Factor > MaxInterleaveGroupFactor) in collectConstStridedAccesses()
4718 VectorizationFactor Factor = { 1U, 0U }; in selectVectorizationFactor() local
4726 return Factor; in selectVectorizationFactor()
[all …]
/external/cros/system_api/dbus/power_manager/
Dpolicy.proto118 // Factor by which |screen_dim_ms| will be scaled while the device is in
126 // Factor by which |screen_dim_ms| will be scaled if user activity is

123