blob: d1d117159486d433a35bf1d1acf43584ffd9adf3 [file] [log] [blame]
Justin Holewinski49683f32012-05-04 20:18:50 +00001//===-- NVPTXutil.h - Functions exported to CodeGen --*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// This file contains the functions that can be used in CodeGen.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_TARGET_NVPTX_UTIL_H
15#define LLVM_TARGET_NVPTX_UTIL_H
16
17#include "llvm/CodeGen/MachineFunction.h"
18#include "llvm/CodeGen/MachineInstr.h"
19
20namespace llvm {
21bool isParamLoad(const MachineInstr *);
22uint64_t encode_leb128(const char *str);
23}
24
25#endif