Searched refs:valid (Results 1 - 25 of 85) sorted by relevance

1234

/gem5/src/systemc/tests/systemc/compliance_1666/test206/
H A Dtest206.cpp17 sc_assert (!h.valid());
19 sc_assert (!h.valid());
22 sc_assert (h.valid());
32 sc_assert (h.valid());
44 sc_assert (!h.valid());
46 sc_assert (h.valid());
63 sc_assert (h.valid());
94 sc_assert (!h.valid());
96 sc_assert (!h.valid());
/gem5/src/mem/cache/prefetch/
H A Dassociative_set.hh45 bool valid; member in class:TaggedEntry
49 TaggedEntry() : tag(0), valid(false), secure(false) {}
53 * Consult the valid bit
54 * @return True if the entry is valid
58 return valid;
62 * Sets the entry to valid
66 valid = true;
73 valid = false;
/gem5/src/arch/sparc/
H A Dpagetable.cc47 if (valid)
51 SERIALIZE_SCALAR(valid);
68 UNSERIALIZE_SCALAR(valid);
/gem5/src/cpu/pred/
H A Dbtb.hh45 : tag(0), target(0), valid(false)
57 /** Whether or not the entry is valid. */
58 bool valid; member in struct:DefaultBTB::BTBEntry
73 /** Looks up an address in the BTB. Must call valid() first on the address.
85 bool valid(Addr instPC, ThreadID tid);
H A Dbtb.cc55 btb[i].valid = false;
69 btb[i].valid = false;
91 DefaultBTB::valid(Addr instPC, ThreadID tid) function in class:DefaultBTB
99 if (btb[btb_idx].valid
109 // address is valid, and also the address. For now will just use addr = 0 to
120 if (btb[btb_idx].valid
137 btb[btb_idx].valid = true;
/gem5/src/mem/cache/replacement_policies/
H A Drandom_rp.cc50 replacement_data)->valid = false;
63 replacement_data)->valid = true;
80 candidate->replacementData)->valid) {
H A Drandom_rp.hh51 * Flag informing if the replacement data is valid or not.
54 bool valid; member in struct:RandomRP::RandomReplData
59 RandomReplData() : valid(false) {}
H A Dbrrip_rp.hh77 /** Whether the entry is valid. */
78 bool valid; member in struct:BRRIPRP::BRRIPReplData
84 : rrpv(num_bits), valid(false)
H A Dbrrip_rp.cc55 casted_replacement_data->valid = false;
89 casted_replacement_data->valid = true;
112 if (!candidate_repl_data->valid) {
/gem5/src/arch/alpha/
H A Dpagetable.cc48 SERIALIZE_SCALAR(valid);
62 UNSERIALIZE_SCALAR(valid);
H A Dvtophys.cc53 if (!level1.valid()) {
54 DPRINTF(VtoPhys, "level 1 PTE not valid, va = %#\n", vaddr);
60 if (!level2.valid()) {
61 DPRINTF(VtoPhys, "level 2 PTE not valid, va = %#x\n", vaddr);
67 if (!level3.valid()) {
68 DPRINTF(VtoPhys, "level 3 PTE not valid, va = %#x\n", vaddr);
108 if (pte.valid())
H A Dpagetable.hh87 bool valid() const { return (entry >> 0) & 0x1; } function in struct:AlphaISA::PageTableEntry
103 bool valid; // valid page table entry member in struct:AlphaISA::TlbEntry
120 valid = true;
128 asma(false), fonr(0), fonw(0), valid(0)
H A Dstacktrace.hh89 bool valid() const { return tc != NULL; } function in class:AlphaISA::StackTrace
119 if (valid())
/gem5/src/systemc/tests/systemc/1666-2011-compliance/living_children/
H A Dliving_children.cpp56 sc_assert( t2a.valid() );
57 sc_assert( t2b.valid() );
65 sc_assert( t2a.valid() );
67 sc_assert( t2b.valid() );
77 sc_assert( t3.valid() );
80 sc_assert( me.get_parent_object() ); // Parent handle shall still be valid
92 sc_assert( me.get_parent_object() ); // Parent handle shall still be valid
/gem5/src/systemc/tests/systemc/compliance_1666/test203b/
H A Dtest203b.cpp26 if (h1.valid()) sc_assert (h1.terminated());
27 if (h2.valid()) sc_assert (h2.terminated());
28 if (h3.valid()) sc_assert (h3.terminated());
36 sc_assert(h2.valid());
38 sc_assert(h3.valid());
/gem5/src/systemc/tests/systemc/compliance_1666/test233/
H A Dtest233.cpp23 sc_assert(h.valid() == true);
35 sc_assert(h.valid() == true);
50 sc_assert(h.valid() == true);
62 sc_assert(h.valid() == true);
76 sc_assert(h.valid() == true);
89 sc_assert(h.valid() == true);
102 sc_assert(h.valid() == true);
115 sc_assert(h.valid() == true);
/gem5/src/systemc/tests/systemc/kernel/sc_process_handle/test02/
H A Dtest02.cpp62 if ( m_cthread_handle.valid() )
69 if ( m_thread_handle.valid() )
/gem5/src/systemc/channel/
H A Dsc_mutex.cc56 if (holder.valid())
/gem5/src/systemc/tests/systemc/1666-2011-compliance/sc_process_handle_less_than/
H A Dsc_process_handle_less_than.cpp53 sc_assert( !a.valid() && !b.valid() ); // Both are invalid
86 sc_assert( (a < b) || (b < a) ); // Same ordering whether handles are valid or not
88 if ( b.valid() ) // Handles may or may not have been invalidated
93 sc_assert( b.valid() == c.valid() ); // Invalidation is consistent
94 sc_assert( !(b < c) && !(c < b) ); // Two handles to the same process, whether valid or not
157 sc_assert( b.valid() );
161 sc_assert( !b.valid() );
/gem5/src/systemc/tests/systemc/1666-2011-compliance/kill_reset/
H A Dkill_reset.cpp123 if (t.valid())
125 if (k.valid())
127 if (v.valid())
129 sc_assert( b.valid() && !b.terminated() );
130 sc_assert( b2.valid() && !b2.terminated() );
131 if (b3.valid())
/gem5/src/base/stats/
H A Doutput.hh66 virtual bool valid() const = 0;
/gem5/src/dev/arm/
H A Dsmmu_v3_caches.cc172 e.valid = false;
189 if (e.valid && (e.va & e.vaMask) == (va & e.vaMask) &&
223 if (e.valid && e.sid==sid && e.ssid==ssid) {
242 if (!incoming.valid)
269 e.valid = false;
283 e.valid = false;
299 e.valid = false;
313 e.valid = false;
327 e.valid = false;
342 e.valid
[all...]
/gem5/src/arch/arm/
H A Dstacktrace.hh90 bool valid() const { return tc != NULL; } function in class:ArmISA::StackTrace
114 if (valid())
/gem5/src/arch/mips/
H A Dstacktrace.hh87 bool valid() const { return tc != NULL; } function in class:MipsISA::StackTrace
115 if (valid())
/gem5/src/arch/x86/
H A Dstacktrace.hh87 bool valid() const { return tc != NULL; } function in class:X86ISA::StackTrace
115 if (valid())

Completed in 25 milliseconds

1234