LLLexer.h (234353) | LLLexer.h (249423) |
---|---|
1//===- LLLexer.h - Lexer for LLVM Assembly Files ----------------*- 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 class represents the Lexer for .ll files. 11// 12//===----------------------------------------------------------------------===// 13 14#ifndef LIB_ASMPARSER_LLLEXER_H 15#define LIB_ASMPARSER_LLLEXER_H 16 17#include "LLToken.h" | 1//===- LLLexer.h - Lexer for LLVM Assembly Files ----------------*- 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 class represents the Lexer for .ll files. 11// 12//===----------------------------------------------------------------------===// 13 14#ifndef LIB_ASMPARSER_LLLEXER_H 15#define LIB_ASMPARSER_LLLEXER_H 16 17#include "LLToken.h" |
18#include "llvm/ADT/APSInt.h" | |
19#include "llvm/ADT/APFloat.h" | 18#include "llvm/ADT/APFloat.h" |
19#include "llvm/ADT/APSInt.h" |
|
20#include "llvm/Support/SourceMgr.h" 21#include <string> 22 23namespace llvm { 24 class MemoryBuffer; 25 class Type; 26 class SMDiagnostic; 27 class LLVMContext; --- 48 unchanged lines hidden (view full) --- 76 lltok::Kind LexIdentifier(); 77 lltok::Kind LexDigitOrNegative(); 78 lltok::Kind LexPositive(); 79 lltok::Kind LexAt(); 80 lltok::Kind LexExclaim(); 81 lltok::Kind LexPercent(); 82 lltok::Kind LexQuote(); 83 lltok::Kind Lex0x(); | 20#include "llvm/Support/SourceMgr.h" 21#include <string> 22 23namespace llvm { 24 class MemoryBuffer; 25 class Type; 26 class SMDiagnostic; 27 class LLVMContext; --- 48 unchanged lines hidden (view full) --- 76 lltok::Kind LexIdentifier(); 77 lltok::Kind LexDigitOrNegative(); 78 lltok::Kind LexPositive(); 79 lltok::Kind LexAt(); 80 lltok::Kind LexExclaim(); 81 lltok::Kind LexPercent(); 82 lltok::Kind LexQuote(); 83 lltok::Kind Lex0x(); |
84 lltok::Kind LexHash(); |
|
84 85 uint64_t atoull(const char *Buffer, const char *End); 86 uint64_t HexIntToVal(const char *Buffer, const char *End); 87 void HexToIntPair(const char *Buffer, const char *End, uint64_t Pair[2]); 88 void FP80HexToIntPair(const char *Buff, const char *End, uint64_t Pair[2]); 89 }; 90} // end namespace llvm 91 92#endif | 85 86 uint64_t atoull(const char *Buffer, const char *End); 87 uint64_t HexIntToVal(const char *Buffer, const char *End); 88 void HexToIntPair(const char *Buffer, const char *End, uint64_t Pair[2]); 89 void FP80HexToIntPair(const char *Buff, const char *End, uint64_t Pair[2]); 90 }; 91} // end namespace llvm 92 93#endif |