Home
last modified time | relevance | path

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

/freebsd-src/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPContext.cpp273 APInt Score(64, 1); in getVariantMatchScore()
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()
357 if (Score in getBestVariantMatchForContext()
272 APInt Score(64, 1); getVariantMatchScore() local
355 APInt Score = getVariantMatchScore(VMI, Ctx, ConstructMatches); getBestVariantMatchForContext() local
[all...]
/freebsd-src/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-src/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DFunctionSpecialization.h132 unsigned Score; member
137 Spec(Function *F, const SpecSig &S, unsigned Score) in Spec()
138 : F(F), Sig(S), Score(Score) {} in Spec()
139 Spec(Function *F, const SpecSig &&S, unsigned Score) in Spec()
140 : F(F), Sig(S), Score(Score) {} in Spec()
/freebsd-src/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. in getScoreAtLevelRec()
1452 /// Score if all users are vectorized. in getScoreAtLevelRec()
1847 /// Score scaling factor for fully compatible instructions but with
1864 int Score = in getMaxNumOperandsThatCanBeReordered()
1867 if (Score) { in getMaxNumOperandsThatCanBeReordered()
1869 if (Score <= -SplatScore) { in getMaxNumOperandsThatCanBeReordered()
1872 Score = 1; in getMaxNumOperandsThatCanBeReordered()
1874 Score += SplatScore; in getMaxNumOperandsThatCanBeReordered()
1880 Score *= ScoreScaleFactor; in getMaxNumOperandsThatCanBeReordered()
1881 Score in getMaxNumOperandsThatCanBeReordered()
1666 int Score = getLookAheadScore() local
1723 unsigned Score = 0; getBestOperand() member
1759 int Score = getLookAheadScore(OpLeft, OpRight, MainAltOps, Lane, getBestOperand() local
2210 int Score = LookAhead.getScoreAtLevelRec(Candidates[I].first, findBestRootPair() local
[all...]
/freebsd-src/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()
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 > MinInliningBonu in findSpecializations()
874 unsigned Score = 0; findSpecializations() local
890 __anon6a7025dc0302(Bonus &B, unsigned Score, unsigned FuncSize, unsigned FuncGrowth) findSpecializations() argument
[all...]
H A DHotColdSplitting.cpp478 /// If \p BB is a viable entry point, return \p Score. Return 0 otherwise. in create()
479 static unsigned getEntryPointScore(BasicBlock &BB, unsigned Score) { in create()
480 return mayExtractBlock(BB) ? Score : 0; in create()
505 auto addBlockToRegion = [&](BasicBlock *BB, unsigned Score) { in create()
507 ColdRegion->Blocks.emplace_back(BB, Score); in create()
619 unsigned Score = Block.second;
622 if (!InSubRegion && Score > NextScore) { in outlineColdRegions()
624 NextScore = Score; in outlineColdRegions()
461 getEntryPointScore(BasicBlock & BB,unsigned Score) getEntryPointScore() argument
487 __anon79a269a20502(BasicBlock *BB, unsigned Score) create() argument
601 unsigned Score = Block.second; takeSingleEntrySubRegion() local
/freebsd-src/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-src/contrib/llvm-project/llvm/lib/CodeGen/
H A DSwitchLoweringUtils.cpp150 unsigned Score = j == N - 1 ? 0 : PartitionsScore[j + 1]; in findJumpTables()
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()
149 unsigned Score = j == N - 1 ? 0 : PartitionsScore[j + 1]; findJumpTables() local
/freebsd-src/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64StackTaggingPreRA.cpp270 int Score = 0; in findFirstSlotCandidate() local
293 Score++; in findFirstSlotCandidate()
297 int TotalScore = RetagScore[ST] += Score; in findFirstSlotCandidate()
/freebsd-src/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIFixSGPRCopies.cpp96 unsigned Score; member in __anon59c5c9270111::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, in setScoreLB()
2079 bool WaitcntBrackets::mergeScore(const MergeInfo &M, unsigned &Score, in updateEventWaitcntAfter()
2081 unsigned MyShifted = Score <= M.OldLB ? 0 : Score + M.MyShift; in updateEventWaitcntAfter()
2084 Score = std::max(MyShifted, OtherShifted); in updateEventWaitcntAfter()
2132 mergeScore(const MergeInfo & M,unsigned & Score,unsigned OtherScore) mergeScore() argument
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DReassociate.h103 unsigned Score;
89 unsigned Score; global() member
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DGuardWidening.cpp428 auto Score = computeWideningScore(Instr, Candidate, *WideningPoint, in eliminateInstrViaWidening()
430 LLVM_DEBUG(dbgs() << "Score between " << *Instr << " and " << *Candidate in eliminateInstrViaWidening()
431 << " is " << scoreTypeToString(Score) << "\n"); in eliminateInstrViaWidening()
432 if (Score > BestScoreSoFar) { in eliminateInstrViaWidening()
433 BestScoreSoFar = Score; in eliminateInstrViaWidening()
425 auto Score = computeWideningScore(Instr, Candidate, WideningPoint, eliminateInstrViaWidening() local
H A DReassociate.cpp2430 unsigned Score = 0; in ReassociateExpression()
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 ReassociateExpression()
2513 unsigned Score = 0; ReassociateExpression() local
/freebsd-src/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProf.cpp751 double Score = 0.0f, FuncLevelScore = 0.0f; in merge()
758 Score += OverlapStats::score(I->Count, J->Count, in merge()
771 Overlap.Overlap.ValueCounts[ValueKind] += Score; in scale()
822 double Score = 0.0; in merge()
826 Score += OverlapStats::score(Counts[I], Other.Counts[I], in merge()
830 Overlap.Overlap.CountSum += Score; in merge()
655 double Score = 0.0f, FuncLevelScore = 0.0f; overlap() local
726 double Score = 0.0; overlap() local
/freebsd-src/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.9, LOW
[all …]
/freebsd-src/contrib/llvm-project/clang/lib/Parse/
H A DParseOpenMP.cpp1212 ExprResult Score = parseContextScore(*this); in parseOMPContextSelector()
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();
1202 ExprResult Score = parseContextScore(*this); parseOMPContextSelector() local
/freebsd-src/contrib/llvm-project/clang/lib/AST/
H A DOpenMPClause.cpp2598 std::optional<llvm::APSInt> Score; in getAsVariantMatchInfo()
2601 if ((Score = Selector.ScoreOrCondition->getIntegerConstantExpr(ASTCtx))) in getAsVariantMatchInfo()
2602 ScorePtr = &*Score; in getAsVariantMatchInfo()
2596 std::optional<llvm::APSInt> Score; getAsVariantMatchInfo() local
/freebsd-src/contrib/llvm-project/llvm/utils/TableGen/
H A DGlobalISelEmitter.cpp1919 int Score = P.getPatternComplexity(CGP); in runOnPattern()
1921 RuleMatcherScores[M.getRuleID()] = Score; in runOnPattern()
1894 int Score = P.getPatternComplexity(CGP); runOnPattern() local