Skip to content

Commit d93eacd

Browse files
committed
[gardening] Remove llvm:: from references to SmallVectorImpl in SILArgument.h
1 parent d2e1f09 commit d93eacd

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

include/swift/SIL/SILArgument.h

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,12 @@ class SILArgument : public ValueBase {
112112
/// If this argument is a phi, populate `OutArray` with the incoming phi
113113
/// values for each predecessor BB. If this argument is not a phi, return
114114
/// false.
115-
bool getIncomingPhiValues(llvm::SmallVectorImpl<SILValue> &ReturnedPhiValues);
115+
bool getIncomingPhiValues(SmallVectorImpl<SILValue> &ReturnedPhiValues);
116116

117117
/// If this argument is a phi, populate `OutArray` with each predecessor block
118118
/// and its incoming phi value. If this argument is not a phi, return false.
119119
bool getIncomingPhiValues(
120-
llvm::SmallVectorImpl<std::pair<SILBasicBlock *, SILValue>>
120+
SmallVectorImpl<std::pair<SILBasicBlock *, SILValue>>
121121
&ReturnedPredAndPhiValuePairs);
122122

123123
/// Returns true if we were able to find a single terminator operand value for
@@ -127,7 +127,7 @@ class SILArgument : public ValueBase {
127127
/// Note: this peeks through any projections or cast implied by the
128128
/// terminator. e.g. the incoming value for a switch_enum payload argument is
129129
/// the enum itself (the operand of the switch_enum).
130-
bool getSingleTerminatorOperands(llvm::SmallVectorImpl<SILValue> &OutArray);
130+
bool getSingleTerminatorOperands(SmallVectorImpl<SILValue> &OutArray);
131131

132132
/// Returns true if we were able to find single terminator operand values for
133133
/// each predecessor of this arguments basic block. The found values are
@@ -137,7 +137,7 @@ class SILArgument : public ValueBase {
137137
/// terminator. e.g. the incoming value for a switch_enum payload argument is
138138
/// the enum itself (the operand of the switch_enum).
139139
bool getSingleTerminatorOperands(
140-
llvm::SmallVectorImpl<std::pair<SILBasicBlock *, SILValue>> &OutArray);
140+
SmallVectorImpl<std::pair<SILBasicBlock *, SILValue>> &OutArray);
141141

142142
/// If this SILArgument's parent block has a single predecessor whose
143143
/// terminator has a single operand, return the incoming operand of the
@@ -194,15 +194,15 @@ class SILPhiArgument : public SILArgument {
194194
///
195195
/// FIXME: Once SILPhiArgument actually implies that it is a phi argument,
196196
/// this will always succeed.
197-
bool getIncomingPhiValues(llvm::SmallVectorImpl<SILValue> &OutArray);
197+
bool getIncomingPhiValues(SmallVectorImpl<SILValue> &OutArray);
198198

199199
/// If this argument is a phi, populate `OutArray` with each predecessor block
200200
/// and its incoming phi value. If this argument is not a phi, return false.
201201
///
202202
/// FIXME: Once SILPhiArgument actually implies that it is a phi argument,
203203
/// this will always succeed.
204204
bool getIncomingPhiValues(
205-
llvm::SmallVectorImpl<std::pair<SILBasicBlock *, SILValue>> &OutArray);
205+
SmallVectorImpl<std::pair<SILBasicBlock *, SILValue>> &OutArray);
206206

207207
/// Returns true if we were able to find a single terminator operand value for
208208
/// each predecessor of this arguments basic block. The found values are
@@ -211,7 +211,7 @@ class SILPhiArgument : public SILArgument {
211211
/// Note: this peeks through any projections or cast implied by the
212212
/// terminator. e.g. the incoming value for a switch_enum payload argument is
213213
/// the enum itself (the operand of the switch_enum).
214-
bool getSingleTerminatorOperands(llvm::SmallVectorImpl<SILValue> &OutArray);
214+
bool getSingleTerminatorOperands(SmallVectorImpl<SILValue> &OutArray);
215215

216216
/// Returns true if we were able to find single terminator operand values for
217217
/// each predecessor of this arguments basic block. The found values are
@@ -221,7 +221,7 @@ class SILPhiArgument : public SILArgument {
221221
/// terminator. e.g. the incoming value for a switch_enum payload argument is
222222
/// the enum itself (the operand of the switch_enum).
223223
bool getSingleTerminatorOperands(
224-
llvm::SmallVectorImpl<std::pair<SILBasicBlock *, SILValue>> &OutArray);
224+
SmallVectorImpl<std::pair<SILBasicBlock *, SILValue>> &OutArray);
225225

226226
/// If this SILArgument's parent block has a single predecessor whose
227227
/// terminator has a single operand, return the incoming operand of the
@@ -325,28 +325,28 @@ inline SILValue SILArgument::getIncomingPhiValue(SILBasicBlock *BB) {
325325
}
326326

327327
inline bool
328-
SILArgument::getIncomingPhiValues(llvm::SmallVectorImpl<SILValue> &OutArray) {
328+
SILArgument::getIncomingPhiValues(SmallVectorImpl<SILValue> &OutArray) {
329329
if (isa<SILFunctionArgument>(this))
330330
return false;
331331
return cast<SILPhiArgument>(this)->getIncomingPhiValues(OutArray);
332332
}
333333

334334
inline bool SILArgument::getIncomingPhiValues(
335-
llvm::SmallVectorImpl<std::pair<SILBasicBlock *, SILValue>> &OutArray) {
335+
SmallVectorImpl<std::pair<SILBasicBlock *, SILValue>> &OutArray) {
336336
if (isa<SILFunctionArgument>(this))
337337
return false;
338338
return cast<SILPhiArgument>(this)->getIncomingPhiValues(OutArray);
339339
}
340340

341341
inline bool SILArgument::getSingleTerminatorOperands(
342-
llvm::SmallVectorImpl<SILValue> &OutArray) {
342+
SmallVectorImpl<SILValue> &OutArray) {
343343
if (isa<SILFunctionArgument>(this))
344344
return false;
345345
return cast<SILPhiArgument>(this)->getSingleTerminatorOperands(OutArray);
346346
}
347347

348348
inline bool SILArgument::getSingleTerminatorOperands(
349-
llvm::SmallVectorImpl<std::pair<SILBasicBlock *, SILValue>> &OutArray) {
349+
SmallVectorImpl<std::pair<SILBasicBlock *, SILValue>> &OutArray) {
350350
if (isa<SILFunctionArgument>(this))
351351
return false;
352352
return cast<SILPhiArgument>(this)->getSingleTerminatorOperands(OutArray);

0 commit comments

Comments
 (0)