reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

usr/include/c++/7.4.0/type_traits
 2582     swap(_Tp&, _Tp&)

References

include/llvm/ADT/AllocatorList.h
  163     std::swap(getAlloc(), RHS.getAlloc());
include/llvm/ADT/BitVector.h
  757     std::swap(Bits, RHS.Bits);
  758     std::swap(Size, RHS.Size);
include/llvm/ADT/CachedHashString.h
  147     swap(LHS.P, RHS.P);
  148     swap(LHS.Size, RHS.Size);
  149     swap(LHS.Hash, RHS.Hash);
include/llvm/ADT/DenseMap.h
  731     std::swap(Buckets, RHS.Buckets);
  732     std::swap(NumEntries, RHS.NumEntries);
  733     std::swap(NumTombstones, RHS.NumTombstones);
  734     std::swap(NumBuckets, RHS.NumBuckets);
  906     std::swap(NumTombstones, RHS.NumTombstones);
  924           std::swap(*LHSB, *RHSB);
  928         std::swap(LHSB->getFirst(), RHSB->getFirst());
  940       std::swap(getLargeRep()->Buckets, RHS.getLargeRep()->Buckets);
  941       std::swap(getLargeRep()->NumBuckets, RHS.getLargeRep()->NumBuckets);
include/llvm/ADT/Hashing.h
  301     std::swap(h2, h0);
include/llvm/ADT/MapVector.h
   94     std::swap(Map, RHS.Map);
include/llvm/ADT/SmallBitVector.h
  626     std::swap(X, RHS.X);
include/llvm/ADT/SmallVector.h
  673     std::swap(this->BeginX, RHS.BeginX);
  674     std::swap(this->Size, RHS.Size);
  675     std::swap(this->Capacity, RHS.Capacity);
  687     std::swap((*this)[i], RHS[i]);
include/llvm/ADT/StringMap.h
  114     std::swap(TheTable, Other.TheTable);
  115     std::swap(NumBuckets, Other.NumBuckets);
  116     std::swap(NumItems, Other.NumItems);
  117     std::swap(NumTombstones, Other.NumTombstones);
  307     std::swap(Allocator, RHS.Allocator);
include/llvm/ADT/simple_ilist.h
  156   void swap(simple_ilist &X) { std::swap(*this, X); }
include/llvm/Analysis/MustExecute.h
  288       std::swap(Visited, Other.Visited);
  289       std::swap(CurInst, Other.CurInst);
include/llvm/DebugInfo/PDB/Native/HashTable.h
  324     std::swap(Present, NewMap.Present);
  325     std::swap(Deleted, NewMap.Deleted);
include/llvm/Demangle/ItaniumDemangle.h
 2286     std::swap(First, Other.First);
 2287     std::swap(Last, Other.Last);
 2288     std::swap(Cap, Other.Cap);
 4425     std::swap(Pack, Init);
include/llvm/ExecutionEngine/Orc/SymbolStringPool.h
   72     std::swap(S, Other.S);
   79     std::swap(S, Other.S);
include/llvm/Support/CFGUpdate.h
   78       std::swap(From, To); // Reverse edge for postdominators.
include/llvm/Support/GenericDomTree.h
  466       if (NodeA->getLevel() < NodeB->getLevel()) std::swap(NodeA, NodeB);
  644       std::swap(*RIt, Roots.back());
include/llvm/Support/GenericDomTreeConstruction.h
  537           std::swap(Root, Roots.back());
 1145     std::swap(*ChIt, IDom->Children.back());
 1625   if (DT.isPostDominator()) std::swap(From, To);
 1632   if (DT.isPostDominator()) std::swap(From, To);
include/llvm/Support/Parallel.h
  106   std::swap(*(End - 1), *Pivot);
  111   std::swap(*Pivot, *(End - 1));
include/llvm/Support/Regex.h
   53       std::swap(preg, regex.preg);
   54       std::swap(error, regex.error);
include/llvm/Transforms/Scalar/GVNExpression.h
  164     std::swap(Operands[First], Operands[Second]);
include/llvm/XRay/Profile.h
  110     swap(L.PathIDMap, R.PathIDMap);
  111     swap(L.NextID, R.NextID);
lib/Analysis/BasicAliasAnalysis.cpp
 1598         std::swap(Locs.first, Locs.second);
 1828     std::swap(Locs.first, Locs.second);
 1837     std::swap(V1, V2);
 1838     std::swap(V1Size, V2Size);
 1839     std::swap(O1, O2);
 1840     std::swap(V1AAInfo, V2AAInfo);
 1854     std::swap(V1, V2);
 1855     std::swap(O1, O2);
 1856     std::swap(V1Size, V2Size);
 1857     std::swap(V1AAInfo, V2AAInfo);
 1870     std::swap(V1, V2);
 1871     std::swap(O1, O2);
 1872     std::swap(V1Size, V2Size);
 1873     std::swap(V1AAInfo, V2AAInfo);
lib/Analysis/BranchProbabilityInfo.cpp
  424     std::swap(TakenIdx, NonTakenIdx);
  769     std::swap(TakenIdx, NonTakenIdx);
  812     std::swap(TakenIdx, NonTakenIdx);
lib/Analysis/InstructionSimplify.cpp
  410     std::swap(LHS, RHS);
  534     std::swap(LHS, RHS);
  569       std::swap(Op0, Op1);
 2989       std::swap(A, B);       // smax(A, B) pred A.
 2996       std::swap(A, B);       // A pred smax(A, B).
 3003       std::swap(A, B);       // smin(A, B) pred A.
 3011       std::swap(A, B);       // A pred smin(A, B).
 3063       std::swap(A, B);       // umax(A, B) pred A.
 3070       std::swap(A, B);       // A pred umax(A, B).
 3077       std::swap(A, B);       // umin(A, B) pred A.
 3085       std::swap(A, B);       // A pred umin(A, B).
 3192     std::swap(LHS, RHS);
 3487     std::swap(LHS, RHS);
 4407     std::swap(Op0, Op1);
lib/Analysis/LazyValueInfo.cpp
  485         std::swap(DT, DisabledDT);
  494         std::swap(DT, DisabledDT);
 1220     std::swap(LHS, RHS);
lib/Analysis/LoopAccessAnalysis.cpp
  215         std::swap(ScStart, ScEnd);
 1470     std::swap(APtr, BPtr);
 1471     std::swap(Src, Sink);
 1472     std::swap(AIsWrite, BIsWrite);
 1473     std::swap(AIdx, BIdx);
 1474     std::swap(StrideAPtr, StrideBPtr);
lib/Analysis/LoopInfo.cpp
  138     std::swap(Incoming, Backedge);
lib/Analysis/MemorySSA.cpp
  979     std::swap(DTN, RHS.DTN);
  980     std::swap(ChildIt, RHS.ChildIt);
  981     std::swap(IncomingVal, RHS.IncomingVal);
lib/Analysis/ScalarEvolution.cpp
  813       std::swap(LHS, RHS);
  836         std::swap(Ops[i+1], Ops[j]);
 5346     std::swap(LHS, RHS);
 5369     std::swap(LHS, RHS);
 7389     std::swap(LHS, RHS);
 8090             std::swap(C, C2);
 8921     std::swap(LHS, RHS);
 8932       std::swap(LHS, RHS);
 9281     std::swap(LHS, RHS);
 9378     std::swap(LHS, RHS);
 9392     std::swap(LHS, RHS);
 9750       std::swap(FoundLHS, FoundRHS);
 9753       std::swap(LHS, RHS);
10051     std::swap(LHS, RHS);
10052     std::swap(FoundLHS, FoundRHS);
10053     std::swap(LPhi, RPhi);
10185     std::swap(LHS, RHS);
10195     std::swap(LHS, RHS);
10226     std::swap(LHS, RHS);
10227     std::swap(FoundLHS, FoundRHS);
10363     std::swap(LHS, RHS);
10374     std::swap(LHS, RHS);
lib/Analysis/ScalarEvolutionExpander.cpp
  750       if (isa<Constant>(Sum)) std::swap(Sum, W);
  833       if (isa<Constant>(Prod)) std::swap(Prod, W);
 2032           std::swap(OrigPhiRef, Phi);
 2033           std::swap(OrigInc, IsomorphicInc);
lib/Analysis/ValueTracking.cpp
 2223         std::swap(Start, Induction);
 2327     std::swap(CLow, CHigh);
 4494     std::swap(TrueVal, FalseVal);
 4543     std::swap(TrueVal, FalseVal);
 4597       std::swap(CmpLHS, CmpRHS);
 4605       std::swap(CmpLHS, CmpRHS);
 4613       std::swap(CmpLHS, CmpRHS);
 4621       std::swap(CmpLHS, CmpRHS);
 4849     std::swap(CmpLHS, CmpRHS);
 4894         std::swap(LHS, RHS);
 4916         std::swap(LHS, RHS);
 5527           std::swap(Lower, Upper);
lib/CodeGen/CodeGenPrepare.cpp
 1294     std::swap(A, B);
 1304     std::swap(A, B);
 7255       std::swap(TBB, FBB);
lib/CodeGen/EarlyIfConversion.cpp
  442     std::swap(Succ0, Succ1);
lib/CodeGen/GlobalISel/IRTranslator.cpp
  631     std::swap(CB.TrueBB, CB.FalseBB);
  779         std::swap(*I, *W.LastCluster);
lib/CodeGen/GlobalISel/RegBankSelect.cpp
  154       std::swap(Src, Dst);
  266       std::swap(CurRegBank, DesiredRegBrank);
lib/CodeGen/IfConversion.cpp
  627     std::swap(BBI.TrueBB, BBI.FalseBB);
 1535     std::swap(CvtBBI, NextBBI);
 1621     std::swap(CvtBBI, NextBBI);
 1806     std::swap(BBI1, BBI2);
 1807     std::swap(Cond1, Cond2);
lib/CodeGen/InterleavedLoadCombinePass.cpp
  911         std::swap(LHS, RHS);
lib/CodeGen/LatencyPriorityQueue.cpp
  129     std::swap(*Best, Queue.back());
  139     std::swap(*I, Queue.back());
lib/CodeGen/LiveInterval.cpp
  433       std::swap(i, j);
  434       std::swap(ie, je);
  475       std::swap(I, J);
  476       std::swap(IE, JE);
  760     std::swap(V1, V2);
lib/CodeGen/MachineBlockPlacement.cpp
  973     std::swap(BestA, BestB);
lib/CodeGen/MachineLoopUtils.cpp
   83       std::swap(LoopRegIdx, InitRegIdx);
lib/CodeGen/MachinePipeliner.cpp
 2219     std::swap(SI, DI);
lib/CodeGen/MachineScheduler.cpp
 2896     std::swap(TryRank, CandRank);
lib/CodeGen/RegAllocPBQP.cpp
  491               std::swap(N1Id, N2Id);
  492               std::swap(Allowed1, Allowed2);
lib/CodeGen/RegisterCoalescer.cpp
  412     std::swap(Src, Dst);
  413     std::swap(SrcSub, DstSub);
  469       std::swap(Src, Dst);
  470       std::swap(SrcIdx, DstIdx);
  488   std::swap(SrcReg, DstReg);
  489   std::swap(SrcIdx, DstIdx);
  503     std::swap(Src, Dst);
  504     std::swap(SrcSub, DstSub);
 1767       std::swap(SrcIdx, DstIdx);
 1768       std::swap(SrcRC, DstRC);
lib/CodeGen/RegisterPressure.cpp
  688         std::swap(*J, PTmp);
lib/CodeGen/ScheduleDAG.cpp
  337     std::swap(*Preds.begin(), *BestI);
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 1216       std::swap(N0, N1);
 1217       std::swap(NN0, NN1);
 4518           std::swap(C0, C1);
 4540     std::swap(RL, RR);
 4899           std::swap(Op0, Op1);
 5340       std::swap(N0, N1);
 5342       std::swap(N0, N1);
 5367     std::swap(N0, N1);
 6203     std::swap(LHS, RHS);
 6204     std::swap(LHSShift, RHSShift);
 6205     std::swap(LHSMask, RHSMask);
 6811       std::swap(Xor0, Xor1);
10869     std::swap(LD1, LD2);
11371       std::swap(N0, N1);
12276       std::swap(Select, X);
12295         std::swap(TrueOpnd, FalseOpnd);
13547     std::swap(BasePtr, Offset);
13625     std::swap(BasePtr, Offset);
13668     std::swap(BasePtr, Offset);
16101         std::swap(Lo, Hi);
16434     std::swap(Op1, Op2);
18782     std::swap(Op0, Op1);
19048           std::swap(SV0, SV1);
20104       std::swap(N2C, N3C);
20151       std::swap(ValueOnZero, Count);
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
  465           std::swap(Lo, Hi);
 1647       std::swap(LHS, RHS);
 1664         std::swap(LHS, RHS);
 2369       std::swap(Hi, Lo);
 3607         std::swap(Tmp3, Tmp4);
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
  326         std::swap(Lo, Hi);
 1979       std::swap(InL, InH);
 1991       std::swap(Hi, Lo);
 3763       std::swap(LHSLo, RHSLo);
 3764       std::swap(LHSHi, RHSHi);
 4031       std::swap(Zero, Four);
lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp
   67         std::swap(Lo, Hi);
   75         std::swap(Lo, Hi);
   92         std::swap(Lo, Hi);
  135           std::swap(LHS, RHS);
  146         std::swap(Lo, Hi);
  183     std::swap(Lo, Hi);
  242     std::swap(Lo, Hi);
  279     std::swap(Lo, Hi);
  300     std::swap(Lo, Hi);
  323       std::swap(Parts[0], Parts[1]);
  388       std::swap(Lo, Hi);
  428     std::swap(Lo, Hi);
  476     std::swap(Lo, Hi);
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
 1085         std::swap(Lo, Hi);
 1104     std::swap(LoIntVT, HiIntVT);
 1109     std::swap(Lo, Hi);
 2192     std::swap(Lo, Hi);
lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp
  610     std::swap(*Best, Queue.back());
  622     std::swap(*I, Queue.back());
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
 1813       std::swap(*I, Queue.back());
 1847     std::swap(*Best, Q.back());
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 1565   std::swap(N1, N2);
 3282         std::swap(CstLow, CstHigh);
 3614         std::swap(CstLow, CstHigh);
 5046       std::swap(N1C, N2C);
 5047       std::swap(N1, N2);
 5049       std::swap(N1CFP, N2CFP);
 5050       std::swap(N1, N2);
 5372       std::swap(N1, N2);
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  240         std::swap(Lo, Hi);
  254           std::swap(Lo, Hi);
  272         std::swap(Lo, Hi);
 2384     std::swap(CB.TrueBB, CB.FalseBB);
10129         std::swap(*I, *W.LastCluster);
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 2670     std::swap(N0, N1);
 2786     std::swap(N0, N1);
 2990     std::swap(X, Mask);
lib/CodeGen/TargetInstrInfo.cpp
  698     std::swap(MI1, MI2);
lib/CodeGen/TargetRegisterInfo.cpp
  300     std::swap(RCA, RCB);
  301     std::swap(SubA, SubB);
  302     std::swap(BestPreA, BestPreB);
  361     std::swap(DefSubReg, SrcSubReg);
  362     std::swap(DefRC, SrcRC);
