/external/openfst/src/include/fst/ |
H A D | encode.h | 59 typedef typename A::Weight Weight; typedef in class:fst::EncodeTable 64 Tuple(Label ilabel_, Label olabel_, Weight weight_) 71 Weight weight; 134 flags_ & kEncodeWeights ? arc.weight : Weight::One()); 149 flags_ & kEncodeWeights ? arc.weight : Weight::One()); 306 typedef typename A::Weight Weight; typedef in class:fst::EncodeMapper 424 arc.weight == Weight::Zero())) { 430 flags_ & kEncodeWeights ? Weight [all...] |
H A D | label-reachable.h | 149 typedef typename A::Weight Weight; typedef in class:fst::LabelReachable 312 reach_weight_ = Weight::Zero(); 390 Weight ReachWeight() const { return reach_weight_; } 435 Weight final = fst_->Final(s); 436 if (final != Weight::Zero()) { 446 fst_->SetFinal(s, Weight::Zero()); 453 fst_->SetFinal(s, Weight::One()); 461 Arc arc(0, 0, Weight::One(), s); 551 Weight reach_weight [all...] |
H A D | lookahead-filter.h | 209 typedef typename Arc::Weight Weight; typedef in class:fst::LookAheadComposeFilter 259 void FilterFinal(Weight *weight1, Weight *weight2) const { 324 // lookahead filter. Weight-pushing in composition brings weights 338 typedef WeightFilterState<typename Arc::Weight> FilterState2; 343 typedef typename Arc::Weight Weight; typedef in class:fst::PushWeightsComposeFilter 357 return FilterState(filter_.Start(), FilterState2(Weight::One())); 371 return FilterState(f1, FilterState2(Weight 431 typedef typename Arc::Weight Weight; typedef in class:fst::PushLabelsComposeFilter [all...] |
H A D | lookahead-matcher.h | 47 // typedef typename Arc::Weight Weight; 76 // // A trivial implementation returns Weight::One(). Non-trivial 78 // Weight LookAheadWeight() const; 138 typedef typename A::Weight Weight; typedef in class:fst::LookAheadMatcherBase 141 : weight_(Weight::One()), 142 prefix_arc_(kNoLabel, kNoLabel, Weight::One(), kNoStateId) {} 152 Weight LookAheadWeight() const { return weight_; } 166 void SetLookAheadWeight(const Weight 191 typedef typename Arc::Weight Weight; typedef in class:fst::TrivialLookAheadMatcher 257 typedef typename Arc::Weight Weight; typedef in class:fst::ArcLookAheadMatcher 430 typedef typename Arc::Weight Weight; typedef in class:fst::LabelLookAheadMatcher 714 typedef typename Arc::Weight Weight; typedef in class:fst::LookAheadMatcher [all...] |
H A D | matcher.h | 46 // typedef typename Arc::Weight Weight; 109 typedef typename A::Weight Weight; typedef in class:fst::MatcherBase 134 // Arc(kNoLabel, 0, Weight::One(), current_state) as well as any 136 // Arc(0, kNoLabel, Weight::One(), current_state) is instead matched. 144 typedef typename Arc::Weight Weight; typedef in class:fst::SortedMatcher 157 loop_(kNoLabel, 0, Weight::One(), kNoStateId), 401 typedef typename Arc::Weight Weigh typedef in class:fst::RhoMatcher 575 typedef typename Arc::Weight Weight; typedef in class:fst::SigmaMatcher 764 typedef typename Arc::Weight Weight; typedef in class:fst::PhiMatcher 996 typedef typename Arc::Weight Weight; typedef in class:fst::MultiEpsMatcher 1164 typedef typename Arc::Weight Weight; typedef in class:fst::Matcher [all...] |
H A D | minimize.h | 58 typedef typename A::Weight Weight; typedef in class:fst::StateComparator 134 typedef typename A::Weight Weight; typedef in class:fst::CyclicMinimizer 316 typedef typename A::Weight Weight; typedef in class:fst::AcyclicMinimizer 558 typename A::Weight, STRING_LEFT> > fwfst(gfst);
|
H A D | queue.h | 279 typedef typename L::Weight Weight; typedef in class:fst::StateWeightCompare 282 StateWeightCompare(const vector<Weight>& weights, const L &less) 290 const vector<Weight>& weights_; 295 // Shortest-first queue discipline, templated on the StateId and Weight, is 540 // the Weight type has the path property, will entertain the 543 AutoQueue(const Fst<Arc> &fst, const vector<typename Arc::Weight> *distance, 545 typedef typename Arc::Weight Weight; typedef 546 typedef StateWeightCompare< StateId, NaturalLess<Weight> > Compar 695 typedef typename A::Weight Weight; typedef 749 typedef typename L::Weight Weight; typedef in class:fst::AStarWeightCompare 806 typedef typename L::Weight Weight; typedef in class:fst::PruneQueue 876 typedef W Weight; typedef in class:fst::NaturalPruneQueue [all...] |
H A D | rmepsilon.h | 53 typedef typename Arc::Weight Weight; typedef in class:fst::RmEpsilonOptions 56 Weight weight_threshold; // Pruning weight threshold. 60 Weight w = Weight::Zero(), 75 typedef typename Arc::Weight Weight; typedef in class:fst::RmEpsilonState 78 vector<Weight> *distance, 90 const Weight &Final() const { return final_; } 134 vector<Weight> *distance 59 RmEpsilonOptions(Queue *q, float d = kDelta, bool c = true, Weight w = Weight::Zero(), StateId n = kNoStateId) argument 232 typedef typename Arc::Weight Weight; typedef 355 typedef typename Arc::Weight Weight; typedef 395 typedef typename A::Weight Weight; typedef in class:fst::RmEpsilonFstImpl [all...] |
H A D | vector-fst.h | 45 typedef typename Arc::Weight Weight; typedef in class:fst::VectorFstBaseImpl 57 Weight Final(StateId s) const { return states_[s]->final; } 65 void SetFinal(StateId s, Weight w) { states_[s]->final = w; } 168 typedef typename A::Weight Weight; typedef in struct:fst::VectorState 171 VectorState() : final(Weight::Zero()), niepsilons(0), noepsilons(0) {} 173 Weight final; // Final weight 198 typedef typename A::Weight Weight; typedef in class:fst::VectorFstImpl 627 typedef typename A::Weight Weight; typedef in class:fst::MutableArcIterator [all...] |
/external/openfst/src/include/fst/extensions/pdt/ |
H A D | compose.h | 48 typedef typename Arc::Weight Weight; typedef in class:fst::ParenMatcher 62 loop_.weight = Weight::One(); 284 typedef typename Arc::Weight Weight; typedef in class:fst::ParenFilter 377 void FilterFinal(Weight *w1, Weight *w2) const { 379 *w1 = Weight::Zero();
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
H A D | map.h | 83 typedef typename A::Weight Weight; typedef 94 fst->SetFinal(superfinal, Weight::One()); 119 fst->SetFinal(superfinal, Weight::One()); 123 fst->SetFinal(s, Weight::Zero()); 134 final_arc.weight != Weight::Zero()) 137 fst->SetFinal(s, Weight::Zero()); 160 typedef typename A::Weight Weight; typedef 177 ofst->SetFinal(superfinal, B::Weight 266 typedef typename B::Weight Weight; typedef in class:fst::MapFstImpl 460 typedef typename B::Weight Weight; typedef in class:fst::MapFst 851 typedef typename A::Weight Weight; typedef in struct:fst::PlusMapper 875 typedef typename A::Weight Weight; typedef in struct:fst::TimesMapper [all...] |
H A D | replace.h | 73 typedef typename A::Weight Weight; typedef in class:fst::ReplaceFstImpl 192 depfst.AddArc(i - 1, A(arc.olabel, arc.olabel, Weight::One(), j)); 199 depfst.SetFinal(root_ - 1, Weight::One()); 239 Weight Final(StateId s) { 246 if (fst->Final(fst_state) != Weight::Zero() && stack.Depth() == 0) 249 SetFinal(s, Weight::Zero()); 306 if (fst->Final(fst_state) != Weight::Zero() && stack.Depth()) { 541 typedef typename A::Weight Weight; typedef in class:fst::ReplaceFst [all...] |
H A D | rmepsilon.h | 58 typedef typename Arc::Weight Weight; typedef in class:fst::RmEpsilonState 61 vector<Weight> *distance, 73 const Weight &Final() const { return final_; } 115 vector<Weight> *distance_; 128 Weight final_; // Final weight of state being expanded 138 final_ = Weight::Zero(); 170 Weight &w = arcs_[((*it).second).second].weight; 201 vector<typename Arc::Weight> *distance, 204 typedef typename Arc::Weight Weigh typedef 288 typedef typename Arc::Weight Weight; typedef 325 typedef typename A::Weight Weight; typedef in class:fst::RmEpsilonFstImpl 431 typedef typename A::Weight Weight; typedef in class:fst::RmEpsilonFst [all...] |
H A D | vector-fst.h | 39 typedef typename Arc::Weight Weight; typedef in class:fst::VectorFstBaseImpl 51 Weight Final(StateId s) const { return states_[s]->final; } 59 void SetFinal(StateId s, Weight w) { states_[s]->final = w; } 162 typedef typename A::Weight Weight; typedef in struct:fst::VectorState 165 VectorState() : final(Weight::Zero()), niepsilons(0), noepsilons(0) {} 167 Weight final; // Final weight 189 typedef typename A::Weight Weight; typedef in class:fst::VectorFstImpl 462 typedef typename A::Weight Weight; typedef in class:fst::VectorFst 727 typedef typename A::Weight Weight; typedef in class:fst::MutableArcIterator [all...] |
/external/chromium_org/courgette/ |
H A D | adjustment_method.cc | 152 uint32 Weight() const { function in struct:courgette::Node 193 uint32 a_weight = a->Weight(); 194 uint32 b_weight = b->Weight();
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/ |
H A D | mcomp.c | 27 int vp8_mv_bit_cost(int_mv *mv, int_mv *ref, int *mvcost[2], int Weight) argument 33 * NEAREST for subsequent blocks. The "Weight" parameter allows, to a 36 return ((mvcost[0][(mv->as_mv.row - ref->as_mv.row) >> 1] + mvcost[1][(mv->as_mv.col - ref->as_mv.col) >> 1]) * Weight) >> 7;
|
/external/clang/lib/CodeGen/ |
H A D | CodeGenPGO.cpp | 954 /// greater than \c Weight. 955 static uint32_t scaleBranchWeight(uint64_t Weight, uint64_t Scale) { argument 957 uint64_t Scaled = Weight / Scale + 1;
|
/external/libvpx/libvpx/vp8/encoder/ |
H A D | mcomp.c | 26 int vp8_mv_bit_cost(int_mv *mv, int_mv *ref, int *mvcost[2], int Weight) argument 32 * NEAREST for subsequent blocks. The "Weight" parameter allows, to a 35 return ((mvcost[0][(mv->as_mv.row - ref->as_mv.row) >> 1] + mvcost[1][(mv->as_mv.col - ref->as_mv.col) >> 1]) * Weight) >> 7;
|
/external/llvm/include/llvm/CodeGen/ |
H A D | MachineRegisterInfo.h | 974 unsigned Weight; member in class:llvm::PSetIterator 976 PSetIterator(): PSet(nullptr), Weight(0) {} 982 Weight = TRI->getRegClassWeight(RC).RegWeight; 986 Weight = TRI->getRegUnitWeight(RegUnit); 993 unsigned getWeight() const { return Weight; }
|
/external/llvm/lib/CodeGen/ |
H A D | LiveIntervalAnalysis.cpp | 175 float Weight = TargetRegisterInfo::isPhysicalRegister(reg) ? local 177 return new LiveInterval(reg, Weight);
|
H A D | MachineBasicBlock.cpp | 490 // If we see non-zero value for the first time it means we actually use Weight 507 // If Weight list is empty it means we don't use it (disabled optimization). 520 // If Weight list is empty it means we don't use it (disabled optimization). 586 uint32_t Weight = 0; local 588 // If Weight list is empty it means we don't use it (disabled optimization). 590 Weight = *fromMBB->Weights.begin(); 592 addSuccessor(Succ, Weight); 604 uint32_t Weight = 0; local 606 Weight = *fromMBB->Weights.begin(); 607 addSuccessor(Succ, Weight); [all...] |
H A D | RegisterPressure.cpp | 29 unsigned Weight = PSetI.getWeight(); local 31 CurrSetPressure[*PSetI] += Weight; 37 unsigned Weight = PSetI.getWeight(); local 39 assert(CurrSetPressure[*PSetI] >= Weight && "register pressure underflow"); 40 CurrSetPressure[*PSetI] -= Weight; 86 unsigned Weight = PSetI.getWeight(); local 88 CurrSetPressure[*PSetI] += Weight; 388 int Weight = IsDec ? -PSetI.getWeight() : PSetI.getWeight(); local 406 I->setUnitInc(I->getUnitInc() + Weight);
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | Reassociate.cpp | 516 SmallVector<std::pair<BinaryOperator*, APInt>, 8> Worklist; // (Op, Weight) 548 APInt Weight = P.second; // Number of paths to this operand. local 549 DEBUG(dbgs() << "OPERAND: " << *Op << " (" << Weight << ")\n"); local 556 DEBUG(dbgs() << "DIRECT ADD: " << *Op << " (" << Weight << ")\n"); local 557 Worklist.push_back(std::make_pair(BO, Weight)); 569 DEBUG(dbgs() << "ADD USES LEAF: " << *Op << " (" << Weight << ")\n"); local 571 Leaves[Op] = Weight; 580 IncorporateWeight(It->second, Weight, Opcode); 607 Weight = It->second; 624 DEBUG(dbgs() << "MORPH LEAF: " << *Op << " (" << Weight << ") T local 634 DEBUG(dbgs() << "ADD LEAF: " << *Op << " (" << Weight << ")\\n"); local 650 APInt Weight = It->second; local [all...] |
H A D | SampleProfile.cpp | 550 unsigned Weight = local 554 << " - weight: " << Weight << ")\n"); local 555 return Weight; 575 unsigned Weight = 0; local 578 if (InstWeight > Weight) 579 Weight = InstWeight; 581 Entry.first->second = Weight; 582 return Weight; 595 unsigned Weight = getBlockWeight(B); local 596 Changed |= (Weight > 938 unsigned Weight = EdgeWeights[E]; local [all...] |
/external/llvm/utils/TableGen/ |
H A D | CodeGenRegisters.h | 404 // Weight assigned to this RegUnit for estimating register pressure. 407 unsigned Weight; member in struct:llvm::RegUnit 418 RegUnit() : Weight(0), RegClassUnitSetsIdx(0) { 434 unsigned Weight; // Cache the sum of all unit weights. member in struct:llvm::RegUnitSet 437 RegUnitSet() : Weight(0), Order(0) {} 587 unsigned newRegUnit(unsigned Weight) { argument 589 RegUnits.back().Weight = Weight; 623 unsigned Weight = 0; local 626 Weight [all...] |