|
clang 24.0.0git
|
#include "CIRGenCUDARuntime.h"#include "CIRGenCXXABI.h"#include "CIRGenFunction.h"#include "CIRGenModule.h"#include "mlir/IR/Operation.h"#include "clang/AST/ASTContext.h"#include "clang/AST/Attrs.inc"#include "clang/AST/Decl.h"#include "clang/AST/GlobalDecl.h"#include "clang/Basic/AddressSpaces.h"#include "clang/Basic/Cuda.h"#include "clang/Basic/DiagnosticFrontend.h"#include "clang/Basic/FileManager.h"#include "clang/Basic/SourceManager.h"#include "clang/CIR/Dialect/IR/CIRDialect.h"#include "clang/CIR/Dialect/IR/CIRTypes.h"#include "llvm/Support/Casting.h"#include "llvm/Support/MemoryBuffer.h"#include "llvm/Support/VirtualFileSystem.h"Go to the source code of this file.
Functions | |
| static bool | hasEntitiesToRegister (mlir::ModuleOp module) |
| Whether this translation unit has anything for the CUDA runtime to register. | |
|
static |
Whether this translation unit has anything for the CUDA runtime to register.
These are the same two attributes LoweringPrepare collects to decide whether to build a module ctor, so both sides answer the question from one source.
Definition at line 530 of file CIRGenCUDANV.cpp.