lib/CodeGen/VirtRegMap.cpp
  438             std::swap(MIs[I], MIs[E - 1]);
lib/Demangle/ItaniumDemangle.cpp
  383   std::swap(RootNode, Other.RootNode);
  384   std::swap(Context, Other.Context);
lib/Demangle/MicrosoftDemangle.cpp
  988   std::swap(OuterContext, Backrefs);
  995   std::swap(OuterContext, Backrefs);
lib/ExecutionEngine/MCJIT/MCJIT.cpp
  645     std::swap(*I, EventListeners.back());
lib/ExecutionEngine/Orc/OrcCBindingsStack.h
  441       std::swap(*I, EventListeners.back());
lib/IR/AutoUpgrade.cpp
 1082     std::swap(Args[0], Args[1]);
 1186     std::swap(Op0, Op1);
 3205         std::swap(Even, Odd);
 3252           std::swap(Even, Odd);
lib/MC/StringTableBuilder.cpp
  103       std::swap(Vec[I++], Vec[K++]);
  105       std::swap(Vec[--J], Vec[K]);
lib/MCA/HardwareUnits/Scheduler.cpp
  213   std::swap(ReadySet[QueueIndex], ReadySet[ReadySet.size() - 1]);
lib/Support/KnownBits.cpp
   63     std::swap(RHS.Zero, RHS.One);
lib/Support/SmallPtrSet.cpp
  218     std::swap(this->CurArray, RHS.CurArray);
  219     std::swap(this->CurArraySize, RHS.CurArraySize);
  220     std::swap(this->NumNonEmpty, RHS.NumNonEmpty);
  221     std::swap(this->NumTombstones, RHS.NumTombstones);
  232     std::swap(RHS.CurArraySize, this->CurArraySize);
  233     std::swap(this->NumNonEmpty, RHS.NumNonEmpty);
  234     std::swap(this->NumTombstones, RHS.NumTombstones);
  246     std::swap(RHS.CurArraySize, this->CurArraySize);
  247     std::swap(RHS.NumNonEmpty, this->NumNonEmpty);
  248     std::swap(RHS.NumTombstones, this->NumTombstones);
  268   std::swap(this->NumNonEmpty, RHS.NumNonEmpty);
  269   std::swap(this->NumTombstones, RHS.NumTombstones);
lib/Support/Triple.cpp
  886         std::swap(CurrentComponent, Components[Idx]);
  895           std::swap(CurrentComponent, Components[i]);
  907             std::swap(CurrentComponent, Components[i]);
lib/Target/AArch64/AArch64ConditionalCompares.cpp
  449     std::swap(Succ0, Succ1);
lib/Target/AArch64/AArch64ExpandImm.cpp
  184     std::swap(StartIdx, EndIdx);
  185     std::swap(Outside, Inside);
lib/Target/AArch64/AArch64FalkorHWPFFix.cpp
  793             std::swap(OldCollisions[I], OldCollisions[E - 1]);
lib/Target/AArch64/AArch64FastISel.cpp
  686       std::swap(LHS, RHS);
  764             std::swap(LHS, RHS);
  799         std::swap(LHS, RHS);
  859         std::swap(LHS, RHS);
 1188     std::swap(LHS, RHS);
 1193       std::swap(LHS, RHS);
 1202           std::swap(LHS, RHS);
 1259           std::swap(MulLHS, MulRHS);
 1611     std::swap(LHS, RHS);
 1616       std::swap(LHS, RHS);
 1622         std::swap(LHS, RHS);
 1645           std::swap(MulLHS, MulRHS);
 2321     std::swap(TBB, FBB);
 2333       std::swap(LHS, RHS);
 2345             std::swap(AndLHS, AndRHS);
 2452         std::swap(TBB, FBB);
 2534     std::swap(TBB, FBB);
 3408     std::swap(LHS, RHS);
 3700       std::swap(LHS, RHS);
 4690       std::swap(Src0, Src1);
lib/Target/AArch64/AArch64FrameLowering.cpp
 2043       std::swap(Reg1, Reg2);
 2044       std::swap(FrameIdxReg1, FrameIdxReg2);
 2132       std::swap(Reg1, Reg2);
 2133       std::swap(FrameIdxReg1, FrameIdxReg2);
lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
  530     std::swap(Op0, Op1);
  552     std::swap(Op0, Op1);
 2408       std::swap(And0, And1);
 2409       std::swap(Mask0Imm, Mask1Imm);
lib/Target/AArch64/AArch64ISelLowering.cpp
 1872     std::swap(LHS, RHS);
 1873     std::swap(CanNegateL, CanNegateR);
 1874     std::swap(MustBeFirstL, MustBeFirstR);
 1887       std::swap(LHS, RHS);
 2043       std::swap(LHS, RHS);
 2260     std::swap(Sel, Other);
 2291     std::swap(TVal, FVal);
 2292     std::swap(CTVal, CFVal);
 2779         std::swap(N0, N1);
 5052       std::swap(TVal, FVal);
 5053       std::swap(CTVal, CFVal);
 5056       std::swap(TVal, FVal);
 5057       std::swap(CTVal, CFVal);
 5063         std::swap(TVal, FVal);
 5064         std::swap(CTVal, CFVal);
 5071         std::swap(TVal, FVal);
 5072         std::swap(CTVal, CFVal);
 5114         std::swap(TVal, FVal);
 5115         std::swap(CTVal, CFVal);
 6985       std::swap(V1, V2);
 9760     std::swap(LHS, RHS);
 9761     std::swap(ShiftLHS, ShiftRHS);
10225     std::swap(TValue, FValue);
10254     std::swap(LHS, RHS);
11435     std::swap(LHS, RHS);
11975     std::swap (VLo, VHi);
12029       std::swap(SubReg1, SubReg2);
lib/Target/AArch64/AArch64InstructionSelector.cpp
  967     std::swap(RHS, LHS);
 2664     std::swap(SrcReg, Src2Reg);
 4230     std::swap(OffsetReg, ConstantReg);
lib/Target/AArch64/AArch64PBQPRegAlloc.cpp
  207     std::swap(node1, node2);
  208     std::swap(vRdAllowed, vRaAllowed);
  284         std::swap(node1, node2);
  285         std::swap(vRdAllowed, vRrAllowed);
lib/Target/AArch64/AArch64RedundantCopyElimination.cpp
  436         std::swap(KnownRegs[RI], KnownRegs[KnownRegs.size() - 1]);
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
 3498     std::swap(LHS, RHS);
 3529         std::swap(NewLHS, NewRHS);
lib/Target/AMDGPU/AMDILCFGStructurizer.cpp
  971     std::swap(TrueMBB, FalseMBB);
lib/Target/AMDGPU/GCNRegPressure.cpp
  106     std::swap(NewMask, PrevMask);
lib/Target/AMDGPU/R600ISelLowering.cpp
  978       std::swap(False, True);
  983         std::swap(False, True);
  984         std::swap(LHS, RHS);
 1012       std::swap(LHS, RHS);
 1019         std::swap(True, False);
 1020         std::swap(LHS, RHS);
 1767       std::swap(NewBldVec[Idx], NewBldVec[i]);
 1768       std::swap(RemapSwizzle[i], RemapSwizzle[Idx]);
lib/Target/AMDGPU/SIFoldOperands.cpp
 1024     std::swap(Src0, Src1);
 1025     std::swap(Src0Idx, Src1Idx);
