Home
last modified time | relevance | path

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

123456

/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/FuzzMutate/
DOperations.h38 OpDescriptor binOpDescriptor(unsigned Weight, Instruction::BinaryOps Op);
39 OpDescriptor cmpOpDescriptor(unsigned Weight, Instruction::OtherOps CmpOp,
41 OpDescriptor splitBlockDescriptor(unsigned Weight);
42 OpDescriptor gepDescriptor(unsigned Weight);
43 OpDescriptor extractValueDescriptor(unsigned Weight);
44 OpDescriptor insertValueDescriptor(unsigned Weight);
45 OpDescriptor extractElementDescriptor(unsigned Weight);
46 OpDescriptor insertElementDescriptor(unsigned Weight);
47 OpDescriptor shuffleVectorDescriptor(unsigned Weight);
DRandom.h61 ReservoirSampler &sample(const T &Item, uint64_t Weight) { in sample() argument
62 if (!Weight) in sample()
65 TotalWeight += Weight; in sample()
67 if (uniform<uint64_t>(RandGen, 1, TotalWeight) <= Weight) in sample()
84 uint64_t Weight) { in makeSampler() argument
86 RS.sample(Item, Weight); in makeSampler()
/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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ProfileData/
DSampleProf.h155 sampleprof_error addSamples(uint64_t S, uint64_t Weight = 1) {
157 NumSamples = SaturatingMultiplyAdd(S, Weight, NumSamples, &Overflowed);
168 uint64_t Weight = 1) {
172 SaturatingMultiplyAdd(S, Weight, TargetSamples, &Overflowed);
185 sampleprof_error merge(const SampleRecord &Other, uint64_t Weight = 1) {
186 sampleprof_error Result = addSamples(Other.getSamples(), Weight);
188 MergeResult(Result, addCalledTarget(I.first(), I.second, Weight));
223 sampleprof_error addTotalSamples(uint64_t Num, uint64_t Weight = 1) {
226 SaturatingMultiplyAdd(Num, Weight, TotalSamples, &Overflowed);
231 sampleprof_error addHeadSamples(uint64_t Num, uint64_t Weight = 1) {
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DBlockFrequencyInfoImpl.cpp74 using Weight = BlockFrequencyInfoImplBase::Weight; typedef
101 BlockMass takeMass(uint32_t Weight);
113 BlockMass DitheringDistributer::takeMass(uint32_t Weight) { in takeMass() argument
114 assert(Weight && "invalid weight"); in takeMass()
115 assert(Weight <= RemWeight); in takeMass()
116 BlockMass Mass = RemMass * BranchProbability(Weight, RemWeight); in takeMass()
119 RemWeight -= Weight; in takeMass()
125 Weight::DistType Type) { in add()
138 Weights.push_back(Weight(Type, Node, Amount)); in add()
141 static void combineWeight(Weight &W, const Weight &OtherW) { in combineWeight()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DCFGMST.h125 uint64_t Weight = 2; in buildEdges() local
138 Weight = BPI->getEdgeProbability(&*BB, TargetBB).scale(scaleFactor); in buildEdges()
139 auto *E = &addEdge(&*BB, TargetBB, Weight); in buildEdges()
142 << TargetBB->getName() << " w=" << Weight << "\n"); in buildEdges()
146 if (Weight > MaxEntryOutWeight) { in buildEdges()
147 MaxEntryOutWeight = Weight; in buildEdges()
154 if (Weight > MaxExitInWeight) { in buildEdges()
155 MaxExitInWeight = Weight; in buildEdges()
186 EntryIncoming->Weight = MaxExitOutWeight; in buildEdges()
187 ExitOutgoing->Weight = EntryInWeight + 1; in buildEdges()
[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-7.0/llvm/lib/FuzzMutate/
DOperations.cpp92 OpDescriptor llvm::fuzzerop::binOpDescriptor(unsigned Weight, in binOpDescriptor() argument
111 return {Weight, {anyIntType(), matchFirstType()}, buildOp}; in binOpDescriptor()
117 return {Weight, {anyFloatType(), matchFirstType()}, buildOp}; in binOpDescriptor()
124 OpDescriptor llvm::fuzzerop::cmpOpDescriptor(unsigned Weight, in cmpOpDescriptor() argument
133 return {Weight, {anyIntType(), matchFirstType()}, buildOp}; in cmpOpDescriptor()
135 return {Weight, {anyFloatType(), matchFirstType()}, buildOp}; in cmpOpDescriptor()
141 OpDescriptor llvm::fuzzerop::splitBlockDescriptor(unsigned Weight) { in splitBlockDescriptor() argument
168 return {Weight, {isInt1Ty}, buildSplitBlock}; in splitBlockDescriptor()
171 OpDescriptor llvm::fuzzerop::gepDescriptor(unsigned Weight) { in gepDescriptor() argument
180 return {Weight, {sizedPtrType(), anyIntType()}, buildGEP}; in gepDescriptor()
[all …]
/external/skia/modules/canvaskit/
Dparagraph_bindings.cpp32 SkFontStyle::Weight weight;
207 enum_<SkFontStyle::Weight>("FontWeight") in EMSCRIPTEN_BINDINGS()
208 .value("Invisible", SkFontStyle::Weight::kInvisible_Weight) in EMSCRIPTEN_BINDINGS()
209 .value("Thin", SkFontStyle::Weight::kThin_Weight) in EMSCRIPTEN_BINDINGS()
210 .value("ExtraLight", SkFontStyle::Weight::kExtraLight_Weight) in EMSCRIPTEN_BINDINGS()
211 .value("Light", SkFontStyle::Weight::kLight_Weight) in EMSCRIPTEN_BINDINGS()
212 .value("Normal", SkFontStyle::Weight::kNormal_Weight) in EMSCRIPTEN_BINDINGS()
213 .value("Medium", SkFontStyle::Weight::kMedium_Weight) in EMSCRIPTEN_BINDINGS()
214 .value("SemiBold", SkFontStyle::Weight::kSemiBold_Weight) in EMSCRIPTEN_BINDINGS()
215 .value("Bold", SkFontStyle::Weight::kBold_Weight) in EMSCRIPTEN_BINDINGS()
[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()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DCodeGenRegisters.h476 unsigned Weight; member
490 RegUnit() : Weight(0), RegClassUnitSetsIdx(0), Artificial(false) { in RegUnit()
506 unsigned Weight = 0; // Cache the sum of all unit weights. member
676 unsigned newRegUnit(unsigned Weight) { in newRegUnit() argument
678 RegUnits.back().Weight = Weight; in newRegUnit()
714 unsigned Weight = 0; in getRegUnitSetWeight() local
717 Weight += getRegUnit(*I).Weight; in getRegUnitSetWeight()
718 return Weight; in getRegUnitSetWeight()
731 getRegUnit(RUID).Weight += Inc; in increaseRegUnitWeight()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAG.cpp1634 int Weight; member
1639 WeightedLeaf(SDValue Value, int Weight, int InsertionOrder) : in WeightedLeaf()
1640 Value(Value), Weight(Weight), InsertionOrder(InsertionOrder) { in WeightedLeaf()
1641 assert(Weight >= 0 && "Weight must be >= 0"); in WeightedLeaf()
1646 return A.Weight == B.Weight ? in Compare()
1648 (A.Weight > B.Weight); in Compare()
1709 L.Weight = 1000; in pushToBottom()
1735 if (!Result.Value.getNode() || Result.Weight > L.Weight || in findSHL()
1736 (Result.Weight == L.Weight && Result.InsertionOrder > L.InsertionOrder)) in findSHL()
1762 if (!Result.Value.getNode() || Result.Weight > L.Weight || in findMULbyConst()
[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 …]
/external/angle/src/tests/gl_tests/
DBlendFuncExtendedTest.cpp25 float Weight(const float /*dst*/[4], const float src[4], const float src1[4]) in Weight() function
55 r[0] = src[0] * Weight<RGBs, 0>(dst, src, src1) + dst[0] * Weight<RGBd, 0>(dst, src, src1); in BlendEquationFuncAdd()
56 r[1] = src[1] * Weight<RGBs, 1>(dst, src, src1) + dst[1] * Weight<RGBd, 1>(dst, src, src1); in BlendEquationFuncAdd()
57 r[2] = src[2] * Weight<RGBs, 2>(dst, src, src1) + dst[2] * Weight<RGBd, 2>(dst, src, src1); in BlendEquationFuncAdd()
58 r[3] = src[3] * Weight<As, 3>(dst, src, src1) + dst[3] * Weight<Ad, 3>(dst, src, src1); in BlendEquationFuncAdd()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DCalcSpillWeights.cpp200 float Weight; in weightCalcHelper() member
204 Reg(R), Weight(W), IsPhys(P), HintOrder(HR) {} in weightCalcHelper()
209 if (Weight != rhs.Weight) in weightCalcHelper()
210 return (Weight > rhs.Weight); in weightCalcHelper()
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/ELF/
Dcgprofile.ll39 ; OBJ: Weight: 32
44 ; OBJ: Weight: 11
49 ; OBJ: Weight: 20
Dcgprofile.s83 # CHECK-NEXT: Weight: 32
88 # CHECK-NEXT: Weight: 11
93 # CHECK-NEXT: Weight: 20
98 # CHECK-NEXT: Weight: 42
/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/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/
DInstrProf.cpp483 uint64_t Weight, in merge() argument
495 I->Count = SaturatingMultiplyAdd(J->Count, Weight, I->Count, &Overflowed); in merge()
505 void InstrProfValueSiteRecord::scale(uint64_t Weight, in scale() argument
509 I->Count = SaturatingMultiply(I->Count, Weight, &Overflowed); in scale()
518 uint32_t ValueKind, InstrProfRecord &Src, uint64_t Weight, in mergeValueProfData() argument
533 ThisSiteRecords[I].merge(OtherSiteRecords[I], Weight, Warn); in mergeValueProfData()
536 void InstrProfRecord::merge(InstrProfRecord &Other, uint64_t Weight, in merge() argument
548 SaturatingMultiplyAdd(Other.Counts[I], Weight, Counts[I], &Overflowed); in merge()
554 mergeValueProfData(Kind, Other, Weight, Warn); in merge()
558 uint32_t ValueKind, uint64_t Weight, in scaleValueProfData() argument
[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/llvm-7.0/llvm/tools/llvm-profdata/
Dllvm-profdata.cpp128 uint64_t Weight; member
197 WC->Writer.addRecord(std::move(I), Input.Weight, [&](Error E) { in loadInput()
362 sampleprof_error Result = ProfileMap[FName].merge(Samples, Input.Weight); in mergeSampleProfile()
376 uint64_t Weight; in parseWeightedFile() local
377 if (WeightStr.getAsInteger(10, Weight) || Weight < 1) in parseWeightedFile()
380 return {FileName, Weight}; in parseWeightedFile()
397 uint64_t Weight = WF.Weight; in addWeightedInput() local
401 WNI.push_back({Filename, Weight}); in addWeightedInput()
412 WNI.push_back({Filename, Weight}); in addWeightedInput()
421 addWeightedInput(WNI, {F->path(), Weight}); in addWeightedInput()
[all …]

123456