Lines Matching refs:funcs
4502 FuncSet funcs;
4504 stmt.getUsedFuncs(funcs);
4505 for (FuncSet::const_iterator it = funcs.begin(); it != funcs.end(); ++it)
4509 if (!funcs.empty())
5042 GenFuncCaseFactory (const GenFuncs<Sig>& funcs,
5044 : m_funcs (funcs)
5204 void addScalarFactory(BuiltinFuncs& funcs, string name = "")
5209 funcs.addFactory(SharedPtr<const CaseFactory>(new GenFuncCaseFactory<typename F::Sig>(
5215 MovePtr<BuiltinFuncs> funcs (new BuiltinFuncs());
5217 addScalarFactory<Add>(*funcs);
5218 addScalarFactory<Sub>(*funcs);
5219 addScalarFactory<Mul>(*funcs);
5220 addScalarFactory<Div>(*funcs);
5222 addScalarFactory<Radians>(*funcs);
5223 addScalarFactory<Degrees>(*funcs);
5224 addScalarFactory<Sin>(*funcs);
5225 addScalarFactory<Cos>(*funcs);
5226 addScalarFactory<Tan>(*funcs);
5227 addScalarFactory<ASin>(*funcs);
5228 addScalarFactory<ACos>(*funcs);
5229 addScalarFactory<ATan2>(*funcs, "atan2");
5230 addScalarFactory<ATan>(*funcs);
5231 addScalarFactory<Sinh>(*funcs);
5232 addScalarFactory<Cosh>(*funcs);
5233 addScalarFactory<Tanh>(*funcs);
5234 addScalarFactory<ASinh>(*funcs);
5235 addScalarFactory<ACosh>(*funcs);
5236 addScalarFactory<ATanh>(*funcs);
5238 addScalarFactory<Pow>(*funcs);
5239 addScalarFactory<Exp>(*funcs);
5240 addScalarFactory<Log>(*funcs);
5241 addScalarFactory<Exp2>(*funcs);
5242 addScalarFactory<Log2>(*funcs);
5243 addScalarFactory<Sqrt>(*funcs);
5244 addScalarFactory<InverseSqrt>(*funcs);
5246 addScalarFactory<Abs>(*funcs);
5247 addScalarFactory<Sign>(*funcs);
5248 addScalarFactory<Floor>(*funcs);
5249 addScalarFactory<Trunc>(*funcs);
5250 addScalarFactory<Round>(*funcs);
5251 addScalarFactory<RoundEven>(*funcs);
5252 addScalarFactory<Ceil>(*funcs);
5253 addScalarFactory<Fract>(*funcs);
5254 addScalarFactory<Mod>(*funcs);
5255 funcs->addFactory(createSimpleFuncCaseFactory<Modf>());
5256 addScalarFactory<Min>(*funcs);
5257 addScalarFactory<Max>(*funcs);
5258 addScalarFactory<Clamp>(*funcs);
5259 addScalarFactory<Mix>(*funcs);
5260 addScalarFactory<Step>(*funcs);
5261 addScalarFactory<SmoothStep>(*funcs);
5263 funcs->addFactory(SharedPtr<const CaseFactory>(new TemplateFuncCaseFactory<Length>()));
5264 funcs->addFactory(SharedPtr<const CaseFactory>(new TemplateFuncCaseFactory<Distance>()));
5265 funcs->addFactory(SharedPtr<const CaseFactory>(new TemplateFuncCaseFactory<Dot>()));
5266 funcs->addFactory(createSimpleFuncCaseFactory<Cross>());
5267 funcs->addFactory(SharedPtr<const CaseFactory>(new TemplateFuncCaseFactory<Normalize>()));
5268 funcs->addFactory(SharedPtr<const CaseFactory>(new TemplateFuncCaseFactory<FaceForward>()));
5269 funcs->addFactory(SharedPtr<const CaseFactory>(new TemplateFuncCaseFactory<Reflect>()));
5270 funcs->addFactory(SharedPtr<const CaseFactory>(new TemplateFuncCaseFactory<Refract>()));
5273 funcs->addFactory(SharedPtr<const CaseFactory>(new MatrixFuncCaseFactory<MatrixCompMult>()));
5274 funcs->addFactory(SharedPtr<const CaseFactory>(new MatrixFuncCaseFactory<OuterProduct>()));
5275 funcs->addFactory(SharedPtr<const CaseFactory>(new MatrixFuncCaseFactory<Transpose>()));
5276 funcs->addFactory(SharedPtr<const CaseFactory>(new SquareMatrixFuncCaseFactory<Determinant>()));
5277 funcs->addFactory(SharedPtr<const CaseFactory>(new SquareMatrixFuncCaseFactory<Inverse>()));
5279 return MovePtr<const CaseFactories>(funcs.release());
5284 MovePtr<BuiltinFuncs> funcs (new BuiltinFuncs());
5286 addScalarFactory<FrExp>(*funcs);
5287 addScalarFactory<LdExp>(*funcs);
5288 addScalarFactory<Fma>(*funcs);
5290 return MovePtr<const CaseFactories>(funcs.release());