Skip to content

Commit 2f0be8f

Browse files
author
Jim Grosbach
committed
trailing whitespace
llvm-svn: 116068
1 parent b770c00 commit 2f0be8f

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

llvm/utils/TableGen/CodeGenInstruction.h

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ namespace llvm {
3232
/// AsmString - The format string used to emit a .s file for the
3333
/// instruction.
3434
std::string AsmString;
35-
35+
3636
class ConstraintInfo {
3737
enum { None, EarlyClobber, Tied } Kind;
3838
unsigned OtherTiedOperand;
@@ -45,24 +45,24 @@ namespace llvm {
4545
I.OtherTiedOperand = 0;
4646
return I;
4747
}
48-
48+
4949
static ConstraintInfo getTied(unsigned Op) {
5050
ConstraintInfo I;
5151
I.Kind = Tied;
5252
I.OtherTiedOperand = Op;
5353
return I;
5454
}
55-
55+
5656
bool isNone() const { return Kind == None; }
5757
bool isEarlyClobber() const { return Kind == EarlyClobber; }
5858
bool isTied() const { return Kind == Tied; }
59-
59+
6060
unsigned getTiedOperand() const {
6161
assert(isTied());
6262
return OtherTiedOperand;
6363
}
6464
};
65-
65+
6666
/// OperandInfo - The information we keep track of for each operand in the
6767
/// operand list for a tablegen instruction.
6868
struct OperandInfo {
@@ -91,16 +91,16 @@ namespace llvm {
9191
/// the DisableEncoding list. These should not be emitted by the code
9292
/// emitter.
9393
std::vector<bool> DoNotEncode;
94-
94+
9595
/// MIOperandInfo - Default MI operand type. Note an operand may be made
9696
/// up of multiple MI operands.
9797
DagInit *MIOperandInfo;
98-
98+
9999
/// Constraint info for this operand. This operand can have pieces, so we
100100
/// track constraint info for each.
101101
std::vector<ConstraintInfo> Constraints;
102102

103-
OperandInfo(Record *R, const std::string &N, const std::string &PMN,
103+
OperandInfo(Record *R, const std::string &N, const std::string &PMN,
104104
unsigned MION, unsigned MINO, DagInit *MIOI)
105105
: Rec(R), Name(N), PrinterMethodName(PMN), MIOperandNo(MION),
106106
MINumOperands(MINO), MIOperandInfo(MIOI) {}
@@ -144,21 +144,21 @@ namespace llvm {
144144
bool isAsCheapAsAMove;
145145
bool hasExtraSrcRegAllocReq;
146146
bool hasExtraDefRegAllocReq;
147-
147+
148148
/// ParseOperandName - Parse an operand name like "$foo" or "$foo.bar",
149149
/// where $foo is a whole operand and $foo.bar refers to a suboperand.
150150
/// This throws an exception if the name is invalid. If AllowWholeOp is
151151
/// true, references to operands with suboperands are allowed, otherwise
152152
/// not.
153153
std::pair<unsigned,unsigned> ParseOperandName(const std::string &Op,
154154
bool AllowWholeOp = true);
155-
155+
156156
/// getFlattenedOperandNumber - Flatten a operand/suboperand pair into a
157157
/// flat machineinstr operand #.
158158
unsigned getFlattenedOperandNumber(std::pair<unsigned,unsigned> Op) const {
159159
return OperandList[Op.first].MIOperandNo + Op.second;
160160
}
161-
161+
162162
/// getSubOperandNumber - Unflatten a operand number into an
163163
/// operand/suboperand pair.
164164
std::pair<unsigned,unsigned> getSubOperandNumber(unsigned Op) const {
@@ -168,8 +168,8 @@ namespace llvm {
168168
return std::make_pair(i, Op-OperandList[i].MIOperandNo);
169169
}
170170
}
171-
172-
171+
172+
173173
/// isFlatOperandNotEmitted - Return true if the specified flat operand #
174174
/// should not be emitted with the code emitter.
175175
bool isFlatOperandNotEmitted(unsigned FlatOpNo) const {
@@ -185,11 +185,11 @@ namespace llvm {
185185
/// non-empty name. If the instruction does not have an operand with the
186186
/// specified name, throw an exception.
187187
unsigned getOperandNamed(const std::string &Name) const;
188-
188+
189189
/// HasOneImplicitDefWithKnownVT - If the instruction has at least one
190190
/// implicit def and it has a known VT, return the VT, otherwise return
191191
/// MVT::Other.
192-
MVT::SimpleValueType
192+
MVT::SimpleValueType
193193
HasOneImplicitDefWithKnownVT(const CodeGenTarget &TargetInfo) const;
194194
};
195195
}

0 commit comments

Comments
 (0)