/external/deqp/framework/randomshaders/ |
rsgExpression.hpp | 64 static Expression* createRandom (GeneratorState& state, ConstValueRangeAccess valueRange); 65 static Expression* createRandomLValue (GeneratorState& state, ConstValueRangeAccess valueRange); 90 VariableRead (GeneratorState& state, ConstValueRangeAccess valueRange); 94 static float getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange); 100 VariableWrite (GeneratorState& state, ConstValueRangeAccess valueRange); 103 static float getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange); 109 FloatLiteral (GeneratorState& state, ConstValueRangeAccess valueRange); 115 static float getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange); 127 IntLiteral (GeneratorState& state, ConstValueRangeAccess valueRange); 133 static float getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange); [all...] |
rsgUtils.cpp | 57 void computeRandomValue (de::Random& rnd, ValueAccess dst, ConstValueRangeAccess valueRange) 67 float minVal = valueRange.component(ndx).getMin().asFloat(); 68 float maxVal = valueRange.component(ndx).getMax().asFloat(); 76 int minVal = valueRange.component(ndx).getMin().asBool() ? 1 : 0; 77 int maxVal = valueRange.component(ndx).getMin().asBool() ? 1 : 0; 87 int minVal = valueRange.component(ndx).getMin().asInt(); 88 int maxVal = valueRange.component(ndx).getMax().asInt(); 97 computeRandomValue(rnd, dst.arrayElement(ndx), valueRange.arrayElement(ndx)); 105 computeRandomValue(rnd, dst.member(ndx), valueRange.member(ndx)); 125 bool isUndefinedValueRange (ConstValueRangeAccess valueRange) [all...] |
rsgBinaryOps.hpp | 55 static float getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange); 61 ValueRange m_leftValueRange; 62 ValueRange m_rightValueRange; 72 BinaryVecOp (GeneratorState& state, Token::Type operatorToken, ConstValueRangeAccess valueRange); 95 MulOp (GeneratorState& state, ConstValueRangeAccess valueRange); 98 static float getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange); 117 AddOp (GeneratorState& state, ConstValueRangeAccess valueRange); 120 static float getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange); 139 SubOp (GeneratorState& state, ConstValueRangeAccess valueRange); 142 static float getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange); [all...] |
rsgBuiltinFunctions.hpp | 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() [all...] |
rsgBinaryOps.cpp | 76 float BinaryOp<Precedence, Assoc>::getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange) 83 if (valueRange.getType().isVoid()) 86 if (availableLevels < getConservativeValueExprDepth(state, valueRange) + 1) 117 ValueRange valueRange = inValueRange; 119 if (valueRange.getType().isVoid()) 131 valueRange = ValueRange(VariableType(baseType, numElements)); 132 computeRandomValueRange(state, valueRange.asAccess()); 136 this->m_type = valueRange.getType() [all...] |
rsgExpression.cpp | 66 IsReadableIntersectingEntry (ConstValueRangeAccess valueRange, deUint32 exprFlags) 68 , m_valueRange (valueRange) 95 IsWritableIntersectingEntry (ConstValueRangeAccess valueRange) 96 : m_valueRange(valueRange) 116 IsWritableSupersetEntry (ConstValueRangeAccess valueRange) 117 : m_valueRange(valueRange) 164 void computeRandomValueRangeForInfElements (GeneratorState& state, ValueRangeAccess valueRange) 166 const VariableType& type = valueRange.getType(); 178 if (valueRange.getMin().component(ndx).asScalar() != Scalar::min<int>() || 179 valueRange.getMax().component(ndx).asScalar() != Scalar::max<int>() [all...] |
rsgFunctionGenerator.cpp | 70 ValueRange valueRange(variable->getType()); 72 valueRange.getMin() = entry->getValueRange().getMin().value(); 73 valueRange.getMax() = entry->getValueRange().getMax().value(); 78 if (!isUndefinedValueRange(valueRange.asAccess())) 79 m_function.getBody().addChild(new AssignStatement(m_state, variable, valueRange.asAccess()));
|
rsgShaderGenerator.cpp | 137 void fillUndefinedComponents (ValueRangeAccess valueRange) 139 VariableType::Type baseType = valueRange.getType().getBaseType(); 144 for (int elemNdx = 0; elemNdx < valueRange.getType().getNumElements(); elemNdx++) 146 if (isUndefinedValueRange(valueRange.component(elemNdx))) 148 ValueAccess min = valueRange.component(elemNdx).getMin(); 149 ValueAccess max = valueRange.component(elemNdx).getMax(); 207 ValueRange valueRange(fragColorVar->getType()); 209 valueRange.getMin() = tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f); 210 valueRange.getMax() = tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f) [all...] |
rsgVariableValue.cpp | 158 ValueRange::ValueRange (const VariableType& type) 165 ValueRange::ValueRange (const VariableType& type, const ConstValueAccess& minVal, const ConstValueAccess& maxVal) 174 ValueRange::ValueRange (const VariableType& type, const Scalar* minVal, const Scalar* maxVal) 183 ValueRange::ValueRange (ConstValueRangeAccess other) 192 ValueRange::~ValueRange (void [all...] |
rsgExpressionGenerator.cpp | 38 Expression* ExpressionGenerator::generate (const ValueRange& valueRange, int initialDepth) 42 Expression* root = Expression::createRandom(m_state, valueRange);
|
rsgUtils.hpp | 43 bool isUndefinedValueRange (ConstValueRangeAccess valueRange); 45 int getConservativeValueExprDepth (const GeneratorState& state, ConstValueRangeAccess valueRange); 49 void computeRandomValueRange (GeneratorState& state, ValueRangeAccess valueRange); 51 float computeDynamicRangeWeight (ConstValueRangeAccess valueRange);
|
rsgExpressionGenerator.hpp | 42 Expression* generate (const ValueRange& valueRange, int initialDepth = 0);
|
rsgStatement.cpp | 120 m_expression = generator.generate(ValueRange(VariableType(VariableType::TYPE_VOID))); 298 ValueRange valueRange = value->getValueRange(); 308 m_expression = generator.generate(valueRange, 1); 431 ValueRange range = ValueRange(VariableType::getScalarType(VariableType::TYPE_BOOL)); 542 AssignStatement::AssignStatement (GeneratorState& state, const Variable* variable, ConstValueRangeAccess valueRange) 548 m_valueExpr = generator.generate(valueRange, 1);
|
rsgShader.cpp | 58 ShaderInput::ShaderInput (const Variable* variable, ConstValueRangeAccess valueRange) 63 ValueAccess(variable->getType(), &m_min[0]) = valueRange.getMin().value(); 64 ValueAccess(variable->getType(), &m_max[0]) = valueRange.getMax().value();
|
rsgVariableValue.hpp | 271 class ValueRange 274 ValueRange (const VariableType& type); 275 ValueRange (const VariableType& type, const ConstValueAccess& minVal, const ConstValueAccess& maxVal); 276 ValueRange (const VariableType& type, const Scalar* minVal, const Scalar* maxVal); 277 ValueRange (ConstValueRangeAccess other); 278 ~ValueRange (void); 295 static void computeIntersection (ValueRange& dst, const ConstValueRangeAccess& a, const ConstValueRangeAccess& b);
|
rsgProgramExecutor.cpp | 138 void interpolateVertexInput (StridedValueAccess<Stride> dst, int dstComp, const ConstValueRangeAccess valueRange, float x, float y) 140 TCU_CHECK(valueRange.getType().getBaseType() == VariableType::TYPE_FLOAT); 141 int numElements = valueRange.getType().getNumElements(); 146 dst.component(elementNdx).asFloat(dstComp) = interpolateVertex(valueRange.getMin().component(elementNdx).asFloat(), valueRange.getMax().component(elementNdx).asFloat(), xd, yd);
|
rsgVariableManager.cpp | 40 SubValueRangeIterator (const ConstValueRangeAccess& valueRange); 52 SubValueRangeIterator::SubValueRangeIterator (const ConstValueRangeAccess& valueRange) 54 m_stack.push_back(valueRange); 473 ValueRange intersectedValue(var->getType()); 475 ValueRange::computeIntersection(intersectedValue, entry->getValueRange(), oldEntry->getValueRange());
|
rsgGeneratorState.hpp | 79 // \todo [2011-03-21 pyry] A bit of a hack... Move to ValueRange?
|
rsgShader.hpp | 67 ShaderInput (const Variable* variable, ConstValueRangeAccess valueRange);
|
rsgStatement.hpp | 141 AssignStatement (GeneratorState& state, const Variable* variable, ConstValueRangeAccess valueRange);
|
/art/compiler/optimizing/ |
bounds_check_elimination.cc | 298 * Currently a ValueRange may be generated as a result of the following: 303 class ValueRange : public ArenaObject<kArenaAllocBoundsCheckElimination> { 305 ValueRange(ArenaAllocator* allocator, ValueBound lower, ValueBound upper) 308 virtual ~ValueRange() {} 322 virtual bool FitsIn(ValueRange* other_range) const { 334 virtual ValueRange* Narrow(ValueRange* range) { 343 return new (allocator_) ValueRange( 350 ValueRange* Add(int32_t constant) const { 364 return new (allocator_) ValueRange(allocator_, lower, upper) [all...] |
/packages/experimental/procstatlog/ |
procstatreport.py | 210 "valueRange": [0, 110], 347 "valueRange": [0, max_faults * 11 / 10], 434 "valueRange": [0, max_bytes * 11 / 10], 548 "valueRange": [0, max_io * 11 / 10], 568 "valueRange": [0, max_msec * 11 / 10], 606 "valueRange": [0, 110], 627 "valueRange": [0, max_faults * 11 / 10],
|
/external/clang/include/clang/AST/ |
Comment.h | 428 SourceRange ValueRange; 436 ValueRange(SourceRange()), Value(StringRef()) 441 SourceRange ValueRange, StringRef Value) : 444 ValueRange(ValueRange), Value(Value) 490 SourceLocation L = Attr.ValueRange.getEnd();
|
/external/deqp/modules/glshared/ |
glsRandomShaderCase.cpp | 160 rsg::ConstValueRangeAccess valueRange = input->getValueRange(); 188 float minVal = valueRange.getMin().component(compNdx).asFloat(); 189 float maxVal = valueRange.getMax().component(compNdx).asFloat(); 452 tcu::MessageBuilder& operator<< (tcu::MessageBuilder& message, rsg::ConstValueRangeAccess valueRange) 454 return message << valueRange.getMin() << " -> " << valueRange.getMax();
|
glsFragOpInteractionCase.cpp | 541 const rsg::ConstValueRangeAccess valueRange = shaderIn->getValueRange(); 554 case 1: setVertex(layoutEntry.pointer, vtxNdx, interpolateRange(valueRange, f.toWidth<1>())); break; 555 case 2: setVertex(layoutEntry.pointer, vtxNdx, interpolateRange(valueRange, f.toWidth<2>())); break; 556 case 3: setVertex(layoutEntry.pointer, vtxNdx, interpolateRange(valueRange, f.toWidth<3>())); break; 557 case 4: setVertex(layoutEntry.pointer, vtxNdx, interpolateRange(valueRange, f.toWidth<4>())); break;
|