diff --git a/lib/SILOptimizer/Utils/Generics.cpp b/lib/SILOptimizer/Utils/Generics.cpp index f091c19c0825f..39430a92e05b6 100644 --- a/lib/SILOptimizer/Utils/Generics.cpp +++ b/lib/SILOptimizer/Utils/Generics.cpp @@ -791,9 +791,9 @@ ReabstractionInfo::createSubstitutedType(SILFunction *OrigF, /// on the ReabstractionInfo. CanSILFunctionType ReabstractionInfo:: createSpecializedType(CanSILFunctionType SubstFTy, SILModule &M) const { - llvm::SmallVector SpecializedResults; - llvm::SmallVector SpecializedYields; - llvm::SmallVector SpecializedParams; + SmallVector SpecializedResults; + SmallVector SpecializedYields; + SmallVector SpecializedParams; unsigned IndirectResultIdx = 0; for (SILResultInfo RI : SubstFTy->getResults()) { @@ -918,7 +918,7 @@ static bool hasNonSelfContainedRequirements(ArchetypeType *Archetype, // we should return true. auto First = Req.getFirstType()->getCanonicalType(); auto Second = Req.getSecondType()->getCanonicalType(); - llvm::SmallSetVector UsedGenericParams; + SmallSetVector UsedGenericParams; First.visit([&](Type Ty) { if (auto *GP = Ty->getAs()) { UsedGenericParams.insert(GP); @@ -969,7 +969,7 @@ static void collectRequirements(ArchetypeType *Archetype, GenericSignature Sig, // we should return true. auto First = Req.getFirstType()->getCanonicalType(); auto Second = Req.getSecondType()->getCanonicalType(); - llvm::SmallSetVector UsedGenericParams; + SmallSetVector UsedGenericParams; First.visit([&](Type Ty) { if (auto *GP = Ty->getAs()) { UsedGenericParams.insert(GP); @@ -2310,7 +2310,7 @@ static bool createPrespecializations(ApplySite Apply, SILFunction *ProxyFunc, void swift::trySpecializeApplyOfGeneric( SILOptFunctionBuilder &FuncBuilder, ApplySite Apply, DeadInstructionSet &DeadApplies, - llvm::SmallVectorImpl &NewFunctions, + SmallVectorImpl &NewFunctions, OptRemark::Emitter &ORE) { assert(Apply.hasSubstitutions() && "Expected an apply with substitutions!"); auto *F = Apply.getFunction();