OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:EDToken
(Results
1 - 7
of
7
) sorted by null
/external/llvm/lib/MC/MCDisassembler/
EDToken.cpp
1
//===--
EDToken
.cpp - LLVM Enhanced Disassembler --------------------------===//
16
#include "
EDToken
.h"
23
EDToken
::
EDToken
(StringRef str,
34
EDToken
::~
EDToken
() {
37
void
EDToken
::makeLiteral(bool sign, uint64_t absoluteValue) {
43
void
EDToken
::makeRegister(unsigned registerID) {
48
void
EDToken
::setOperandID(int operandID) {
52
enum
EDToken
::tokenType EDToken::type() const
[
all
...]
EDToken.h
1
//===-
EDToken
.h - LLVM Enhanced Disassembler --------------------*- C++ -*-===//
28
///
EDToken
- Encapsulates a single token, which can provide a string
31
struct
EDToken
{
62
/// Constructor - Initializes an
EDToken
with the information common to all
69
EDToken
(llvm::StringRef str,
90
~
EDToken
();
126
static int tokenize(std::vector<
EDToken
*> &tokens,
EDMain.cpp
17
#include "
EDToken
.h"
133
return ((EDInst*)inst)->getToken(*(
EDToken
**)token, index);
138
return ((
EDToken
*)token)->getString(*buf);
142
return ((
EDToken
*)token)->operandID();
146
return ((
EDToken
*)token)->type() ==
EDToken
::kTokenWhitespace;
150
return ((
EDToken
*)token)->type() ==
EDToken
::kTokenPunctuation;
154
return ((
EDToken
*)token)->type() ==
EDToken
::kTokenOpcode
[
all
...]
EDInst.h
27
struct
EDToken
;
32
typedef int (^EDTokenVisitor_t)(
EDToken
*token);
92
typedef std::vector<
EDToken
*> tokvec_t;
168
int getToken(
EDToken
*&token, unsigned int index);
EDInst.cpp
19
#include "
EDToken
.h"
175
return TokenizeResult.setResult(
EDToken
::tokenize(Tokens,
188
int EDInst::getToken(
EDToken
*&token, unsigned int index) {
EDDisassembler.h
55
struct
EDToken
;
/external/llvm/tools/llvm-mc/
Disassembler.cpp
19
#include "../../lib/MC/MCDisassembler/
EDToken
.h"
254
EDToken
*token;
274
case
EDToken
::kTokenWhitespace: Out << "w"; break;
275
case
EDToken
::kTokenPunctuation: Out << "p"; break;
276
case
EDToken
::kTokenOpcode: Out << "o"; break;
277
case
EDToken
::kTokenLiteral: Out << "l"; break;
278
case
EDToken
::kTokenRegister: Out << "r"; break;
283
if (token->type() ==
EDToken
::kTokenLiteral) {
293
} else if (token->type() ==
EDToken
::kTokenRegister) {
Completed in 117 milliseconds