LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NVPTXutil.h
Go to the documentation of this file.
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 
19 
20 namespace llvm {
21 bool isParamLoad(const MachineInstr *);
22 uint64_t encode_leb128(const char *str);
23 }
24 
25 #endif
bool isParamLoad(const MachineInstr *MI)
Definition: NVPTXutil.cpp:21
static int encode_leb128(uint64_t val, int *nbytes, char *space, int splen)
Definition: NVPTXutil.cpp:36