Searched refs:getAsConstantUnion (Results 1 – 7 of 7) sorted by relevance
278 virtual TIntermConstantUnion* getAsConstantUnion() { return 0; } in getAsConstantUnion() function447 virtual TIntermConstantUnion* getAsConstantUnion() { return this; } in getAsConstantUnion() function586 if(!node->getAsConstantUnion() || !node->getAsConstantUnion()->getUnionArrayPointer()) in isConstantFoldable()
410 TIntermConstantUnion *leftTempConstant = left->getAsConstantUnion(); in addBinaryMath()411 TIntermConstantUnion *rightTempConstant = right->getAsConstantUnion(); in addBinaryMath()503 if (child->getAsConstantUnion()) in addUnaryMath()504 childTempConstant = child->getAsConstantUnion(); in addUnaryMath()624 if (cond->getAsTyped() && cond->getAsTyped()->getAsConstantUnion()) { in addSelection()625 if (cond->getAsConstantUnion()->getBConst(0) == true) in addSelection()669 …if (cond->getAsConstantUnion() && trueBlock->getAsConstantUnion() && falseBlock->getAsConstantUnio… in addSelection()670 if (cond->getAsConstantUnion()->getBConst(0)) in addSelection()1407 TIntermConstantUnion *node = constantNode->getAsConstantUnion(); in fold()
570 int index = right->getAsConstantUnion()->getIConst(0); in visitBinary()643 int index = right->getAsConstantUnion()->getIConst(0); in visitBinary()667 TIntermConstantUnion *element = (*sit)->getAsConstantUnion(); in visitBinary()1550 TIntermConstantUnion *constantCondition = condition->getAsConstantUnion(); in visitSelection()2230 if(arg->getAsConstantUnion() && arg->getAsConstantUnion()->getUnionArrayPointer()) in argument()2233 ConstantUnion *constants = arg->getAsConstantUnion()->getUnionArrayPointer(); in argument()2357 int rightIndex = right->getAsConstantUnion()->getIConst(0); in lvalue()2451 int index = right->getAsConstantUnion()->getIConst(0); in lvalue()2479 int index = sequence[i]->getAsConstantUnion()->getIConst(0); in lvalue()2525 …if(qualifier == EvqConstExpr && (!operand->getAsConstantUnion() || !operand->getAsConstantUnion()-… in registerType()[all …]
367 int value = (*p)->getAsTyped()->getAsConstantUnion()->getIConst(0); in lValueErrorCheck()849 TIntermConstantUnion* constant = expr->getAsConstantUnion(); in arraySizeErrorCheck()1337 if (initializer->getAsConstantUnion()) { in executeInitializer()1338 variable->shareConstPointer(initializer->getAsConstantUnion()->getUnionArrayPointer()); in executeInitializer()2221 TIntermConstantUnion* tempConstantNode = node->getAsConstantUnion(); in addConstVectorNode()2266 TIntermConstantUnion* tempConstantNode = node->getAsConstantUnion(); in addConstMatrixNode()2301 TIntermConstantUnion* tempConstantNode = node->getAsConstantUnion(); in addConstArrayNode()2340 TIntermConstantUnion *tempConstantNode = node->getAsConstantUnion(); in addConstStruct()2525 TIntermConstantUnion *indexConstantUnion = indexExpression->getAsConstantUnion(); in addIndexExpression()2687 if(baseExpression->getAsConstantUnion()) in addFieldSelectionExpression()[all …]
115 TIntermConstantUnion *condition = node->getCondition()->getAsConstantUnion(); in visitCase()
118 …ag = node->getSequence().size() == 1 && node->getSequence()[0]->getAsTyped()->getAsConstantUnion(); in visitAggregate()
468 return node->getAsConstantUnion() != nullptr; in isConstExpr()