HomeSort by: relevance | last modified time | path
    Searched defs:Weight (Results 1 - 25 of 27) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/include/llvm/FuzzMutate/
OpDescriptor.h 90 unsigned Weight;
  /src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
WebAssemblyRegColoring.cpp 64 // Compute the total spill weight for VReg.
68 float Weight = 0.0f;
70 Weight += LiveIntervals::getSpillWeight(MO.isDef(), MO.isUse(), MBFI,
72 return Weight;
109 assert(LI->weight() == 0.0f);
117 // registers), by weight next, and then by position.
123 if (LHS->weight() != RHS->weight())
124 return LHS->weight() > RHS->weight();
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-rc/
ResourceScriptStmt.cpp 279 << ", weight = " << Weight;
ResourceFileWriter.h 88 uint32_t Weight;
ResourceScriptStmt.h 898 uint32_t Size, Weight, Charset;
904 : Size(FontSize), Weight(FontWeight), Charset(FontCharset),
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
RegisterPressure.cpp 58 unsigned Weight = PSetI.getWeight();
60 CurrSetPressure[*PSetI] += Weight;
72 unsigned Weight = PSetI.getWeight();
74 assert(CurrSetPressure[*PSetI] >= Weight && "register pressure underflow");
75 CurrSetPressure[*PSetI] -= Weight;
162 unsigned Weight = PSetI.getWeight();
164 CurrSetPressure[*PSetI] += Weight;
675 int Weight = IsDec ? -PSetI.getWeight() : PSetI.getWeight();
693 unsigned NewUnitInc = I->getUnitInc() + Weight;
LiveIntervals.cpp 190 float Weight = Register::isPhysicalRegister(reg) ? huge_valf : 0.0F;
191 return new LiveInterval(reg, Weight);
MachineBlockPlacement.cpp 338 /// Triple struct containing edge weight and the edge.
340 BlockFrequency Weight;
976 /// Pick the highest total weight pair of edges that can both be laid out.
979 /// the individual highest weight edges to the 2 different destinations, or in
994 auto Cmp = [](WeightedEdge A, WeightedEdge B) { return A.Weight > B.Weight; };
1006 BlockFrequency BestAScore = BestA->Weight + SecondBestB->Weight;
1007 BlockFrequency BestBScore = BestB->Weight + SecondBestA->Weight;
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
CFGMST.h 97 // Traverse the CFG using a stack. Find all the edges and assign the weight.
98 // Edges with large weight will be put into MST first so they are less likely
105 // If we want to instrument the entry count, lower the weight to 0.
129 uint64_t Weight = 2;
142 Weight = BPI->getEdgeProbability(&BB, TargetBB).scale(scaleFactor);
143 if (Weight == 0)
144 Weight++;
145 auto *E = &addEdge(&BB, TargetBB, Weight);
148 << TargetBB->getName() << " w=" << Weight << "\n");
152 if (Weight > MaxEntryOutWeight)
    [all...]