lib/Target/AMDGPU/SIISelLowering.cpp
 8331     std::swap(LHS, RHS);
 8357       std::swap(LHS, RHS);
 8373         std::swap(LHSMask, RHSMask);
 8374         std::swap(LHS, RHS);
 8470         std::swap(LHSMask, RHSMask);
 8471         std::swap(LHS, RHS);
 8510     std::swap(LHS, RHS);
 9226       std::swap(Src0, Src1);
 9229       std::swap(Src1, Src2);
 9232       std::swap(Src0, Src1);
 9446     std::swap(Op0, Op1);
 9457     std::swap(Op1, Op2);
 9493       std::swap(LHS, RHS);
 9530     std::swap(RHS, LHS);
 9783       std::swap(LHS, RHS);
lib/Target/AMDGPU/SIInstrInfo.cpp
 2164     std::swap(TrueReg, FalseReg);
lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
  892     std::swap(NewOffset0, NewOffset1);
  893     std::swap(SubRegIdx0, SubRegIdx1);
  990     std::swap(NewOffset0, NewOffset1);
  991     std::swap(Data0, Data1);
 1500     std::swap(Src0, Src1);
lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp
  233     std::swap(Op1, Op2);
lib/Target/AMDGPU/SIShrinkInstructions.cpp
  638             std::swap(Src0, Src1);
lib/Target/ARC/ARCOptAddrMode.cpp
  236                if (MDT->dominates(Last, First)) std::swap(First, Last);
  271     std::swap(First, Last);
lib/Target/ARM/ARMCallLowering.cpp
  164       std::swap(NewRegs[0], NewRegs[1]);
  390       std::swap(NewRegs[0], NewRegs[1]);
lib/Target/ARM/ARMFastISel.cpp
 1252         std::swap(TBB, FBB);
 1284         std::swap(TBB, FBB);
 1322     std::swap(TBB, FBB);
lib/Target/ARM/ARMISelDAGToDAG.cpp
  372         std::swap(N0, N1);
 1394       std::swap(Base, OffReg);
lib/Target/ARM/ARMISelLowering.cpp
 1962         std::swap (Lo, Hi);
 1979           std::swap (Lo, Hi);
 3865     std::swap (ArgValue, ArgValue2);
 4225     std::swap(LHS, RHS);
 4938       std::swap(TrueVal, FalseVal);
 4939       std::swap(TVal, FVal);
 4948         std::swap(TrueVal, FalseVal);
 4949         std::swap(TVal, FVal);
 4957         std::swap(TrueVal, FalseVal);
 4958         std::swap(TVal, FVal);
 5004         std::swap(TrueVal, FalseVal);
 5036         std::swap(LHS, RHS);
 5038         std::swap(TrueVal, FalseVal);
 6304     std::swap(Op0, Op1);
 6533           std::swap(Lo, Hi);
 7850         std::swap(V1, V2);
 8452         std::swap(N0, N1);
 9059     std::swap (VLo, VHi);
10574       std::swap(destMBB, exitMBB);
10926     std::swap(TrueVal, FalseVal);
11807     std::swap(N0, N1);
12606       std::swap (NewLD1, NewLD2);
13979     std::swap(Op0, Op1);
15367       std::swap(Base, Offset);
15953     std::swap(Args[0], Args[1]);
16626       std::swap (Lo, Hi);
16668       std::swap(Lo, Hi);
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
 6492       std::swap(Op4, Op5);
lib/Target/AVR/AVRISelLowering.cpp
  455     std::swap(LHS, RHS);
  488     std::swap(LHS, RHS);
  516     std::swap(LHS, RHS);
  529     std::swap(LHS, RHS);
lib/Target/BPF/BPFISelLowering.cpp
  493     std::swap(LHS, RHS);
lib/Target/Hexagon/HexagonConstExtenders.cpp
   68         std::swap(*this, A);
lib/Target/Hexagon/HexagonHardwareLoops.cpp
  583     std::swap(Incoming, Backedge);
  843     std::swap(Start, End);
lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
 2165       std::swap(V0, V1);
 2166       std::swap(V0C, V1C);
lib/Target/Hexagon/HexagonISelLowering.cpp
 1940     std::swap(Op0, Op1);
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
 1748         std::swap(And0, And1);
lib/Target/Lanai/LanaiISelLowering.cpp
 1436     std::swap(TrueVal, FalseVal);
lib/Target/MSP430/MSP430ISelLowering.cpp
 1041       std::swap(LHS, RHS);
 1048       std::swap(LHS, RHS);
 1051     std::swap(LHS, RHS);
 1065     std::swap(LHS, RHS);
 1079     std::swap(LHS, RHS);
 1093     std::swap(LHS, RHS);
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
 4260     std::swap(FirstOffset, SecondOffset);
 4310     std::swap(FirstOffset, SecondOffset);
 4351     std::swap(LxlOffset, LxrOffset);
 4370     std::swap(DstReg, TmpReg);
 5121     std::swap(FirstReg, SecondReg);
lib/Target/Mips/MipsFastISel.cpp
  300     std::swap(LHS, RHS);
lib/Target/Mips/MipsISelLowering.cpp
 3167             std::swap(Lo, Hi);
 3546           std::swap(ArgValue, ArgValue2);
lib/Target/Mips/MipsSEFrameLowering.cpp
  325       std::swap(LoReg, HiReg);
  469           std::swap(Reg0, Reg1);
  485           std::swap(Reg0, Reg1);
lib/Target/Mips/MipsSEISelLowering.cpp
 1195     std::swap(Lo, Hi);
 1218     std::swap(Lo, Hi);
 1399       std::swap(LaneA, LaneB);
 1447     std::swap(SplatValueA, SplatValueB);
 1481         std::swap(BitImmLoOp, BitImmHiOp);
lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
 3389       std::swap(LHS, RHS);
 3456         std::swap(AndLHS, AndRHS);
lib/Target/NVPTX/NVPTXISelLowering.cpp
 4475     std::swap(Val, Mask);
 4657       std::swap(LHS, RHS);
lib/Target/PowerPC/PPCFastISel.cpp
  786         std::swap(TBB, FBB);
 1364     std::swap(SrcReg1, SrcReg2);
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
  560     std::swap(TProb, FProb);
  739           std::swap(Op0, Op1);
  740           std::swap(Op0Opc, Op1Opc);
  741           std::swap(TargetMask, InsertMask);
  747         std::swap(Op0, Op1);
  748         std::swap(Op0Opc, Op1Opc);
  749         std::swap(TargetMask, InsertMask);
 2934     std::swap(LHS, RHS);
 2984     std::swap(LHS, RHS);
 3022     std::swap(LHS, RHS);
 3042     std::swap(LHS, RHS);
 3118     std::swap(LHS, RHS);
 3163     std::swap(LHS, RHS);
 3195     std::swap(LHS, RHS);
 3215     std::swap(LHS, RHS);
 3276     std::swap(LHS, RHS);
 3318     std::swap(LHS, RHS);
 3354     std::swap(LHS, RHS);
 3371     std::swap(LHS, RHS);
 3435     std::swap(LHS, RHS);
 3478     std::swap(LHS, RHS);
 3517     std::swap(LHS, RHS);
 3534     std::swap(LHS, RHS);
 4112       std::swap(LHS, RHS);
 4271       std::swap(InnerLHS, InnerRHS);
 4825           std::swap(LHS, RHS);
 4972         std::swap(Op1, Op2);
lib/Target/PowerPC/PPCISelLowering.cpp
 2599       std::swap(Base, Offset);
 3539           std::swap (ArgValueLo, ArgValueHi);
 5184         std::swap (Lo, Hi);
 6104             std::swap(Lo, Hi);
 7271       std::swap(TV, FV);
 7283       std::swap(TV, FV);  // fsel is natively setge, swap operands for setlt
 7292       std::swap(TV, FV);  // fsel is natively setge, swap operands for setlt
 7306     std::swap(TV, FV);
 8751     std::swap(V1, V2);
 8857     std::swap(V1, V2);
 8934       std::swap(V1, V2);
 8961       std::swap(V1, V2);
 8974       std::swap(V1, V2);
 9035         std::swap(V1, V2);
