Path: blob/main/contrib/llvm-project/llvm/lib/Target/SPIRV/SPIRVMetadata.h
35269 views
//===--- SPIRVMetadata.h ---- IR Metadata Parsing Funcs ---------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7//8// This file contains functions needed for parsing LLVM IR metadata relevant9// to the SPIR-V target.10//11//===----------------------------------------------------------------------===//1213#ifndef LLVM_LIB_TARGET_SPIRV_SPIRVMETADATA_H14#define LLVM_LIB_TARGET_SPIRV_SPIRVMETADATA_H1516#include "llvm/IR/Metadata.h"17#include "llvm/IR/Module.h"1819namespace llvm {2021//===----------------------------------------------------------------------===//22// OpenCL Metadata23//2425MDString *getOCLKernelArgAccessQual(const Function &F, unsigned ArgIdx);26MDString *getOCLKernelArgTypeQual(const Function &F, unsigned ArgIdx);2728} // namespace llvm29#endif // LLVM_LIB_TARGET_SPIRV_METADATA_H303132