Lines Matching refs:Sig
1133 * templates easier, since we only need to take and pass a single Sig instead
1207 typedef Sig_ Sig;
1208 typedef typename Sig::Ret Ret;
1209 typedef typename Sig::Arg0 Arg0;
1210 typedef typename Sig::Arg1 Arg1;
1211 typedef typename Sig::Arg2 Arg2;
1212 typedef typename Sig::Arg3 Arg3;
1213 typedef typename Sig::IRet IRet;
1214 typedef typename Sig::IArg0 IArg0;
1215 typedef typename Sig::IArg1 IArg1;
1216 typedef typename Sig::IArg2 IArg2;
1217 typedef typename Sig::IArg3 IArg3;
1218 typedef typename Sig::Args Args;
1219 typedef typename Sig::IArgs IArgs;
1220 typedef typename Sig::ArgExprs ArgExprs;
1280 template <typename Sig>
1281 class Apply : public Expr<typename Sig::Ret>
1284 typedef typename Sig::Ret Ret;
1285 typedef typename Sig::Arg0 Arg0;
1286 typedef typename Sig::Arg1 Arg1;
1287 typedef typename Sig::Arg2 Arg2;
1288 typedef typename Sig::Arg3 Arg3;
1291 typedef Func<Sig> ApplyFunc;
1341 typedef typename Alternatives::Sig Sig;
1362 template <typename Sig>
1363 ExprP<typename Sig::Ret> createApply (const Func<Sig>& func,
1364 const typename Func<Sig>::ArgExprs& args)
1366 return exprP(new Apply<Sig>(func, args));
1369 template <typename Sig>
1370 ExprP<typename Sig::Ret> createApply (
1371 const Func<Sig>& func,
1372 const ExprP<typename Sig::Arg0>& arg0 = voidP(),
1373 const ExprP<typename Sig::Arg1>& arg1 = voidP(),
1374 const ExprP<typename Sig::Arg2>& arg2 = voidP(),
1375 const ExprP<typename Sig::Arg3>& arg3 = voidP())
1377 return exprP(new Apply<Sig>(func, arg0, arg1, arg2, arg3));
1380 template <typename Sig>
1381 ExprP<typename Sig::Ret> Func<Sig>::operator() (const ExprP<typename Sig::Arg0>& arg0,
1382 const ExprP<typename Sig::Arg1>& arg1,
1383 const ExprP<typename Sig::Arg2>& arg2,
1384 const ExprP<typename Sig::Arg3>& arg3) const
1412 return createApply<typename Alternatives<T>::Sig>(instance<Alternatives<T> >(), arg0, arg1);
1415 template <typename Sig>
1416 class ApplyVar : public Apply<Sig>
1419 typedef typename Sig::Ret Ret;
1420 typedef typename Sig::Arg0 Arg0;
1421 typedef typename Sig::Arg1 Arg1;
1422 typedef typename Sig::Arg2 Arg2;
1423 typedef typename Sig::Arg3 Arg3;
1426 typedef Func<Sig> ApplyFunc;
1434 : Apply<Sig> (func, arg0, arg1, arg2, arg3) {}
1448 template <typename Sig>
1449 ExprP<typename Sig::Ret> applyVar (const Func<Sig>& func,
1450 const VariableP<typename Sig::Arg0>& arg0,
1451 const VariableP<typename Sig::Arg1>& arg1,
1452 const VariableP<typename Sig::Arg2>& arg2,
1453 const VariableP<typename Sig::Arg3>& arg3)
1455 return exprP(new ApplyVar<Sig>(func, arg0, arg1, arg2, arg3));
1578 template <typename Sig>
1579 class PrimitiveFunc : public Func<Sig>
2795 template <typename T, typename Sig>
2796 class CompWiseFunc : public PrimitiveFunc<Sig>
2863 Func<Sig>::doPrint(os, args);
4032 class VectorizedFunc : public GenFunc<typename F::Sig, Size>
4035 VectorizedFunc (void) : GenFunc<typename F::Sig, Size>(instance<F>()) {}
4079 class FixedVecFunc : public FixedGenFunc<typename F::Sig, Size>
4082 const Func<typename F::Sig>& doGetScalarFunc (void) const { return instance<F>(); }
4085 template<typename Sig>
4088 GenFuncs (const Func<Sig>& func_,
4089 const GenFunc<Sig, 2>& func2_,
4090 const GenFunc<Sig, 3>& func3_,
4091 const GenFunc<Sig, 4>& func4_)
4098 const Func<Sig>& func;
4099 const GenFunc<Sig, 2>& func2;
4100 const GenFunc<Sig, 3>& func3;
4101 const GenFunc<Sig, 4>& func4;
4105 GenFuncs<typename F::Sig> makeVectorizedFuncs (void)
4107 return GenFuncs<typename F::Sig>(instance<F>(),
5077 template <typename Sig>
5081 typedef Func<Sig> CaseFunc;
5082 typedef typename Sig::Ret Ret;
5083 typedef typename Sig::Arg0 Arg0;
5084 typedef typename Sig::Arg1 Arg1;
5085 typedef typename Sig::Arg2 Arg2;
5086 typedef typename Sig::Arg3 Arg3;
5108 template <typename Sig>
5109 void FuncCase<Sig>::runTest (void)
5135 template <typename Sig>
5139 typedef Func<Sig> CaseFunc;
5140 typedef typename Sig::Ret Ret;
5141 typedef typename Sig::Arg0 Arg0;
5142 typedef typename Sig::Arg1 Arg1;
5143 typedef typename Sig::Arg2 Arg2;
5144 typedef typename Sig::Arg3 Arg3;
5166 template <typename Sig>
5167 void InOutFuncCase<Sig>::runTest (void)
5193 template <typename Sig>
5196 const Func<Sig>& func)
5201 return new FuncCase<Sig>(context, name, func);
5203 return new InOutFuncCase<Sig>(context, name, func);
5235 template <typename Sig>
5240 GenFuncCaseFactory (const GenFuncs<Sig>& funcs,
5269 const GenFuncs<Sig> m_funcs;
5347 template <typename Sig>
5351 SimpleFuncCaseFactory (const Func<Sig>& func) : m_func(func) {}
5369 const Func<Sig>& m_func;
5373 SharedPtr<SimpleFuncCaseFactory<typename F::Sig> > createSimpleFuncCaseFactory (void)
5375 return SharedPtr<SimpleFuncCaseFactory<typename F::Sig> >(
5376 new SimpleFuncCaseFactory<typename F::Sig>(instance<F>()));
5407 funcs.addFactory(SharedPtr<const CaseFactory>(new GenFuncCaseFactory<typename F::Sig>(