Lines Matching refs:Expression

86                                            Expression* e) {  in tryRemoveExpressionBefore()
87 if (e->fKind == Expression::kTernary_Kind) { in tryRemoveExpressionBefore()
93 Expression* old = (*iter)->expression()->get(); in tryRemoveExpressionBefore()
127 Expression* lvalue) { in tryRemoveLValueBefore()
129 case Expression::kVariableReference_Kind: in tryRemoveLValueBefore()
131 case Expression::kSwizzle_Kind: in tryRemoveLValueBefore()
133 case Expression::kFieldAccess_Kind: in tryRemoveLValueBefore()
135 case Expression::kIndex_Kind: in tryRemoveLValueBefore()
140 case Expression::kTernary_Kind: in tryRemoveLValueBefore()
155 Expression* expr = (*iter)->expression()->get(); in tryRemoveExpression()
157 case Expression::kBinary_Kind: { in tryRemoveExpression()
173 case Expression::kTernary_Kind: { in tryRemoveExpression()
177 case Expression::kFieldAccess_Kind: { in tryRemoveExpression()
185 case Expression::kSwizzle_Kind: { in tryRemoveExpression()
193 case Expression::kIndex_Kind: { in tryRemoveExpression()
204 case Expression::kConstructor_Kind: { in tryRemoveExpression()
215 case Expression::kFunctionCall_Kind: { in tryRemoveExpression()
226 case Expression::kPrefix_Kind: in tryRemoveExpression()
233 case Expression::kPostfix_Kind: in tryRemoveExpression()
240 case Expression::kBoolLiteral_Kind: // fall through in tryRemoveExpression()
241 case Expression::kFloatLiteral_Kind: // fall through in tryRemoveExpression()
242 case Expression::kIntLiteral_Kind: // fall through in tryRemoveExpression()
243 case Expression::kSetting_Kind: // fall through in tryRemoveExpression()
244 case Expression::kVariableReference_Kind: in tryRemoveExpression()
253 std::unique_ptr<Expression>* expr) { in tryInsertExpression()
255 case Expression::kBinary_Kind: { in tryInsertExpression()
269 case Expression::kBoolLiteral_Kind: // fall through in tryInsertExpression()
270 case Expression::kFloatLiteral_Kind: // fall through in tryInsertExpression()
271 case Expression::kIntLiteral_Kind: // fall through in tryInsertExpression()
272 case Expression::kVariableReference_Kind: { in tryInsertExpression()
277 case Expression::kConstructor_Kind: { in tryInsertExpression()
294 void CFGGenerator::addExpression(CFG& cfg, std::unique_ptr<Expression>* e, bool constantPropagate) { in addExpression()
297 case Expression::kBinary_Kind: { in addExpression()
342 case Expression::kConstructor_Kind: { in addExpression()
351 case Expression::kFunctionCall_Kind: { in addExpression()
360 case Expression::kFieldAccess_Kind: in addExpression()
365 case Expression::kIndex_Kind: in addExpression()
371 case Expression::kPrefix_Kind: { in addExpression()
380 case Expression::kPostfix_Kind: in addExpression()
385 case Expression::kSwizzle_Kind: in addExpression()
390 case Expression::kAppendStage_Kind: // fall through in addExpression()
391 case Expression::kBoolLiteral_Kind: // fall through in addExpression()
392 case Expression::kFloatLiteral_Kind: // fall through in addExpression()
393 case Expression::kIntLiteral_Kind: // fall through in addExpression()
394 case Expression::kNullLiteral_Kind: // fall through in addExpression()
395 case Expression::kSetting_Kind: // fall through in addExpression()
396 case Expression::kVariableReference_Kind: in addExpression()
400 case Expression::kTernary_Kind: { in addExpression()
416 case Expression::kFunctionReference_Kind: // fall through in addExpression()
417 case Expression::kTypeReference_Kind: // fall through in addExpression()
418 case Expression::kDefined_Kind: in addExpression()
425 void CFGGenerator::addLValue(CFG& cfg, std::unique_ptr<Expression>* e) { in addLValue()
427 case Expression::kFieldAccess_Kind: in addLValue()
430 case Expression::kIndex_Kind: in addLValue()
434 case Expression::kSwizzle_Kind: in addLValue()
437 case Expression::kVariableReference_Kind: in addLValue()
439 case Expression::kTernary_Kind: in addLValue()