Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPContext.cpp332 APInt Score(64, 1); in getVariantMatchScore() local
341 Score += UserScore.getZExtValue(); in getVariantMatchScore()
374 Score += (1ULL << (NoConstructTraits + 0)); in getVariantMatchScore()
377 Score += (1ULL << (NoConstructTraits + 1)); in getVariantMatchScore()
380 Score += (1ULL << (NoConstructTraits + 2)); in getVariantMatchScore()
383 Score += (1ULL << (NoConstructTraits + 0)); in getVariantMatchScore()
386 Score += (1ULL << (NoConstructTraits + 1)); in getVariantMatchScore()
389 Score += (1ULL << (NoConstructTraits + 2)); in getVariantMatchScore()
405 Score += (1ULL << ConstructMatches[ConstructIdx++]); in getVariantMatchScore()
408 LLVM_DEBUG(dbgs() << "[" << DEBUG_TYPE << "] Variant has a score of " << Score in getVariantMatchScore()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DFunctionSpecialization.h139 unsigned Score; member
147 Spec(Function *F, const SpecSig &S, unsigned Score, unsigned CodeSize) in Spec()
148 : F(F), Sig(S), Score(Score), CodeSize(CodeSize) {} in Spec()
149 Spec(Function *F, const SpecSig &&S, unsigned Score, unsigned CodeSize) in Spec()
150 : F(F), Sig(S), Score(Score), CodeSize(CodeSize) {} in Spec()
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DOMPContext.h130 APInt *Score = nullptr) {
132 Score);
139 APInt *Score = nullptr) {
140 if (Score)
141 ScoreMap[Property] = *Score;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanSLP.cpp285 unsigned Score = 0; in getLAScore() local
288 Score += in getLAScore()
290 return Score; in getLAScore()
329 unsigned Score = getLAScore(Last, Candidate, Depth, IAI); in getBest() local
331 PrevScore = Score; in getBest()
332 if (PrevScore != Score) in getBest()
334 PrevScore = Score; in getBest()
336 if (Score > BestScore) { in getBest()
337 BestScore = Score; in getBest()
H A DSLPVectorizer.cpp2615 int Score = in getLookAheadScore() local
2618 if (Score) { in getLookAheadScore()
2620 if (Score <= -SplatScore) { in getLookAheadScore()
2622 Score = 0; in getLookAheadScore()
2624 Score += SplatScore; in getLookAheadScore()
2630 Score *= ScoreScaleFactor; in getLookAheadScore()
2631 Score += getExternalUseScore(Lane, OpIdx, Idx); in getLookAheadScore()
2635 return Score; in getLookAheadScore()
2672 unsigned Score = 0; in getBestOperand() member
2674 BestOp.Score = in getBestOperand()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp748 if (AllSpecs[I].Score != AllSpecs[J].Score) in run()
749 return AllSpecs[I].Score > AllSpecs[J].Score; in run()
774 << " , score " << S.Score << "\n"; in run()
937 unsigned Score = 0; in findSpecializations() local
941 Score += getInliningBonus(A.Formal, A.Actual); in findSpecializations()
955 << Score << " (" << (Score * 100 / FuncSize) << "%)}\n"); in findSpecializations()
958 if (Score > MinInliningBonus * FuncSize / 100) in findSpecializations()
986 Score += std::max(CodeSizeSavings, LatencySavings); in findSpecializations()
995 auto &Spec = AllSpecs.emplace_back(F, S, Score, SpecSize); in findSpecializations()
1193 if (!S.Clone || (BestSpec && S.Score <= BestSpec->Score)) in updateCallSites()
H A DHotColdSplitting.cpp478 static unsigned getEntryPointScore(BasicBlock &BB, unsigned Score) { in getEntryPointScore() argument
479 return mayExtractBlock(BB) ? Score : 0; in getEntryPointScore()
504 auto addBlockToRegion = [&](BasicBlock *BB, unsigned Score) { in create() argument
506 ColdRegion->Blocks.emplace_back(BB, Score); in create()
618 unsigned Score = Block.second; in takeSingleEntrySubRegion() local
621 if (!InSubRegion && Score > NextScore) { in takeSingleEntrySubRegion()
623 NextScore = Score; in takeSingleEntrySubRegion()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeLayout.cpp183 explicit MergeGainT(double Score, size_t MergeOffset, MergeTypeT MergeType) in MergeGainT()
184 : Score(Score), MergeOffset(MergeOffset), MergeType(MergeType) {} in MergeGainT()
186 double score() const { return Score; } in score()
196 return (Other.Score > EPS && Other.Score > Score + EPS); in operator <()
206 double Score{-1.0}; member
354 double Score{0}; member
834 double Score = 0; in extTSPScore() local
838 Score += ::extTSPScore(SrcBlock->EstimatedAddr, SrcBlock->Size, in extTSPScore()
842 return Score; in extTSPScore()
944 double CurScore = ChainPred->Score; in computeMergeGain()
[all …]
/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.cpp264 int Score = 0; in findFirstSlotCandidate() local
286 Score++; in findFirstSlotCandidate()
290 int TotalScore = RetagScore[ST] += Score; in findFirstSlotCandidate()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIFixSGPRCopies.cpp96 unsigned Score = 0; member in __anon8637e2150111::V2SCopyInfo
116 << "\nScore: " << Score << "\n"; in dump()
991 Info->Score = 0; in needToBeConvertedToVALU()
1022 Info->Score = Penalty > Profit ? 0 : Profit - Penalty; in needToBeConvertedToVALU()
1023 Info->NeedToBeConvertedToVALU = Info->Score < 3; in needToBeConvertedToVALU()
1078 << " Score: " << C.second.Score << "\n"); in lowerVGPR2SGPRCopies()
H A DSIInsertWaitcnts.cpp437 static bool mergeScore(const MergeInfo &M, unsigned &Score,
461 unsigned Score);
861 unsigned Score) { in setScoreByInterval() argument
865 VgprScores[CntTy][RegNo] = Score; in setScoreByInterval()
868 SgprScores[getSgprScoresIdx(CntTy)][RegNo - NUM_ALL_VGPRS] = Score; in setScoreByInterval()
877 InstCounterType CntTy, unsigned Score) { in setScoreByOperand() argument
879 setScoreByInterval(Interval, CntTy, Score); in setScoreByOperand()
2369 bool WaitcntBrackets::mergeScore(const MergeInfo &M, unsigned &Score, in mergeScore() argument
2371 unsigned MyShifted = Score <= M.OldLB ? 0 : Score + M.MyShift; in mergeScore()
2374 Score = std::max(MyShifted, OtherShifted); in mergeScore()
H A DAMDGPUPromoteAlloca.cpp259 unsigned &Score = Scores[Alloca]; in sortAllocasToPromote() local
270 Score += UserScore; in sortAllocasToPromote()
272 LLVM_DEBUG(dbgs() << " => Final Score:" << Score << "\n"); in sortAllocasToPromote()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DReassociate.h91 unsigned Score; member
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DGuardWidening.cpp427 auto Score = computeWideningScore(Instr, Candidate, *WideningPoint, in eliminateInstrViaWidening() local
430 << " is " << scoreTypeToString(Score) << "\n"); in eliminateInstrViaWidening()
431 if (Score > BestScoreSoFar) { in eliminateInstrViaWidening()
432 BestScoreSoFar = Score; in eliminateInstrViaWidening()
H A DReassociate.cpp2432 unsigned Score = 0; in ReassociateExpression() local
2445 Score += it->second.Score; in ReassociateExpression()
2462 if (Score > Max || (Score == Max && MaxRank < BestRank)) { in ReassociateExpression()
2464 Max = Score; in ReassociateExpression()
2538 ++res.first->second.Score; in BuildPairMap()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProf.cpp803 double Score = 0.0f, FuncLevelScore = 0.0f; in overlap() local
810 Score += OverlapStats::score(I->Count, J->Count, in overlap()
823 Overlap.Overlap.ValueCounts[ValueKind] += Score; in overlap()
874 double Score = 0.0; in overlap() local
878 Score += OverlapStats::score(Counts[I], Other.Counts[I], in overlap()
882 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.cpp1159 ExprResult Score = parseContextScore(*this); in parseOMPContextSelector() local
1161 if (!AllowsTraitScore && !Score.isUnset()) { in parseOMPContextSelector()
1162 if (Score.isUsable()) { in parseOMPContextSelector()
1165 << getOpenMPContextTraitSetName(Set) << Score.get(); in parseOMPContextSelector()
1171 Score = ExprResult(); in parseOMPContextSelector()
1174 if (Score.isUsable()) in parseOMPContextSelector()
1175 TISelector.ScoreOrCondition = Score.get(); in parseOMPContextSelector()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DOpenMPClause.cpp2792 std::optional<llvm::APSInt> Score; in getAsVariantMatchInfo() local
2795 if ((Score = Selector.ScoreOrCondition->getIntegerConstantExpr(ASTCtx))) in getAsVariantMatchInfo()
2796 ScorePtr = &*Score; in getAsVariantMatchInfo()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DGlobalISelEmitter.cpp2053 int Score = P.getPatternComplexity(CGP); in runOnPattern() local
2055 RuleMatcherScores[M.getRuleID()] = Score; in runOnPattern()
/freebsd/contrib/expat/
H A DChanges333 (Base Score: 7.5, Temporal Score: 7.2)
434 (Base Score: 7.5, Temporal Score: 7.2)