LLVM  15.0.0git
Classes | Functions
std Namespace Reference

Classes

struct  equal_to< llvm::rdf::RegisterAggr >
 
struct  hash< llvm::pdb::PDB_SymType >
 
struct  hash< llvm::rdf::detail::NodeRef >
 
struct  hash< llvm::rdf::RegisterAggr >
 
struct  hash< llvm::rdf::RegisterRef >
 
struct  is_error_code_enum< llvm::BitcodeError >
 
struct  is_error_code_enum< llvm::codeview::cv_error_code >
 
struct  is_error_code_enum< llvm::errc >
 
struct  is_error_code_enum< llvm::msf::msf_error_code >
 
struct  is_error_code_enum< llvm::object::object_error >
 
struct  is_error_code_enum< llvm::pdb::dia_error_code >
 
struct  is_error_code_enum< llvm::pdb::pdb_error_code >
 
struct  is_error_code_enum< llvm::pdb::raw_error_code >
 
struct  is_error_code_enum< llvm::sampleprof_error >
 
class  reverse_iterator< llvm::DWARFDie::iterator >
 

Functions

void swap (llvm::BitVector &LHS, llvm::BitVector &RHS)
 Implement std::swap in terms of BitVector swap. More...
 
template<class Ty >
void swap (llvm::iplist< Ty > &Left, llvm::iplist< Ty > &Right)
 
template<typename T , typename V , typename S >
void swap (llvm::SetVector< T, V, S > &LHS, llvm::SetVector< T, V, S > &RHS)
 Implement std::swap in terms of SetVector swap. More...
 
template<typename T , unsigned N>
void swap (llvm::SmallSetVector< T, N > &LHS, llvm::SmallSetVector< T, N > &RHS)
 Implement std::swap in terms of SmallSetVector swap. More...
 
void swap (llvm::SmallBitVector &LHS, llvm::SmallBitVector &RHS)
 Implement std::swap in terms of BitVector swap. More...
 
template<class T , unsigned N>
void swap (llvm::SmallPtrSet< T, N > &LHS, llvm::SmallPtrSet< T, N > &RHS)
 Implement std::swap in terms of SmallPtrSet swap. More...
 
template<typename T >
void swap (llvm::SmallVectorImpl< T > &LHS, llvm::SmallVectorImpl< T > &RHS)
 Implement std::swap in terms of SmallVector swap. More...
 
template<typename T , unsigned N>
void swap (llvm::SmallVector< T, N > &LHS, llvm::SmallVector< T, N > &RHS)
 Implement std::swap in terms of SmallVector swap. More...
 

Function Documentation

◆ swap() [1/8]

void std::swap ( llvm::BitVector LHS,
llvm::BitVector RHS 
)
inline

Implement std::swap in terms of BitVector swap.

Definition at line 853 of file BitVector.h.

References LHS, and RHS.

