HomeSort by: relevance | last modified time | path
    Searched defs:Penalty (Results 1 - 5 of 5) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/lib/Format/
TokenAnalyzer.cpp 79 unsigned Penalty = 0;
105 Penalty += RunResult.second;
116 return {Result, Penalty};
FormatToken.cpp 102 // bin-packed. Add a severe penalty to this so that column layouts are
108 unsigned Penalty = 0;
129 // Place token using the continuation indenter and store the penalty.
130 Penalty += Indenter->addTokenToState(State, NewLine, DryRun, ExtraSpaces);
132 return Penalty;
ContinuationIndenter.cpp 553 unsigned Penalty = 0;
555 Penalty = addTokenOnNewLine(State, DryRun);
559 return moveStateToNextToken(State, DryRun, Newline) + Penalty;
761 // Extra penalty that needs to be added because of the way certain line
763 unsigned Penalty = 0;
769 // The first line break on any NestingLevel causes an extra penalty in order
772 Penalty += 15;
775 Penalty += State.NextToken->SplitPenalty;
778 // short. Also always add the penalty if the LHS is split over multiple lines
779 // to avoid unnecessary line breaks that just work around this penalty
    [all...]
Format.cpp 1649 unsigned Penalty =
1662 return std::make_pair(Result, Penalty);
2821 unsigned Penalty = 0;
2828 Penalty += PassFixes.second;
2839 return {Fixes, Penalty};
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
HotColdSplitting.cpp 86 cl::desc("Base penalty for splitting cold code (as a "
254 /// Get the penalty score for outlining \p Region.
257 int Penalty = SplittingThreshold;
258 LLVM_DEBUG(dbgs() << "Applying penalty for splitting: " << Penalty << "\n");
263 return Penalty;
306 // Apply a penalty for calling the split function. Factor in the cost of
317 LLVM_DEBUG(dbgs() << "Applying penalty for: " << NumParams << " params\n");
318 Penalty += CostForArgMaterialization * NumParams;
322 LLVM_DEBUG(dbgs() << "Applying penalty for: " << NumOutputsAndSplitPhi
    [all...]

Completed in 27 milliseconds