Home
last modified time | relevance | path

Searched refs:Score (Results 1 – 21 of 21) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DFunctionSpecialization.h132 unsigned Score;
137 Spec(Function *F, const SpecSig &S, unsigned Score)
138 : F(F), Sig(S), Score(Score) {}
139 Spec(Function *F, const SpecSig &&S, unsigned Score)
140 : F(F), Sig(S), Score(Score) {}
111 Cost Score; global() member
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPContext.cpp273 APInt Score(64, 1); in getVariantMatchScore() local
282 Score += UserScore.getZExtValue(); in getVariantMatchScore()
310 Score += (1ULL << (NoConstructTraits + 0)); in getVariantMatchScore()
313 Score += (1ULL << (NoConstructTraits + 1)); in getVariantMatchScore()
316 Score += (1ULL << (NoConstructTraits + 2)); in getVariantMatchScore()
332 Score += (1ULL << ConstructMatches[ConstructIdx++]); in getVariantMatchScore()
335 LLVM_DEBUG(dbgs() << "[" << DEBUG_TYPE << "] Variant has a score of " << Score in getVariantMatchScore()
337 return Score; in getVariantMatchScore()
356 APInt Score = getVariantMatchScore(VMI, Ctx, ConstructMatches); in getBestVariantMatchForContext() local
357 if (Score.ult(BestScore)) in getBestVariantMatchForContext()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DOMPContext.h125 APInt *Score = nullptr) {
127 Score);
134 APInt *Score = nullptr) {
135 if (Score)
136 ScoreMap[Property] = *Score;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanSLP.cpp229 unsigned Score = 0; in getLAScore() local
232 Score += in getLAScore()
234 return Score; in getLAScore()
273 unsigned Score = getLAScore(Last, Candidate, Depth, IAI); in getBest() local
275 PrevScore = Score; in getBest()
276 if (PrevScore != Score) in getBest()
278 PrevScore = Score; in getBest()
280 if (Score > BestScore) { in getBest()
281 BestScore = Score; in getBest()
H A DSLPVectorizer.cpp1450 /// Score for failing to find a decent match.
1452 /// Score if all users are vectorized.
1847 /// Score scaling factor for fully compatible instructions but with
1864 int Score = in getLookAheadScore() local
1867 if (Score) { in getLookAheadScore()
1869 if (Score <= -SplatScore) { in getLookAheadScore()
1872 Score = 1; in getLookAheadScore()
1874 Score += SplatScore; in getLookAheadScore()
1880 Score *= ScoreScaleFactor; in getLookAheadScore()
1881 Score in getLookAheadScore()
1921 unsigned Score = 0; getBestOperand() member
1957 int Score = getLookAheadScore(OpLeft, OpRight, MainAltOps, Lane, getBestOperand() local
2482 int Score = LookAhead.getScoreAtLevelRec(Candidates[I].first, findBestRootPair() local
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeLayout.cpp183 explicit MergeGainT(double Score, size_t MergeOffset, MergeTypeT MergeType)
184 : Score(Score), MergeOffset(MergeOffset), MergeType(MergeType) {}
186 double score() const { return Score; }
196 return (Other.Score > EPS && Other.Score > Score + EPS);
206 double Score{-1.0};
354 double Score{0}; in srcChain()
834 double Score in getBestMergeGain()
185 double Score{-1.0}; global() member
330 double Score{0}; global() member
777 double Score = 0; extTSPScore() local
1024 double Score = 0; calcExtTspScore() local
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp692 if (AllSpecs[I].Score != AllSpecs[J].Score) in run()
693 return AllSpecs[I].Score > AllSpecs[J].Score; in run()
718 << " , score " << S.Score << "\n"; in run()
876 unsigned Score = 0; in findSpecializations() local
880 Score += getInliningBonus(A.Formal, A.Actual); in findSpecializations()
887 << ", Inlining = " << Score << "}\n"); in findSpecializations()
891 auto IsProfitable = [](Bonus &B, unsigned Score, unsigned FuncSize, in findSpecializations()
897 if (Score > MinInliningBonus * FuncSize / 100) in findSpecializations()
912 if (!IsProfitable(B, Score, FuncSize, FunctionGrowth[F])) in findSpecializations()
916 Score += std::max(B.CodeSize, B.Latency); in findSpecializations()
[all …]
H A DHotColdSplitting.cpp479 static unsigned getEntryPointScore(BasicBlock &BB, unsigned Score) { in getEntryPointScore() argument
480 return mayExtractBlock(BB) ? Score : 0; in getEntryPointScore()
505 auto addBlockToRegion = [&](BasicBlock *BB, unsigned Score) { in create() argument
507 ColdRegion->Blocks.emplace_back(BB, Score); in create()
619 unsigned Score = Block.second; in takeSingleEntrySubRegion() local
622 if (!InSubRegion && Score > NextScore) { in takeSingleEntrySubRegion()
624 NextScore = Score; in takeSingleEntrySubRegion()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSwitchLoweringUtils.cpp150 unsigned Score = j == N - 1 ? 0 : PartitionsScore[j + 1]; in findJumpTables() local
154 Score += PartitionScores::SingleCase; in findJumpTables()
156 Score += PartitionScores::FewCases; in findJumpTables()
158 Score += PartitionScores::Table; in findJumpTables()
163 (NumPartitions == MinPartitions[i] && Score > PartitionsScore[i])) { in findJumpTables()
166 PartitionsScore[i] = Score; in findJumpTables()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64StackTaggingPreRA.cpp270 int Score = 0; in findFirstSlotCandidate()
293 Score++; in findFirstSlotCandidate()
297 int TotalScore = RetagScore[ST] += Score; in findFirstSlotCandidate()
271 int Score = 0; findFirstSlotCandidate() local
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIFixSGPRCopies.cpp96 unsigned Score; member in __anon8637e2150111::V2SCopyInfo
116 << "\nScore: " << Score << "\n"; in dump()
972 Info->Score = 0; in needToBeConvertedToVALU()
1003 Info->Score = Penalty > Profit ? 0 : Profit - Penalty; in needToBeConvertedToVALU()
1004 Info->NeedToBeConvertedToVALU = Info->Score < 3; in needToBeConvertedToVALU()
1059 << " Score: " << C.second.Score << "\n"); in lowerVGPR2SGPRCopies()
H A DSIInsertWaitcnts.cpp378 static bool mergeScore(const MergeInfo &M, unsigned &Score,
2079 bool WaitcntBrackets::mergeScore(const MergeInfo &M, unsigned &Score, in mergeScore() argument
2081 unsigned MyShifted = Score <= M.OldLB ? 0 : Score + M.MyShift; in mergeScore()
2084 Score = std::max(MyShifted, OtherShifted); in mergeScore()
H A DAMDGPUPromoteAlloca.cpp272 unsigned &Score = Scores[Alloca]; in sortAllocasToPromote() local
283 Score += UserScore; in sortAllocasToPromote()
285 LLVM_DEBUG(dbgs() << " => Final Score:" << Score << "\n"); in sortAllocasToPromote()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DReassociate.h103 unsigned Score; member
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DGuardWidening.cpp428 auto Score = computeWideningScore(Instr, Candidate, *WideningPoint, in eliminateInstrViaWidening() local
431 << " is " << scoreTypeToString(Score) << "\n"); in eliminateInstrViaWidening()
432 if (Score > BestScoreSoFar) { in eliminateInstrViaWidening()
433 BestScoreSoFar = Score; in eliminateInstrViaWidening()
H A DReassociate.cpp2430 unsigned Score = 0; in ReassociateExpression() local
2443 Score += it->second.Score; in ReassociateExpression()
2460 if (Score > Max || (Score == Max && MaxRank < BestRank)) { in ReassociateExpression()
2462 Max = Score; in ReassociateExpression()
2536 ++res.first->second.Score; in BuildPairMap()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProf.cpp751 double Score = 0.0f, FuncLevelScore = 0.0f; in overlap() local
758 Score += OverlapStats::score(I->Count, J->Count, in overlap()
771 Overlap.Overlap.ValueCounts[ValueKind] += Score; in overlap()
822 double Score = 0.0; in overlap() local
826 Score += OverlapStats::score(Counts[I], Other.Counts[I], in overlap()
830 Overlap.Overlap.CountSum += Score; in overlap()
/freebsd/contrib/ntp/
H A DNEWS2111 CVSS2: (AV:N/AC:M/Au:N/C:N/I:N/A:P) Base Score: 4.3 - MEDIUM
2112 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N Base Score: 5.3 - MEDIUM
2136 CVSS2: (AV:N/AC:L/Au:N/C:N/I:P/A:N) Base Score: 5.0 - MEDIUM
2137 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N Base Score: 5.3 - MEDIUM
2158 CVSS: (AV:N/AC:M/Au:N/C:N/I:N/A:P) Base Score: 4.3 - MEDIUM
2180 CVSS: (AV:N/AC:M/Au:N/C:N/I:P/A:P) Base Score: 5.8
2202 CVSS: (AV:N/AC:M/Au:N/C:N/I:N/A:P) Base Score: 4.3 - MEDIUM
2224 CVSS: (AV:N/AC:L/Au:S/C:N/I:P/A:N) Base Score: 4.0 - MEDIUM
2251 CVSS: (AV:L/AC:H/Au:N/C:N/I:N/A:P) Base Score: 1.2 - LOW
2253 CVSSv3: (CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L) Base Score 2.
[all...]
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseOpenMP.cpp1212 ExprResult Score = parseContextScore(*this); in parseOMPContextSelector() local
1214 if (!AllowsTraitScore && !Score.isUnset()) { in parseOMPContextSelector()
1215 if (Score.isUsable()) { in parseOMPContextSelector()
1218 << getOpenMPContextTraitSetName(Set) << Score.get(); in parseOMPContextSelector()
1224 Score = ExprResult(); in parseOMPContextSelector()
1227 if (Score.isUsable()) in parseOMPContextSelector()
1228 TISelector.ScoreOrCondition = Score.get(); in parseOMPContextSelector()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DOpenMPClause.cpp2598 std::optional<llvm::APSInt> Score; in getAsVariantMatchInfo() local
2601 if ((Score = Selector.ScoreOrCondition->getIntegerConstantExpr(ASTCtx))) in getAsVariantMatchInfo()
2602 ScorePtr = &*Score; in getAsVariantMatchInfo()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DGlobalISelEmitter.cpp1919 int Score = P.getPatternComplexity(CGP); in runOnPattern() local
1921 RuleMatcherScores[M.getRuleID()] = Score; in runOnPattern()