Searched refs:setBConst (Results 1 – 9 of 9) 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;
1660 …case EbtBool: tempConstArray[i].setBConst((unionArray[i] == rightUnionArray[i]) ? false : true); b… in fold()1695 tempConstArray[i].setBConst(unionArray[i] < rightUnionArray[i]); in fold()1701 tempConstArray[i].setBConst(unionArray[i] > rightUnionArray[i]); in fold()1707 tempConstArray[i].setBConst(unionArray[i] <= rightUnionArray[i]); in fold()1713 tempConstArray[i].setBConst(unionArray[i] >= rightUnionArray[i]); in fold()1720 …tempConstArray->setBConst(CompareStructure(node->getType(), node->getUnionArrayPointer(), unionArr… in fold()1729 tempConstArray->setBConst(boolNodeFlag); in fold()1741 …tempConstArray->setBConst(!CompareStructure(node->getType(), node->getUnionArrayPointer(), unionAr… in fold()1750 tempConstArray->setBConst(boolNodeFlag); in fold()1799 case EbtBool: tempConstArray[i].setBConst(!unionArray[i].getBConst()); break; in fold()[all …]
269 unionArray->setBConst($1.b);
2433 unionArray->setBConst((yyvsp[0].lex).b); in yyparse()
3469 unionArray->setBConst(false); in addBinaryMathBooleanResult()
249 constants[0].setBConst(b); in Constant()
352 …case EbtBool: newConstArray[i].setBConst((leftUnionArray[i] == rightUnionArray[i]) ? false : true)… in fold()359 newConstArray[0].setBConst(leftUnionArray[0] < rightUnionArray[0]); in fold()363 newConstArray[0].setBConst(leftUnionArray[0] > rightUnionArray[0]); in fold()367 newConstArray[0].setBConst(! (leftUnionArray[0] > rightUnionArray[0])); in fold()371 newConstArray[0].setBConst(! (leftUnionArray[0] < rightUnionArray[0])); in fold()375 newConstArray[0].setBConst(rightNode->getConstArray() == leftUnionArray); in fold()379 newConstArray[0].setBConst(rightNode->getConstArray() != leftUnionArray); in fold()480 newConstArray[0].setBConst(result); in fold()490 newConstArray[0].setBConst(result); in fold()547 case EbtBool: newConstArray[i].setBConst(!unionArray[i].getBConst()); break; in fold()[all …]
2452 unionArray[0].setBConst(b); in addConstantUnion()3750 leftUnionArray[i].setBConst(rightUnionArray[i].getIConst() != 0); in promoteConstantUnion()3753 leftUnionArray[i].setBConst(rightUnionArray[i].getUConst() != 0); in promoteConstantUnion()3756 leftUnionArray[i].setBConst(rightUnionArray[i].getI64Const() != 0); in promoteConstantUnion()3759 leftUnionArray[i].setBConst(rightUnionArray[i].getU64Const() != 0); in promoteConstantUnion()3767 leftUnionArray[i].setBConst(rightUnionArray[i].getDConst() != 0.0); in promoteConstantUnion()
106 void setBConst(bool b) in setBConst() function825 case EbtBool: returnValue.setBConst(bConst && constant.bConst); break;837 case EbtBool: returnValue.setBConst(bConst || constant.bConst); break;