Home
last modified time | relevance | path

Searched refs:setIConst (Results 1 – 7 of 7) sorted by relevance

/external/swiftshader/src/OpenGL/compiler/
DConstantUnion.h50 case EbtInt: setIConst(static_cast<int>(constant.getIConst())); break; in cast()
51 case EbtUInt: setIConst(static_cast<int>(constant.getUConst())); break; in cast()
52 case EbtBool: setIConst(static_cast<int>(constant.getBConst())); break; in cast()
53 case EbtFloat: setIConst(static_cast<int>(constant.getFConst())); break; in cast()
80 case EbtInt: setIConst(constant.getIConst()); break; in cast()
94 void setIConst(int i) {iConst = i; type = EbtInt; } in setIConst() function
257 case EbtInt: returnValue.setIConst(iConst + constant.iConst); break;
271 case EbtInt: returnValue.setIConst(iConst - constant.iConst); break;
285 case EbtInt: returnValue.setIConst(iConst * constant.iConst); break;
299 case EbtInt: returnValue.setIConst(iConst % constant.iConst); break;
[all …]
DIntermediate.cpp600 unionArray->setIConst(fields.offsets[i]); in addSwizzle()
1425 tempConstArray[i].setIConst(INT_MAX); in fold()
1428 tempConstArray[i].setIConst(unionArray[i].getIConst() / rightUnionArray[i].getIConst()); in fold()
1431 tempConstArray[i].setIConst(unionArray[i].getIConst() % rightUnionArray[i].getIConst()); in fold()
1644 case EbtInt: tempConstArray[i].setIConst(-unionArray[i].getIConst()); break; in fold()
1660 case EbtInt: tempConstArray[i].setIConst(~unionArray[i].getIConst()); break; in fold()
1867 leftUnionArray[i].setIConst(static_cast<int>(node->getIConst(i))); in promoteConstantUnion()
1870 leftUnionArray[i].setIConst(static_cast<int>(node->getUConst(i))); in promoteConstantUnion()
1873 leftUnionArray[i].setIConst(static_cast<int>(node->getBConst(i))); in promoteConstantUnion()
1876 leftUnionArray[i].setIConst(static_cast<int>(node->getFConst(i))); in promoteConstantUnion()
DParseHelper.cpp2510 safeConstantUnion->setIConst(safeIndex); in addIndexExpression()
2646 unionArray->setIConst(0); in addFieldSelectionExpression()
2657 unionArray->setIConst(fields.col * baseExpression->getSecondarySize() + fields.row); in addFieldSelectionExpression()
2706 unionArray->setIConst(i); in addFieldSelectionExpression()
2744 unionArray->setIConst(i); in addFieldSelectionExpression()
3516 unionArray->setIConst(arraySize); in addFunctionCallOrMethod()
DSymbolTable.h364 constant->getConstPointer()->setIConst(value); in insertConstInt()
Dglslang.y253 unionArray->setIConst($1.i);
Dglslang_tab.cpp2400 unionArray->setIConst((yyvsp[0].lex).i); in yyparse()
DOutputASM.cpp71 constants[0].setIConst(i); in Constant()