Searched refs:getBConst (Results 1 – 11 of 11) sorted by relevance
42 case EbtBool: setFConst(static_cast<float>(constant.getBConst())); break; in cast()52 case EbtBool: setIConst(static_cast<int>(constant.getBConst())); break; in cast()62 case EbtBool: setUConst(static_cast<unsigned int>(constant.getBConst())); break; in cast()72 case EbtBool: setBConst(constant.getBConst()); break; in cast()82 case EbtBool: setBConst(constant.getBConst()); break; in cast()102 bool getBConst() const { return bConst; } in getBConst() function
628 if (cond->getAsConstantUnion()->getBConst(0) == true) in addSelection()673 if (cond->getAsConstantUnion()->getBConst(0)) in addSelection()1799 case EbtBool: tempConstArray[i].setBConst(!unionArray[i].getBConst()); break; in fold()2046 leftUnionArray[i].setFConst(static_cast<float>(node->getBConst(i))); in promoteConstantUnion()2065 leftUnionArray[i].setIConst(static_cast<int>(node->getBConst(i))); in promoteConstantUnion()2084 leftUnionArray[i].setUConst(static_cast<unsigned int>(node->getBConst(i))); in promoteConstantUnion()2103 leftUnionArray[i].setBConst(node->getBConst(i)); in promoteConstantUnion()
442 …bool getBConst(int index) const { return unionArrayPointer ? unionArrayPointer[index].getBConst() … in getBConst() function
380 if (node->getUnionArrayPointer()[i].getBConst()) in visitConstantUnion()
1755 bool trueCondition = constantCondition->getUnionArrayPointer()->getBConst(); in visitSelection()1798 bool trueCondition = constantCondition->getUnionArrayPointer()->getBConst(); in visitSelection()3037 bool trueCondition = constantCondition->getUnionArrayPointer()->getBConst(); in cost()
106 if (constant->getConstArray()[0].getBConst() == true && node->getTrueBlock()) in visitSelection()108 if (constant->getConstArray()[0].getBConst() == false && node->getFalseBlock()) in visitSelection()
477 if (unionArray[i].getBConst()) in fold()487 if (! unionArray[i].getBConst()) in fold()547 case EbtBool: newConstArray[i].setBConst(!unionArray[i].getBConst()); break; in fold()698 newConstArray[i].setI8Const(unionArray[i].getBConst()); break; in fold()700 newConstArray[i].setU8Const(unionArray[i].getBConst()); break; in fold()702 newConstArray[i].setI16Const(unionArray[i].getBConst()); break; in fold()704 newConstArray[i].setU16Const(unionArray[i].getBConst()); break; in fold()706 newConstArray[i].setIConst(unionArray[i].getBConst()); break; in fold()708 newConstArray[i].setUConst(unionArray[i].getBConst()); break; in fold()710 newConstArray[i].setI64Const(unionArray[i].getBConst()); break; in fold()[all …]
2343 if (cond->getAsConstantUnion()->getConstArray()[0].getBConst()) in addSelection()3632 leftUnionArray[i].setDConst(static_cast<double>(rightUnionArray[i].getBConst())); in promoteConstantUnion()3658 leftUnionArray[i].setDConst(static_cast<double>(rightUnionArray[i].getBConst())); in promoteConstantUnion()3684 leftUnionArray[i].setDConst(static_cast<double>(rightUnionArray[i].getBConst())); in promoteConstantUnion()3710 leftUnionArray[i].setIConst(static_cast<int>(rightUnionArray[i].getBConst())); in promoteConstantUnion()3736 … leftUnionArray[i].setUConst(static_cast<unsigned int>(rightUnionArray[i].getBConst())); in promoteConstantUnion()3788 … leftUnionArray[i].setI64Const(static_cast<long long>(rightUnionArray[i].getBConst())); in promoteConstantUnion()3814 … leftUnionArray[i].setU64Const(static_cast<unsigned long long>(rightUnionArray[i].getBConst())); in promoteConstantUnion()
1183 if (constUnion[i].getBConst()) in OutputConstantUnion()
127 bool getBConst() const { return bConst; } in getBConst() function
7531 … spvConsts.push_back(builder.makeBoolConstant(zero ? false : consts[nextConst].getBConst()));7578 … scalar = builder.makeBoolConstant(zero ? false : consts[nextConst].getBConst(), specConstant);