Home
last modified time | relevance | path

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

/external/llvm-project/mlir/include/mlir/Dialect/OpenACC/
DOpenACCOps.td103 Optional<I1>:$ifCond,
181 let arguments = (ins Optional<I1>:$ifCond,
198 ( `if` `(` $ifCond^ `)` )?
249 let arguments = (ins Optional<I1>:$ifCond,
261 ( `if` `(` $ifCond^ `)` )?
291 let arguments = (ins Optional<I1>:$ifCond,
303 ( `if` `(` $ifCond^ `)` )?
421 Optional<I1>:$ifCond);
426 ( `if` `(` $ifCond^ `)` )? attr-dict-with-keyword
451 Optional<I1>:$ifCond);
[all …]
/external/llvm-project/mlir/lib/Dialect/OpenMP/IR/
DOpenMPDialect.cpp128 if (auto ifCond = op.if_expr_var()) in printParallelOp() local
129 p << " if(" << ifCond << " : " << ifCond.getType() << ")"; in printParallelOp()
201 std::pair<OpAsmParser::OperandType, Type> ifCond; in parseParallelOp() local
235 if (parser.parseLParen() || parser.parseOperand(ifCond.first) || in parseParallelOp()
236 parser.parseColonType(ifCond.second) || parser.parseRParen()) in parseParallelOp()
320 parser.resolveOperand(ifCond.first, ifCond.second, result.operands)) in parseParallelOp()
/external/llvm-project/flang/lib/Lower/
DOpenACC.cpp269 mlir::Value ifCond; in genACCParallelOp() local
334 ifCond = firOpBuilder.createConvert(currentLocation, in genACCParallelOp()
407 addOperand(operands, operandSegments, ifCond); in genACCParallelOp()
440 mlir::Value ifCond; in genACCDataOp() local
456 ifCond = firOpBuilder.createConvert(currentLocation, in genACCDataOp()
501 addOperand(operands, operandSegments, ifCond); in genACCDataOp()
539 mlir::Value ifCond, async, waitDevnum; in genACCEnterDataOp() local
560 ifCond = firOpBuilder.createConvert(currentLocation, in genACCEnterDataOp()
617 addOperand(operands, operandSegments, ifCond); in genACCEnterDataOp()
638 mlir::Value ifCond, async, waitDevnum; in genACCExitDataOp() local
[all …]
/external/llvm-project/mlir/test/Dialect/OpenACC/
Dops.mlir457 %ifCond = constant true
458 acc.data if(%ifCond) present(%a : memref<10xf32>) {
534 %ifCond = constant true
539 acc.update if(%ifCond) host(%a: memref<10xf32>)
569 %ifCond = constant true
582 acc.wait if(%ifCond)
608 %ifCond = constant true
615 acc.init if(%ifCond)
636 %ifCond = constant true
643 acc.shutdown if(%ifCond)
[all …]
/external/llvm-project/mlir/lib/Dialect/OpenACC/IR/
DOpenACC.cpp199 OpAsmParser::OperandType ifCond, selfCond; in parseParallelOp() local
234 if (failed(parseOptionalOperand(parser, ParallelOp::getIfKeyword(), ifCond, in parseParallelOp()
382 if (Value ifCond = op.ifCond()) in print() local
383 printer << " " << ParallelOp::getIfKeyword() << "(" << ifCond << ")"; in print()
/external/llvm-project/mlir/lib/Target/LLVMIR/
DModuleTranslation.cpp429 llvm::Value *ifCond = nullptr; in convertOmpParallel() local
431 ifCond = valueMapping.lookup(ifExprVar); in convertOmpParallel()
448 ifCond, numThreads, pbKind, isCancellable)); in convertOmpParallel()