11954     std::swap(Op0, Op1);
12592       std::swap(LHS, RHS);
13547         std::swap(Trunc, RightShift);
13576         std::swap(Bitcast, Bitcast2);
15213     std::swap(LHS, RHS);
15550     std::swap(TrueOpnd, FalseOpnd);
lib/Target/PowerPC/PPCLoopPreIncPrep.cpp
  320     std::swap(BucketChain.Elements[j], BucketChain.Elements[0]);
lib/Target/PowerPC/PPCMIPeephole.cpp
  754           std::swap(Op1, Op2);
 1005       std::swap(Pred1MBB, Pred2MBB);
lib/Target/RISCV/RISCVISelLowering.cpp
  341     std::swap(LHS, RHS);
lib/Target/Sparc/SparcISelLowering.cpp
  440           std::swap(LoVal, HiVal);
  496         std::swap(LoVal, HiVal);
 3071     std::swap(Lo, Hi);
lib/Target/SystemZ/SystemZISelLowering.cpp
 2527     std::swap(C.Op0, C.Op1);
 6597       std::swap(TrueReg, FalseReg);
lib/Target/SystemZ/SystemZPostRewrite.cpp
  141     std::swap(Src1Reg, Src2Reg);
  142     std::swap(Src1IsHigh, Src2IsHigh);
lib/Target/WebAssembly/WebAssemblyFastISel.cpp
  338       std::swap(LHS, RHS);
  904     std::swap(TrueReg, FalseReg);
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
  700     std::swap(Outs[0], Outs[1]);
  701     std::swap(OutVals[0], OutVals[1]);
lib/Target/X86/AsmParser/X86AsmParser.cpp
 1917     std::swap(BaseReg, IndexReg);
 1928     std::swap(BaseReg, IndexReg);
 1943     std::swap(BaseReg, IndexReg);
lib/Target/X86/X86CmovConversion.cpp
  662     std::swap(CC, OppCC);
  821       std::swap(Op1Reg, Op2Reg);
lib/Target/X86/X86CondBrFolding.cpp
  546     std::swap(TBB, FBB);
lib/Target/X86/X86FastISel.cpp
 1507     std::swap(LHS, RHS);
 1662         std::swap(TrueMBB, FalseMBB);
 1675         std::swap(TrueMBB, FalseMBB);
 1688         std::swap(CmpLHS, CmpRHS);
 1730           std::swap(TrueMBB, FalseMBB);
 2060       std::swap(CmpLHS, CmpRHS);
 2179     std::swap(CmpLHS, CmpRHS);
 2313       std::swap(CmpLHS, CmpRHS);
 2886       std::swap(LHS, RHS);
lib/Target/X86/X86FixupLEAs.cpp
  391       std::swap(BaseReg, IndexReg);
  579       std::swap(BaseReg, IndexReg);
lib/Target/X86/X86FloatingPoint.cpp
  232       std::swap(RegMap[RegNo], RegMap[RegOnTop]);
  237       std::swap(Stack[RegMap[RegOnTop]], Stack[StackTop-1]);
  905     std::swap(Stack[getSlot(KReg)], Stack[getSlot(DReg)]);
  906     std::swap(RegMap[KReg], RegMap[DReg]);
lib/Target/X86/X86ISelDAGToDAG.cpp
 3344       std::swap(X, Mask);
 4126     std::swap(SetccOp0, SetccOp1);
 4173         std::swap(Src0, Src1);
 4211           std::swap(Src0, Src1);
 4320     std::swap(N0, N1);
 4661         std::swap(N0, N1);
 4743         std::swap(N0, N1);
lib/Target/X86/X86ISelLowering.cpp
 4719     std::swap(LHS, RHS);
 4728     std::swap(LHS, RHS);
 8825       std::swap(Op0, Op1);
10689       std::swap(V1, V2);
10696       std::swap(V1, V2);
10786     std::swap(V1, V2);
11128       std::swap(V1, V2);
13110         std::swap(LowV, HighV);
13598           std::swap(PSHUFHalfMask[FixFreeIdx % 4], PSHUFHalfMask[FixIdx % 4]);
14988     std::swap(LaneSrcs[Lane][0], LaneSrcs[Lane][1]);
15162       std::swap(Op0, Op1);
15504     std::swap(V1, V2);
17155     std::swap(V1, V2);
17893       std::swap(GlobalOffset, Offset);
18293       std::swap(Op0, Op1);
18315     std::swap(Op0, Op1);
19693     std::swap(LExtIndex, RExtIndex);
20376     std::swap(Op0, Op1);
20482     std::swap(Op0, Op1);
20533     std::swap(Op0, Op1);
20615     std::swap(Op0, Op1);
20855     std::swap(Op0, Op1);
29692       std::swap(Op1Reg, Op2Reg);
32089       std::swap(V1, V2);
33227       std::swap(Ops[0], Ops[1]);
33598           std::swap(N10, N11);
33914     std::swap(FMAdd, FMSub);
36583       std::swap(LHS, RHS);
36702       std::swap(TrueC, FalseC);
36857           std::swap(LHS, RHS);
36872         std::swap(LHS, RHS);
36897           std::swap(LHS, RHS);
36904         std::swap(LHS, RHS);
36926           std::swap(LHS, RHS);
36940         std::swap(LHS, RHS);
36963           std::swap(LHS, RHS);
36970         std::swap(LHS, RHS);
37185         std::swap(CondLHS, CondRHS);
37610         std::swap(TrueC, FalseC);
37611         std::swap(TrueOp, FalseOp);
37711         std::swap(TrueOp, FalseOp);
37746         std::swap(FalseOp, TrueOp);
37771       std::swap(Add, Const);
38183       std::swap(MulAmt1, MulAmt2);
39346     std::swap(N0, N1);
39424     std::swap(SubOp1, SubOp2);
39577       std::swap(LHS, RHS);
39661     std::swap(N0, N1);
39701     std::swap(Op0, Op1);
39702     std::swap(ShAmt0, ShAmt1);
39703     std::swap(ShMsk0, ShMsk1);
39709       std::swap(Op0, Op1);
40172     std::swap(Operands[0], Operands[1]);
40183     std::swap(Operands[i], Operands[2]);
40860     std::swap(C, D);
41254     std::swap(N00, N01);
41256     std::swap(N10, N11);
41317       std::swap(IdxN00, IdxN10);
41318       std::swap(IdxN01, IdxN11);
41469     std::swap(Op0, Op1);
42848       std::swap(LHS, RHS);
43544     std::swap(X, Y);
43558     std::swap(X, Y);
43785     std::swap(AbsOp, OtherOp);
43886       std::swap(Idx0L, Idx1L);
43888       std::swap(Idx0H, Idx1H);
43891       std::swap(Idx0L, Idx0H);
43892       std::swap(Idx1L, Idx1H);
44017       std::swap(IdxN00, IdxN10);
44018       std::swap(IdxN01, IdxN11);
44036       std::swap(N00In, N01In);
44038       std::swap(N10In, N11In);
lib/Target/X86/X86InstrInfo.cpp
 1340     std::swap(SrcOpIdx1, SrcOpIdx2);
lib/Target/X86/X86InstructionSelector.cpp
  950     std::swap(LHS, RHS);
 1062     std::swap(LhsReg, RhsReg);
lib/Transforms/Coroutines/CoroSplit.cpp
 1147       std::swap(S[I], S[N]);
