Home
last modified time | relevance | path

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

/external/swiftshader/src/OpenGL/compiler/
Dintermediate.h278 virtual TIntermConstantUnion* getAsConstantUnion() { return 0; } in getAsConstantUnion() function
447 virtual TIntermConstantUnion* getAsConstantUnion() { return this; } in getAsConstantUnion() function
586 if(!node->getAsConstantUnion() || !node->getAsConstantUnion()->getUnionArrayPointer()) in isConstantFoldable()
DIntermediate.cpp410 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()
DOutputASM.cpp570 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 …]
DParseHelper.cpp367 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 …]
DValidateSwitch.cpp115 TIntermConstantUnion *condition = node->getCondition()->getAsConstantUnion(); in visitCase()
DparseConst.cpp118 …ag = node->getSequence().size() == 1 && node->getSequence()[0]->getAsTyped()->getAsConstantUnion(); in visitAggregate()
DValidateLimitations.cpp468 return node->getAsConstantUnion() != nullptr; in isConstExpr()