HomeSort by relevance Sort by last modified time
    Searched refs:Weight (Results 1 - 25 of 120) sorted by null

1 2 3 4 5

  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/FuzzMutate/
Operations.h 38 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);
Random.h 53 /// Sample each item in \c Items with unit weight
60 /// Sample a single item with the given weight.
61 ReservoirSampler &sample(const T &Item, uint64_t Weight) {
62 if (!Weight)
63 // If the weight is zero, do nothing.
65 TotalWeight += Weight;
67 if (uniform<uint64_t>(RandGen, 1, TotalWeight) <= Weight)
84 uint64_t Weight) {
86 RS.sample(Item, Weight);
  /external/swiftshader/third_party/LLVM/lib/CodeGen/
MachineBranchProbabilityInfo.cpp 36 uint32_t Weight = getEdgeWeight(MBB, Succ);
39 Sum += Weight;
49 uint32_t Weight = Src->getSuccWeight(Dst);
50 if (!Weight)
52 return Weight;
58 uint32_t Weight = getEdgeWeight(Src, Dst);
63 return (uint64_t)Weight * 5 > (uint64_t)Sum * 4;
75 uint32_t Weight = getEdgeWeight(MBB, Succ);
78 Sum += Weight;
81 if (Weight > MaxWeight)
    [all...]
  /external/llvm/include/llvm/ProfileData/
SampleProf.h 120 /// Optionally scale sample count \p S by \p Weight.
124 sampleprof_error addSamples(uint64_t S, uint64_t Weight = 1) {
126 NumSamples = SaturatingMultiplyAdd(S, Weight, NumSamples, &Overflowed);
132 /// Optionally scale sample count \p S by \p Weight.
137 uint64_t Weight = 1) {
141 SaturatingMultiplyAdd(S, Weight, TargetSamples, &Overflowed);
153 /// Optionally scale sample counts by \p Weight.
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));
    [all...]
