Lines Matching full:valuerange
39 UnaryBuiltinVecFunc (GeneratorState& state, const char* function, ConstValueRangeAccess valueRange);
48 static float getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange);
52 ValueRange m_inValueRange;
58 UnaryBuiltinVecFunc<GetValueRangeWeight, ComputeValueRange, Evaluate>::UnaryBuiltinVecFunc (GeneratorState& state, const char* function, ConstValueRangeAccess valueRange)
60 , m_inValueRange (valueRange.getType())
64 DE_ASSERT(valueRange.getType().isFloatOrVec());
66 m_value.setStorage(valueRange.getType());
71 ConstValueRangeAccess outRange = valueRange.component(ndx);
121 float UnaryBuiltinVecFunc<GetValueRangeWeight, ComputeValueRange, Evaluate>::getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange)
124 if (!valueRange.getType().isFloatOrVec())
129 if (availableLevels < getConservativeValueExprDepth(state, valueRange) + 1)
134 for (int elemNdx = 0; elemNdx < valueRange.getType().getNumElements(); elemNdx++)
136 float elemWeight = GetValueRangeWeight()(valueRange.component(elemNdx).getMin().asFloat(), valueRange.component(elemNdx).getMax().asFloat());
166 UnaryBuiltinVecTemplateProxy (GeneratorState& state, const char* function, ConstValueRangeAccess valueRange)
167 : UnaryBuiltinVecFunc<GetUnaryBuiltinVecWeight<C>, ComputeUnaryBuiltinVecRange<C>, EvaluateUnaryBuiltinVec<C> >(state, function, valueRange)
177 UnaryTrigonometricFunc (GeneratorState& state, const char* function, ConstValueRangeAccess valueRange)
178 : UnaryBuiltinVecTemplateProxy<C>(state, function, valueRange)
213 static float getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange)
218 return UnaryBuiltinVecTemplateProxy<C>::getWeight(state, valueRange) * state.getProgramParameters().trigonometricBaseWeight;
225 SinOp (GeneratorState& state, ConstValueRangeAccess valueRange)
226 : UnaryTrigonometricFunc<SinOp>(state, "sin", valueRange)
250 CosOp (GeneratorState& state, ConstValueRangeAccess valueRange)
251 : UnaryTrigonometricFunc<CosOp>(state, "cos", valueRange)
275 TanOp (GeneratorState& state, ConstValueRangeAccess valueRange)
276 : UnaryTrigonometricFunc<TanOp>(state, "tan", valueRange)
304 AsinOp (GeneratorState& state, ConstValueRangeAccess valueRange)
305 : UnaryTrigonometricFunc<AsinOp>(state, "asin", valueRange)
332 AcosOp (GeneratorState& state, ConstValueRangeAccess valueRange)
333 : UnaryTrigonometricFunc<AcosOp>(state, "acos", valueRange)
360 AtanOp (GeneratorState& state, ConstValueRangeAccess valueRange)
361 : UnaryTrigonometricFunc<AtanOp>(state, "atan", valueRange)
392 UnaryExponentialFunc (GeneratorState& state, const char* function, ConstValueRangeAccess valueRange)
393 : UnaryBuiltinVecTemplateProxy<C>(state, function, valueRange)
428 static float getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange)
433 return UnaryBuiltinVecTemplateProxy<C>::getWeight(state, valueRange) * state.getProgramParameters().exponentialBaseWeight;
440 ExpOp (GeneratorState& state, ConstValueRangeAccess valueRange)
441 : UnaryExponentialFunc<ExpOp>(state, "exp", valueRange)
469 LogOp (GeneratorState& state, ConstValueRangeAccess valueRange)
470 : UnaryExponentialFunc<LogOp>(state, "log", valueRange)
498 Exp2Op (GeneratorState& state, ConstValueRangeAccess valueRange)
499 : UnaryExponentialFunc<Exp2Op>(state, "exp2", valueRange)
527 Log2Op (GeneratorState& state, ConstValueRangeAccess valueRange)
528 : UnaryExponentialFunc<Log2Op>(state, "log2", valueRange)
556 SqrtOp (GeneratorState& state, ConstValueRangeAccess valueRange)
557 : UnaryExponentialFunc<SqrtOp>(state, "sqrt", valueRange)
588 InvSqrtOp (GeneratorState& state, ConstValueRangeAccess valueRange)
589 : UnaryExponentialFunc<InvSqrtOp>(state, "inversesqrt", valueRange)