lib/Transforms/Coroutines/Coroutines.cpp
  316             std::swap(CoroEnds.front(), CoroEnds.back());
  481     std::swap(CoroSuspends[FinalSuspendIndex], CoroSuspends.back());
lib/Transforms/IPO/WholeProgramDevirt.cpp
 1504     std::swap(B.Before.Bytes[I], B.Before.Bytes[Size - 1 - I]);
lib/Transforms/InstCombine/InstCombineAddSub.cpp
  783     std::swap(LHS, RHS);
  788       std::swap(X, RHS);
  811     std::swap(LHS, RHS);
 1171     std::swap(SignExtendingValue, Zero);
 1957         std::swap(LHS, RHS);
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  827     std::swap(C1, C2);
  844     std::swap(C1, C2);
  881       std::swap(C, D);
  883       std::swap(A, B);
 1027     std::swap(Cmp0, Cmp1);
 1029     std::swap(Cmp0, Cmp1);
 1080         std::swap(NonZero, Other);
 1277     std::swap(LHS, RHS);
 1278     std::swap(LHSC, RHSC);
 1279     std::swap(PredL, PredR);
 1368     std::swap(RHS0, RHS1);
 1424     std::swap(Op0, Op1);
 1438     std::swap(BO10, BO11);
 2369     std::swap(LHS, RHS);
 2370     std::swap(LHSC, RHSC);
 2371     std::swap(PredL, PredR);
 2598     std::swap(Op0, Op1);
 2637     std::swap(Op0, Op1);
 2955     std::swap(X, Y);
 3221     std::swap(Op0, Op1);
lib/Transforms/InstCombine/InstCombineCalls.cpp
 2603       std::swap(Arg0, Arg1);
 2616         std::swap(A, B);
 3281       std::swap(Arg0, Arg1);
 3627       std::swap(Src0, Src1);
 3632       std::swap(Src1, Src2);
 3637       std::swap(Src0, Src1);
lib/Transforms/InstCombine/InstCombineCompares.cpp
 2641     std::swap(EqualVal, UnequalVal);
 2653     std::swap(LHS2, RHS2);
 2668     std::swap(Less, Greater);
 3486     std::swap(XShift, YShift);
 4045     std::swap(Op0, X);
 4474     std::swap(LHS, RHS);
 5268     std::swap(A, B);
 5276     std::swap(A, B);
 5284     std::swap(A, B);
 5292     std::swap(A, B);
 5390     std::swap(Op0, Op1);
lib/Transforms/InstCombine/InstCombineSelect.cpp
  560     std::swap(TrueVal, FalseVal);
  691     std::swap(TrueVal, FalseVal);
  700     std::swap(A, B);
  752     std::swap(TVal, FVal);
  753     std::swap(Cmp0, Cmp1);
  761     std::swap(Cmp0, Cmp1);
  811     std::swap(TrueVal, FalseVal);
  855     std::swap(Count, ValueOnZero);
  969   std::swap(FalseVal, TrueVal);
 1145     std::swap(TrueVal, FalseVal);
 1211     std::swap(X, Sel1);
 1275     std::swap(ReplacementLow, ReplacementHigh);
 1716         std::swap(NewTrueOp, NewFalseOp);
 1768       std::swap(X, TruncCVal);
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
 1813   std::swap(V0, V1);
lib/Transforms/InstCombine/InstructionCombining.cpp
  560         std::swap(C, D);
  579         std::swap(C, D);
  846     std::swap(Op0, Op1);
  920     std::swap(Op0, Op1);
 1572     std::swap(Op0, Op1);
 1599     std::swap(X, Y);
lib/Transforms/Instrumentation/ControlHeightReduction.cpp
  677     std::swap(IfThen, IfElse);
  678     std::swap(ThenProb, ElseProb);
 1906     std::swap(IfThen, IfElse);
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
 1112     std::swap(Key.first, Key.second);
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
  837           std::swap(A0, A1);
lib/Transforms/ObjCARC/ProvenanceAnalysis.cpp
  175   if (A > B) std::swap(A, B);
lib/Transforms/ObjCARC/PtrState.cpp
   68     std::swap(A, B);
lib/Transforms/Scalar/AlignmentFromAssumptions.cpp
  217     std::swap(CmpLHS, CmpRHS);
  232     std::swap(AndLHS, AndRHS);
  233     std::swap(AndLHSSCEV, AndRHSSCEV);
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  137   if (!CI->isOne()) std::swap(ReplaceWith, Other);
lib/Transforms/Scalar/EarlyCSE.cpp
  151     std::swap(A, B);
  172       std::swap(LHS, RHS);
  187       std::swap(LHS, RHS);
  205         std::swap(A, B);
  225       std::swap(A, B);
lib/Transforms/Scalar/GVN.cpp
  286       std::swap(e.varargs[0], e.varargs[1]);
  294       std::swap(e.varargs[0], e.varargs[1]);
  320     std::swap(e.varargs[0], e.varargs[1]);
 1466         std::swap(CmpLHS, CmpRHS);
 1468         std::swap(CmpLHS, CmpRHS);
 1476           std::swap(CmpLHS, CmpRHS);
 1675       std::swap(Exp.varargs[0], Exp.varargs[1]);
 1799       std::swap(LHS, RHS);
 1813         std::swap(LHS, RHS);
lib/Transforms/Scalar/GuardWidening.cpp
  638     std::swap(CmpLHS, CmpRHS);
lib/Transforms/Scalar/IndVarSimplify.cpp
 1292     std::swap(lhs, rhs);
 2098     std::swap(LHS, RHS);
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
  292     std::swap(LHS, RHS);
  303     std::swap(LHS, RHS);
  320     std::swap(LHS, RHS);
  805       std::swap(LeftSCEV, RightSCEV);
  806       std::swap(LeftValue, RightValue);
lib/Transforms/Scalar/InstSimplifyPass.cpp
   73     std::swap(ToSimplify, Next);
lib/Transforms/Scalar/LoopDeletion.cpp
  112       std::swap(Taken, NotTaken);
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
 1239     std::swap(TrueSucc, FalseSucc);
 1827       std::swap(Opnd0, Opnd1);
 1966     std::swap(CmpLoop.HeaderBrEqualBB, CmpLoop.HeaderBrUnequalBB);
 1969     std::swap(CmpLoop.LatchBrFinishBB, CmpLoop.LatchBrContinueBB);
lib/Transforms/Scalar/LoopInstSimplify.cpp
  167     std::swap(Next, ToSimplify);
lib/Transforms/Scalar/LoopInterchange.cpp
  537       std::swap(LoopList[i - 1], LoopList[i]);
lib/Transforms/Scalar/LoopLoadElimination.cpp
  205         std::swap(Source, Destination);
lib/Transforms/Scalar/LoopPredication.cpp
  377     std::swap(LHS, RHS);
  378     std::swap(LHSS, RHSS);
lib/Transforms/Scalar/LoopStrengthReduce.cpp
  521       std::swap(ScaledReg, *I);
  564     std::swap(S, BaseRegs.back());
 1569     std::swap(F, Formulae.back());
 2602     std::swap(LU, Uses.back());
 4378           std::swap(F, Best);
 4648         std::swap(F, Best);
 4793       std::swap(LU.Formulae[MinIdx], LU.Formulae[0]);
lib/Transforms/Scalar/LoopUnswitch.cpp
  948     std::swap(TrueDest, FalseDest);
lib/Transforms/Scalar/MergeICmps.cpp
  194     if (Rhs_ < Lhs_) std::swap(Rhs_, Lhs_);
lib/Transforms/Scalar/NewGVN.cpp
 1051       std::swap(Arg1, Arg2);
 1586     std::swap(FirstOp, SecondOp);
 1844     std::swap(Op0, Op1);
 1911         std::swap(BranchOp0, BranchOp1);
