Lines Matching refs:getAsConstantUnion
326 int value = (*p)->getAsTyped()->getAsConstantUnion()->getIConst(0); in lValueErrorCheck()
808 TIntermConstantUnion* constant = expr->getAsConstantUnion(); in arraySizeErrorCheck()
1297 if (initializer->getAsConstantUnion()) { in executeInitializer()
1298 variable->shareConstPointer(initializer->getAsConstantUnion()->getUnionArrayPointer()); in executeInitializer()
2186 TIntermConstantUnion* tempConstantNode = node->getAsConstantUnion(); in addConstVectorNode()
2233 TIntermConstantUnion* tempConstantNode = node->getAsConstantUnion(); in addConstMatrixNode()
2268 TIntermConstantUnion* tempConstantNode = node->getAsConstantUnion(); in addConstArrayNode()
2307 TIntermConstantUnion *tempConstantNode = node->getAsConstantUnion(); in addConstStruct()
2495 TIntermConstantUnion *indexConstantUnion = indexExpression->getAsConstantUnion(); in addIndexExpression()
2509 …if(baseExpression->getType().getQualifier() == EvqConstExpr && baseExpression->getAsConstantUnion(… in addIndexExpression()
2657 if(baseExpression->getAsConstantUnion()) in addFieldSelectionExpression()
3336 TIntermConstantUnion *conditionConst = condition->getAsConstantUnion(); in addCase()
3636 TIntermConstantUnion *valConstant = parameters[0]->getAsTyped()->getAsConstantUnion(); in addFunctionCallOrMethod()
3637 TIntermConstantUnion *minConstant = parameters[1]->getAsTyped()->getAsConstantUnion(); in addFunctionCallOrMethod()
3638 TIntermConstantUnion *maxConstant = parameters[2]->getAsTyped()->getAsConstantUnion(); in addFunctionCallOrMethod()
3643 if (typedReturnNode && typedReturnNode->getAsConstantUnion()) in addFunctionCallOrMethod()
3645 … typedReturnNode = maxConstant->fold(EOpMin, typedReturnNode->getAsConstantUnion(), infoSink()); in addFunctionCallOrMethod()
3661 TIntermConstantUnion *leftTempConstant = left->getAsConstantUnion(); in addFunctionCallOrMethod()
3662 TIntermConstantUnion *rightTempConstant = right->getAsConstantUnion(); in addFunctionCallOrMethod()