InstrProfWriter.h 48 /// summed. Optionally scale counts by \p Weight.
49 Error addRecord(InstrProfRecord &&I, uint64_t Weight = 1);
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
CFGMST.h 96 // Traverse the CFG using a stack. Find all the edges and assign the weight.
97 // Edges with large weight will be put into MST first so they are less likely
125 uint64_t Weight = 2;
138 Weight = BPI->getEdgeProbability(&*BB, TargetBB).scale(scaleFactor);
139 auto *E = &addEdge(&*BB, TargetBB, Weight);
142 << TargetBB->getName() << " w=" << Weight << "\n");
146 if (Weight > MaxEntryOutWeight) {
147 MaxEntryOutWeight = Weight;
154 if (Weight > MaxExitInWeight) {
155 MaxExitInWeight = Weight;
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ProfileData/
SampleProf.h 151 /// Optionally scale sample count \p S by \p Weight.
155 sampleprof_error addSamples(uint64_t S, uint64_t Weight = 1) {
157 NumSamples = SaturatingMultiplyAdd(S, Weight, NumSamples, &Overflowed);
163 /// Optionally scale sample count \p S by \p Weight.
168 uint64_t Weight = 1) {
172 SaturatingMultiplyAdd(S, Weight, TargetSamples, &Overflowed);
184 /// Optionally scale sample counts by \p Weight.
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));
    [all...]
InstrProfWriter.h 52 /// summed. Optionally scale counts by \p Weight.
53 void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
95 uint64_t Weight, function_ref<void(Error)> Warn);
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
BlockFrequencyInfoImpl.cpp 74 using Weight = BlockFrequencyInfoImplBase::Weight;
79 /// This class splits up a single mass into portions by weight, dithering to
90 /// 1. Construct a branch probability, P, as the portion's weight divided
94 /// the current portion's weight and mass.
101 BlockMass takeMass(uint32_t Weight);
113 BlockMass DitheringDistributer::takeMass(uint32_t Weight) {
114 assert(Weight && "invalid weight");
115 assert(Weight <= RemWeight)
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Analysis/
BranchProbabilityInfo.cpp 58 // | | (Weight = 124)
62 // | (Weight = 4)
81 // Standard weight value. Used when none of the heuristics set weight for
85 // Minimum weight of an edge. Please note, that weight is NEVER 0.
158 // operand to the metadata node is a name, not a weight.
163 // don't add them until all weihts are present. Each weight value is clamped
169 ConstantInt *Weight = dyn_cast<ConstantInt>(WeightsNode->getOperand(i));
170 if (!Weight)
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/FuzzMutate/
Operations.cpp 92 OpDescriptor llvm::fuzzerop::binOpDescriptor(unsigned Weight,
111 return {Weight, {anyIntType(), matchFirstType()}, buildOp};
117 return {Weight, {anyFloatType(), matchFirstType()}, buildOp};
124 OpDescriptor llvm::fuzzerop::cmpOpDescriptor(unsigned Weight,
133 return {Weight, {anyIntType(), matchFirstType()}, buildOp};
135 return {Weight, {anyFloatType(), matchFirstType()}, buildOp};
141 OpDescriptor llvm::fuzzerop::splitBlockDescriptor(unsigned Weight) {
168 return {Weight, {isInt1Ty}, buildSplitBlock};
171 OpDescriptor llvm::fuzzerop::gepDescriptor(unsigned Weight) {
180 return {Weight, {sizedPtrType(), anyIntType()}, buildGEP}
    [all...]
  /external/llvm/lib/Analysis/
BlockFrequencyInfoImpl.cpp 53 typedef BlockFrequencyInfoImplBase::Weight Weight;
58 /// This class splits up a single mass into portions by weight, dithering to
69 /// 1. Construct a branch probability, P, as the portion's weight divided
73 /// the current portion's weight and mass.
80 BlockMass takeMass(uint32_t Weight);
92 BlockMass DitheringDistributer::takeMass(uint32_t Weight) {
93 assert(Weight && "invalid weight");
94 assert(Weight <= RemWeight)
    [all...]
  /external/llvm/utils/TableGen/
CodeGenRegisters.h 436 // Weight assigned to this RegUnit for estimating register pressure.
439 unsigned Weight;
450 RegUnit() : Weight(0), RegClassUnitSetsIdx(0) {
466 unsigned Weight; // Cache the sum of all unit weights.
469 RegUnitSet() : Weight(0), Order(0) {}
546 // Compute a weight for each register unit created during getSubRegs.
629 unsigned newRegUnit(unsigned Weight) {
631 RegUnits.back().Weight = Weight;
637 // register additional weight but don't affect aliasing
    [all...]
  /external/harfbuzz_ng/src/
hb-aat-fdsc-table.hh 80 Weight = HB_TAG ('w','g','h','t'),
81 /* Percent weight relative to regular weight.
  /external/swiftshader/third_party/LLVM/include/llvm/Analysis/
BranchProbabilityInfo.h 28 // Default weight value. Used when we don't have information about the edge.
30 // the successors have a weight yet. But it doesn't make sense when providing
31 // weight to an edge that may have siblings with non-zero weights. This can
33 // weight to just "inherit" the non-zero weight of an adjacent successor.
60 uint32_t Weight);
  /external/swiftshader/third_party/llvm-7.0/llvm/test/MC/ELF/
cgprofile.s 83 # CHECK-NEXT: Weight: 32
88 # CHECK-NEXT: Weight: 11
93 # CHECK-NEXT: Weight: 20
98 # CHECK-NEXT: Weight: 42
  /external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
CodeGenRegisters.h 473 // Weight assigned to this RegUnit for estimating register pressure.
476 unsigned Weight;
490 RegUnit() : Weight(0), RegClassUnitSetsIdx(0), Artificial(false) {
506 unsigned Weight = 0; // Cache the sum of all unit weights.
592 // Compute a weight for each register unit created during getSubRegs.
676 unsigned newRegUnit(unsigned Weight) {
678 RegUnits.back().Weight = Weight;
684 // register additional weight but don't affect aliasing.
714 unsigned Weight = 0
    [all...]
  /external/llvm/lib/Transforms/Instrumentation/
CFGMST.h 81 // Traverse the CFG using a stack. Find all the edges and assign the weight.
82 // Edges with large weight will be put into MST first so they are less likely
104 uint64_t Weight = 2;
117 Weight = BPI->getEdgeProbability(&*BB, TargetBB).scale(scaleFactor);
118 addEdge(&*BB, TargetBB, Weight).IsCritical = Critical;
120 << TargetBB->getName() << " w=" << Weight << "\n");
130 // Sort CFG edges based on its weight.
135 return Edge1->Weight > Edge2->Weight;
139 // Traverse all the edges and compute the Minimum Weight Spanning Tre
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
HexagonISelDAGToDAG.cpp     [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
CFGPrinter.h 168 ConstantInt *Weight =
170 if (!Weight)
173 // Prepend a 'W' to indicate that this is a weight rather than the actual
175 Twine Attrs = "label=\"W:" + Twine(Weight->getZExtValue()) + "\"";
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
CalcSpillWeights.cpp 113 // weight must reflect this.
148 float weight = weightCalcHelper(li); local
150 if (weight < 0)
152 li.weight = weight;
173 // Don't recompute spill weight for an unspillable register.
200 float Weight;
204 Reg(R), Weight(W), IsPhys(P), HintOrder(HR) {}
209 if (Weight != rhs.Weight)
244 float weight = 1.0f; local
    [all...]
  /external/libvpx/libvpx/vp8/encoder/
mcomp.h 32 int vp8_mv_bit_cost(int_mv *mv, int_mv *ref, int *mvcost[2], int Weight);
  /external/skia/include/core/
SkFontStyle.h 15 enum Weight {
47 constexpr SkFontStyle(int weight, int width, Slant slant) : fValue(
48 (SkTPin<int>(weight, kInvisible_Weight, kExtraBlack_Weight)) +
59 int weight() const { return fValue & 0xFFFF; } function in class:SkFontStyle
  /external/skia/modules/sksg/include/
SkSGColorFilter.h 69 * then mixes with the input based on weight. Leaves alpha unchanged.
80 SG_ATTRIBUTE(Weight, float, fWeight)
  /external/skia/src/sfnt/
SkPanose.h 47 enum class Weight : SK_OT_BYTE {
197 enum class Weight : SK_OT_BYTE {
318 enum class Weight : SK_OT_BYTE {
452 enum class Weight : SK_OT_BYTE {

Completed in 3005 milliseconds

1 2 3 4 5