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

  /src/external/apache2/llvm/dist/clang/lib/AST/
Stmt.cpp 133 static std::pair<Stmt::Likelihood, const Attr *>
146 static std::pair<Stmt::Likelihood, const Attr *> getLikelihood(const Stmt *S) {
153 Stmt::Likelihood Stmt::getLikelihood(ArrayRef<const Attr *> Attrs) {
157 Stmt::Likelihood Stmt::getLikelihood(const Stmt *S) {
165 Stmt::Likelihood Stmt::getLikelihood(const Stmt *Then, const Stmt *Else) {
166 Likelihood LHT = ::getLikelihood(Then).first;
167 Likelihood LHE = ::getLikelihood(Else).first;
184 std::pair<Likelihood, const Attr *> LHT = ::getLikelihood(Then);
185 std::pair<Likelihood, const Attr *> LHE = ::getLikelihood(Else);
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGStmt.cpp 751 // Prefer the PGO based weights over the likelihood attribute.
754 Stmt::Likelihood LH = Stmt::LH_None;
1326 Stmt::Likelihood LH = Stmt::getLikelihood(Attrs);
1456 // TODO When the next case has a likelihood attribute the code returns to the
1742 getLikelihoodWeights(ArrayRef<Stmt::Likelihood> Likelihoods) {
1764 // Is there a likelihood attribute used?
1801 SmallVector<Stmt::Likelihood, 16> *SavedSwitchLikelihood = SwitchLikelihood;
1877 SwitchLikelihood = new SmallVector<Stmt::Likelihood, 16>();
CodeGenFunction.cpp 1532 Stmt::Likelihood LH /* =None */, const Expr *CntrIdx /* = nullptr */) {
1599 /// \param LH The value of the likelihood attribute on the True branch.
1604 Stmt::Likelihood LH) {
1641 // Propagate the likelihood attribute like __builtin_expect
1694 // Propagate the likelihood attribute like __builtin_expect
1723 LH = static_cast<Stmt::Likelihood>(-LH);
1735 // The ConditionalOperator itself has no likelihood information for its
1804 // If there is a Likelihood knowledge for the cond, lower it.
2660 Stmt::Likelihood LH) {
2679 llvm_unreachable("Unknown Likelihood");
    [all...]
CodeGenFunction.h 1470 /// Lower the Likelihood knowledge about the \p Cond via llvm.expect intrin.
1472 Stmt::Likelihood LH);
1520 /// The likelihood attributes of the SwitchCase.
1521 SmallVector<Stmt::Likelihood, 16> *SwitchLikelihood = nullptr;
4481 Stmt::Likelihood LH = Stmt::LH_None,
4491 Stmt::Likelihood LH = Stmt::LH_None);
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
Stmt.h 1104 /// The likelihood of a branch being taken.
1105 enum Likelihood {
1180 /// \returns the likelihood of a set of attributes.
1181 static Likelihood getLikelihood(ArrayRef<const Attr *> Attrs);
1183 /// \returns the likelihood of a statement.
1184 static Likelihood getLikelihood(const Stmt *S);
1186 /// \returns the likelihood attribute of a statement.
1189 /// \returns the likelihood of the 'then' branch of an 'if' statement. The
1191 /// same likelihood, which affects the result.
1192 static Likelihood getLikelihood(const Stmt *Then, const Stmt *Else)
    [all...]

Completed in 72 milliseconds