Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/sksl/ir/
DSkSLIntLiteral.h23 : INHERITED(offset, kIntLiteral_Kind, *context.fInt_Type) in IntLiteral()
27 : INHERITED(offset, kIntLiteral_Kind, *type)
DSkSLExpression.h34 kIntLiteral_Kind, enumerator
DSkSLVariableReference.cpp58 case Expression::kIntLiteral_Kind: in copy_constant()
DSkSLConstructor.h35 if (fArguments.size() == 1 && fArguments[0]->fKind == Expression::kIntLiteral_Kind) { in constantPropagate()
/third_party/flutter/skia/src/sksl/
DSkSLCFGGenerator.cpp244 case Expression::kIntLiteral_Kind: // fall through in tryRemoveExpression()
273 case Expression::kIntLiteral_Kind: // fall through in tryInsertExpression()
405 case Expression::kIntLiteral_Kind: // fall through in addExpression()
DSkSLIRGenerator.cpp302 if (size->fKind == Expression::kIntLiteral_Kind) { in convertVarDeclarations()
964 if (converted->fKind == Expression::kIntLiteral_Kind) { in convertInterfaceBlock()
1016 case Expression::kIntLiteral_Kind: in getConstantInt()
1528 if (left.fKind == Expression::kIntLiteral_Kind && right.fKind == Expression::kIntLiteral_Kind) { in constantFold()
1665 if (left->fKind == Expression::kIntLiteral_Kind && right->fType.isInteger()) { in convertBinaryExpression()
1671 if (right->fKind == Expression::kIntLiteral_Kind && left->fType.isInteger()) { in convertBinaryExpression()
1909 if (type.isFloat() && args.size() == 1 && args[0]->fKind == Expression::kIntLiteral_Kind) { in convertNumberConstructor()
1913 if (args[0]->fKind == Expression::kIntLiteral_Kind && (type == *fContext.fInt_Type || in convertNumberConstructor()
2041 if (base->fKind == Expression::kIntLiteral_Kind) { in convertPrefixExpression()
DSkSLCPPCodeGenerator.cpp118 if (i.fIndex->fKind != Expression::kIntLiteral_Kind) { in writeIndexExpression()
135 if (i.fIndex->fKind != Expression::kIntLiteral_Kind) { in writeIndexExpression()
DSkSLGLSLCodeGenerator.cpp202 case Expression::kIntLiteral_Kind: in writeExpression()
DSkSLByteCodeGenerator.cpp1162 case Expression::kIntLiteral_Kind: in writeExpression()
DSkSLMetalCodeGenerator.cpp127 case Expression::kIntLiteral_Kind: in writeExpression()
DSkSLCompiler.cpp534 case Expression::kIntLiteral_Kind: in is_constant()
DSkSLSPIRVCodeGenerator.cpp664 case Expression::kIntLiteral_Kind: in writeExpression()
3022 SkASSERT(s.fCases[i]->fValue->fKind == Expression::kIntLiteral_Kind); in writeSwitchStatement()
DSkSLJIT.cpp1035 case Expression::kIntLiteral_Kind: in compileExpression()