Lines Matching refs:getAsConstantUnion
326 int value = (*p)->getAsTyped()->getAsConstantUnion()->getIConst(0);
808 TIntermConstantUnion* constant = expr->getAsConstantUnion();
1297 if (initializer->getAsConstantUnion()) {
1298 variable->shareConstPointer(initializer->getAsConstantUnion()->getUnionArrayPointer());
2186 TIntermConstantUnion* tempConstantNode = node->getAsConstantUnion();
2233 TIntermConstantUnion* tempConstantNode = node->getAsConstantUnion();
2268 TIntermConstantUnion* tempConstantNode = node->getAsConstantUnion();
2307 TIntermConstantUnion *tempConstantNode = node->getAsConstantUnion();
2495 TIntermConstantUnion *indexConstantUnion = indexExpression->getAsConstantUnion();
2509 if(baseExpression->getType().getQualifier() == EvqConstExpr && baseExpression->getAsConstantUnion()) // TODO: Qualifier check redundant?
2657 if(baseExpression->getAsConstantUnion())
3336 TIntermConstantUnion *conditionConst = condition->getAsConstantUnion();
3636 TIntermConstantUnion *valConstant = parameters[0]->getAsTyped()->getAsConstantUnion();
3637 TIntermConstantUnion *minConstant = parameters[1]->getAsTyped()->getAsConstantUnion();
3638 TIntermConstantUnion *maxConstant = parameters[2]->getAsTyped()->getAsConstantUnion();
3643 if (typedReturnNode && typedReturnNode->getAsConstantUnion())
3645 typedReturnNode = maxConstant->fold(EOpMin, typedReturnNode->getAsConstantUnion(), infoSink());
3661 TIntermConstantUnion *leftTempConstant = left->getAsConstantUnion();
3662 TIntermConstantUnion *rightTempConstant = right->getAsConstantUnion();