Searched refs:pred (Results 1 - 8 of 8) sorted by relevance

/gem5/ext/googletest/googletest/include/gtest/
H A Dgtest_pred_impl.h58 // ASSERT_PRED1(pred, v1)
59 // ASSERT_PRED2(pred, v1, v2)
62 // where pred is an n-ary function or functor that returns bool,
89 Pred pred,
91 if (pred(v1)) return AssertionSuccess();
106 #define GTEST_PRED1_(pred, v1, on_failure)\
107 GTEST_ASSERT_(::testing::AssertPred1Helper(#pred, \
109 pred, \
115 #define EXPECT_PRED1(pred, v1) \
116 GTEST_PRED1_(pred, v
87 AssertPred1Helper(const char* pred_text, const char* e1, Pred pred, const T1& v1) argument
129 AssertPred2Helper(const char* pred_text, const char* e1, const char* e2, Pred pred, const T1& v1, const T2& v2) argument
178 AssertPred3Helper(const char* pred_text, const char* e1, const char* e2, const char* e3, Pred pred, const T1& v1, const T2& v2, const T3& v3) argument
234 AssertPred4Helper(const char* pred_text, const char* e1, const char* e2, const char* e3, const char* e4, Pred pred, const T1& v1, const T2& v2, const T3& v3, const T4& v4) argument
297 AssertPred5Helper(const char* pred_text, const char* e1, const char* e2, const char* e3, const char* e4, const char* e5, Pred pred, const T1& v1, const T2& v2, const T3& v3, const T4& v4, const T5& v5) argument
[all...]
/gem5/src/cpu/
H A Dinst_res.hh58 VecPredRegContainer pred; member in union:InstResult::MultiResult
95 : type(t) { result.pred = v; }
114 result.pred = that.result.pred;
138 return result.pred == that.result.pred;
199 return result.pred;
/gem5/src/mem/cache/
H A Dmshr.cc569 MSHR::promoteIf(const std::function<bool (Target &)>& pred) argument
578 pred);
603 auto pred = [](Target &t) { local
608 promoteIf(pred);
627 auto pred = [](Target &t) { local
632 promoteIf(pred);
H A Dmshr.hh378 * @param pred A condition on a Target
380 void promoteIf(const std::function<bool (Target &)>& pred);
/gem5/src/cpu/pred/
H A Dtage_base.cc41 #include "cpu/pred/tage_base.hh"
307 const bool pred = inter >> 1; local
309 btablePrediction[bi->bimodalIndex] = pred;
311 DPRINTF(Tage, "Updating branch %lx, pred:%d, hyst:%d\n", pc, pred, hyst);
510 BranchInfo* bi, int nrand, Addr corrTarget, bool pred, bool preAdjustAlloc)
517 adjustAlloc(alloc, taken, pred);
541 adjustAlloc(alloc, taken, pred);
509 condBranchUpdate(ThreadID tid, Addr branch_pc, bool taken, BranchInfo* bi, int nrand, Addr corrTarget, bool pred, bool preAdjustAlloc) argument
H A Dtage_base.hh320 * @param pred Final prediction for this branch
326 int nrand, Addr corrTarget, bool pred, bool preAdjustAlloc = false);
H A Dmultiperspective_perceptron.cc39 #include "cpu/pred/multiperspective_perceptron.hh"
427 bool pred = weight >= 1; local
428 if (pred != taken) {
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h1754 // Used for implementing Truly(pred), which turns a predicate into a
1759 explicit TrulyMatcher(Predicate pred) : predicate_(pred) {} argument
1761 // This method template allows Truly(pred) to be used as a matcher
1762 // for type T where T is the argument type of predicate 'pred'. The
4116 Truly(Predicate pred) { argument
4117 return MakePolymorphicMatcher(internal::TrulyMatcher<Predicate>(pred));

Completed in 38 milliseconds