Home
last modified time | relevance | path

Searched refs:EDToken (Results 1 – 7 of 7) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/MC/MCDisassembler/
DEDToken.cpp23 EDToken::EDToken(StringRef str, in EDToken() function in EDToken
34 EDToken::~EDToken() { in ~EDToken()
37 void EDToken::makeLiteral(bool sign, uint64_t absoluteValue) { in makeLiteral()
43 void EDToken::makeRegister(unsigned registerID) { in makeRegister()
48 void EDToken::setOperandID(int operandID) { in setOperandID()
52 enum EDToken::tokenType EDToken::type() const { in type()
56 uint64_t EDToken::localType() const { in localType()
60 StringRef EDToken::string() const { in string()
64 int EDToken::operandID() const { in operandID()
68 int EDToken::literalSign() const { in literalSign()
[all …]
DEDToken.h31 struct EDToken { struct
69 EDToken(llvm::StringRef str,
90 ~EDToken();
126 static int tokenize(std::vector<EDToken*> &tokens,
DEDInst.h27 struct EDToken;
32 typedef int (^EDTokenVisitor_t)(EDToken *token);
92 typedef std::vector<EDToken*> tokvec_t;
168 int getToken(EDToken *&token, unsigned int index);
DEDInst.cpp175 return TokenizeResult.setResult(EDToken::tokenize(Tokens, in tokenize()
188 int EDInst::getToken(EDToken *&token, unsigned int index) { in getToken()
DEDDisassembler.h53 struct EDToken;
/external/swiftshader/third_party/LLVM/tools/edis/
DEDMain.cpp137 return ((EDInst*)inst)->getToken(*(EDToken**)token, index); in EDGetToken()
142 return ((EDToken*)token)->getString(*buf); in EDGetTokenString()
146 return ((EDToken*)token)->operandID(); in EDOperandIndexForToken()
150 return ((EDToken*)token)->type() == EDToken::kTokenWhitespace; in EDTokenIsWhitespace()
154 return ((EDToken*)token)->type() == EDToken::kTokenPunctuation; in EDTokenIsPunctuation()
158 return ((EDToken*)token)->type() == EDToken::kTokenOpcode; in EDTokenIsOpcode()
162 return ((EDToken*)token)->type() == EDToken::kTokenLiteral; in EDTokenIsLiteral()
166 return ((EDToken*)token)->type() == EDToken::kTokenRegister; in EDTokenIsRegister()
170 if (((EDToken*)token)->type() != EDToken::kTokenLiteral) in EDTokenIsNegativeLiteral()
173 return ((EDToken*)token)->literalSign(); in EDTokenIsNegativeLiteral()
[all …]
/external/swiftshader/third_party/LLVM/tools/llvm-mc/
DDisassembler.cpp277 EDToken *token; in disassembleEnhanced()
298 case EDToken::kTokenWhitespace: Out << "w"; break; in disassembleEnhanced()
299 case EDToken::kTokenPunctuation: Out << "p"; break; in disassembleEnhanced()
300 case EDToken::kTokenOpcode: Out << "o"; break; in disassembleEnhanced()
301 case EDToken::kTokenLiteral: Out << "l"; break; in disassembleEnhanced()
302 case EDToken::kTokenRegister: Out << "r"; break; in disassembleEnhanced()
307 if (token->type() == EDToken::kTokenLiteral) { in disassembleEnhanced()
317 } else if (token->type() == EDToken::kTokenRegister) { in disassembleEnhanced()