]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - contrib/llvm/lib/Target/NVPTX/NVPTXutil.h
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / contrib / llvm / lib / Target / NVPTX / NVPTXutil.h
1 //===-- 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
20 namespace llvm {
21 bool isParamLoad(const MachineInstr *);
22 uint64_t encode_leb128(const char *str);
23 }
24
25 #endif