Searched refs:setBConst (Results 1 – 18 of 18) sorted by relevance
70 case EbtInt: setBConst(constant.getIConst() != 0); break; in cast()71 case EbtUInt: setBConst(constant.getUConst() != 0); break; in cast()72 case EbtBool: setBConst(constant.getBConst()); break; in cast()73 case EbtFloat: setBConst(constant.getFConst() != 0.0f); break; in cast()82 case EbtBool: setBConst(constant.getBConst()); break; in cast()97 void setBConst(bool b) {bConst = b; type = EbtBool; } in setBConst() function370 case EbtBool: returnValue.setBConst(bConst && constant.bConst); break;382 case EbtBool: returnValue.setBConst(bConst || constant.bConst); break;
1658 …case EbtBool: tempConstArray[i].setBConst((unionArray[i] == rightUnionArray[i]) ? false : true); b… in fold()1693 tempConstArray[i].setBConst(unionArray[i] < rightUnionArray[i]); in fold()1699 tempConstArray[i].setBConst(unionArray[i] > rightUnionArray[i]); in fold()1705 tempConstArray[i].setBConst(unionArray[i] <= rightUnionArray[i]); in fold()1711 tempConstArray[i].setBConst(unionArray[i] >= rightUnionArray[i]); in fold()1718 …tempConstArray->setBConst(CompareStructure(node->getType(), node->getUnionArrayPointer(), unionArr… in fold()1727 tempConstArray->setBConst(boolNodeFlag); in fold()1739 …tempConstArray->setBConst(!CompareStructure(node->getType(), node->getUnionArrayPointer(), unionAr… in fold()1748 tempConstArray->setBConst(boolNodeFlag); in fold()1797 case EbtBool: tempConstArray[i].setBConst(!unionArray[i].getBConst()); break; in fold()[all …]
269 unionArray->setBConst($1.b);
3469 unionArray->setBConst(false); in addBinaryMathBooleanResult()
2433 unionArray->setBConst((yyvsp[0].lex).b); in yyparse()
249 constants[0].setBConst(b); in Constant()
354 …case EbtBool: newConstArray[i].setBConst((leftUnionArray[i] == rightUnionArray[i]) ? false : true)… in fold()361 newConstArray[0].setBConst(leftUnionArray[0] < rightUnionArray[0]); in fold()365 newConstArray[0].setBConst(leftUnionArray[0] > rightUnionArray[0]); in fold()369 newConstArray[0].setBConst(! (leftUnionArray[0] > rightUnionArray[0])); in fold()373 newConstArray[0].setBConst(! (leftUnionArray[0] < rightUnionArray[0])); in fold()377 newConstArray[0].setBConst(rightNode->getConstArray() == leftUnionArray); in fold()381 newConstArray[0].setBConst(rightNode->getConstArray() != leftUnionArray); in fold()482 newConstArray[0].setBConst(result); in fold()492 newConstArray[0].setBConst(result); in fold()549 case EbtBool: newConstArray[i].setBConst(!unionArray[i].getBConst()); break; in fold()[all …]
2613 unionArray[0].setBConst(b); in addConstantUnion()3851 #define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0) in promoteConstantUnion()
354 …case EbtBool: newConstArray[i].setBConst((leftUnionArray[i] == rightUnionArray[i]) ? false : true)… in fold()361 newConstArray[0].setBConst(leftUnionArray[0] < rightUnionArray[0]); in fold()365 newConstArray[0].setBConst(leftUnionArray[0] > rightUnionArray[0]); in fold()369 newConstArray[0].setBConst(! (leftUnionArray[0] > rightUnionArray[0])); in fold()373 newConstArray[0].setBConst(! (leftUnionArray[0] < rightUnionArray[0])); in fold()377 newConstArray[0].setBConst(rightNode->getConstArray() == leftUnionArray); in fold()381 newConstArray[0].setBConst(rightNode->getConstArray() != leftUnionArray); in fold()482 newConstArray[0].setBConst(result); in fold()492 newConstArray[0].setBConst(result); in fold()554 case EbtBool: newConstArray[i].setBConst(!unionArray[i].getBConst()); break; in fold()[all …]
2613 unionArray[0].setBConst(b); in addConstantUnion()3856 #define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0) in promoteConstantUnion()
71 result->setBConst(false); in UndefinedConstantFoldingError()2457 resultArray[i].setBConst(leftArray[i] != rightArray[i]); in FoldBinary()2493 resultArray->setBConst(*leftArray < *rightArray); in FoldBinary()2499 resultArray->setBConst(*leftArray > *rightArray); in FoldBinary()2505 resultArray->setBConst(!(*leftArray > *rightArray)); in FoldBinary()2511 resultArray->setBConst(!(*leftArray < *rightArray)); in FoldBinary()2529 resultArray->setBConst(equal); in FoldBinary()2533 resultArray->setBConst(!equal); in FoldBinary()2562 resultArray->setBConst(false); in foldUnaryNonComponentWise()2567 resultArray->setBConst(true); in foldUnaryNonComponentWise()[all …]
209 setBConst(constant.getIConst() != 0); in cast()212 setBConst(constant.getUConst() != 0); in cast()215 setBConst(constant.getBConst()); in cast()218 setBConst(constant.getFConst() != 0.0f); in cast()234 setBConst(constant.getBConst()); in cast()768 returnValue.setBConst(bConst && constant.bConst); in operator &&()784 returnValue.setBConst(bConst || constant.bConst); in operator ||()
45 void setBConst(bool b) in setBConst() function
288 unionArray->setBConst($1.b);
2420 unionArray->setBConst((yyvsp[0].lex).b); in yyparse()
71 u[i].setBConst(false); in CreateZeroNode()146 u[0].setBConst(value); in CreateBoolNode()
106 void setBConst(bool b) in setBConst() function861 case EbtBool: returnValue.setBConst(bConst && constant.bConst); break;873 case EbtBool: returnValue.setBConst(bConst || constant.bConst); break;