|
MLIR 22.0.0git
|
#include "mlir/Dialect/OpenACC/OpenACCUtils.h"#include "mlir/Dialect/OpenACC/OpenACC.h"#include "mlir/Interfaces/ViewLikeInterface.h"#include "llvm/ADT/TypeSwitch.h"#include "llvm/Support/Casting.h"Go to the source code of this file.
Functions | |
| template<typename OpTy> | |
| static bool | isOnlyUsedByOpClauses (mlir::Value val, mlir::Region ®ion) |
|
static |
Definition at line 27 of file OpenACCUtils.cpp.
References mlir::Value::getUsers(), and mlir::Region::isAncestor().
Referenced by mlir::acc::isOnlyUsedByPrivateClauses(), and mlir::acc::isOnlyUsedByReductionClauses().