Searched refs:index (Results 251 - 275 of 275) sorted by relevance

<<11

/gem5/src/cpu/pred/
H A Dmultiperspective_perceptron.hh177 unsigned int index(Addr pc) const { function in class:MultiperspectivePerceptron::LocalHistories
187 return localHistories[index(pc)];
194 unsigned int &pos = localHistories[index(pc)];
239 * Gets the hash to index the table, using the pc of the branch,
240 * and the index of the table.
244 * @param t integer index of the table
245 * @result resulting hash value that will be used to index the table
430 * Get the position index of a predictor table
434 * @param index integer index o
[all...]
H A Dtage_base.cc227 int index; local
231 index =
237 return (index & ((ULL(1) << (logTagTableSizes[bank])) - 1));
604 //prepare next index and tag computations for user branchs
/gem5/ext/pybind11/include/pybind11/detail/
H A Dcommon.h466 /// Make an index sequence of the indices of true arguments
542 /// Return the index of the first type in Ts which satisfies Predicate<T>. Returns sizeof...(Ts) if
547 /// Return the index of the last type in Ts which satisfies Predicate<T>, or -1 if none match.
564 static constexpr auto index = found ? constexpr_first<Predicate, Ts...>() : 0; member in struct:exactly_one
565 using type = conditional_t<found, typename pack_element<index, Ts...>::type, Default>;
686 // Returns the index of the given type in the type char array below, and in the list in numpy.h
694 static constexpr int index = std::is_same<T, bool>::value ? 0 : 1 + ( member in struct:is_fmt_numeric
701 static constexpr const char c = "?bBhHiIqQfdg"[detail::is_fmt_numeric<T>::index];
/gem5/ext/googletest/googlemock/scripts/generator/cpp/
H A Dast.py668 start = names.index('<')
976 index = 1
977 while return_type_and_name[index].name != '<':
978 index += 1
979 template_portion = return_type_and_name[index:] + [name]
980 del return_type_and_name[index:]
/gem5/src/arch/arm/insts/
H A Dmem.hh297 IntRegIndex index; member in class:ArmISA::MemoryReg
304 shiftAmt(_shiftAmt), shiftType(_shiftType), index(_index)
H A Dsve.hh340 uint8_t index; member in class:ArmISA::SveBinIdxUnpredOp
346 dest(_dest), op1(_op1), op2(_op2), index(_index)
750 /// Binary with immediate index, destructive, unpredicated SVE instruction.
H A Dsve.cc322 ss << (uint64_t)index;
/gem5/ext/pybind11/tests/
H A Dtest_eigen.cpp165 m.def("diagonal_n", [](const Eigen::Ref<const Eigen::MatrixXd> &x, int index) { return x.diagonal(index); });
/gem5/src/arch/alpha/
H A Dev5.cc182 TlbEntry &entry = getDTBPtr(tc)->index(1);
/gem5/src/cpu/minor/
H A Dexecute.cc518 /** Increment a cyclic buffer index for indices [0, cycle_size-1] */
520 cyclicIndexInc(unsigned int index, unsigned int cycle_size) argument
522 unsigned int ret = index + 1;
530 /** Decrement a cyclic buffer index for indices [0, cycle_size-1] */
532 cyclicIndexDec(unsigned int index, unsigned int cycle_size) argument
534 int ret = index - 1;
/gem5/ext/googletest/googletest/include/gtest/internal/
H A Dgtest-internal.h625 // 'index' is the index of the test in the type list 'Types'
627 // Types). Valid values for 'index' are [0, N - 1] where N is the
632 int index) {
641 + StreamableToString(index)).c_str(),
653 ::Register(prefix, code_location, case_name, test_names, index + 1);
663 int /*index*/) {
629 Register(const char* prefix, CodeLocation code_location, const char* case_name, const char* test_names, int index) argument
/gem5/ext/googletest/googletest/scripts/
H A Dpump.py646 index = self.string.rfind('\n')
647 if index < 0:
650 return self.string[index + 1:]
/gem5/src/dev/arm/
H A Dsmmu_v3_transl.cc740 Addr pte_addr = walkPtr + pt_ops->index(addr, level);
824 Addr pte_addr = walkPtr + pt_ops->index(addr, level);
1360 unsigned index = bits(sid, split-1, 0);
1361 if (index >= (1 << span))
1365 ste_addr = (l2_ptr & ST_L2_ADDR_MASK) + index * sizeof(ste);
/gem5/src/python/m5/
H A Dparams.py1287 # long run, the integer value of the parameter will be the list index
1866 self.index = -1 # always -1 for non-vector ports
1983 port = self.simobj.getPort(self.name, self.index)
1984 peer_port = peer.simobj.getPort(peer.name, peer.index)
1990 # PortRef, but has an index.
1992 def __init__(self, simobj, name, role, is_source, index):
1994 self.index = index
1997 return '%s.%s[%d]' % (self.simobj, self.name, self.index)
2030 raise TypeError("VectorPort index mus
[all...]
/gem5/ext/ply/example/GardenSnake/
H A DGardenSnake.py281 i = levels.index(depth)
/gem5/src/sim/
H A Deventq.hh80 //! index. The function allocates a new queue in case one
81 //! does not exist for the index, provided that the index
83 EventQueue *getEventQueue(uint32_t index);
/gem5/ext/systemc/src/sysc/utils/
H A Dsc_vector.h138 static std::string make_name( const char* prefix, size_type index );
375 static element_type * create_element( const char* prefix, size_type index );
/gem5/ext/googletest/googletest/src/
H A Dgtest-port.cc674 std::string FormatRegexSyntaxError(const char* regex, int index) { argument
675 return (Message() << "Syntax error at index " << index
H A Dgtest.cc173 // The environment variable name for the test shard index.
2740 const int index = GetElementOr(test_indices_, i, -1); local
2741 return index < 0 ? NULL : test_info_list_[index];
2747 const int index = GetElementOr(test_indices_, i, -1); local
2748 return index < 0 ? NULL : test_info_list_[index];
4774 // Given the total number of shards, the shard index, and the test id,
4958 // Resets the index of each test case.
/gem5/ext/ply/example/BASIC/
H A Dbasinterp.py175 self.pc = self.stat.index(linenum)
/gem5/ext/ply/ply/
H A Dyacc.py1196 def __getitem__(self,index):
1197 return self.prod[index]
1262 # lr_index - LR item index (location of the ".") in the prod list.
1354 def __getitem__(self,index):
1355 return self.Productions[index]
H A Dcpp.py313 # and positions is a list of integers containing the starting index of each
383 argnum = macro.arglist.index(macro.value[i].value)
/gem5/ext/pybind11/include/pybind11/
H A Dpybind11.h353 int index = 0; local
366 if (index > 0) signatures += "\n";
368 signatures += std::to_string(++index) + ". ";
/gem5/src/arch/
H A Disa_parser.py345 # first convert single-bit selectors to two-index form
446 # register index enumeration that hasn't been performed yet at the
447 # time of __init__(). The register index enumeration is affected
1236 # the microop will dynamically index source/dest registers.
1255 def __getitem__(self, index):
1256 return self.items[index]
1370 # the microop will dynamically index source/dest registers.
/gem5/src/cpu/o3/
H A Diew_impl.hh1487 inst->renamedDestRegIdx(i)->index(),

Completed in 135 milliseconds

<<11