Searched refs:Cost (Results 26 - 46 of 46) sorted by relevance

12

/external/eigen/Eigen/src/Core/
H A DCwiseUnaryView.h41 CoeffReadCost = traits<_MatrixTypeNested>::CoeffReadCost + functor_traits<ViewOp>::Cost,
H A DCwiseBinaryOp.h84 CoeffReadCost = LhsCoeffReadCost + RhsCoeffReadCost + functor_traits<BinaryOp>::Cost
H A DCwiseNullaryOp.h43 CoeffReadCost = functor_traits<NullaryOp>::Cost
/external/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp848 unsigned Cost; // Cost of the loop with that width member in struct:__anon26368::LoopVectorizationCostModel::VectorizationFactor
1292 CM.selectUnrollFactor(OptForSize, Hints.getUnroll(), VF.Width, VF.Cost);
5236 float Cost = expectedCost(1);
5238 const float ScalarCost = Cost;
5246 Cost = expectedCost(Width) / (float)Width;
5256 if (VectorCost < Cost) {
5257 Cost = VectorCost;
5262 DEBUG(if (ForceVectorization && Width > 1 && Cost >= ScalarCost) dbgs()
5267 Factor.Cost
[all...]
H A DSLPVectorizer.cpp1281 // Cost of wide load - cost of scalar loads.
1368 int Cost = 0; local
1386 Cost += C;
1402 DEBUG(dbgs() << "SLP: Total Cost " << Cost + ExtractCost<< ".\n");
1403 return Cost + ExtractCost;
1407 int Cost = 0; local
1409 Cost += TTI->getVectorInstrCost(Instruction::InsertElement, Ty, i);
1410 return Cost;
2304 int Cost local
2466 int Cost = R.getTreeCost(); local
2735 int Cost = V.getTreeCost() + getReductionCost(TTI, ReducedVals[i]); local
[all...]
/external/llvm/lib/CodeGen/SelectionDAG/
H A DScheduleDAGSDNodes.cpp114 unsigned &PhysReg, int &Cost) {
130 Cost = RC->getCopyCost();
475 int Cost = 1;
477 CheckForPhysRegDependency(OpN, N, i, TRI, TII, PhysReg, Cost);
485 if (Cost >= 0 && !StressSched)
111 CheckForPhysRegDependency(SDNode *Def, SDNode *User, unsigned Op, const TargetRegisterInfo *TRI, const TargetInstrInfo *TII, unsigned &PhysReg, int &Cost) argument
H A DScheduleDAGRRList.cpp280 unsigned &RegClass, unsigned &Cost,
294 Cost = 1;
303 Cost = 1;
311 // FIXME: Cost arbitrarily set to 1 because there doesn't seem to be a
313 Cost = 1;
316 Cost = TLI->getRepRegClassCostFor(VT);
1955 unsigned RCId, Cost;
1956 GetCostForDef(RegDefPos, TLI, TII, TRI, RCId, Cost, MF);
1958 if ((RegPressure[RCId] + Cost) >= RegLimit[RCId])
2069 unsigned RCId, Cost;
276 GetCostForDef(const ScheduleDAGSDNodes::RegDefIter &RegDefPos, const TargetLowering *TLI, const TargetInstrInfo *TII, const TargetRegisterInfo *TRI, unsigned &RegClass, unsigned &Cost, const MachineFunction &MF) argument
[all...]
H A DDAGCombiner.cpp8080 struct Cost { struct in struct:__anon25800::LoadedSlice
8090 Cost(bool ForCodeSize = false) function in struct:__anon25800::LoadedSlice::Cost
8095 Cost(const LoadedSlice &LS, bool ForCodeSize = false) function in struct:__anon25800::LoadedSlice::Cost
8123 Cost &operator+=(const Cost &RHS) {
8132 bool operator==(const Cost &RHS) const {
8138 bool operator!=(const Cost &RHS) const { return !(*this == RHS); }
8140 bool operator<(const Cost &RHS) const {
8153 bool operator>(const Cost &RHS) const { return RHS < *this; }
8155 bool operator<=(const Cost
[all...]
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
H A Dvp8_partition_aggregator_unittest.cc41 EXPECT_EQ(11, root->right_child()->Cost(kPenalty));
/external/eigen/blas/
H A Dlevel1_cplx_impl.h21 enum { Cost = 3 * NumTraits<Scalar>::AddCost, PacketAccess = 0 }; enumerator in enum:Eigen::internal::functor_traits::__anon21026
/external/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp857 /// Cost - This class is used to measure and compare candidate formulae.
858 class Cost { class in namespace:__anon26299
870 Cost() function in class:__anon26299::Cost
874 bool operator<(const Cost &Other) const;
921 void Cost::RateRegister(const SCEV *Reg,
969 void Cost::RatePrimaryRegister(const SCEV *Reg,
985 void Cost::RateFormula(const TargetTransformInfo &TTI,
994 assert(F.isCanonical() && "Cost is accurate only for canonical formula");
1043 void Cost::Lose() {
1054 bool Cost
[all...]
/external/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp1177 uint8_t Cost; local
1178 std::tie(RRC, Cost) = findRepresentativeClass((MVT::SimpleValueType)i);
1180 RepRegClassCostForVT[i] = Cost;
1404 unsigned Cost = 1; local
1412 return std::make_pair(Cost, MTy.getSimpleVT());
1415 Cost *= 2;
/external/eigen/test/
H A Dcwiseop.cpp28 enum { Cost = NumTraits<Scalar>::AddCost }; enumerator in enum:AddIfNull::__anon21034
/external/eigen/test/eigen2/
H A Deigen2_cwiseop.cpp19 enum { Cost = NumTraits<Scalar>::AddCost }; enumerator in enum:AddIfNull::__anon21037
/external/eigen/Eigen/src/Core/util/
H A DXprHelper.h93 Cost = 10,
/external/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp1153 int Cost = 0; local
1164 ++Cost;
1171 --Cost;
1177 --Cost;
1179 if (Cost >= 0) {
H A DX86ISelLowering.cpp1792 uint8_t Cost = 1; local
1812 return std::make_pair(RRC, Cost);
/external/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp297 unsigned Cost = ComputeSpeculationCost(I, DL); local
299 if (Cost > CostRemaining)
302 CostRemaining -= Cost;
/external/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp898 uint8_t Cost = 1; local
913 Cost = 2;
918 Cost = 2;
922 Cost = 4;
926 Cost = 8;
929 return std::make_pair(RRC, Cost);
5269 unsigned Cost = (PFEntry >> 30); local
5271 if (Cost <= 4)
5520 unsigned Cost = (PFEntry >> 30); local
5522 if (Cost <
[all...]
/external/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp4864 unsigned Cost = (PFEntry >> 30); local
4866 if (Cost <= 4)
5707 unsigned Cost = (PFEntry >> 30); local
5709 if (Cost <= 4)
/external/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp5842 unsigned Cost = (PFEntry >> 30); local
5855 if (Cost < 3)

Completed in 9621 milliseconds

12