lib/Transforms/Scalar/Reassociate.cpp
  129       std::swap(V0, V1);
 1258       std::swap(Opnd1, Opnd2);
 2291           std::swap(Op0, Op1);
 2367             std::swap(Op0, Op1);
lib/Transforms/Scalar/SCCP.cpp
 1235         std::swap(CmpOp0, CmpOp1);
lib/Transforms/Scalar/SROA.cpp
 3026       std::swap(SrcPtr, DstPtr);
 3027       std::swap(SrcAlign, DstAlign);
lib/Transforms/Utils/BasicBlockUtils.cpp
  922     std::swap(Pred1, Pred2);
  923     std::swap(Pred1Br, Pred2Br);
lib/Transforms/Utils/Local.cpp
  199           std::swap(Weights[idx+1], Weights.back());
lib/Transforms/Utils/LoopRotationUtils.cpp
  284     std::swap(Exit, NewHeader);
lib/Transforms/Utils/LoopUnrollPeel.cpp
  206         std::swap(LeftSCEV, RightSCEV);
lib/Transforms/Utils/SimplifyCFG.cpp
  759     std::swap(V1, V2);
  984       std::swap(Weights.front(), Weights.back());
 1072             std::swap(PredCases[i], PredCases.back());
 1077               std::swap(Weights[i + 1], Weights.back());
 1129               std::swap(Weights[i + 1], Weights.back());
 1133             std::swap(PredCases[i], PredCases.back());
 2097       std::swap(TrueV, FalseV);
 2131       std::swap(TrueV, FalseV);
 2355       std::swap(V0, V1);
 3155     std::swap(PFB, PTB);
 3159     std::swap(QFB, QTB);
 3659     std::swap(DefaultCst, NewCst);
 3737     std::swap(DefaultBB, EdgeBB);
lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
  427     std::swap(OpA, OpB);
lib/Transforms/Vectorize/SLPVectorizer.cpp
  746       std::swap(OpsVec[OpIdx1][Lane], OpsVec[OpIdx2][Lane]);
 2554             std::swap(LHS, RHS);
tools/clang/include/clang/AST/ASTVector.h
   69     swap(Begin, O.Begin);
   70     swap(End, O.End);
   71     swap(Capacity, O.Capacity);
tools/clang/include/clang/AST/LexicallyOrderedRecursiveASTVisitor.h
  136       std::swap(Children[0], Children[1]);
tools/clang/include/clang/Basic/Linkage.h
  122     std::swap(L1, L2);
tools/clang/include/clang/Basic/PartialDiagnostic.h
  264     std::swap(DiagID, PD.DiagID);
  265     std::swap(DiagStorage, PD.DiagStorage);
  266     std::swap(Allocator, PD.Allocator);
tools/clang/lib/AST/APValue.cpp
  374   std::swap(Kind, RHS.Kind);
tools/clang/lib/AST/CXXInheritance.cpp
   81   std::swap(Origin, Other.Origin);
   85   std::swap(FindAmbiguities, Other.FindAmbiguities);
   86   std::swap(RecordPaths, Other.RecordPaths);
   87   std::swap(DetectVirtual, Other.DetectVirtual);
   88   std::swap(DetectedVirtual, Other.DetectedVirtual);
tools/clang/lib/AST/ExprCXX.cpp
  103     std::swap(Result.LHS, Result.RHS);
  127     std::swap(Result.LHS, Result.RHS);
tools/clang/lib/AST/ExprConstant.cpp
 7913     std::swap(PExp, IExp);
tools/clang/lib/Analysis/CloneDetection.cpp
  617       std::swap(FirstMismatch->FirstCloneInfo, FirstMismatch->SecondCloneInfo);
tools/clang/lib/CodeGen/CGBuiltin.cpp
 5197     std::swap(Ops[0], Ops[1]);
 5300     std::swap(Ops[0], Ops[1]);
 7652       Int = Intrinsic::aarch64_neon_facge; std::swap(Ops[0], Ops[1]); break;
 7654       Int = Intrinsic::aarch64_neon_facgt; std::swap(Ops[0], Ops[1]); break;
12670     std::swap(Ops[0], Ops[1]);
tools/clang/lib/CodeGen/CGCXXABI.cpp
  263       std::swap(Base, Derived);
tools/clang/lib/CodeGen/CGCall.cpp
 3438       std::swap(Args.back(), *(&Args.back() - 1));
tools/clang/lib/CodeGen/CGDebugInfo.cpp
 1939       std::swap(Quals, GVName);
tools/clang/lib/CodeGen/CGExpr.cpp
 4219     if (!CondExprBool) std::swap(live, dead);
tools/clang/lib/CodeGen/CGExprAgg.cpp
  750     if (isToAtomic) std::swap(atomicType, valueType);
tools/clang/lib/CodeGen/CGExprScalar.cpp
 1913       std::swap(V, Init);
 3171     std::swap(pointer, index);
 3172     std::swap(pointerOperand, indexOperand);
 3774         std::swap(FirstVecArg, SecondVecArg);
 3784           std::swap(FirstVecArg, SecondVecArg);
 3799           std::swap(FirstVecArg, SecondVecArg);
 4168     if (!CondExprBool) std::swap(live, dead);
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
  412     std::swap(CGF.LambdaCaptureFields, LambdaCaptureFields);
  425     std::swap(CGF.LambdaCaptureFields, LambdaCaptureFields);
tools/clang/lib/CodeGen/CGStmt.cpp
  652       std::swap(Executed, Skipped);
tools/clang/lib/Parse/ParseAST.cpp
  123   std::swap(OldCollectStats, S.CollectStats);
  180   std::swap(OldCollectStats, S.CollectStats);
tools/clang/lib/Sema/SemaChecking.cpp
10596       if (ConstantOnRHS) std::swap(LTFlag, GTFlag);
10620         std::swap(TrueFlag, FalseFlag);
12697       std::swap(Mod, ModOrUse);
tools/clang/lib/Sema/SemaExpr.cpp
 9622     std::swap(PExp, IExp);
tools/clang/lib/Sema/SemaOverload.cpp
12858         std::swap(Args[0], Args[1]);
tools/clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
  511       std::swap(firstLoc, secondLoc);
  514       std::swap(First, Second);
tools/clang/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp
  598     std::swap(LowerBound, UpperBound);
tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
 1709       std::swap(SecondLoc, FirstLoc);
tools/clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp
  643         std::swap(lhs, rhs);
tools/clang/tools/extra/clang-tidy/misc/RedundantExpressionCheck.cpp
  936       std::swap(LhsExpr, RhsExpr);
  937       std::swap(LhsValue, RhsValue);
  938       std::swap(LhsSymbol, RhsSymbol);
  939       std::swap(LhsOpcode, RhsOpcode);
tools/clang/tools/extra/clangd/Context.cpp
   30   std::swap(Replacement, currentContext());
tools/clang/tools/extra/clangd/unittests/FileIndexTests.cpp
  249     std::swap(MakeVector, Vector);
tools/lld/ELF/Arch/Mips.cpp
  230     std::swap(words[0], words[1]);
  235     std::swap(words[0], words[1]);
tools/lld/ELF/ScriptParser.cpp
  144     std::swap(a, b);
tools/lld/ELF/SyntheticSections.cpp
  801   std::swap(tmp, dst);
  888         std::swap(mergedGots.back(), srcGot);
tools/lldb/include/lldb/Utility/SharingPtr.h
  230   std::swap(ptr_, r.ptr_);
  231   std::swap(cntrl_, r.cntrl_);
tools/lldb/source/API/SBCommandReturnObject.cpp
   32     std::swap(*this, copy);
