Home
last modified time | relevance | path

Searched refs:bodyBuilder (Results 1 – 12 of 12) sorted by relevance

/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
DGeneralization.cpp50 [&regionBuilder](OpBuilder &bodyBuilder, Location loc, ValueRange) { in createGenericOpFromNamedOp() argument
51 edsc::ScopedContext scope(bodyBuilder, loc); in createGenericOpFromNamedOp()
52 regionBuilder(*bodyBuilder.getBlock()); in createGenericOpFromNamedOp()
158 [](OpBuilder &bodyBuilder, Location bodyLoc, ValueRange bodyArgs) { in createGenericOp() argument
160 bodyBuilder.create<MulFOp>(bodyLoc, bodyArgs[0], bodyArgs[1]); in createGenericOp()
161 Value add = bodyBuilder.create<AddFOp>(bodyLoc, mul, bodyArgs[2]); in createGenericOp()
162 bodyBuilder.create<linalg::YieldOp>(bodyLoc, add); in createGenericOp()
/external/llvm-project/mlir/include/mlir/Dialect/SCF/
DSCF.h82 bodyBuilder = nullptr);
91 bodyBuilder = nullptr);
/external/llvm-project/flang/include/flang/Lower/
DFIRBuilder.h113 std::function<void(FirOpBuilder &)> bodyBuilder,
127 std::function<void(FirOpBuilder &)> bodyBuilder,
129 return createGlobal(loc, type, name, /*isConst=*/true, bodyBuilder,
/external/llvm-project/mlir/lib/Dialect/Async/IR/
DAsync.cpp146 ValueRange operands, BodyBuilderFn bodyBuilder) { in build() argument
178 if (resultTypes.empty() && !bodyBuilder) { in build()
182 } else if (bodyBuilder) { in build()
185 bodyBuilder(builder, result.location, bodyBlock.getArguments()); in build()
/external/llvm-project/mlir/lib/Dialect/StandardOps/Transforms/
DExpandOps.cpp59 OpBuilder bodyBuilder = in matchAndRewrite() local
64 Value cmp = bodyBuilder.create<CmpFOp>(loc, predicate, lhs, rhs); in matchAndRewrite()
65 Value select = bodyBuilder.create<SelectOp>(loc, cmp, lhs, rhs); in matchAndRewrite()
66 bodyBuilder.create<AtomicYieldOp>(loc, select); in matchAndRewrite()
/external/llvm-project/mlir/lib/Dialect/SCF/
DSCF.cpp76 BodyBuilderFn bodyBuilder) { in build() argument
91 if (iterArgs.empty() && !bodyBuilder) { in build()
93 } else if (bodyBuilder) { in build()
96 bodyBuilder(builder, result.location, bodyBlock.getArgument(0), in build()
312 bodyBuilder) { in buildLoopNest() argument
321 bodyBuilder ? bodyBuilder(builder, loc, ValueRange(), iterArgs) in buildLoopNest()
365 ValueVector results = bodyBuilder in buildLoopNest()
366 ? bodyBuilder(builder, currentLoc, ivs, in buildLoopNest()
384 function_ref<void(OpBuilder &, Location, ValueRange)> bodyBuilder) { in buildLoopNest() argument
387 [&bodyBuilder](OpBuilder &nestedBuilder, in buildLoopNest()
[all …]
/external/llvm-project/flang/lib/Lower/
DFIRBuilder.cpp121 std::function<void(FirOpBuilder &)> bodyBuilder, mlir::StringAttr linkage) { in createGlobal() argument
133 bodyBuilder(*this); in createGlobal()
/external/llvm-project/mlir/lib/Dialect/Affine/IR/
DAffineOps.cpp1213 ValueRange iterArgs, BodyBuilderFn bodyBuilder) { in build() argument
1250 if (iterArgs.empty() && !bodyBuilder) { in build()
1252 } else if (bodyBuilder) { in build()
1255 bodyBuilder(builder, result.location, inductionVar, in build()
1262 BodyBuilderFn bodyBuilder) { in build() argument
1266 bodyBuilder); in build()
/external/llvm-project/mlir/include/mlir/Dialect/Async/IR/
DAsyncOps.td90 "nullptr">:$bodyBuilder)>,
/external/llvm-project/mlir/lib/Transforms/Utils/
DLoopUtils.cpp267 auto bodyBuilder = OpBuilder::atBlockTerminator(loopChunk.getBody()); in generateShiftedLoop() local
277 auto ivRemap = bodyBuilder.create<AffineApplyOp>( in generateShiftedLoop()
279 bodyBuilder.getSingleDimShiftAffineMap( in generateShiftedLoop()
287 bodyBuilder.clone(*op, operandMap); in generateShiftedLoop()
/external/llvm-project/mlir/include/mlir/Dialect/Affine/IR/
DAffineOps.td219 "nullptr">:$bodyBuilder)>,
224 "nullptr">:$bodyBuilder)>
/external/llvm-project/mlir/lib/Dialect/StandardOps/IR/
DOps.cpp1786 function_ref<void(OpBuilder &, Location, ValueRange)> bodyBuilder) { in build() argument
1796 bodyBuilder(b, result.location, bodyBlock->getArguments()); in build()