Home
last modified time | relevance | path

Searched refs:getBConst (Results 1 – 11 of 11) sorted by relevance

/external/swiftshader/src/OpenGL/compiler/
DConstantUnion.h42 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
DIntermediate.cpp628 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()
Dintermediate.h442 …bool getBConst(int index) const { return unionArrayPointer ? unionArrayPointer[index].getBConst() … in getBConst() function
DintermOut.cpp380 if (node->getUnionArrayPointer()[i].getBConst()) in visitConstantUnion()
DOutputASM.cpp1755 bool trueCondition = constantCondition->getUnionArrayPointer()->getBConst(); in visitSelection()
1798 bool trueCondition = constantCondition->getUnionArrayPointer()->getBConst(); in visitSelection()
3037 bool trueCondition = constantCondition->getUnionArrayPointer()->getBConst(); in cost()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DLiveTraverser.h106 if (constant->getConstArray()[0].getBConst() == true && node->getTrueBlock()) in visitSelection()
108 if (constant->getConstArray()[0].getBConst() == false && node->getFalseBlock()) in visitSelection()
DConstant.cpp477 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 …]
DIntermediate.cpp2343 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()
DintermOut.cpp1183 if (constUnion[i].getBConst()) in OutputConstantUnion()
/external/deqp-deps/glslang/glslang/Include/
DConstantUnion.h127 bool getBConst() const { return bConst; } in getBConst() function
/external/deqp-deps/glslang/SPIRV/
DGlslangToSpv.cpp7531 … spvConsts.push_back(builder.makeBoolConstant(zero ? false : consts[nextConst].getBConst()));
7578 … scalar = builder.makeBoolConstant(zero ? false : consts[nextConst].getBConst(), specConstant);