Referenced by addAttributeImpl(), llvm::PressureDiff::addPressureChange(), llvm::adl_detail::adl_swap(), llvm::AMDGPUAAResult::alias(), llvm::analyzeICmp(), llvm::CombinerHelper::applyCombineAddP2IToPtrAdd(), llvm::ScalarEvolution::applyLoopGuards(), llvm::MemoryDepChecker::areDepsSafe(), llvm::SUnit::biasCriticalPath(), llvm::SparcTargetLowering::bitcastConstantFPToInt(), BuildConstantFromSCEV(), llvm::coro::Shape::buildFrom(), llvm::TargetLowering::buildLegalVectorShuffle(), canonicalizeAbs(), llvm::SelectionDAG::canonicalizeCommutativeBinop(), llvm::InstCombinerImpl::canonicalizeCondSignextOfHighBitExtractToSignextHighBitExtract(), canonicalizeICmpBool(), canonicalizeSaturatedAdd(), canonicalizeSaturatedSubtract(), canonicalizeShuffleMaskWithHorizOp(), checkBiasedBranch(), checkForNegativeOperand(), checkV64LaneV128(), combineADDSUB_VLToVWADDSUB_VL(), combineADDToADDZE(), combineADDToMAT_PCREL_ADDR(), CombineBaseUpdate(), combineCarryDiamond(), combineCMov(), combineFMulcFCMulc(), combineHorizOpWithShuffle(), combineLogicBlendIntoConditionalNegate(), combineMul(), combineMUL_VLToVWMUL_VL(), combineOrCmpEqZeroToCtlzSrl(), combineORToGORC(), combineORToSHFL(), combineSelect(), combineSelectAndUse(), combineSelectOfTwoConstants(), combineSetCC(), combineShuffleToFMAddSub(), combineSVEPrefetchVecBaseImmOff(), combineTargetShuffle(), combineVSelectWithAllOnesOrZeros(), combineX86ShufflesRecursively(), commuteShuffle(), llvm::KnownBits::computeForAddSub(), llvm::SelectionDAG::computeKnownBits(), llvm::ARMTargetLowering::computeKnownBitsForTargetNode(), llvm::SelectionDAG::ComputeNumSignBits(), llvm::ConstantFoldTerminator(), countToEliminateCompares(), createGPRPairNode(), createPHIsForCMOVsInSinkBB(), createPHIsForSelects(), llvm::DomTreeBuilder::DeleteEdge(), llvm::DenseMap< unsigned, unsigned >::DenseMap(), detectAVGPattern(), detectExtMul(), detectPMADDUBSW(), detectShiftUntilBitTestIdiom(), detectShiftUntilZeroIdiom(), EmitCMP(), emitConjunctionRec(), llvm::ARMTargetLowering::EmitInstrWithCustomInserter(), llvm::ARMTargetLowering::emitLoadLinked(), llvm::MipsSEFrameLowering::emitPrologue(), llvm::ARMTargetLowering::emitStoreConditional(), llvm::DominatorTreeBase< BasicBlock, false >::eraseNode(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::EraseNode(), expandSGPRCopy(), llvm::orc::EPCGenericJITLinkMemoryManager::InFlightAlloc::finalize(), llvm::orc::EPCGenericRTDyldMemoryManager::finalizeMemory(), llvm::CoalescerPair::flip(), foldAndToUsubsat(), foldFCmpFNegCommonOp(), foldFreeOpFromSelect(), foldGuardedFunnelShift(), foldICmpWithMinMax(), foldIsPowerOf2(), foldMaskedMergeImpl(), foldOperationIntoPhiValue(), foldOperationIntoSelectOperand(), foldOrCommuteConstant(), foldSelectICmpLshrAshr(), foldSelectWithIdentityConstant(), foldSelectZeroOrMul(), foldShiftIntoShiftInAnotherHandOfAndInICmp(), foldShuffleWithInsert(), FoldTwoEntryPHINode(), foldUnsignedUnderflowCheck(), llvm::InstCombinerImpl::foldVectorBinop(), foldVSelectToSignBitSplatMask(), generateEquivalentSub(), GenerateTBL(), getAArch64Cmp(), getBranchHint(), GetBranchWeights(), getBuildVectorSplat(), getCmp(), llvm::TargetRegisterInfo::getCommonSuperRegClass(), getCopyFromParts(), getEstimatedTripCount(), getHashValueImpl(), llvm::GetIfCondition(), llvm::Loop::getIncomingAndBackEdge(), llvm::ScalarEvolution::getLoopInvariantExitCondDuringFirstIterations(), llvm::ScalarEvolution::getLoopInvariantPredicate(), llvm::PPCMCCodeEmitter::getMemRI34PCRelEncoding(), llvm::SelectionDAG::getNode(), llvm::PeelingModuloScheduleExpander::getPhiCanonicalReg(), llvm::ARMTargetLowering::getPostIndexedAddressParts(), llvm::PPCTargetLowering::getPreIndexedAddressParts(), getShuffleHalfVectors(), getTestBitReg(), getThreeSrcCommuteCase(), GroupByComplexity(), llvm::TargetInstrInfo::hasReassociableSibling(), llvm::GCNRegPressure::inc(), llvm::InlineFunction(), llvm::RuntimePointerChecking::insert(), llvm::DomTreeBuilder::InsertEdge(), insertNoDuplicates(), llvm::SIInstrInfo::insertSelect(), llvm::GCNTTIImpl::instCombineIntrinsic(), interChangeDependencies(), isAddSubOrSubAdd(), llvm::CoalescerPair::isCoalescable(), isFNEG(), isHorizontalBinOp(), isKnownPredicateExtendIdiom(), IsKnownPredicateViaMinOrMax(), llvm::SwingSchedulerDAG::isLoopCarriedDep(), isLoopNeverExecuted(), isSetCC(), isSignedMinMaxClamp(), isSignedMinMaxIntrinsicClamp(), llvm::AMDGPULegalizerInfo::legalizeIntrinsic(), llvm::TargetLowering::LegalizeSetCCCondCode(), llvm::cfg::LegalizeUpdates(), lowerAddSubToHorizontalOp(), LowerAndToBT(), LowerAndToBTST(), llvm::SparcTargetLowering::LowerFormalArguments_32(), LowerFunnelShift(), LowerIntVSETCC_AVX512(), lowerMSABinaryBitImmIntr(), lowerMSASplatZExt(), LowerMUL(), llvm::RISCVTargetLowering::LowerOperation(), lowerShuffleAsBlend(), lowerShuffleAsLanePermuteAndRepeatedMask(), lowerShuffleWithSHUFPS(), lowerV8I16GeneralSingleInputShuffle(), llvm::HexagonTargetLowering::LowerVECTOR_SHUFFLE(), lowerVECTOR_SHUFFLE(), LowerVECTOR_SHUFFLE(), LowerVSETCC(), LowerVSETCCWithSUBUS(), matchBinaryShuffle(), matchClamp(), llvm::CombinerHelper::matchCombineFAddFMAFMulToFMadOrFMA(), llvm::CombinerHelper::matchCombineFAddFMulToFMadOrFMA(), llvm::CombinerHelper::matchCombineFAddFpExtFMulToFMadOrFMA(), llvm::CombinerHelper::matchCombineFAddFpExtFMulToFMadOrFMAAggressive(), matchCondition(), matchEXT(), matchFastFloatClamp(), AMDGPURegBankCombinerHelper::matchFPMed3ToClamp(), matchFunnelShift(), matchLogicBlend(), matchMinMaxOfMinMax(), matchOrConcat(), matchPMADDWD(), matchPMADDWD_2(), matchSelectPattern(), matchSelectWithOptionalNotCond(), matchShuffleWithSHUFPD(), matchShuffleWithUNPCK(), llvm::InstCombinerImpl::matchThreeWayIntCompare(), llvm::CombinerHelper::matchXorOfAndWithSameReg(), mayUseP9Setb(), mergeConditionalStores(), MergeSeqs(), llvm::AliasSet::mergeSetIn(), llvm::LiveRange::MergeValueNumberInto(), llvm::hashing::detail::hash_state::mix(), llvm::orc::OrcV2CAPIHelper::moveFromSymbolStringPtr(), multikeySort(), needsLFTR(), NegateCC(), llvm::Triple::normalize(), llvm::Regex::operator=(), llvm::orc::shared::WrapperFunctionResult::operator=(), llvm::jitlink::JITLinkMemoryManager::FinalizedAlloc::operator=(), llvm::ItaniumPartialDemangler::operator=(), llvm::orc::SymbolStringPtr::operator=(), PODSmallVector< Node *, 8 >::operator=(), llvm::StringMap< uint64_t >::operator=(), llvm::detail::AnalysisResultModel< IRUnitT, PassT, ResultT, PreservedAnalysesT, InvalidatorT, false >::operator=(), llvm::detail::AnalysisResultModel< IRUnitT, PassT, ResultT, PreservedAnalysesT, InvalidatorT, true >::operator=(), llvm::MustBeExecutedIterator::operator=(), llvm::CGSCCToFunctionPassAdaptor::operator=(), llvm::DenseMap< unsigned, unsigned >::operator=(), AA::PointerInfo::State::operator=(), llvm::SmallDenseMap< const llvm::RecurrenceDescriptor *, unsigned, N >::operator=(), llvm::InstCombinerImpl::OptimizePointerDifference(), llvm::LiveRange::overlaps(), llvm::LiveRange::overlapsFrom(), AbstractManglingParser< ManglingParser< Alloc >, Alloc >::parseFoldExpr(), llvm::PeelSingleBlockLoop(), performAddCSelIntoCSinc(), performAddDotCombine(), PerformANDCombine(), performANDORCSELCombine(), performBRCONDCombine(), llvm::ARMTargetLowering::PerformCMOVToBFICombine(), llvm::PPCTargetLowering::PerformDAGCombine(), PerformFAddVSelectCombine(), performGatherLoadCombine(), PerformMinMaxCombine(), PerformMinMaxToSatCombine(), performMulCombine(), performScatterStoreCombine(), PerformSELECTCombine(), performSetccAddFolding(), PerformVMOVRRDCombine(), PerformVMULCombine(), PerformVSetCCToVCTPCombine(), llvm::LatencyPriorityQueue::pop(), llvm::ResourcePriorityQueue::pop(), llvm::RawInstrProfReader< IntPtrT >::printBinaryIds(), PrintResults(), pushAddIntoCmovOfConsts(), reassociateFCmps(), reconnectChildLoops(), llvm::objcarc::ProvenanceAnalysis::related(), llvm::orc::shared::WrapperFunctionResult::release(), llvm::LatencyPriorityQueue::remove(), llvm::ResourcePriorityQueue::remove(), llvm::orc::SymbolLookupSet::remove(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::RemoveRedundantRoots(), llvm::slpvectorizer::BoUpSLP::VLOperands::reorder(), ReorganizeVector(), ReplaceCMP_SWAP_128Results(), llvm::SCEVExpander::replaceCongruentIVs(), llvm::RISCVTargetLowering::ReplaceNodeResults(), replaceShuffleOfInsert(), llvm::AArch64FrameLowering::restoreCalleeSavedRegisters(), runImpl(), llvm::mca::Scheduler::select(), llvm::SelectionDAGISel::SelectInlineAsmMemoryOperands(), setLimitsForBinOp(), llvm::setLoopEstimatedTripCount(), llvm::CoalescerPair::setRegisters(), shareSameRegisterFile(), llvm::orc::rt_bootstrap::SimpleExecutorDylibManager::shutdown(), simplifyAndOrOfICmpsWithLimitConst(), simplifyBinaryIntrinsic(), simplifyFCmpInst(), simplifyICmpInst(), llvm::ScalarEvolution::SimplifyICmpOperands(), simplifyICmpWithMinMax(), simplifyIntrinsic(), simplifyLoopInst(), simplifySelectWithICmpCond(), simplifyShuffleVectorInst(), simplifySuspendPoints(), sinkNotIntoXor(), llvm::SmallDenseMap< const llvm::RecurrenceDescriptor *, unsigned, N >::SmallDenseMap(), llvm::AArch64FrameLowering::spillCalleeSavedRegisters(), llvm::CallGraphNode::stealCalledFunctionsFrom(), llvm::Use::swap(), llvm::Any::swap(), llvm::MapVector< uint64_t, llvm::memprof::IndexedMemProfRecord >::swap(), llvm::StringMapImpl::swap(), llvm::thread::swap(), llvm::AllocatorList< Token >::swap(), llvm::simple_ilist< MachineInstr, Options... >::swap(), llvm::SmallPtrSetImplBase::swap(), llvm::SmallBitVector::swap(), llvm::SmallVectorImpl< uint64_t >::swap(), llvm::BitVector::swap(), llvm::DenseMap< unsigned, unsigned >::swap(), llvm::SmallDenseMap< const llvm::RecurrenceDescriptor *, unsigned, N >::swap(), llvm::GVNExpression::BasicExpression::swapOperands(), llvm::BranchInst::swapSuccessors(), Swizzle(), llvm::orc::SymbolStringPtr::SymbolStringPtr(), llvm::AddrLabelMap::takeDeletedSymbolsForFunction(), threadCmpOverPHI(), threadCmpOverSelect(), TranslateM68kCC(), translateSetCCForBranch(), TranslateX86CC(), translateX86FSETCC(), tryBitfieldInsertOpFromOr(), tryCombineToEXTR(), tryConstantFoldOp(), llvm::InstCombinerImpl::tryFactorization(), TryMULWIDECombine(), llvm::tryPressure(), trySequenceOfOnes(), trySimplifyICmpWithAdds(), llvm::MCJIT::UnregisterJITEventListener(), upgradeX86ConcatShift(), UpgradeX86VPERMT2Intrinsics(), ValuesOverlap(), llvm::InstCombinerImpl::visitCallInst(), llvm::InstCombinerImpl::visitICmpInst(), llvm::InstCombinerImpl::visitOr(), llvm::InstCombinerImpl::visitShl(), llvm::SelectionDAGBuilder::visitSwitchCase(), llvm::InstCombinerImpl::visitXor(), llvm::orc::shared::WrapperFunctionResult::WrapperFunctionResult(), and llvm::reassociate::XorOpnd::XorOpnd().

◆ swap() [2/8]

template<class Ty >
void std::swap ( llvm::iplist< Ty > &  Left,
llvm::iplist< Ty > &  Right 
)

◆ swap() [3/8]

template<typename T , typename V , typename S >
void std::swap ( llvm::SetVector< T, V, S > &  LHS,
llvm::SetVector< T, V, S > &  RHS 
)
inline

Implement std::swap in terms of SetVector swap.

Definition at line 326 of file SetVector.h.

References LHS, and RHS.

◆ swap() [4/8]

void std::swap ( llvm::SmallBitVector LHS,
llvm::SmallBitVector RHS 
)
inline

Implement std::swap in terms of BitVector swap.

Definition at line 755 of file SmallBitVector.h.

References LHS, and RHS.

◆ swap() [5/8]

template<class T , unsigned N>
void std::swap ( llvm::SmallPtrSet< T, N > &  LHS,
llvm::SmallPtrSet< T, N > &  RHS 
)
inline

Implement std::swap in terms of SmallPtrSet swap.

Definition at line 512 of file SmallPtrSet.h.

References LHS, and RHS.

◆ swap() [6/8]

template<typename T , unsigned N>
void std::swap ( llvm::SmallSetVector< T, N > &  LHS,
llvm::SmallSetVector< T, N > &  RHS 
)
inline

Implement std::swap in terms of SmallSetVector swap.

Definition at line 333 of file SetVector.h.

References LHS, and RHS.

◆ swap() [7/8]

template<typename T , unsigned N>
void std::swap ( llvm::SmallVector< T, N > &  LHS,
llvm::SmallVector< T, N > &  RHS 
)
inline

Implement std::swap in terms of SmallVector swap.

Definition at line 1306 of file SmallVector.h.

References LHS, and RHS.

◆ swap() [8/8]

template<typename T >
void std::swap ( llvm::SmallVectorImpl< T > &  LHS,
llvm::SmallVectorImpl< T > &  RHS 
)
inline

Implement std::swap in terms of SmallVector swap.

Definition at line 1299 of file SmallVector.h.

References LHS, and RHS.