Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/llvm/tools/llvm-reduce/
H A DReducerWorkItem.cpp493 uint64_t Score = 0; in computeMIRComplexityScoreImpl() local
497 Score += MFI.getNumObjects(); in computeMIRComplexityScoreImpl()
500 Score += 2 * MF.size(); in computeMIRComplexityScoreImpl()
505 Score += MRI.getRegAllocationHints(Reg).second.size(); in computeMIRComplexityScoreImpl()
520 Score += 4; in computeMIRComplexityScoreImpl()
524 ++Score; in computeMIRComplexityScoreImpl()
527 ++Score; in computeMIRComplexityScoreImpl()
531 ++Score; in computeMIRComplexityScoreImpl()
535 ++Score; in computeMIRComplexityScoreImpl()
539 ++Score; in computeMIRComplexityScoreImpl()
[all …]
/openbsd-src/games/mille/
H A Dsave.c115 mvwaddstr(Score, ERR_Y, ERR_X, buf); in save()
116 wrefresh(Score); in save()
127 wprintw(Score, " [%s]", buf); in save()
129 wclrtoeol(Score); in save()
130 wrefresh(Score); in save()
H A Dmille.c84 Score = newwin(SCORE_Y, SCORE_X, 0, 40); in main()
86 leaveok(Score, TRUE); in main()
111 mvwaddstr(Score, ERR_Y, ERR_X, Initstr); in main()
H A Dmisc.c50 wmove(Score, ERR_Y, ERR_X); in error()
51 vw_printw(Score, str, ap); in error()
52 wclrtoeol(Score); in error()
H A Dmove.c369 mvwaddstr(Score, 12, 21, in getmove()
372 mvwaddstr(Score, 12, 21, in getmove()
374 wclrtoeol(Score); in getmove()
385 wrefresh(Score); in getmove()
403 wrefresh(Score); in getmove()
H A Dprint.c90 wrefresh(Score); in prboard()
115 stdscr = Score; in prscore()
H A Dinit.c110 werase(Score); in newboard()
170 stdscr = Score; in newscore()
H A Dextern.c167 *Score; /* Score screen */ variable
H A Dmille.h208 extern WINDOW *Board, *Miles, *Score;
/openbsd-src/games/robots/
H A Dscore.c77 if (Top[MAXSCORES-1].s_score <= Score) { in score()
82 if (scp->s_score > Score) in score()
84 scp->s_score = Score; in score()
91 Top[MAXSCORES-1].s_score = Score; in score()
113 if (!done_show && scp->s_uid == uid && scp->s_score == Score) in score()
117 if (!done_show && scp->s_uid == uid && scp->s_score == Score) { in score()
H A Dmove_robs.c114 Score += add; in add_score()
116 printw("%d", Score); in add_score()
H A Dextern.c62 int Score; /* Current score */ variable
H A Dinit_field.c76 Score = 0; in init_field()
H A Drobots.h92 extern int Count, Level, Num_robots, Num_scores, Score,
/openbsd-src/gnu/llvm/llvm/lib/Frontend/OpenMP/
H A DOMPContext.cpp272 APInt Score(64, 1); in getVariantMatchScore() local
281 Score += UserScore.getZExtValue(); in getVariantMatchScore()
309 Score += (1ULL << (NoConstructTraits + 0)); in getVariantMatchScore()
312 Score += (1ULL << (NoConstructTraits + 1)); in getVariantMatchScore()
315 Score += (1ULL << (NoConstructTraits + 2)); in getVariantMatchScore()
331 Score += (1ULL << ConstructMatches[ConstructIdx++]); in getVariantMatchScore()
334 LLVM_DEBUG(dbgs() << "[" << DEBUG_TYPE << "] Variant has a score of " << Score in getVariantMatchScore()
336 return Score; in getVariantMatchScore()
355 APInt Score = getVariantMatchScore(VMI, Ctx, ConstructMatches); in getBestVariantMatchForContext() local
356 if (Score.ult(BestScore)) in getBestVariantMatchForContext()
[all …]
/openbsd-src/gnu/llvm/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;
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DCodeLayout.cpp159 explicit MergeGainTy(double Score, size_t MergeOffset, MergeTypeTy MergeType) in MergeGainTy() argument
160 : Score(Score), MergeOffset(MergeOffset), MergeType(MergeType) {} in MergeGainTy()
162 double score() const { return Score; } in score()
170 return (Other.Score > EPS && Other.Score > Score + EPS); in operator <()
180 double Score{-1.0}; member in __anone35372fe0111::MergeGainTy
255 : Id(Id), Score(0), Blocks(1, Block) {} in Chain()
269 double score() const { return Score; } in score()
271 void setScore(double NewScore) { Score = NewScore; } in setScore()
326 double Score; member in __anone35372fe0111::Chain
713 double Score = 0; in extTSPScore() local
[all …]
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DHotColdSplitting.cpp420 static unsigned getEntryPointScore(BasicBlock &BB, unsigned Score) { in getEntryPointScore() argument
421 return mayExtractBlock(BB) ? Score : 0; in getEntryPointScore()
446 auto addBlockToRegion = [&](BasicBlock *BB, unsigned Score) { in create() argument
448 ColdRegion->Blocks.emplace_back(BB, Score); in create()
560 unsigned Score = Block.second; in takeSingleEntrySubRegion() local
563 if (!InSubRegion && Score > NextScore) { in takeSingleEntrySubRegion()
565 NextScore = Score; in takeSingleEntrySubRegion()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DSwitchLoweringUtils.cpp148 unsigned Score = j == N - 1 ? 0 : PartitionsScore[j + 1]; in findJumpTables() local
152 Score += PartitionScores::SingleCase; in findJumpTables()
154 Score += PartitionScores::FewCases; in findJumpTables()
156 Score += PartitionScores::Table; in findJumpTables()
161 (NumPartitions == MinPartitions[i] && Score > PartitionsScore[i])) { in findJumpTables()
164 PartitionsScore[i] = Score; in findJumpTables()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64StackTaggingPreRA.cpp271 int Score = 0; in findFirstSlotCandidate() local
294 Score++; in findFirstSlotCandidate()
298 int TotalScore = RetagScore[ST] += Score; in findFirstSlotCandidate()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DSIFixSGPRCopies.cpp96 unsigned Score; member in __anon0df82e8c0111::V2SCopyInfo
116 << "\nScore: " << Score << "\n"; in dump()
949 Info->Score = 0; in needToBeConvertedToVALU()
981 Info->Score = Penalty > Profit ? 0 : Profit - Penalty; in needToBeConvertedToVALU()
982 Info->NeedToBeConvertedToVALU = Info->Score < 3; in needToBeConvertedToVALU()
1028 << " Score: " << C.second.Score << "\n"); in lowerVGPR2SGPRCopies()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DGuardWidening.cpp375 auto Score = computeWideningScore(Instr, Candidate, InvertCondition); in eliminateInstrViaWidening() local
378 << scoreTypeToString(Score) << "\n"); in eliminateInstrViaWidening()
379 if (Score > BestScoreSoFar) { in eliminateInstrViaWidening()
380 BestScoreSoFar = Score; in eliminateInstrViaWidening()
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Scalar/
H A DReassociate.h89 unsigned Score; member
/openbsd-src/gnu/llvm/llvm/lib/ProfileData/
H A DInstrProf.cpp561 double Score = 0.0f, FuncLevelScore = 0.0f; in overlap() local
568 Score += OverlapStats::score(I->Count, J->Count, in overlap()
581 Overlap.Overlap.ValueCounts[ValueKind] += Score; in overlap()
632 double Score = 0.0; in overlap() local
636 Score += OverlapStats::score(Counts[I], Other.Counts[I], in overlap()
640 Overlap.Overlap.CountSum += Score; in overlap()

12