tools/lldb/source/Core/ValueObject.cpp
 2682           std::swap(low_index, high_index);
tools/llvm-diff/DifferenceEngine.cpp
  567     std::swap(Cur, Next);
tools/llvm-mca/Views/BottleneckAnalysis.cpp
  185       std::swap(Edge, N.OutgoingEdges[E - 1]);
tools/llvm-xray/xray-color-helper.cpp
  154     std::swap(H0, H1);
tools/polly/include/polly/Support/GICHelper.h
  292     std::swap(this->IslCtx, Other.IslCtx);
  293     std::swap(this->OldOnError, Other.OldOnError);
tools/polly/lib/External/isl/include/isl/isl-noexceptions.h
 3854   std::swap(this->ptr, obj.ptr);
 4338   std::swap(this->ptr, obj.ptr);
 4501   std::swap(this->ptr, obj.ptr);
 4641   std::swap(this->ptr, obj.ptr);
 4868   std::swap(this->ptr, obj.ptr);
 5026   std::swap(this->ptr, obj.ptr);
 5211   std::swap(this->ptr, obj.ptr);
 5374   std::swap(this->ptr, obj.ptr);
 6083   std::swap(this->ptr, obj.ptr);
 6251   std::swap(this->ptr, obj.ptr);
 6794   std::swap(this->ptr, obj.ptr);
 6958   std::swap(this->ptr, obj.ptr);
 7145   std::swap(this->ptr, obj.ptr);
 7303   std::swap(this->ptr, obj.ptr);
 7389   std::swap(this->ptr, obj.ptr);
 7489   std::swap(this->ptr, obj.ptr);
 7647   std::swap(this->ptr, obj.ptr);
 7762   std::swap(this->ptr, obj.ptr);
 7983   std::swap(this->ptr, obj.ptr);
 9076   std::swap(this->ptr, obj.ptr);
 9234   std::swap(this->ptr, obj.ptr);
 9550   std::swap(this->ptr, obj.ptr);
10012   std::swap(this->ptr, obj.ptr);
10480   std::swap(this->ptr, obj.ptr);
10922   std::swap(this->ptr, obj.ptr);
11291   std::swap(this->ptr, obj.ptr);
11416   std::swap(this->ptr, obj.ptr);
11968   std::swap(this->ptr, obj.ptr);
12189   std::swap(this->ptr, obj.ptr);
12628   std::swap(this->ptr, obj.ptr);
12791   std::swap(this->ptr, obj.ptr);
13144   std::swap(this->ptr, obj.ptr);
13211   std::swap(this->ptr, obj.ptr);
13369   std::swap(this->ptr, obj.ptr);
13696   std::swap(this->ptr, obj.ptr);
13866   std::swap(this->ptr, obj.ptr);
14031   std::swap(this->ptr, obj.ptr);
14494   std::swap(this->ptr, obj.ptr);
15379   std::swap(this->ptr, obj.ptr);
15553   std::swap(this->ptr, obj.ptr);
16044   std::swap(this->ptr, obj.ptr);
16135   std::swap(this->ptr, obj.ptr);
16242   std::swap(this->ptr, obj.ptr);
16369   std::swap(this->ptr, obj.ptr);
17046   std::swap(this->ptr, obj.ptr);
17219   std::swap(this->ptr, obj.ptr);
17518   std::swap(this->ptr, obj.ptr);
17711   std::swap(this->ptr, obj.ptr);
17992   std::swap(this->ptr, obj.ptr);
18155   std::swap(this->ptr, obj.ptr);
18434   std::swap(this->ptr, obj.ptr);
18867   std::swap(this->ptr, obj.ptr);
19041   std::swap(this->ptr, obj.ptr);
19434   std::swap(this->ptr, obj.ptr);
19592   std::swap(this->ptr, obj.ptr);
unittests/Demangle/PartialDemangleTest.cpp
  142   std::swap(D1, D2);
usr/include/c++/7.4.0/bits/regex.h
  368 	std::swap(_M_locale, __loc);
  748 	std::swap(_M_flags, __rhs._M_flags);
  749 	std::swap(_M_loc, __rhs._M_loc);
usr/include/c++/7.4.0/bits/regex_compiler.tcc
  285 		  std::swap(__tmp._M_next, __tmp._M_alt);
usr/include/c++/7.4.0/bits/shared_ptr_base.h
 1274 	std::swap(_M_ptr, __other._M_ptr);
 1713 	std::swap(_M_ptr, __s._M_ptr);
usr/include/c++/7.4.0/bits/std_function.h
  567 	std::swap(_M_functor, __x._M_functor);
  568 	std::swap(_M_manager, __x._M_manager);
  569 	std::swap(_M_invoker, __x._M_invoker);
usr/include/c++/7.4.0/bits/std_mutex.h
  331 	std::swap(_M_device, __u._M_device);
  332 	std::swap(_M_owns, __u._M_owns);
usr/include/c++/7.4.0/bits/stl_algo.h
 1380 	      std::swap(__n, __k);
 1404 	      std::swap(__n, __k);
usr/include/c++/7.4.0/bits/stl_algobase.h
  148       swap(*__a, *__b);
usr/include/c++/7.4.0/bits/stl_deque.h
  579 	  swap(this->_M_start, __x._M_start);
  580 	  swap(this->_M_finish, __x._M_finish);
  581 	  swap(this->_M_map, __x._M_map);
  582 	  swap(this->_M_map_size, __x._M_map_size);
usr/include/c++/7.4.0/bits/stl_pair.h
  429 	swap(first, __p.first);
  430 	swap(second, __p.second);
usr/include/c++/7.4.0/bits/stl_queue.h
  651 	swap(comp, __pq.comp);
usr/include/c++/7.4.0/bits/stl_tree.h
 2007 	  std::swap(_M_root(),__t._M_root());
 2008 	  std::swap(_M_leftmost(),__t._M_leftmost());
 2009 	  std::swap(_M_rightmost(),__t._M_rightmost());
 2013 	  std::swap(this->_M_impl._M_node_count, __t._M_impl._M_node_count);
 2016       std::swap(this->_M_impl._M_key_compare, __t._M_impl._M_key_compare);
usr/include/c++/7.4.0/bits/stl_vector.h
  105 	  std::swap(_M_start, __x._M_start);
  106 	  std::swap(_M_finish, __x._M_finish);
  107 	  std::swap(_M_end_of_storage, __x._M_end_of_storage);
usr/include/c++/7.4.0/bits/unique_ptr.h
  374 	swap(_M_t._M_ptr(), __p);
  384 	swap(_M_t, __u._M_t);
  638 	swap(_M_t._M_ptr(), __ptr);
usr/include/c++/7.4.0/thread
  150     { std::swap(_M_id, __t._M_id); }
usr/include/c++/7.4.0/tuple
  336 	swap(_M_head(*this), _M_head(__in));
  461 	swap(_M_head(*this), _M_head(__in));
usr/include/c++/7.4.0/type_traits
 2609           noexcept(swap(std::declval<_Tp&>(), std::declval<_Tp&>()))
usr/include/x86_64-linux-gnu/c++/7.4.0/bits/basic_file.h
   79 	std::swap(_M_cfile, __f._M_cfile);
   80 	std::swap(_M_cfile_created, __f._M_cfile_created);
utils/TableGen/CodeGenRegisters.cpp
 2155       std::swap(RC1, RC2);
utils/unittest/googletest/include/gtest/internal/gtest-port.h
 1152     swap(a.ptr_, b.ptr_);
utils/unittest/googletest/src/gtest-internal-inl.h
  327     std::swap((*v)[selected], (*v)[last_in_range]);
utils/unittest/googletest/src/gtest.cc
  997   swap(success_, other.success_);