/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\ |* *| |* Interface Definitions *| |* *| |* Automatically generated file, do not edit! *| |* *| \*===----------------------------------------------------------------------===*/ /// Get number of block arguments defined by `in_reduction`. unsigned mlir::omp::BlockArgOpenMPOpInterface::numInReductionBlockArgs() { … } /// Get number of block arguments defined by `map`. unsigned mlir::omp::BlockArgOpenMPOpInterface::numMapBlockArgs() { … } /// Get number of block arguments defined by `private`. unsigned mlir::omp::BlockArgOpenMPOpInterface::numPrivateBlockArgs() { … } /// Get number of block arguments defined by `reduction`. unsigned mlir::omp::BlockArgOpenMPOpInterface::numReductionBlockArgs() { … } /// Get number of block arguments defined by `task_reduction`. unsigned mlir::omp::BlockArgOpenMPOpInterface::numTaskReductionBlockArgs() { … } /// Get number of block arguments defined by `use_device_addr`. unsigned mlir::omp::BlockArgOpenMPOpInterface::numUseDeviceAddrBlockArgs() { … } /// Get number of block arguments defined by `use_device_ptr`. unsigned mlir::omp::BlockArgOpenMPOpInterface::numUseDevicePtrBlockArgs() { … } /// Get start index of block arguments defined by `in_reduction`. unsigned mlir::omp::BlockArgOpenMPOpInterface::getInReductionBlockArgsStart() { … } /// Get start index of block arguments defined by `map`. unsigned mlir::omp::BlockArgOpenMPOpInterface::getMapBlockArgsStart() { … } /// Get start index of block arguments defined by `private`. unsigned mlir::omp::BlockArgOpenMPOpInterface::getPrivateBlockArgsStart() { … } /// Get start index of block arguments defined by `reduction`. unsigned mlir::omp::BlockArgOpenMPOpInterface::getReductionBlockArgsStart() { … } /// Get start index of block arguments defined by `task_reduction`. unsigned mlir::omp::BlockArgOpenMPOpInterface::getTaskReductionBlockArgsStart() { … } /// Get start index of block arguments defined by `use_device_addr`. unsigned mlir::omp::BlockArgOpenMPOpInterface::getUseDeviceAddrBlockArgsStart() { … } /// Get start index of block arguments defined by `use_device_ptr`. unsigned mlir::omp::BlockArgOpenMPOpInterface::getUseDevicePtrBlockArgsStart() { … } /// Get block arguments defined by `in_reduction`. ::llvm::MutableArrayRef<::mlir::BlockArgument> mlir::omp::BlockArgOpenMPOpInterface::getInReductionBlockArgs() { … } /// Get block arguments defined by `map`. ::llvm::MutableArrayRef<::mlir::BlockArgument> mlir::omp::BlockArgOpenMPOpInterface::getMapBlockArgs() { … } /// Get block arguments defined by `private`. ::llvm::MutableArrayRef<::mlir::BlockArgument> mlir::omp::BlockArgOpenMPOpInterface::getPrivateBlockArgs() { … } /// Get block arguments defined by `reduction`. ::llvm::MutableArrayRef<::mlir::BlockArgument> mlir::omp::BlockArgOpenMPOpInterface::getReductionBlockArgs() { … } /// Get block arguments defined by `task_reduction`. ::llvm::MutableArrayRef<::mlir::BlockArgument> mlir::omp::BlockArgOpenMPOpInterface::getTaskReductionBlockArgs() { … } /// Get block arguments defined by `use_device_addr`. ::llvm::MutableArrayRef<::mlir::BlockArgument> mlir::omp::BlockArgOpenMPOpInterface::getUseDeviceAddrBlockArgs() { … } /// Get block arguments defined by `use_device_ptr`. ::llvm::MutableArrayRef<::mlir::BlockArgument> mlir::omp::BlockArgOpenMPOpInterface::getUseDevicePtrBlockArgs() { … } /// Check whether the operation is representing a leaf of a composite OpenMP /// construct. bool mlir::omp::ComposableOpInterface::isComposite() { … } /// Mark the operation as part of an OpenMP composite construct. void mlir::omp::ComposableOpInterface::setComposite(bool val) { … } /// Set the declare target attribute on the current operation with the /// specified attribute arguments. void mlir::omp::DeclareTargetInterface::setDeclareTarget(mlir::omp::DeclareTargetDeviceType deviceType, mlir::omp::DeclareTargetCaptureClause captureClause) { … } /// Checks if the declare target attribute has been applied and exists on the /// current operation. Returns true if it exists on it, otherwise returns /// false. bool mlir::omp::DeclareTargetInterface::isDeclareTarget() { … } /// Returns the DeclareTargetDeviceType segment of the DeclareTarget attribute if it /// exists on the current operation. Otherwise it returns null. mlir::omp::DeclareTargetDeviceType mlir::omp::DeclareTargetInterface::getDeclareTargetDeviceType() { … } /// Returns the DeclareTargetCaptureClause segment of the DeclareTarget attribute if it /// exists on the current operation. Otherwise it returns null. mlir::omp::DeclareTargetCaptureClause mlir::omp::DeclareTargetInterface::getDeclareTargetCaptureClause() { … } /// If there is another loop wrapper immediately nested inside, return that /// operation. Assumes this operation is a valid loop wrapper. ::mlir::omp::LoopWrapperInterface mlir::omp::LoopWrapperInterface::getNestedWrapper() { … } /// Return the loop nest nested directly or indirectly inside of this loop /// wrapper. Assumes this operation is a valid loop wrapper. ::mlir::Operation *mlir::omp::LoopWrapperInterface::getWrappedLoop() { … } /// Get map operands ::mlir::OperandRange mlir::omp::MapClauseOwningOpInterface::getMapVars() { … } /// Get mutable map operands ::mlir::MutableOperandRange mlir::omp::MapClauseOwningOpInterface::getMapVarsMutable() { … } /// Set the attribute on the current module with the specified boolean /// argument. void mlir::omp::OffloadModuleInterface::setIsTargetDevice(bool isTargetDevice) { … } /// Get the attribute on the current module if it exists and /// return its value, if it doesn't exist it returns false by default. bool mlir::omp::OffloadModuleInterface::getIsTargetDevice() { … } /// Set the attribute on the current module with the specified boolean /// argument. void mlir::omp::OffloadModuleInterface::setIsGPU(bool isGPU) { … } /// Get the attribute on the current module if it exists and /// return its value, if it doesn't exist it returns false by default. bool mlir::omp::OffloadModuleInterface::getIsGPU() { … } /// Get the FlagsAttr attribute on the current module if it exists /// and return the attribute, if it doesn't exit it returns a nullptr mlir::omp::FlagsAttr mlir::omp::OffloadModuleInterface::getFlags() { … } /// Apply an omp.FlagsAttr to a module with the specified values /// for the flags void mlir::omp::OffloadModuleInterface::setFlags(uint32_t debugKind, bool assumeTeamsOversubscription, bool assumeThreadsOversubscription, bool assumeNoThreadState, bool assumeNoNestedParallelism, uint32_t openmpDeviceVersion, bool noGPULib) { … } /// Set a StringAttr on the current module containing the host IR file path. This /// file path is used in two-phase compilation during the device phase to generate /// device side LLVM IR when lowering MLIR. void mlir::omp::OffloadModuleInterface::setHostIRFilePath(std::string hostIRFilePath) { … } /// Find the host-ir file path StringAttr from the current module if it exists and /// return its contained value, if it doesn't exist it returns an empty string. This /// file path is used in two-phase compilation during the device phase to generate /// device side LLVM IR when lowering MLIR. llvm::StringRef mlir::omp::OffloadModuleInterface::getHostIRFilePath() { … } /// Get the omp.requires attribute on the operator if it's present and /// return its value. If it doesn't exist, return `ClauseRequires::none` by /// default. ::mlir::omp::ClauseRequires mlir::omp::OffloadModuleInterface::getRequires() { … } /// Set the omp.requires attribute on the operator to the specified clauses. void mlir::omp::OffloadModuleInterface::setRequires(::mlir::omp::ClauseRequires clauses) { … } /// Get the omp.target_triples attribute on the operator if it's present and /// return its value. If it doesn't exist, return an empty array by default. ::llvm::ArrayRef<::mlir::Attribute> mlir::omp::OffloadModuleInterface::getTargetTriples() { … } /// Set the omp.target_triples attribute on the operation. void mlir::omp::OffloadModuleInterface::setTargetTriples(::llvm::ArrayRef<::std::string> targetTriples) { … } /// Get alloca block ::mlir::Block*mlir::omp::OutlineableOpenMPOpInterface::getAllocaBlock() { … } /// Get reduction vars ::mlir::SmallVector<::mlir::Value> mlir::omp::ReductionClauseInterface::getAllReductionVars() { … }