Home
last modified time | relevance | path

Searched refs:binOp (Results 1 – 15 of 15) sorted by relevance

/external/angle/src/compiler/translator/
DValidateLimitations.cpp275 TIntermBinary *binOp = cond->getAsBinaryNode(); in validateForLoopCond() local
276 if (binOp == nullptr) in validateForLoopCond()
282 TIntermSymbol *symbol = binOp->getLeft()->getAsSymbolNode(); in validateForLoopCond()
285 error(binOp->getLine(), "Invalid condition", "for"); in validateForLoopCond()
294 switch (binOp->getOp()) in validateForLoopCond()
304 error(binOp->getLine(), "Invalid relational operator", in validateForLoopCond()
305 GetOperatorString(binOp->getOp())); in validateForLoopCond()
309 if (!isConstExpr(binOp->getRight())) in validateForLoopCond()
311 error(binOp->getLine(), "Loop index cannot be compared with non-constant expression", in validateForLoopCond()
338 TIntermBinary *binOp = unOp ? nullptr : expr->getAsBinaryNode(); in validateForLoopExpr() local
[all …]
/external/swiftshader/src/OpenGL/compiler/
DValidateLimitations.cpp294 TIntermBinary* binOp = cond->getAsBinaryNode(); in validateForLoopCond() local
295 if (!binOp) { in validateForLoopCond()
300 TIntermSymbol* symbol = binOp->getLeft()->getAsSymbolNode(); in validateForLoopCond()
302 error(binOp->getLine(), "Invalid condition", "for"); in validateForLoopCond()
311 switch (binOp->getOp()) { in validateForLoopCond()
320 error(binOp->getLine(), in validateForLoopCond()
322 getOperatorString(binOp->getOp())); in validateForLoopCond()
326 if (!isConstExpr(binOp->getRight())) { in validateForLoopCond()
327 error(binOp->getLine(), in validateForLoopCond()
355 TIntermBinary* binOp = unOp ? nullptr : expr->getAsBinaryNode(); in validateForLoopExpr() local
[all …]
/external/llvm-project/mlir/lib/Dialect/Linalg/EDSC/
DBuilders.cpp159 BinaryPointwiseOpBuilder binOp( in linalg_generic_pointwise_add() local
161 return linalg_generic_pointwise(binOp, I1, I2, O); in linalg_generic_pointwise_add()
167 BinaryPointwiseOpBuilder binOp([](Value a, Value b) -> Value { in linalg_generic_pointwise_max() local
171 return linalg_generic_pointwise(binOp, I1, I2, O); in linalg_generic_pointwise_max()
/external/angle/third_party/vulkan-deps/glslang/src/SPIRV/
DGlslangToSpv.cpp2674 glslang::TOperator binOp = glslang::EOpNull; in visitAggregate() local
2918 binOp = node->getOp(); in visitAggregate()
2921 case glslang::EOpVectorEqual: binOp = glslang::EOpVectorEqual; break; in visitAggregate()
2922 case glslang::EOpVectorNotEqual: binOp = glslang::EOpVectorNotEqual; break; in visitAggregate()
2923 default: binOp = node->getOp(); break; in visitAggregate()
2930 binOp = glslang::EOpMul; in visitAggregate()
2934 binOp = glslang::EOpOuterProduct; in visitAggregate()
2941 binOp = glslang::EOpMul; in visitAggregate()
2947 binOp = glslang::EOpMod; in visitAggregate()
3015 binOp = node->getOp(); in visitAggregate()
[all …]
/external/deqp-deps/glslang/SPIRV/
DGlslangToSpv.cpp2486 glslang::TOperator binOp = glslang::EOpNull; in visitAggregate() local
2730 binOp = node->getOp(); in visitAggregate()
2733 case glslang::EOpVectorEqual: binOp = glslang::EOpVectorEqual; break; in visitAggregate()
2734 case glslang::EOpVectorNotEqual: binOp = glslang::EOpVectorNotEqual; break; in visitAggregate()
2735 default: binOp = node->getOp(); break; in visitAggregate()
2742 binOp = glslang::EOpMul; in visitAggregate()
2746 binOp = glslang::EOpOuterProduct; in visitAggregate()
2753 binOp = glslang::EOpMul; in visitAggregate()
2759 binOp = glslang::EOpMod; in visitAggregate()
2826 binOp = node->getOp(); in visitAggregate()
[all …]
/external/llvm-project/mlir/examples/toy/Ch4/include/toy/
DParser.h256 int binOp = lexer.getCurToken(); in parseBinOpRHS() local
257 lexer.consume(Token(binOp)); in parseBinOpRHS()
275 lhs = std::make_unique<BinaryExprAST>(std::move(loc), binOp, in parseBinOpRHS()
/external/llvm-project/mlir/examples/toy/Ch2/include/toy/
DParser.h256 int binOp = lexer.getCurToken(); in parseBinOpRHS() local
257 lexer.consume(Token(binOp)); in parseBinOpRHS()
275 lhs = std::make_unique<BinaryExprAST>(std::move(loc), binOp, in parseBinOpRHS()
/external/llvm-project/mlir/examples/toy/Ch5/include/toy/
DParser.h256 int binOp = lexer.getCurToken(); in parseBinOpRHS() local
257 lexer.consume(Token(binOp)); in parseBinOpRHS()
275 lhs = std::make_unique<BinaryExprAST>(std::move(loc), binOp, in parseBinOpRHS()
/external/llvm-project/mlir/examples/toy/Ch6/include/toy/
DParser.h256 int binOp = lexer.getCurToken(); in parseBinOpRHS() local
257 lexer.consume(Token(binOp)); in parseBinOpRHS()
275 lhs = std::make_unique<BinaryExprAST>(std::move(loc), binOp, in parseBinOpRHS()
/external/llvm-project/mlir/examples/toy/Ch1/include/toy/
DParser.h256 int binOp = lexer.getCurToken(); in parseBinOpRHS() local
257 lexer.consume(Token(binOp)); in parseBinOpRHS()
275 lhs = std::make_unique<BinaryExprAST>(std::move(loc), binOp, in parseBinOpRHS()
/external/llvm-project/mlir/examples/toy/Ch3/include/toy/
DParser.h256 int binOp = lexer.getCurToken(); in parseBinOpRHS() local
257 lexer.consume(Token(binOp)); in parseBinOpRHS()
275 lhs = std::make_unique<BinaryExprAST>(std::move(loc), binOp, in parseBinOpRHS()
/external/llvm-project/mlir/lib/IR/
DAffineExpr.cpp84 auto binOp = cast<AffineBinaryOpExpr>(); in replaceDimsAndSymbols() local
85 auto lhs = binOp.getLHS(), rhs = binOp.getRHS(); in replaceDimsAndSymbols()
117 auto binOp = cast<AffineBinaryOpExpr>(); in replace() local
118 auto lhs = binOp.getLHS(), rhs = binOp.getRHS(); in replace()
DAsmPrinter.cpp2024 auto binOp = expr.cast<AffineBinaryOpExpr>(); in printAffineExprInternal() local
2025 AffineExpr lhsExpr = binOp.getLHS(); in printAffineExprInternal()
2026 AffineExpr rhsExpr = binOp.getRHS(); in printAffineExprInternal()
2029 if (binOp.getKind() != AffineExprKind::Add) { in printAffineExprInternal()
2035 if (rhsConst && binOp.getKind() == AffineExprKind::Mul && in printAffineExprInternal()
/external/llvm-project/mlir/examples/toy/Ch7/include/toy/
DParser.h324 int binOp = lexer.getCurToken(); in parseBinOpRHS() local
325 lexer.consume(Token(binOp)); in parseBinOpRHS()
343 lhs = std::make_unique<BinaryExprAST>(std::move(loc), binOp, in parseBinOpRHS()
/external/javassist/src/main/javassist/compiler/
DCodeGen.java986 static final int[] binOp = { field in CodeGen
1000 int[] code = binOp; in lookupBinOp()
1071 int op = binOp[index + p + 1]; in atArithBinExpr()