Home
last modified time | relevance | path

Searched refs:newExpr (Results 1 – 6 of 6) sorted by relevance

/external/angle/src/compiler/translator/TranslatorMetalDirect/
DSeparateCompoundExpressions.cpp223 void pushBinding(TIntermTyped &oldExpr, TIntermTyped &newExpr) in pushBinding() argument
225 if (isStandaloneExpr(newExpr)) in pushBinding()
227 pushStmt(newExpr); in pushBinding()
230 if (IsIndex(newExpr)) in pushBinding()
232 mExprMap[&oldExpr] = &newExpr; in pushBinding()
238 new TVariable(&mSymbolTable, name.rawName(), &newExpr.getType(), name.symbolType()); in pushBinding()
239 auto *decl = new TIntermDeclaration(var, &newExpr); in pushBinding()
278 TIntermBlock &buildBlockWithTailAssign(const TVariable &var, TIntermTyped &newExpr) in buildBlockWithTailAssign() argument
287 seq.push_back(new TIntermBinary(TOperator::EOpAssign, new TIntermSymbol(&var), &newExpr)); in buildBlockWithTailAssign()
353 TIntermTyped *newExpr = pullMappedExpr(expr, false); in visitUnaryPost() local
[all …]
DIntermRebuild.cpp799 TIntermTyped *newExpr = nullptr; in traverseLoopChildren() local
802 GUARD(traverseAnyAs(*expr, newExpr)); in traverseLoopChildren()
805 if (newInit != init || newCond != cond || newExpr != expr || newBody != body) in traverseLoopChildren()
815 GUARD(!newInit && !newExpr); in traverseLoopChildren()
818 return new TIntermLoop(loopType, newInit, newCond, newExpr, newBody); in traverseLoopChildren()
828 TIntermTyped *newExpr = nullptr; in traverseBranchChildren() local
831 GUARD(traverseAnyAs<TIntermTyped>(*expr, newExpr)); in traverseBranchChildren()
834 if (newExpr != expr) in traverseBranchChildren()
836 return new TIntermBranch(node.getFlowOp(), newExpr); in traverseBranchChildren()
/external/javassist/src/main/javassist/compiler/
DTypeChecker.java384 Expr newExpr = atPlusExpr((BinExpr)left); in atPlusExpr() local
385 if (newExpr != null) { in atPlusExpr()
390 return makeAppendCall(newExpr, right); in atPlusExpr()
424 ASTree newExpr = null; in isConstant() local
426 newExpr = new StringL(((StringL)left).get() in isConstant()
429 newExpr = ((IntConst)left).compute(op, right); in isConstant()
431 newExpr = ((DoubleConst)left).compute(op, right); in isConstant()
433 if (newExpr == null) in isConstant()
436 expr.setOprand1(newExpr); in isConstant()
438 newExpr.accept(this); // for setting exprType, arrayDim, ... in isConstant()
/external/angle/src/compiler/translator/tree_ops/d3d/
DRewriteExpressionsWithShaderStorageBlock.cpp236 TIntermBinary *newExpr = in visitBinary() local
238 queueReplacement(newExpr, OriginalNode::IS_DROPPED); in visitBinary()
/external/skia/src/sksl/ir/
DSkSLProgram.h53 void replace(const Expression* oldExpr, const Expression* newExpr);
/external/skia/src/sksl/
DSkSLAnalysis.cpp637 void ProgramUsage::replace(const Expression* oldExpr, const Expression* newExpr) { in replace() argument
642 if (newExpr) { in replace()
644 addRefs.visitExpression(*newExpr); in replace()