Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/examples/toy/Ch1/include/toy/
H A 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()
/llvm-project-15.0.7/mlir/examples/toy/Ch2/include/toy/
H A 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()
/llvm-project-15.0.7/mlir/examples/toy/Ch3/include/toy/
H A 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()
/llvm-project-15.0.7/mlir/examples/toy/Ch5/include/toy/
H A 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()
/llvm-project-15.0.7/mlir/examples/toy/Ch6/include/toy/
H A 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()
/llvm-project-15.0.7/mlir/examples/toy/Ch4/include/toy/
H A 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()
/llvm-project-15.0.7/mlir/lib/Dialect/SparseTensor/Transforms/
H A DSparsification.cpp174 auto binOp = a.cast<AffineBinaryOpExpr>(); in findAffine() local
242 auto binOp = a.cast<AffineBinaryOpExpr>(); in addAffineOrderings() local
243 addAffineOrderings(adjM, binOp.getLHS(), b, fidx); in addAffineOrderings()
244 addAffineOrderings(adjM, binOp.getRHS(), b, fidx); in addAffineOrderings()
663 auto binOp = a.cast<AffineBinaryOpExpr>(); in genAffine() local
665 loc, genAffine(codegen, builder, binOp.getLHS(), loc), in genAffine()
666 genAffine(codegen, builder, binOp.getRHS(), loc)); in genAffine()
669 auto binOp = a.cast<AffineBinaryOpExpr>(); in genAffine() local
671 loc, genAffine(codegen, builder, binOp.getLHS(), loc), in genAffine()
672 genAffine(codegen, builder, binOp.getRHS(), loc)); in genAffine()
[all …]
/llvm-project-15.0.7/mlir/examples/toy/Ch7/include/toy/
H A 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()
/llvm-project-15.0.7/mlir/lib/IR/
H A DAffineExpr.cpp86 auto binOp = cast<AffineBinaryOpExpr>(); in replaceDimsAndSymbols() local
87 auto lhs = binOp.getLHS(), rhs = binOp.getRHS(); in replaceDimsAndSymbols()
144 auto binOp = cast<AffineBinaryOpExpr>(); in replace() local
145 auto lhs = binOp.getLHS(), rhs = binOp.getRHS(); in replace()
H A DAsmPrinter.cpp2387 auto binOp = expr.cast<AffineBinaryOpExpr>(); in printAffineExprInternal() local
2388 AffineExpr lhsExpr = binOp.getLHS(); in printAffineExprInternal()
2389 AffineExpr rhsExpr = binOp.getRHS(); in printAffineExprInternal()
2392 if (binOp.getKind() != AffineExprKind::Add) { in printAffineExprInternal()
2398 if (rhsConst && binOp.getKind() == AffineExprKind::Mul && in printAffineExprInternal()