Justin Holewinski | 49683f3 | 2012-05-04 20:18:50 +0000 | [diff] [blame] | 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 |