Searched refs:alloc (Results 1 - 25 of 30) sorted by relevance

12

/gem5/src/sim/
H A Darguments.cc45 Arguments::Data::alloc(size_t size) function in class:Arguments::Data
H A Darguments.hh58 char *alloc(size_t size);
138 T *buf = (T *)data->alloc(sizeof(T));
144 char *buf = data->alloc(2048);
/gem5/src/mem/
H A Dse_translating_port_proxy.hh84 Process* p, AllocType alloc);
85 SETranslatingPortProxy(MasterPort &port, Process* p, AllocType alloc);
H A Dse_translating_port_proxy.cc59 SendFunctionalFunc func, Process *p, AllocType alloc)
61 process(p), allocating(alloc)
64 Process *p, AllocType alloc)
66 process(p), allocating(alloc)
58 SETranslatingPortProxy( SendFunctionalFunc func, Process *p, AllocType alloc) argument
63 SETranslatingPortProxy(MasterPort &port, Process *p, AllocType alloc) argument
/gem5/ext/systemc/src/sysc/utils/
H A Dsc_string.cpp62 ref_count(1), alloc( sc_roundup( size, 16 ) ), str( new char[alloc] )
67 sc_string_rep( const char* s ) : ref_count(1), alloc(0), str(0)
70 alloc = 1 + strlen(s);
71 str = strcpy( new char[alloc], s );
74 alloc = 16;
75 str = strcpy( new char[alloc], "" );
91 int alloc; member in class:sc_dt::sc_string_rep
99 ref_count(1), alloc(0), str(0)
102 alloc
[all...]
/gem5/src/mem/ruby/structures/
H A DPrefetcher.cc170 bool alloc = false; local
172 m_unit_filter_index, line_addr, 1, alloc);
173 if (alloc) {
183 m_negative_filter_index, line_addr, -1, alloc);
184 if (alloc) {
195 hit = accessNonunitFilter(address, &stride, alloc);
196 if (alloc) {
349 int stride, bool &alloc)
351 //reset the alloc flag
352 alloc
347 accessUnitFilter(std::vector<Addr>& filter_table, uint32_t *filter_hit, uint32_t &index, Addr address, int stride, bool &alloc) argument
380 accessNonunitFilter(Addr address, int *stride, bool &alloc) argument
[all...]
H A DPrefetcher.hh137 int stride, bool &alloc);
141 bool &alloc);
/gem5/src/mem/ruby/common/
H A DDataBlock.hh45 alloc();
73 void alloc();
H A DDataBlock.cc42 DataBlock::alloc() function in class:DataBlock
/gem5/ext/systemc/src/sysc/datatypes/fx/
H A Dscfx_mant.h109 static word* alloc( std::size_t );
130 scfx_mant::alloc( std::size_t size ) function in class:sc_dt::scfx_mant
178 m_array = alloc( size );
185 m_array = alloc( m_size );
201 m_array = alloc( m_size = rhs.m_size );
242 m_array = alloc( m_size = size );
246 word* p = alloc( size );
/gem5/src/systemc/ext/dt/fx/
H A Dscfx_mant.hh103 static word *alloc(std::size_t);
116 scfx_mant::alloc(std::size_t size) function in class:sc_dt::scfx_mant
159 m_array = alloc(size_);
165 m_array = alloc(m_size);
177 m_array = alloc(m_size = rhs.m_size);
210 m_array = alloc(m_size = size);
212 word* p = alloc(size);
/gem5/src/cpu/pred/
H A Dtage_sc_l_8KB.hh62 bool alloc, bool taken, TAGEBase::BranchInfo* bi, int nrand) override;
H A Dtage_sc_l.hh118 void adjustAlloc(bool & alloc, bool taken, bool pred_taken) override;
120 virtual void handleAllocAndUReset(bool alloc, bool taken,
H A Dtage_sc_l_64KB.hh63 bool alloc, bool taken, TAGEBase::BranchInfo* bi, int nrand) override;
H A Dmultiperspective_perceptron_tage.hh68 void handleAllocAndUReset(bool alloc, bool taken, TAGEBase::BranchInfo* bi,
76 void adjustAlloc(bool & alloc, bool taken, bool pred_taken) override;
H A Dtage_base.cc433 TAGEBase::adjustAlloc(bool & alloc, bool taken, bool pred_taken) argument
439 TAGEBase::handleAllocAndUReset(bool alloc, bool taken, BranchInfo* bi, argument
442 if (alloc) {
514 bool alloc = (bi->tagePred != taken) && (bi->hitBank < nHistoryTables); local
517 adjustAlloc(alloc, taken, pred);
528 alloc = false;
541 adjustAlloc(alloc, taken, pred);
544 handleAllocAndUReset(alloc, taken, bi, nrand);
H A Dtage_base.hh376 virtual void adjustAlloc(bool & alloc, bool taken, bool pred_taken);
382 bool alloc, bool taken, BranchInfo* bi, int nrand);
H A Dmultiperspective_perceptron_tage.cc89 MPP_TAGE::handleAllocAndUReset(bool alloc, bool taken, argument
92 if (!alloc) {
178 MPP_TAGE::adjustAlloc(bool & alloc, bool taken, bool pred_taken) argument
182 alloc = false;
H A Dtage_sc_l_64KB.cc217 bool alloc, bool taken, TAGEBase::BranchInfo* bi, int nrand)
219 if (! alloc) {
216 handleAllocAndUReset( bool alloc, bool taken, TAGEBase::BranchInfo* bi, int nrand) argument
H A Dtage_sc_l_8KB.cc190 bool alloc, bool taken, TAGEBase::BranchInfo* bi, int nrand)
192 if (!alloc) {
189 handleAllocAndUReset( bool alloc, bool taken, TAGEBase::BranchInfo* bi, int nrand) argument
H A Dtage_sc_l.cc296 TAGE_SC_L_TAGE::adjustAlloc(bool & alloc, bool taken, bool pred_taken) argument
300 alloc = false;
/gem5/src/dev/arm/
H A Dsmmu_v3_caches.cc240 SMMUTLB::store(const Entry &incoming, AllocPolicy alloc) argument
254 set[pickEntryIdxToReplace(set, alloc)] = incoming;
371 SMMUTLB::pickEntryIdxToReplace(const Set &set, AllocPolicy alloc) argument
373 if (alloc == ALLOC_LAST_WAY)
379 alloc==ALLOC_ANY_BUT_LAST_WAY ?
396 switch (alloc) {
402 panic("Unknown allocation mode %d\n", alloc);
406 switch (alloc) {
412 panic("Unknown allocation mode %d\n", alloc);
H A Dsmmu_v3_caches.hh131 void store(const Entry &incoming, AllocPolicy alloc);
149 size_t pickEntryIdxToReplace(const Set &set, AllocPolicy alloc);
H A Dsmmu_v3_transl.cc459 SMMUTLB::AllocPolicy alloc = SMMUTLB::ALLOC_ANY_WAY; local
461 alloc = request.isPrefetch ?
470 ifc.mainTLB->store(e, alloc);
/gem5/ext/mcpat/
H A DxmlParser.h757 void alloc(int newsize);

Completed in 49 milliseconds

12