Lines Matching defs:getLikelihood
136 getLikelihood(ArrayRef<const Attr *> Attrs) {
148 static std::pair<Stmt::Likelihood, const Attr *> getLikelihood(const Stmt *S) {
150 return getLikelihood(AS->getAttrs());
155 Stmt::Likelihood Stmt::getLikelihood(ArrayRef<const Attr *> Attrs) {
156 return ::getLikelihood(Attrs).first;
159 Stmt::Likelihood Stmt::getLikelihood(const Stmt *S) {
160 return ::getLikelihood(S).first;
164 return ::getLikelihood(S).second;
167 Stmt::Likelihood Stmt::getLikelihood(const Stmt *Then, const Stmt *Else) {
168 Likelihood LHT = ::getLikelihood(Then).first;
169 Likelihood LHE = ::getLikelihood(Else).first;
186 std::pair<Likelihood, const Attr *> LHT = ::getLikelihood(Then);
187 std::pair<Likelihood, const Attr *> LHE = ::getLikelihood(Else);