LLVM API Documentation

ParserInternals.h File Reference

#include "llvm/Constants.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Function.h"
#include "llvm/Instructions.h"
#include "llvm/Assembly/Parser.h"
#include "llvm/ADT/StringExtras.h"

Include dependency graph for ParserInternals.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  llvm

Classes

struct  llvm::InlineAsmDescriptor
struct  llvm::ValID

Functions

void set_scan_file (FILE *F)
void set_scan_string (const char *str)
Modulellvm::RunVMAsmParser (const std::string &Filename, FILE *F)
Modulellvm::RunVMAsmParser (const char *AsmString, Module *M)
char * llvm::UnEscapeLexed (char *Buffer, bool AllowNull)
static void llvm::ThrowException (const std::string &message, int LineNo=-1)

Variables

int llvmAsmlineno
std::string & llvmAsmTextin
char * llvmAsmtext
int llvmAsmleng
std::string llvm::CurFilename


Function Documentation

void set_scan_file ( FILE *  F  ) 

Definition at line 864 of file Lexer.cpp.

References llvmAsm_create_buffer(), llvmAsm_switch_to_buffer(), and YY_BUF_SIZE.

Referenced by llvm::RunVMAsmParser().

void set_scan_string ( const char *  str  ) 

Definition at line 867 of file Lexer.cpp.

References llvmAsm_scan_string().

Referenced by llvm::RunVMAsmParser().


Variable Documentation

int llvmAsmleng

Definition at line 292 of file Lexer.cpp.

int llvmAsmlineno

Definition at line 363 of file Lexer.cpp.

char* llvmAsmtext

Definition at line 842 of file Lexer.cpp.

std::string& llvmAsmTextin