FLANG
cuf::DeviceCodeSet Struct Reference

The device code of a module, as gathered by collectDeviceCode. More...

#include <flang/Optimizer/Builder/CUFCommon.h>

Public Attributes

llvm::SetVector< mlir::func::FuncOp > deviceFuncs
 Procedures with a device proc attribute (see isDeviceProcedure).
llvm::SetVector< mlir::func::FuncOp > calledFromDevice
llvm::SetVector< mlir::func::FuncOp > keepInModule

Detailed Description

The device code of a module, as gathered by collectDeviceCode.

Member Data Documentation

◆ calledFromDevice

llvm::SetVector<mlir::func::FuncOp> cuf::DeviceCodeSet::calledFromDevice

Procedures without one that device code reaches, through calls or procedure references, directly or through other such procedures. OpenACC routines are excluded, the OpenACC pipeline moves those to the device itself. Declarations are included: device code needs them too.

◆ keepInModule

llvm::SetVector<mlir::func::FuncOp> cuf::DeviceCodeSet::keepInModule

Device procedures referenced from a derived-type binding table, whose host symbol must be kept for the table to verify.


The documentation for this struct was generated from the following file: