@@ -112,12 +112,12 @@ class SILArgument : public ValueBase {
112
112
// / If this argument is a phi, populate `OutArray` with the incoming phi
113
113
// / values for each predecessor BB. If this argument is not a phi, return
114
114
// / false.
115
- bool getIncomingPhiValues (llvm:: SmallVectorImpl<SILValue> &ReturnedPhiValues);
115
+ bool getIncomingPhiValues (SmallVectorImpl<SILValue> &ReturnedPhiValues);
116
116
117
117
// / If this argument is a phi, populate `OutArray` with each predecessor block
118
118
// / and its incoming phi value. If this argument is not a phi, return false.
119
119
bool getIncomingPhiValues (
120
- llvm:: SmallVectorImpl<std::pair<SILBasicBlock *, SILValue>>
120
+ SmallVectorImpl<std::pair<SILBasicBlock *, SILValue>>
121
121
&ReturnedPredAndPhiValuePairs);
122
122
123
123
// / Returns true if we were able to find a single terminator operand value for
@@ -127,7 +127,7 @@ class SILArgument : public ValueBase {
127
127
// / Note: this peeks through any projections or cast implied by the
128
128
// / terminator. e.g. the incoming value for a switch_enum payload argument is
129
129
// / the enum itself (the operand of the switch_enum).
130
- bool getSingleTerminatorOperands (llvm:: SmallVectorImpl<SILValue> &OutArray);
130
+ bool getSingleTerminatorOperands (SmallVectorImpl<SILValue> &OutArray);
131
131
132
132
// / Returns true if we were able to find single terminator operand values for
133
133
// / each predecessor of this arguments basic block. The found values are
@@ -137,7 +137,7 @@ class SILArgument : public ValueBase {
137
137
// / terminator. e.g. the incoming value for a switch_enum payload argument is
138
138
// / the enum itself (the operand of the switch_enum).
139
139
bool getSingleTerminatorOperands (
140
- llvm:: SmallVectorImpl<std::pair<SILBasicBlock *, SILValue>> &OutArray);
140
+ SmallVectorImpl<std::pair<SILBasicBlock *, SILValue>> &OutArray);
141
141
142
142
// / If this SILArgument's parent block has a single predecessor whose
143
143
// / terminator has a single operand, return the incoming operand of the
@@ -194,15 +194,15 @@ class SILPhiArgument : public SILArgument {
194
194
// /
195
195
// / FIXME: Once SILPhiArgument actually implies that it is a phi argument,
196
196
// / this will always succeed.
197
- bool getIncomingPhiValues (llvm:: SmallVectorImpl<SILValue> &OutArray);
197
+ bool getIncomingPhiValues (SmallVectorImpl<SILValue> &OutArray);
198
198
199
199
// / If this argument is a phi, populate `OutArray` with each predecessor block
200
200
// / and its incoming phi value. If this argument is not a phi, return false.
201
201
// /
202
202
// / FIXME: Once SILPhiArgument actually implies that it is a phi argument,
203
203
// / this will always succeed.
204
204
bool getIncomingPhiValues (
205
- llvm:: SmallVectorImpl<std::pair<SILBasicBlock *, SILValue>> &OutArray);
205
+ SmallVectorImpl<std::pair<SILBasicBlock *, SILValue>> &OutArray);
206
206
207
207
// / Returns true if we were able to find a single terminator operand value for
208
208
// / each predecessor of this arguments basic block. The found values are
@@ -211,7 +211,7 @@ class SILPhiArgument : public SILArgument {
211
211
// / Note: this peeks through any projections or cast implied by the
212
212
// / terminator. e.g. the incoming value for a switch_enum payload argument is
213
213
// / the enum itself (the operand of the switch_enum).
214
- bool getSingleTerminatorOperands (llvm:: SmallVectorImpl<SILValue> &OutArray);
214
+ bool getSingleTerminatorOperands (SmallVectorImpl<SILValue> &OutArray);
215
215
216
216
// / Returns true if we were able to find single terminator operand values for
217
217
// / each predecessor of this arguments basic block. The found values are
@@ -221,7 +221,7 @@ class SILPhiArgument : public SILArgument {
221
221
// / terminator. e.g. the incoming value for a switch_enum payload argument is
222
222
// / the enum itself (the operand of the switch_enum).
223
223
bool getSingleTerminatorOperands (
224
- llvm:: SmallVectorImpl<std::pair<SILBasicBlock *, SILValue>> &OutArray);
224
+ SmallVectorImpl<std::pair<SILBasicBlock *, SILValue>> &OutArray);
225
225
226
226
// / If this SILArgument's parent block has a single predecessor whose
227
227
// / terminator has a single operand, return the incoming operand of the
@@ -325,28 +325,28 @@ inline SILValue SILArgument::getIncomingPhiValue(SILBasicBlock *BB) {
325
325
}
326
326
327
327
inline bool
328
- SILArgument::getIncomingPhiValues (llvm:: SmallVectorImpl<SILValue> &OutArray) {
328
+ SILArgument::getIncomingPhiValues (SmallVectorImpl<SILValue> &OutArray) {
329
329
if (isa<SILFunctionArgument>(this ))
330
330
return false ;
331
331
return cast<SILPhiArgument>(this )->getIncomingPhiValues (OutArray);
332
332
}
333
333
334
334
inline bool SILArgument::getIncomingPhiValues (
335
- llvm:: SmallVectorImpl<std::pair<SILBasicBlock *, SILValue>> &OutArray) {
335
+ SmallVectorImpl<std::pair<SILBasicBlock *, SILValue>> &OutArray) {
336
336
if (isa<SILFunctionArgument>(this ))
337
337
return false ;
338
338
return cast<SILPhiArgument>(this )->getIncomingPhiValues (OutArray);
339
339
}
340
340
341
341
inline bool SILArgument::getSingleTerminatorOperands (
342
- llvm:: SmallVectorImpl<SILValue> &OutArray) {
342
+ SmallVectorImpl<SILValue> &OutArray) {
343
343
if (isa<SILFunctionArgument>(this ))
344
344
return false ;
345
345
return cast<SILPhiArgument>(this )->getSingleTerminatorOperands (OutArray);
346
346
}
347
347
348
348
inline bool SILArgument::getSingleTerminatorOperands (
349
- llvm:: SmallVectorImpl<std::pair<SILBasicBlock *, SILValue>> &OutArray) {
349
+ SmallVectorImpl<std::pair<SILBasicBlock *, SILValue>> &OutArray) {
350
350
if (isa<SILFunctionArgument>(this ))
351
351
return false ;
352
352
return cast<SILPhiArgument>(this )->getSingleTerminatorOperands (OutArray);
0 commit comments