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

/gem5/src/systemc/ext/core/
H A Dsc_spawn.hh201 decltype(std::bind(std::forward<F>(f), std::forward<Args>(args)...)) function in class:sc_core::std
203 return std::bind(std::forward<F>(f), std::forward<Args>(args)...);
207 auto sc_ref(T &&v) -> decltype(std::ref(std::forward<T>(v)))
209 return std::ref(std::forward<T>(v));
213 auto sc_cref(T &&v) -> decltype(std::cref(std::forward<T>(v)))
215 return std::cref(std::forward<T>(v));
/gem5/ext/pybind11/include/pybind11/detail/
H A Dinit.h61 inline Class *construct_or_initialize(Args &&...args) { return new Class(std::forward<Args>(args)...); }
63 inline Class *construct_or_initialize(Args &&...args) { return new Class{std::forward<Args>(args)...}; }
174 v_h.value_ptr() = construct_or_initialize<Cpp<Class>>(std::forward<Args>(args)...);
184 v_h.value_ptr() = construct_or_initialize<Cpp<Class>>(std::forward<Args>(args)...);
186 v_h.value_ptr() = construct_or_initialize<Alias<Class>>(std::forward<Args>(args)...);
195 v_h.value_ptr() = construct_or_initialize<Alias<Class>>(std::forward<Args>(args)...);
206 v_h.value_ptr() = construct_or_initialize<Alias<Class>>(std::forward<Args>(args)...);
221 factory(Func &&f) : class_factory(std::forward<Func>(f)) { }
237 construct<Class>(v_h, func(std::forward<Args>(args)...),
258 : class_factory(std::forward<CFun
[all...]
H A Dinternals.h300 strings.emplace_front(std::forward<Args>(args)...);
/gem5/ext/pybind11/tests/
H A Dconstructor_stats.h142 value(std::forward<Tmore>(args)...);
206 cst.value(std::forward<Values>(values)...);
211 cst.value(std::forward<Values>(values)...);
216 cst.value(std::forward<Values>(values)...);
221 cst.value(std::forward<Values>(values)...);
227 ConstructorStats::get<T>().value(std::forward<Values>(values)...);
235 auto format_ptrs(T &&x) -> decltype(std::forward<T>(x)) { return std::forward<T>(x); } function
240 format_ptrs(std::forward<Output>(output))...);
H A Dlocal_bindings.h48 return py::class_<T>(std::forward<Args>(args)...)
/gem5/src/base/
H A Dcompiler.hh107 new T( std::forward<Args>(constructor_args)... )
/gem5/ext/pybind11/include/pybind11/
H A Dfunctional.h74 object retval(hfunc.f(std::forward<Args>(args)...));
93 return cpp_function(std::forward<Func>(f_), policy).release();
H A Dstl.h64 return std::forward<detail::forwarded_type<T, U>>(std::forward<U>(u));
270 return value_conv::cast(*std::forward<T_>(src), policy, parent);
315 return make_caster<T>::cast(std::forward<T>(src), policy, parent);
326 static auto call(Args &&...args) -> decltype(visit(std::forward<Args>(args)...)) {
327 return visit(std::forward<Args>(args)...);
363 std::forward<Variant>(src));
H A Dpybind11.h71 initialize(std::forward<Func>(f),
116 new ((capture *) &rec->data) capture { std::forward<Func>(f) };
123 rec->data[0] = new capture { std::forward<Func>(f) };
819 cpp_function func(std::forward<Func>(f), name(name_), scope(*this),
1021 auto method_adaptor(F &&f) -> decltype(std::forward<F>(f)) { return std::forward<F>(f); } function
1111 cpp_function cf(method_adaptor<type>(std::forward<Func>(f)), name(name_), is_method(*this),
1121 cpp_function cf(std::forward<Func>(f), name(name_), scope(*this),
1165 capture *ptr = new capture { std::forward<Func>(func) };
1378 Ret init(Func &&f) { return {std::forward<Fun
[all...]
H A Dpytypes.h19 /* A few forward declarations */
28 // Accessor forward declarations
467 auto object_or_cast(T &&o) -> decltype(std::forward<T>(o)) { return std::forward<T>(o); } function
489 Policy::set(obj, key, object_or_cast(std::forward<T>(value)));
492 get_cache() = reinterpret_borrow<object>(object_or_cast(std::forward<T>(value)));
694 /// Python's dictionary protocol permits this to be a forward iterator
767 // Call argument collector forward declarations
929 return attr("format")(std::forward<Args>(args)...);
1222 explicit dict(Args &&...args) : dict(collector(std::forward<Arg
[all...]
H A Dcast.h1378 return cast_impl(std::forward<T>(src), policy, parent, indices{});
1408 reinterpret_steal<object>(make_caster<Ts>::cast(std::get<Is>(std::forward<T>(src)), policy, parent))...
1729 object object_or_cast(T &&o) { return pybind11::cast(std::forward<T>(o)); }
1762 std::forward<Args>(args_), policy, nullptr))... }
1819 : arg_v(arg(name), std::forward<T>(x), descr) { }
1824 : arg_v(arg(base), std::forward<T>(x), descr) { }
1843 arg_v arg::operator=(T &&value) const { return {std::move(*this), std::forward<T>(value)}; }
1857 // forward declaration (definition in attr.h)
1912 return std::move(*this).template call_impl<Return>(std::forward<Func>(f), indices{}, Guard{});
1917 std::move(*this).template call_impl<Return>(std::forward<Fun
[all...]
H A Dstl_bind.h424 Class_ cl(scope, name.c_str(), pybind11::module_local(local), std::forward<Args>(args)...);
591 Class_ cl(scope, name.c_str(), pybind11::module_local(local), std::forward<Args>(args)...);
H A Dnumpy.h1489 explicit vectorize_helper(T &&f) : f(std::forward<T>(f)) { }
1620 detail::vectorize_extractor(std::forward<Func>(f), (detail::function_signature_t<Func> *) nullptr)) {
1621 return detail::vectorize_extractor(std::forward<Func>(f), (detail::function_signature_t<Func> *) nullptr);
/gem5/tests/test-progs/asmtest/src/riscv/isa/rv64ui/
H A Dbeq.S20 # Each test checks both forward and backward branches
H A Dbge.S20 # Each test checks both forward and backward branches
H A Dblt.S20 # Each test checks both forward and backward branches
H A Dbne.S20 # Each test checks both forward and backward branches
H A Dbgeu.S20 # Each test checks both forward and backward branches
H A Dbltu.S20 # Each test checks both forward and backward branches
/gem5/src/sim/
H A Dsystem.hh495 std::forward<Args>(args)...);
513 T *e(addFuncEvent<T>(symtab, lbl, std::forward<Args>(args)...));
539 std::forward<Args>(args)...);
546 std::forward<Args>(args)...));
/gem5/src/dev/arm/
H A Dgic_v3_redistributor.cc721 bool forward = false;
728 forward = distributor->DS || (nsaccess >= 1);
731 forward = ((group == Gicv3::G1S || group == Gicv3::G1NS ) &&
735 forward = group == Gicv3::G1NS;
739 forward = (group == int_group) ||
744 if (!forward) return;
/gem5/src/cpu/checker/
H A Dcpu.hh337 result.push(InstResult(std::forward<T>(t),
345 result.push(InstResult(std::forward<T>(t),
353 result.push(InstResult(std::forward<T>(t),
361 result.push(InstResult(std::forward<T>(t),
/gem5/src/cpu/
H A Dbase_dyn_inst.hh634 instResult.push(InstResult(std::forward<T>(t),
644 instResult.push(InstResult(std::forward<T>(t),
654 instResult.push(InstResult(std::forward<T>(t),
664 instResult.push(InstResult(std::forward<T>(t),
/gem5/ext/nomali/lib/
H A Dnomali_api.cc77 : BaseGpu(std::forward<Args>(args)...),
/gem5/src/dev/virtio/
H A Dbase.cc55 *this = std::forward<VirtDescriptor>(other);

Completed in 34 milliseconds