LLVM API Documentation
00001 //===-- NVPTXutil.h - Functions exported to CodeGen --*- C++ -*-===// 00002 // 00003 // The LLVM Compiler Infrastructure 00004 // 00005 // This file is distributed under the University of Illinois Open Source 00006 // License. See LICENSE.TXT for details. 00007 // 00008 //===----------------------------------------------------------------------===// 00009 // 00010 // This file contains the functions that can be used in CodeGen. 00011 // 00012 //===----------------------------------------------------------------------===// 00013 00014 #ifndef LLVM_LIB_TARGET_NVPTX_NVPTXUTIL_H 00015 #define LLVM_LIB_TARGET_NVPTX_NVPTXUTIL_H 00016 00017 #include "llvm/CodeGen/MachineFunction.h" 00018 #include "llvm/CodeGen/MachineInstr.h" 00019 00020 namespace llvm { 00021 bool isParamLoad(const MachineInstr *); 00022 uint64_t encode_leb128(const char *str); 00023 } 00024 00025 #endif