Home
last modified time | relevance | path

Searched refs:kIntLiteral_Kind (Results 1 – 13 of 13) sorted by relevance

/external/skqp/src/sksl/ir/
DSkSLIntLiteral.h23 : INHERITED(offset, kIntLiteral_Kind, *context.fInt_Type) in IntLiteral()
27 : INHERITED(offset, kIntLiteral_Kind, *type)
DSkSLExpression.h32 kIntLiteral_Kind, enumerator
DSkSLVariableReference.cpp58 case Expression::kIntLiteral_Kind: in copy_constant()
DSkSLConstructor.h34 if (fArguments.size() == 1 && fArguments[0]->fKind == Expression::kIntLiteral_Kind) { in constantPropagate()
/external/skqp/src/sksl/
DSkSLCFGGenerator.cpp242 case Expression::kIntLiteral_Kind: // fall through in tryRemoveExpression()
271 case Expression::kIntLiteral_Kind: // fall through in tryInsertExpression()
393 case Expression::kIntLiteral_Kind: // fall through in addExpression()
DSkSLIRGenerator.cpp282 if (size->fKind == Expression::kIntLiteral_Kind) { in convertVarDeclarations()
874 if (converted->fKind == Expression::kIntLiteral_Kind) { in convertInterfaceBlock()
918 case Expression::kIntLiteral_Kind: in getConstantInt()
1352 if (left.fKind == Expression::kIntLiteral_Kind && right.fKind == Expression::kIntLiteral_Kind) { in constantFold()
1468 if (left->fKind == Expression::kIntLiteral_Kind && right->fType.isInteger()) { in convertBinaryExpression()
1474 if (right->fKind == Expression::kIntLiteral_Kind && left->fType.isInteger()) { in convertBinaryExpression()
1686 if (type.isFloat() && args.size() == 1 && args[0]->fKind == Expression::kIntLiteral_Kind) { in convertNumberConstructor()
1690 if (args[0]->fKind == Expression::kIntLiteral_Kind && (type == *fContext.fInt_Type || in convertNumberConstructor()
1822 if (base->fKind == Expression::kIntLiteral_Kind) { in convertPrefixExpression()
DSkSLInterpreter.cpp387 case Expression::kIntLiteral_Kind: in evaluate()
DSkSLCPPCodeGenerator.cpp91 if (i.fIndex->fKind != Expression::kIntLiteral_Kind) { in writeIndexExpression()
108 if (i.fIndex->fKind != Expression::kIntLiteral_Kind) { in writeIndexExpression()
DSkSLGLSLCodeGenerator.cpp206 case Expression::kIntLiteral_Kind: in writeExpression()
DSkSLMetalCodeGenerator.cpp125 case Expression::kIntLiteral_Kind: in writeExpression()
DSkSLCompiler.cpp519 case Expression::kIntLiteral_Kind: in is_constant()
DSkSLSPIRVCodeGenerator.cpp644 case Expression::kIntLiteral_Kind: in writeExpression()
2989 SkASSERT(s.fCases[i]->fValue->fKind == Expression::kIntLiteral_Kind); in writeSwitchStatement()
DSkSLJIT.cpp1035 case Expression::kIntLiteral_Kind: in compileExpression()