/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/FuzzMutate/ |
D | Operations.h | 37 OpDescriptor binOpDescriptor(unsigned Weight, Instruction::BinaryOps Op); 38 OpDescriptor cmpOpDescriptor(unsigned Weight, Instruction::OtherOps CmpOp, 40 OpDescriptor splitBlockDescriptor(unsigned Weight); 41 OpDescriptor gepDescriptor(unsigned Weight); 42 OpDescriptor extractValueDescriptor(unsigned Weight); 43 OpDescriptor insertValueDescriptor(unsigned Weight); 44 OpDescriptor extractElementDescriptor(unsigned Weight); 45 OpDescriptor insertElementDescriptor(unsigned Weight); 46 OpDescriptor shuffleVectorDescriptor(unsigned Weight);
|
D | Random.h | 60 ReservoirSampler &sample(const T &Item, uint64_t Weight) { in sample() argument 61 if (!Weight) in sample() 64 TotalWeight += Weight; in sample() 66 if (uniform<uint64_t>(RandGen, 1, TotalWeight) <= Weight) in sample() 83 uint64_t Weight) { in makeSampler() argument 85 RS.sample(Item, Weight); in makeSampler()
|
/third_party/skia/modules/canvaskit/ |
D | paragraph_bindings_gen.cpp | 36 enum_<SkFontStyle::Weight>("FontWeight") in EMSCRIPTEN_BINDINGS() 37 .value("Invisible", SkFontStyle::Weight::kInvisible_Weight) in EMSCRIPTEN_BINDINGS() 38 .value("Thin", SkFontStyle::Weight::kThin_Weight) in EMSCRIPTEN_BINDINGS() 39 .value("ExtraLight", SkFontStyle::Weight::kExtraLight_Weight) in EMSCRIPTEN_BINDINGS() 40 .value("Light", SkFontStyle::Weight::kLight_Weight) in EMSCRIPTEN_BINDINGS() 41 .value("Normal", SkFontStyle::Weight::kNormal_Weight) in EMSCRIPTEN_BINDINGS() 42 .value("Medium", SkFontStyle::Weight::kMedium_Weight) in EMSCRIPTEN_BINDINGS() 43 .value("SemiBold", SkFontStyle::Weight::kSemiBold_Weight) in EMSCRIPTEN_BINDINGS() 44 .value("Bold", SkFontStyle::Weight::kBold_Weight) in EMSCRIPTEN_BINDINGS() 45 .value("ExtraBold", SkFontStyle::Weight::kExtraBold_Weight) in EMSCRIPTEN_BINDINGS() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | BlockFrequencyInfoImpl.cpp | 73 using Weight = BlockFrequencyInfoImplBase::Weight; typedef 100 BlockMass takeMass(uint32_t Weight); 112 BlockMass DitheringDistributer::takeMass(uint32_t Weight) { in takeMass() argument 113 assert(Weight && "invalid weight"); in takeMass() 114 assert(Weight <= RemWeight); in takeMass() 115 BlockMass Mass = RemMass * BranchProbability(Weight, RemWeight); in takeMass() 118 RemWeight -= Weight; in takeMass() 124 Weight::DistType Type) { in add() 137 Weights.push_back(Weight(Type, Node, Amount)); in add() 140 static void combineWeight(Weight &W, const Weight &OtherW) { in combineWeight() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | CFGMST.h | 124 uint64_t Weight = 2; in buildEdges() local 137 Weight = BPI->getEdgeProbability(&*BB, TargetBB).scale(scaleFactor); in buildEdges() 138 auto *E = &addEdge(&*BB, TargetBB, Weight); in buildEdges() 141 << TargetBB->getName() << " w=" << Weight << "\n"); in buildEdges() 145 if (Weight > MaxEntryOutWeight) { in buildEdges() 146 MaxEntryOutWeight = Weight; in buildEdges() 153 if (Weight > MaxExitInWeight) { in buildEdges() 154 MaxExitInWeight = Weight; in buildEdges() 185 EntryIncoming->Weight = MaxExitOutWeight; in buildEdges() 186 ExitOutgoing->Weight = EntryInWeight + 1; in buildEdges() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/ |
D | Operations.cpp | 91 OpDescriptor llvm::fuzzerop::binOpDescriptor(unsigned Weight, in binOpDescriptor() argument 110 return {Weight, {anyIntType(), matchFirstType()}, buildOp}; in binOpDescriptor() 116 return {Weight, {anyFloatType(), matchFirstType()}, buildOp}; in binOpDescriptor() 123 OpDescriptor llvm::fuzzerop::cmpOpDescriptor(unsigned Weight, in cmpOpDescriptor() argument 132 return {Weight, {anyIntType(), matchFirstType()}, buildOp}; in cmpOpDescriptor() 134 return {Weight, {anyFloatType(), matchFirstType()}, buildOp}; in cmpOpDescriptor() 140 OpDescriptor llvm::fuzzerop::splitBlockDescriptor(unsigned Weight) { in splitBlockDescriptor() argument 167 return {Weight, {isInt1Ty}, buildSplitBlock}; in splitBlockDescriptor() 170 OpDescriptor llvm::fuzzerop::gepDescriptor(unsigned Weight) { in gepDescriptor() argument 179 return {Weight, {sizedPtrType(), anyIntType()}, buildGEP}; in gepDescriptor() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/ |
D | SampleProf.h | 227 sampleprof_error addSamples(uint64_t S, uint64_t Weight = 1) { 229 NumSamples = SaturatingMultiplyAdd(S, Weight, NumSamples, &Overflowed); 240 uint64_t Weight = 1) { 244 SaturatingMultiplyAdd(S, Weight, TargetSamples, &Overflowed); 269 sampleprof_error merge(const SampleRecord &Other, uint64_t Weight = 1) { 270 sampleprof_error Result = addSamples(Other.getSamples(), Weight); 272 MergeResult(Result, addCalledTarget(I.first(), I.second, Weight)); 307 sampleprof_error addTotalSamples(uint64_t Num, uint64_t Weight = 1) { 310 SaturatingMultiplyAdd(Num, Weight, TotalSamples, &Overflowed); 315 sampleprof_error addHeadSamples(uint64_t Num, uint64_t Weight = 1) { [all …]
|
D | InstrProfWriter.h | 53 void addRecord(NamedInstrProfRecord &&I, uint64_t Weight, 111 uint64_t Weight, function_ref<void(Error)> Warn);
|
D | InstrProf.h | 674 void merge(InstrProfValueSiteRecord &Input, uint64_t Weight, 677 void scale(uint64_t Weight, function_ref<void(instrprof_error)> Warn); 747 void merge(InstrProfRecord &Other, uint64_t Weight, 752 void scale(uint64_t Weight, function_ref<void(instrprof_error)> Warn); 834 uint64_t Weight, 838 void scaleValueProfData(uint32_t ValueKind, uint64_t Weight,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonISelDAGToDAG.cpp | 1646 int Weight; member 1651 WeightedLeaf(SDValue Value, int Weight, int InsertionOrder) : in WeightedLeaf() 1652 Value(Value), Weight(Weight), InsertionOrder(InsertionOrder) { in WeightedLeaf() 1653 assert(Weight >= 0 && "Weight must be >= 0"); in WeightedLeaf() 1658 return A.Weight == B.Weight ? in Compare() 1660 (A.Weight > B.Weight); in Compare() 1721 L.Weight = 1000; in pushToBottom() 1747 if (!Result.Value.getNode() || Result.Weight > L.Weight || in findSHL() 1748 (Result.Weight == L.Weight && Result.InsertionOrder > L.InsertionOrder)) in findSHL() 1774 if (!Result.Value.getNode() || Result.Weight > L.Weight || in findMULbyConst() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | CalcSpillWeights.cpp | 191 float Weight; in weightCalcHelper() member 194 Reg(R), Weight(W), IsPhys(P) {} in weightCalcHelper() 199 if (Weight != rhs.Weight) in weightCalcHelper() 200 return (Weight > rhs.Weight); in weightCalcHelper()
|
D | RegisterPressure.cpp | 58 unsigned Weight = PSetI.getWeight(); in increaseSetPressure() local 60 CurrSetPressure[*PSetI] += Weight; in increaseSetPressure() 72 unsigned Weight = PSetI.getWeight(); in decreaseSetPressure() local 74 assert(CurrSetPressure[*PSetI] >= Weight && "register pressure underflow"); in decreaseSetPressure() 75 CurrSetPressure[*PSetI] -= Weight; in decreaseSetPressure() 162 unsigned Weight = PSetI.getWeight(); in increaseRegPressure() local 164 CurrSetPressure[*PSetI] += Weight; in increaseRegPressure() 673 int Weight = IsDec ? -PSetI.getWeight() : PSetI.getWeight(); in addPressureChange() local 691 unsigned NewUnitInc = I->getUnitInc() + Weight; in addPressureChange()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | GCNRegBankReassign.cpp | 88 : MI(mi), Reg(reg), FreeBanks(freebanks), Weight(weight) {} in Candidate() 90 bool operator< (const Candidate& RHS) const { return Weight < RHS.Weight; } in operator <() 97 dbgs() << " weight " << Weight << '\n'; in dump() 104 unsigned Weight; member in __anon25733a380111::GCNRegBankReassign::Candidate 111 if (C.Weight) push_back(C); in push() 552 unsigned Weight = getOperandGatherWeight(MI, Reg1, Reg2, StallCycles); in collectCandidates() local 553 Weight += MLI->getLoopDepth(MI.getParent()) * 10; in collectCandidates() 555 LLVM_DEBUG(dbgs() << "Stall weight = " << Weight << '\n'); in collectCandidates() 560 Candidates.push(Candidate(&MI, Reg1, FreeBanks1, Weight in collectCandidates() 563 Candidates.push(Candidate(&MI, Reg2, FreeBanks2, Weight in collectCandidates()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | BlendFuncExtendedTest.cpp | 26 float Weight(const float /*dst*/[4], const float src[4], const float src1[4]) in Weight() function 56 r[0] = src[0] * Weight<RGBs, 0>(dst, src, src1) + dst[0] * Weight<RGBd, 0>(dst, src, src1); in BlendEquationFuncAdd() 57 r[1] = src[1] * Weight<RGBs, 1>(dst, src, src1) + dst[1] * Weight<RGBd, 1>(dst, src, src1); in BlendEquationFuncAdd() 58 r[2] = src[2] * Weight<RGBs, 2>(dst, src, src1) + dst[2] * Weight<RGBd, 2>(dst, src, src1); in BlendEquationFuncAdd() 59 r[3] = src[3] * Weight<As, 3>(dst, src, src1) + dst[3] * Weight<Ad, 3>(dst, src, src1); in BlendEquationFuncAdd()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
D | IceCfgNode.cpp | 350 int32_t Weight = 0; // preference for topological order member in Ice::__anonde8631180211::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 …]
|
D | IceOperand.h | 575 explicit RegWeight(BaseType Weight) : Weight(Weight) {} in RegWeight() argument 583 Weight = Inf; in addWeight() 584 else if (Weight != Inf) in addWeight() 585 if (Utils::add_overflow(Weight, Delta, &Weight) || Weight == Inf) in addWeight() 586 Weight = Max; in addWeight() 588 void addWeight(const RegWeight &Other) { addWeight(Other.Weight); } in addWeight() 589 void setWeight(BaseType Val) { Weight = Val; } in setWeight() 590 BaseType getWeight() const { return Weight; } in getWeight() 593 BaseType Weight = 0;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/ |
D | InstrProf.cpp | 602 uint64_t Weight, in merge() argument 614 I->Count = SaturatingMultiplyAdd(J->Count, Weight, I->Count, &Overflowed); in merge() 624 void InstrProfValueSiteRecord::scale(uint64_t Weight, in scale() argument 628 I->Count = SaturatingMultiply(I->Count, Weight, &Overflowed); in scale() 637 uint32_t ValueKind, InstrProfRecord &Src, uint64_t Weight, in mergeValueProfData() argument 652 ThisSiteRecords[I].merge(OtherSiteRecords[I], Weight, Warn); in mergeValueProfData() 655 void InstrProfRecord::merge(InstrProfRecord &Other, uint64_t Weight, in merge() argument 667 SaturatingMultiplyAdd(Other.Counts[I], Weight, Counts[I], &Overflowed); in merge() 673 mergeValueProfData(Kind, Other, Weight, Warn); in merge() 677 uint32_t ValueKind, uint64_t Weight, in scaleValueProfData() argument [all …]
|
D | InstrProfWriter.cpp | 183 void InstrProfWriter::addRecord(NamedInstrProfRecord &&I, uint64_t Weight, in addRecord() argument 187 addRecord(Name, Hash, std::move(I), Weight, Warn); in addRecord() 225 InstrProfRecord &&I, uint64_t Weight, in addRecord() argument 242 if (Weight > 1) in addRecord() 243 Dest.scale(Weight, MapWarn); in addRecord() 246 Dest.merge(I, Weight, MapWarn); in addRecord()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyRegColoring.cpp | 68 float Weight = 0.0f; in computeWeight() local 70 Weight += LiveIntervals::getSpillWeight(MO.isDef(), MO.isUse(), MBFI, in computeWeight() 72 return Weight; in computeWeight()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | CFGPrinter.h | 167 ConstantInt *Weight = 169 if (!Weight) 174 return ("label=\"W:" + Twine(Weight->getZExtValue()) + "\"").str();
|
D | BlockFrequencyInfoImpl.h | 356 struct Weight { struct 362 Weight() = default; argument 363 Weight(DistType Type, BlockNode TargetNode, uint64_t Amount) in Weight() argument 376 using WeightList = SmallVector<Weight, 4>; 385 add(Node, Amount, Weight::Local); in addLocal() 389 add(Node, Amount, Weight::Exit); in addExit() 393 add(Node, Amount, Weight::Backedge); in addBackedge() 408 void add(const BlockNode &Node, uint64_t Amount, Weight::DistType Type); 447 const BlockNode &Pred, const BlockNode &Succ, uint64_t Weight);
|
/third_party/skia/src/sfnt/ |
D | SkPanose.h | 47 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
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | SampleProfile.cpp | 779 ErrorOr<uint64_t> Weight = getBlockWeight(&BB); in computeBlockWeights() local 780 if (Weight) { in computeBlockWeights() 781 BlockWeights[&BB] = Weight.get(); in computeBlockWeights() 1146 uint64_t Weight = BlockWeights[EC]; in findEquivalencesFor() local 1165 Weight = std::max(Weight, BlockWeights[BB2]); in findEquivalencesFor() 1171 BlockWeights[EC] = Weight; in findEquivalencesFor() 1574 uint64_t Weight = EdgeWeights[E]; in propagateWeights() local 1579 if (Weight > std::numeric_limits<uint32_t>::max()) { in propagateWeights() 1581 Weight = std::numeric_limits<uint32_t>::max(); in propagateWeights() 1585 Weights.push_back(static_cast<uint32_t>(Weight + 1)); in propagateWeights() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/MCTargetDesc/ |
D | HexagonShuffler.h | 38 unsigned Slots, Weight; variable 51 unsigned getWeight() const { return (Weight); } in getWeight()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 504 APInt Weight = P.second; // Number of paths to this operand. in LinearizeExprTree() local 505 LLVM_DEBUG(dbgs() << "OPERAND: " << *Op << " (" << Weight << ")\n"); in LinearizeExprTree() 512 LLVM_DEBUG(dbgs() << "DIRECT ADD: " << *Op << " (" << Weight << ")\n"); in LinearizeExprTree() 513 Worklist.push_back(std::make_pair(BO, Weight)); in LinearizeExprTree() 526 << "ADD USES LEAF: " << *Op << " (" << Weight << ")\n"); in LinearizeExprTree() 528 Leaves[Op] = Weight; in LinearizeExprTree() 538 IncorporateWeight(It->second, Weight, Opcode); in LinearizeExprTree() 565 Weight = It->second; in LinearizeExprTree() 586 << "MORPH LEAF: " << *Op << " (" << Weight << ") TO "); in LinearizeExprTree() 589 Worklist.push_back(std::make_pair(Tmp, Weight)); in LinearizeExprTree() [all …]
|