LLVM 20.0.0git
SPIRVMetadata.h
Go to the documentation of this file.
1//===--- SPIRVMetadata.h ---- IR Metadata Parsing Funcs ---------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// This file contains functions needed for parsing LLVM IR metadata relevant
10// to the SPIR-V target.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_LIB_TARGET_SPIRV_SPIRVMETADATA_H
15#define LLVM_LIB_TARGET_SPIRV_SPIRVMETADATA_H
16
17#include "llvm/IR/Metadata.h"
18#include "llvm/IR/Module.h"
19
20namespace llvm {
21
22//===----------------------------------------------------------------------===//
23// OpenCL Metadata
24//
25
26MDString *getOCLKernelArgAccessQual(const Function &F, unsigned ArgIdx);
27MDString *getOCLKernelArgTypeQual(const Function &F, unsigned ArgIdx);
28
29} // namespace llvm
30#endif // LLVM_LIB_TARGET_SPIRV_METADATA_H
#define F(x, y, z)
Definition: MD5.cpp:55
This file contains the declarations for metadata subclasses.
Module.h This file contains the declarations for the Module class.
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
MDString * getOCLKernelArgAccessQual(const Function &F, unsigned ArgIdx)
MDString * getOCLKernelArgTypeQual(const Function &F, unsigned ArgIdx)