1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

add and update comments.

llvm-svn: 118025
This commit is contained in:
Chris Lattner 2010-11-02 17:34:28 +00:00
parent 6f1fec971e
commit 0ee95ca723

View File

@ -263,11 +263,16 @@ struct MatchableInfo {
/// InstrName - The target name for this instruction.
std::string InstrName;
/// TheDef - This is the definition of the instruction or InstAlias that this
/// matchable came from.
Record *const TheDef;
/// OperandList - This is the operand list that came from the (ins) and (outs)
/// list of the alias or instruction.
const CGIOperandList &OperandList;
/// AsmString - The assembly string for this instruction (with variants
/// removed).
/// removed), e.g. "movsx $src, $dst".
std::string AsmString;
/// Mnemonic - This is the first token of the matched instruction, its
@ -275,7 +280,9 @@ struct MatchableInfo {
StringRef Mnemonic;
/// AsmOperands - The textual operands that this instruction matches,
/// including literal tokens for the mnemonic, etc.
/// annotated with a class and where in the OperandList they were defined.
/// This directly corresponds to the tokenized AsmString after the mnemonic is
/// removed.
SmallVector<Operand, 4> AsmOperands;
/// Predicates - The required subtarget features to match this instruction.