Home
last modified time | relevance | path

Searched refs:getAsConstantUnion (Results 1 – 9 of 9) sorted by relevance

/external/webkit/Source/ThirdParty/ANGLE/src/compiler/
DIntermediate.cpp215 TIntermConstantUnion *leftTempConstant = left->getAsConstantUnion(); in addBinaryMath()
216 TIntermConstantUnion *rightTempConstant = right->getAsConstantUnion(); in addBinaryMath()
343 if (child->getAsConstantUnion()) in addUnaryMath()
344 childTempConstant = child->getAsConstantUnion(); in addUnaryMath()
476 if (node->getAsConstantUnion()) { in addConversion()
478 return (promoteConstantUnion(promoteTo, node->getAsConstantUnion())); in addConversion()
594 if (cond->getAsTyped() && cond->getAsTyped()->getAsConstantUnion()) { in addSelection()
595 if (cond->getAsTyped()->getAsConstantUnion()->getUnionArrayPointer()->getBConst()) in addSelection()
648 …if (cond->getAsConstantUnion() && trueBlock->getAsConstantUnion() && falseBlock->getAsConstantUnio… in addSelection()
649 if (cond->getAsConstantUnion()->getUnionArrayPointer()->getBConst()) in addSelection()
[all …]
DParseHelper.cpp310 … int value = (*p)->getAsTyped()->getAsConstantUnion()->getUnionArrayPointer()->getIConst(); in lValueErrorCheck()
688 TIntermConstantUnion* constant = expr->getAsConstantUnion(); in arraySizeErrorCheck()
1026 if (initializer->getAsConstantUnion()) { in executeInitializer()
1030 *unionArray = (initializer->getAsConstantUnion()->getUnionArrayPointer())[0]; in executeInitializer()
1032 … variable->shareConstPointer(initializer->getAsConstantUnion()->getUnionArrayPointer()); in executeInitializer()
1072 if (!(*p)->getAsTyped()->getAsConstantUnion()) in areAllChildConst()
1280 TIntermConstantUnion* tempConstantNode = node->getAsConstantUnion(); in addConstVectorNode()
1324 TIntermConstantUnion* tempConstantNode = node->getAsConstantUnion(); in addConstMatrixNode()
1356 TIntermConstantUnion* tempConstantNode = node->getAsConstantUnion(); in addConstArrayNode()
1393 TIntermConstantUnion *tempConstantNode = node->getAsConstantUnion(); in addConstStruct()
Dglslang.y233 …$$ = context->addConstArrayNode($3->getAsConstantUnion()->getUnionArrayPointer()->getIConst(), $1,…
237 …fields.offsets[0] = $3->getAsConstantUnion()->getUnionArrayPointer()->getIConst(); // need to do i…
240 …$$ = context->addConstMatrixNode($3->getAsConstantUnion()->getUnionArrayPointer()->getIConst(), $1…
244 …ctor() || $1->isMatrix()) && $1->getType().getNominalSize() <= $3->getAsConstantUnion()->getUnionA…
245 …->error($2.line, "", "[", "field selection out of range '%d'", $3->getAsConstantUnion()->getUnionA…
250 …if ($1->getType().getMaxArraySize() <= $3->getAsConstantUnion()->getUnionArrayPointer()->getIConst…
251 …->arraySetMaxSize($1->getAsSymbolNode(), $1->getTypePointer(), $3->getAsConstantUnion()->getUnionA…
257 …} else if ( $3->getAsConstantUnion()->getUnionArrayPointer()->getIConst() >= $1->getType().getArra…
258 …text->error($2.line, "", "[", "array index out of range '%d'", $3->getAsConstantUnion()->getUnionA…
Dintermediate.h214 virtual TIntermConstantUnion* getAsConstantUnion() { return 0; } in getAsConstantUnion() function
349 virtual TIntermConstantUnion* getAsConstantUnion() { return this; } in getAsConstantUnion() function
DparseConst.cpp113 …ag = node->getSequence().size() == 1 && node->getSequence()[0]->getAsTyped()->getAsConstantUnion(); in visitAggregate()
DOutputHLSL.cpp752 TIntermConstantUnion *element = (*sit)->getAsConstantUnion(); in visitBinary()
1586 TIntermConstantUnion *constant = assign->getRight()->getAsConstantUnion(); in handleExcessiveLoop()
1608 TIntermConstantUnion *constant = test->getRight()->getAsConstantUnion(); in handleExcessiveLoop()
1630 TIntermConstantUnion *constant = binaryTerminal->getRight()->getAsConstantUnion(); in handleExcessiveLoop()
DValidateLimitations.cpp431 return node->getAsConstantUnion() != NULL; in isConstExpr()
Dglslang_tab.cpp2214 …text->addConstArrayNode((yyvsp[(3) - (4)].interm.intermTypedNode)->getAsConstantUnion()->getUnionA…
2218 …fields.offsets[0] = (yyvsp[(3) - (4)].interm.intermTypedNode)->getAsConstantUnion()->getUnionArray…
2221 …ext->addConstMatrixNode((yyvsp[(3) - (4)].interm.intermTypedNode)->getAsConstantUnion()->getUnionA…
2225 …e().getNominalSize() <= (yyvsp[(3) - (4)].interm.intermTypedNode)->getAsConstantUnion()->getUnionA…
2226 …ion out of range '%d'", (yyvsp[(3) - (4)].interm.intermTypedNode)->getAsConstantUnion()->getUnionA…
2231 …().getMaxArraySize() <= (yyvsp[(3) - (4)].interm.intermTypedNode)->getAsConstantUnion()->getUnionA…
2232 …ode)->getTypePointer(), (yyvsp[(3) - (4)].interm.intermTypedNode)->getAsConstantUnion()->getUnionA…
2238 …} else if ( (yyvsp[(3) - (4)].interm.intermTypedNode)->getAsConstantUnion()->getUnionArrayPointer(…
2239 …dex out of range '%d'", (yyvsp[(3) - (4)].interm.intermTypedNode)->getAsConstantUnion()->getUnionA…
DOutputGLSL.cpp257 TIntermConstantUnion* element = (*sit)->getAsConstantUnion(); in visitBinary()