projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a7f8c2
)
[ms-inline asm] Add a comment describing the MapAndConstraints.
author
Chad Rosier
<mcrosier@apple.com>
Fri, 5 Oct 2012 19:00:51 +0000
(19:00 +0000)
committer
Chad Rosier
<mcrosier@apple.com>
Fri, 5 Oct 2012 19:00:51 +0000
(19:00 +0000)
llvm-svn: 165326
llvm/include/llvm/MC/MCTargetAsmParser.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/MC/MCTargetAsmParser.h
b/llvm/include/llvm/MC/MCTargetAsmParser.h
index
c5451ce
..
a966a6b
100644
(file)
--- a/
llvm/include/llvm/MC/MCTargetAsmParser.h
+++ b/
llvm/include/llvm/MC/MCTargetAsmParser.h
@@
-50,6
+50,8
@@
public:
virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc,
SMLoc &EndLoc) = 0;
+ /// MapAndConstraints - Map inline assembly operands to MCInst operands
+ /// and an associated constraint.
typedef std::pair< unsigned, std::string > MapAndConstraint;
typedef SmallVector<MapAndConstraint, 4> MatchInstMapAndConstraints;
typedef SmallVectorImpl<MapAndConstraint> MatchInstMapAndConstraintsImpl;