GCOVProfiling.cpp 221 uint64_t Weight;
229 : SrcBB(Src), DestBB(Dest), Weight(W) {}
234 (IsCritical ? "c" : " ") + " W=" + Twine(Weight))
PGOInstrumentation.cpp 20 // The minimal spanning tree here is actually a maximum weight tree -- on-tree
525 uint64_t Weight;
531 : SrcBB(Src), DestBB(Dest), Weight(W) {}
536 (IsCritical ? "c" : " ") + " W=" + Twine(Weight)).str();
2040 LLVM_DEBUG(dbgs() << "Weight is: "; for (const auto &W
  /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/
HexagonShuffler.h 39 // the weight or priority that the insn requires to be assigned a slot.
40 unsigned Slots, Weight;
56 unsigned getWeight() const { return (Weight); }
63 // Check if the resources are in ascending weight order.
  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
SampleProfileLoaderBaseImpl.h 146 /// The weight of a basic block is defined to be the maximum
217 /// Print the weight of edge \p E on stream \p OS.
223 OS << "weight[" << E.first->getName() << "->" << E.second->getName()
239 /// Print the weight of block \p BB on stream \p OS.
248 OS << "weight[" << BB->getName() << "]: " << W << "\n";
252 /// Get the weight for an instruction.
254 /// The "weight" of an instruction \p Inst is the number of samples
262 /// \returns the weight of \p Inst.
304 << DIL->getBaseDiscriminator() << " - weight: " << R.get()
310 /// Compute the weight of a basic block
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
Reassociate.cpp 298 /// Add the extra weight 'RHS' to the existing weight 'LHS',
299 /// reducing the combined weight using any special properties of the operation.
300 /// The existing weight LHS represents the computation X op X op ... op X where
301 /// X occurs LHS times. The combined weight represents X op X op ... op X with
307 // weight would be LHS + RHS. But we are using finite precision arithmetic,
311 // weight back into range if wrapping would be wrong.
313 // If RHS is zero then the weight didn't change.
316 // If LHS is zero then the combined weight is RHS.
324 // Idempotent means X op X === X, so any non-zero weight is equivalent to
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
MachineRegisterInfo.h 793 /// one with the greatest weight.
1194 unsigned Weight = 0;
1204 Weight = TRI->getRegClassWeight(RC).RegWeight;
1207 Weight = TRI->getRegUnitWeight(RegUnit);
1215 unsigned getWeight() const { return Weight; }
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
BranchProbabilityInfo.cpp 87 // | | (Weight = 124)
91 // | (Weight = 4)
126 /// Special weight used for cases with exact zero probability.
128 /// Minimal possible non zero weight.
130 /// Weight to an 'unreachable' block.
132 /// Weight to a block containing non returning call.
134 /// Weight to 'unwind' block of an invoke instruction.
136 /// Weight to a 'cold' block. Cold blocks are the ones containing calls marked
139 /// Default weight is used in cases when there is no dedicated execution
140 /// weight set. It is not propagated through the domination line either
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/MIRParser/
MIParser.cpp 815 unsigned Weight = 0;
820 if (getUnsigned(Weight))
826 MBB.addSuccessor(SuccMBB, BranchProbability::getRaw(Weight));
  /src/external/apache2/llvm/dist/llvm/lib/Target/Lanai/
LanaiISelLowering.cpp 251 // Examine constraint type and operand type and determine a weight value.
257 ConstraintWeight Weight = CW_Invalid;
260 // but allow it at the lowest weight.
273 Weight = CW_Constant;
276 Weight = TargetLowering::getSingleConstraintMatchWeight(Info, Constraint);
279 return Weight;
899 // minimal Hamming weight representation of a number (on average 1/3 of the
  /src/external/apache2/llvm/dist/llvm/utils/TableGen/
CodeGenRegisters.h 444 // Get a weight of this register class.
485 // Weight assigned to this RegUnit for estimating register pressure.
488 unsigned Weight;
502 RegUnit() : Weight(0), RegClassUnitSetsIdx(0), Artificial(false) {
518 unsigned Weight = 0; // Cache the sum of all unit weights.
604 // Compute a weight for each register unit created during getSubRegs.
695 unsigned newRegUnit(unsigned Weight) {
697 RegUnits.back().Weight = Weight;
703 // register additional weight but don't affect aliasing
    [all...]
CodeGenRegisters.cpp 586 unsigned Weight = 0;
588 Weight += RegBank.getRegUnit(RegUnit).Weight;
590 return Weight;
856 if (TheDef && !TheDef->isValueUnset("Weight"))
857 return TheDef->getValueAsInt("Weight");
1574 // A Weight field caches the max per-register unit weight in each UberRegSet.
1577 // for which the unit weight equals the set weight. These units should not hav
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGStmt.cpp 1335 // that the total weight is preserved. E.g., a weight of 5 over three cases
1337 uint64_t Weight = Total / NCases, Rem = Total % NCases;
1340 SwitchWeights->push_back(Weight + (Rem ? 1 : 0));
1378 // need to update the weight for the default, ie, the first case, to include
1743 // Are there enough branches to weight them?
1773 // don't exceed the weight of Likely.
1874 // know the right weight.
  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
BlockFrequencyInfoImpl.h 346 /// Unscaled probability weight.
348 /// Probability weight for an edge in the graph (including the
355 /// In addition to the raw weight amount, Weight stores the type of the edge
359 struct Weight {
365 Weight() = default;
366 Weight(DistType Type, BlockNode TargetNode, uint64_t Amount)
370 /// Distribution of unscaled probability weight.
372 /// Distribution of unscaled probability weight to a set of successors.
379 using WeightList = SmallVector<Weight, 4>
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/ObjectYAML/
ELFYAML.h 523 // The weight of the edge.
524 uint64_t Weight;
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
SampleProfile.cpp 14 // This pass generates branch weight annotations on the IR:
18 // The weight of each edge is the weight of the target block for
19 // that edge. The weight of a block B is computed as the maximum
319 // Inline candidate comparer using call site weight
546 // Here use error_code to represent: 1) The dangling probe. 2) Ignore the weight
548 // tell the inference algorithm to infer the BB weight.
554 // probe, we choose to infer the BB's weight.
607 << " - weight: " << R.get() << " - factor: "
1238 ErrorOr<uint64_t> Weight = getBlockWeight(CB->getParent())
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
CodeExtractor.cpp 1425 // Check for no total weight.
1436 const auto &Weight = BranchDist.Weights[I];
1438 // Get the weight and update the current BFI.
1439 BranchWeights[Weight.TargetNode.Index] = Weight.Amount;
1440 BranchProbability BP(Weight.Amount, BranchDist.Total);
1441 EdgeProbabilities[Weight.TargetNode.Index] = BP;
1616 // Update the branch weight for this successor.

Completed in 123 milliseconds

1 2