Lines Matching defs:binOp
2855 glslang::TOperator binOp = glslang::EOpNull;
3125 binOp = node->getOp();
3128 case glslang::EOpVectorEqual: binOp = glslang::EOpVectorEqual; break;
3129 case glslang::EOpVectorNotEqual: binOp = glslang::EOpVectorNotEqual; break;
3130 default: binOp = node->getOp(); break;
3137 binOp = glslang::EOpMul;
3141 binOp = glslang::EOpOuterProduct;
3148 binOp = glslang::EOpMul;
3154 binOp = glslang::EOpMod;
3221 binOp = node->getOp();
3351 if (binOp != glslang::EOpNull) {
3368 result = createBinaryOperation(binOp, decorations,
3372 // code above should only make binOp that exists in createBinaryOperation
6432 spv::Op binOp = spv::OpNop;
6440 binOp = spv::OpFAdd;
6442 binOp = spv::OpIAdd;
6447 binOp = spv::OpFSub;
6449 binOp = spv::OpISub;
6454 binOp = spv::OpFMul;
6456 binOp = spv::OpIMul;
6465 binOp = spv::OpVectorTimesScalar;
6467 binOp = spv::OpFMul;
6469 binOp = spv::OpIMul;
6473 binOp = spv::OpVectorTimesMatrix;
6476 binOp = spv::OpMatrixTimesVector;
6480 binOp = spv::OpMatrixTimesScalar;
6484 binOp = spv::OpMatrixTimesMatrix;
6487 binOp = spv::OpOuterProduct;
6494 binOp = spv::OpFDiv;
6496 binOp = spv::OpUDiv;
6498 binOp = spv::OpSDiv;
6503 binOp = spv::OpFMod;
6505 binOp = spv::OpUMod;
6507 binOp = spv::OpSMod;
6512 binOp = spv::OpShiftRightLogical;
6514 binOp = spv::OpShiftRightArithmetic;
6518 binOp = spv::OpShiftLeftLogical;
6522 binOp = spv::OpBitwiseAnd;
6526 binOp = spv::OpLogicalAnd;
6530 binOp = spv::OpBitwiseOr;
6534 binOp = spv::OpLogicalOr;
6538 binOp = spv::OpBitwiseXor;
6542 binOp = spv::OpLogicalNotEqual;
6546 binOp = isUnsigned ? spv::OpAbsUSubINTEL : spv::OpAbsISubINTEL;
6550 binOp = isUnsigned ? spv::OpUAddSatINTEL : spv::OpIAddSatINTEL;
6554 binOp = isUnsigned ? spv::OpUSubSatINTEL : spv::OpISubSatINTEL;
6558 binOp = isUnsigned ? spv::OpUAverageINTEL : spv::OpIAverageINTEL;
6562 binOp = isUnsigned ? spv::OpUAverageRoundedINTEL : spv::OpIAverageRoundedINTEL;
6566 binOp = isUnsigned ? spv::OpUMul32x16INTEL : spv::OpIMul32x16INTEL;
6584 if (binOp != spv::OpNop) {
6588 return createBinaryMatrixOperation(binOp, decorations, typeId, left, right);
6594 spv::Id result = builder.createBinOp(binOp, typeId, left, right);
6615 binOp = spv::OpFOrdLessThan;
6617 binOp = spv::OpULessThan;
6619 binOp = spv::OpSLessThan;
6623 binOp = spv::OpFOrdGreaterThan;
6625 binOp = spv::OpUGreaterThan;
6627 binOp = spv::OpSGreaterThan;
6631 binOp = spv::OpFOrdLessThanEqual;
6633 binOp = spv::OpULessThanEqual;
6635 binOp = spv::OpSLessThanEqual;
6639 binOp = spv::OpFOrdGreaterThanEqual;
6641 binOp = spv::OpUGreaterThanEqual;
6643 binOp = spv::OpSGreaterThanEqual;
6648 binOp = spv::OpFOrdEqual;
6650 binOp = spv::OpLogicalEqual;
6652 binOp = spv::OpIEqual;
6657 binOp = spv::OpFUnordNotEqual;
6659 binOp = spv::OpLogicalNotEqual;
6661 binOp = spv::OpINotEqual;
6667 if (binOp != spv::OpNop) {
6668 spv::Id result = builder.createBinOp(binOp, typeId, left, right);