Home
last modified time | relevance | path

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

123

/external/tcpdump/tests/
Dlisp_eid_notify.out8 Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
11 Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
13 Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
16 Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
24 Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
27 Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
29 Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
39 Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
42 Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
44 Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
[all …]
Dlisp_eid_register.out8 Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
11 Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
21 Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
24 Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
26 Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
Dlisp_ipv6.out8 Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
11 Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
21 Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
24 Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
/external/llvm/include/llvm/ProfileData/
DSampleProf.h124 sampleprof_error addSamples(uint64_t S, uint64_t Weight = 1) {
126 NumSamples = SaturatingMultiplyAdd(S, Weight, NumSamples, &Overflowed);
137 uint64_t Weight = 1) {
141 SaturatingMultiplyAdd(S, Weight, TargetSamples, &Overflowed);
154 sampleprof_error merge(const SampleRecord &Other, uint64_t Weight = 1) {
155 sampleprof_error Result = addSamples(Other.getSamples(), Weight);
157 MergeResult(Result, addCalledTarget(I.first(), I.second, Weight));
186 sampleprof_error addTotalSamples(uint64_t Num, uint64_t Weight = 1) {
189 SaturatingMultiplyAdd(Num, Weight, TotalSamples, &Overflowed);
193 sampleprof_error addHeadSamples(uint64_t Num, uint64_t Weight = 1) {
[all …]
DInstrProf.h566 uint64_t Weight = 1);
568 void scale(SoftInstrProfErrors &SIPE, uint64_t Weight);
614 void merge(InstrProfRecord &Other, uint64_t Weight = 1);
618 void scale(uint64_t Weight);
665 uint64_t Weight);
667 void scaleValueProfData(uint32_t ValueKind, uint64_t Weight);
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DMachineBranchProbabilityInfo.cpp36 uint32_t Weight = getEdgeWeight(MBB, Succ); in getSumForBlock() local
39 Sum += Weight; in getSumForBlock()
49 uint32_t Weight = Src->getSuccWeight(Dst); in getEdgeWeight() local
50 if (!Weight) in getEdgeWeight()
52 return Weight; in getEdgeWeight()
58 uint32_t Weight = getEdgeWeight(Src, Dst); in isEdgeHot() local
63 return (uint64_t)Weight * 5 > (uint64_t)Sum * 4; in isEdgeHot()
75 uint32_t Weight = getEdgeWeight(MBB, Succ); in getHotSucc() local
78 Sum += Weight; in getHotSucc()
81 if (Weight > MaxWeight) { in getHotSucc()
[all …]
/external/llvm/lib/Analysis/
DBlockFrequencyInfoImpl.cpp53 typedef BlockFrequencyInfoImplBase::Weight Weight; typedef
80 BlockMass takeMass(uint32_t Weight);
92 BlockMass DitheringDistributer::takeMass(uint32_t Weight) { in takeMass() argument
93 assert(Weight && "invalid weight"); in takeMass()
94 assert(Weight <= RemWeight); in takeMass()
95 BlockMass Mass = RemMass * BranchProbability(Weight, RemWeight); in takeMass()
98 RemWeight -= Weight; in takeMass()
104 Weight::DistType Type) { in add()
117 Weights.push_back(Weight(Type, Node, Amount)); in add()
120 static void combineWeight(Weight &W, const Weight &OtherW) { in combineWeight()
[all …]
/external/swiftshader/third_party/LLVM/lib/Analysis/
DBranchProbabilityInfo.cpp169 ConstantInt *Weight = dyn_cast<ConstantInt>(WeightsNode->getOperand(i)); in calcMetadataWeights() local
170 if (!Weight) in calcMetadataWeights()
173 std::max<uint32_t>(1, Weight->getLimitedValue(WeightLimit))); in calcMetadataWeights()
424 uint32_t Weight = getEdgeWeight(BB, Succ); in getSumForBlock() local
427 Sum += Weight; in getSumForBlock()
437 uint32_t Weight = getEdgeWeight(Src, Dst); in isEdgeHot() local
442 return (uint64_t)Weight * 5 > (uint64_t)Sum * 4; in isEdgeHot()
452 uint32_t Weight = getEdgeWeight(BB, Succ); in getHotSucc() local
455 Sum += Weight; in getHotSucc()
458 if (Weight > MaxWeight) { in getHotSucc()
[all …]
/external/llvm/utils/TableGen/
DCodeGenRegisters.h439 unsigned Weight; member
450 RegUnit() : Weight(0), RegClassUnitSetsIdx(0) { in RegUnit()
466 unsigned Weight; // Cache the sum of all unit weights. member
469 RegUnitSet() : Weight(0), Order(0) {} in RegUnitSet()
629 unsigned newRegUnit(unsigned Weight) { in newRegUnit() argument
631 RegUnits.back().Weight = Weight; in newRegUnit()
667 unsigned Weight = 0; in getRegUnitSetWeight() local
670 Weight += getRegUnit(*I).Weight; in getRegUnitSetWeight()
671 return Weight; in getRegUnitSetWeight()
683 getRegUnit(RUID).Weight += Inc; in increaseRegUnitWeight()
DCodeGenRegisters.cpp525 unsigned Weight = 0; in getWeight() local
528 Weight += RegBank.getRegUnit(*I).Weight; in getWeight()
530 return Weight; in getWeight()
1310 unsigned Weight; member
1313 UberRegSet(): Weight(0) {} in UberRegSet()
1391 unsigned MaxWeight = 0, Weight = 0; in computeUberWeights() local
1394 if (Weight > MaxWeight) in computeUberWeights()
1395 MaxWeight = Weight; in computeUberWeights()
1397 Weight = 0; in computeUberWeights()
1399 unsigned UWeight = RegBank.getRegUnit(*UnitI).Weight; in computeUberWeights()
[all …]
/external/llvm/lib/Transforms/Instrumentation/
DCFGMST.h104 uint64_t Weight = 2; in buildEdges() local
117 Weight = BPI->getEdgeProbability(&*BB, TargetBB).scale(scaleFactor); in buildEdges()
118 addEdge(&*BB, TargetBB, Weight).IsCritical = Critical; in buildEdges()
120 << TargetBB->getName() << " w=" << Weight << "\n"); in buildEdges()
135 return Edge1->Weight > Edge2->Weight; in sortEdgesByWeight()
/external/llvm/lib/ProfileData/
DInstrProf.cpp338 uint64_t Weight) { in merge() argument
349 I->Count = SaturatingMultiplyAdd(J->Count, Weight, I->Count, &Overflowed); in merge()
360 uint64_t Weight) { in scale() argument
363 I->Count = SaturatingMultiply(I->Count, Weight, &Overflowed); in scale()
373 uint64_t Weight) { in mergeValueProfData() argument
385 ThisSiteRecords[I].merge(SIPE, OtherSiteRecords[I], Weight); in mergeValueProfData()
388 void InstrProfRecord::merge(InstrProfRecord &Other, uint64_t Weight) { in merge() argument
399 SaturatingMultiplyAdd(Other.Counts[I], Weight, Counts[I], &Overflowed); in merge()
405 mergeValueProfData(Kind, Other, Weight); in merge()
408 void InstrProfRecord::scaleValueProfData(uint32_t ValueKind, uint64_t Weight) { in scaleValueProfData() argument
[all …]
DInstrProfWriter.cpp159 Error InstrProfWriter::addRecord(InstrProfRecord &&I, uint64_t Weight) { in addRecord() argument
173 if (Weight > 1) in addRecord()
174 Dest.scale(Weight); in addRecord()
177 Dest.merge(I, Weight); in addRecord()
/external/llvm/lib/Transforms/IPO/
DSampleProfile.cpp540 ErrorOr<uint64_t> Weight = getBlockWeight(&BB); in computeBlockWeights() local
541 if (Weight) { in computeBlockWeights()
542 BlockWeights[&BB] = Weight.get(); in computeBlockWeights()
690 uint64_t Weight = BlockWeights[EC]; in findEquivalencesFor() local
705 Weight = std::max(Weight, BlockWeights[BB2]); in findEquivalencesFor()
708 BlockWeights[EC] = Weight; in findEquivalencesFor()
1017 uint64_t Weight = EdgeWeights[E]; in propagateWeights() local
1022 if (Weight > std::numeric_limits<uint32_t>::max()) { in propagateWeights()
1024 Weight = std::numeric_limits<uint32_t>::max(); in propagateWeights()
1026 Weights.push_back(static_cast<uint32_t>(Weight)); in propagateWeights()
[all …]
/external/llvm/tools/llvm-profdata/
Dllvm-profdata.cpp112 uint64_t Weight; member
116 WeightedFile(StringRef F, uint64_t W) : Filename{F}, Weight{W} {} in WeightedFile()
147 if (Error E = Writer.addRecord(std::move(I), Input.Weight)) { in mergeInstrProfile()
201 sampleprof_error Result = ProfileMap[FName].merge(Samples, Input.Weight); in mergeSampleProfile()
215 uint64_t Weight; in parseWeightedFile() local
216 if (WeightStr.getAsInteger(10, Weight) || Weight < 1) in parseWeightedFile()
223 return WeightedFile(FileName, Weight); in parseWeightedFile()
311 outs() << WF.Weight << "," << WF.Filename << "\n"; in merge_main()
/external/swiftshader/third_party/subzero/src/
DIceOperand.h590 explicit RegWeight(BaseType Weight) : Weight(Weight) {} in RegWeight() argument
598 Weight = Inf; in addWeight()
599 else if (Weight != Inf) in addWeight()
600 if (Utils::add_overflow(Weight, Delta, &Weight) || Weight == Inf) in addWeight()
601 Weight = Max; in addWeight()
603 void addWeight(const RegWeight &Other) { addWeight(Other.Weight); } in addWeight()
604 void setWeight(BaseType Val) { Weight = Val; } in setWeight()
605 BaseType getWeight() const { return Weight; } in getWeight()
608 BaseType Weight = 0;
DIceCfgNode.cpp350 int32_t Weight = 0; // preference for topological order member in Ice::__anon7821fa020211::PhiDesc
398 Item.Weight += WeightOnePred; in updatePreds()
402 Item.Weight += (WeightNoPreds - WeightOnePred); in updatePreds()
519 int32_t Weight = 0; in advancedPhiLowering() local
521 Weight += WeightNoPreds; in advancedPhiLowering()
523 Weight += WeightOnePred; in advancedPhiLowering()
526 Weight += WeightSrcIsReg; in advancedPhiLowering()
528 Weight += WeightDestNotReg; in advancedPhiLowering()
529 Item.Weight = Weight; in advancedPhiLowering()
543 const int32_t Weight = Item.Weight; in advancedPhiLowering() local
[all …]
/external/llvm/docs/
DBranchWeightMetadata.rst2 LLVM Branch Weight Metadata
11 Branch Weight Metadata represents branch weights as its likeliness to be taken
70 Other terminator instructions are not allowed to contain Branch Weight Metadata.
115 Branch Weight Metatada is not proof against CFG changes. If terminator operands'
/external/skia/src/sfnt/
DSkPanose.h47 enum class Weight : SK_OT_BYTE { enum
197 enum class Weight : SK_OT_BYTE { enum
318 enum class Weight : SK_OT_BYTE { enum
452 enum class Weight : SK_OT_BYTE { enum
/external/skqp/src/sfnt/
DSkPanose.h47 enum class Weight : SK_OT_BYTE { enum
197 enum class Weight : SK_OT_BYTE { enum
318 enum class Weight : SK_OT_BYTE { enum
452 enum class Weight : SK_OT_BYTE { enum
/external/capstone/bindings/vb6/
DForm1.frm88 Weight = 400
103 Weight = 400
119 Weight = 400
/external/llvm/include/llvm/Analysis/
DBlockFrequencyInfoImpl.h334 struct Weight {
339 Weight() : Type(Local), Amount(0) {}
340 Weight(DistType Type, BlockNode TargetNode, uint64_t Amount)
353 typedef SmallVector<Weight, 4> WeightList;
360 add(Node, Amount, Weight::Local);
363 add(Node, Amount, Weight::Exit);
366 add(Node, Amount, Weight::Backedge);
381 void add(const BlockNode &Node, uint64_t Amount, Weight::DistType Type);
410 const BlockNode &Pred, const BlockNode &Succ, uint64_t Weight);
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp483 APInt Weight = P.second; // Number of paths to this operand. in LinearizeExprTree() local
484 DEBUG(dbgs() << "OPERAND: " << *Op << " (" << Weight << ")\n"); in LinearizeExprTree()
491 DEBUG(dbgs() << "DIRECT ADD: " << *Op << " (" << Weight << ")\n"); in LinearizeExprTree()
492 Worklist.push_back(std::make_pair(BO, Weight)); in LinearizeExprTree()
504 DEBUG(dbgs() << "ADD USES LEAF: " << *Op << " (" << Weight << ")\n"); in LinearizeExprTree()
506 Leaves[Op] = Weight; in LinearizeExprTree()
515 IncorporateWeight(It->second, Weight, Opcode); in LinearizeExprTree()
542 Weight = It->second; in LinearizeExprTree()
562 DEBUG(dbgs() << "MORPH LEAF: " << *Op << " (" << Weight << ") TO "); in LinearizeExprTree()
565 Worklist.push_back(std::make_pair(BO, Weight)); in LinearizeExprTree()
[all …]
/external/llvm/include/llvm/CodeGen/
DMachineRegisterInfo.h1026 unsigned Weight; variable
1028 PSetIterator(): PSet(nullptr), Weight(0) {} in PSetIterator()
1034 Weight = TRI->getRegClassWeight(RC).RegWeight; in PSetIterator()
1038 Weight = TRI->getRegUnitWeight(RegUnit); in PSetIterator()
1045 unsigned getWeight() const { return Weight; } in getWeight()
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonShuffler.h32 unsigned Slots, Weight; variable
43 unsigned getWeight() const { return (Weight); }; in getWeight()

123