LLVM 17.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  hash< SDValue >
 
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 >
 
struct  tuple_element< i, llvm::detail::result_pair< R > >
 
struct  tuple_element< I, llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits, Info > >
 
struct  tuple_element< I, llvm::StringMapEntry< ValueTy > >
 
struct  tuple_size< llvm::detail::result_pair< R > >
 
struct  tuple_size< llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits, Info > >
 
struct  tuple_size< llvm::StringMapEntry< ValueTy > >
 

Functions

void swap (llvm::BitVector &LHS, llvm::BitVector &RHS)
 Implement std::swap in terms of BitVector swap.
 
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.
 
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.
 
void swap (llvm::SmallBitVector &LHS, llvm::SmallBitVector &RHS)
 Implement std::swap in terms of BitVector swap.
 
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.
 
template<typename T >
void swap (llvm::SmallVectorImpl< T > &LHS, llvm::SmallVectorImpl< T > &RHS)
 Implement std::swap in terms of SmallVector swap.
 
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.
 

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, RHS, and swap().

Referenced by addAttributeImpl(), llvm::logicalview::LVRange::addEntry(), llvm::PressureDiff::addPressureChange(), llvm::AMDGPUAAResult::alias(), llvm::analyzeICmp(), llvm::CombinerHelper::applyCombineAddP2IToPtrAdd(), llvm::ScalarEvolution::applyLoopGuards(), llvm::MemoryDepChecker::areDepsSafe(), llvm::SUnit::biasCriticalPath(), llvm::SparcTargetLowering::bitcastConstantFPToInt(), llvm::coro::Shape::buildFrom(), llvm::TargetLowering::buildLegalVectorShuffle(), canonicalizeAbs(), llvm::SelectionDAG::canonicalizeCommutativeBinop(), llvm::InstCombinerImpl::canonicalizeCondSignextOfHighBitExtractToSignextHighBitExtract(), canonicalizeICmpBool(), canonicalizeSaturatedAdd(), canonicalizeSaturatedSubtract(), canonicalizeShuffleMaskWithHorizOp(), checkBiasedBranch(), checkForNegativeOperand(), checkV64LaneV128(), combineADDToADDZE(), combineADDToMAT_PCREL_ADDR(), CombineBaseUpdate(), combineBinOp_VLToVWBinOp_VL(), combineCarryDiamond(), combineCMov(), combineFMulcFCMulc(), combineHorizOpWithShuffle(), combineLogicBlendIntoConditionalNegate(), combineMul(), combineOrCmpEqZeroToCtlzSrl(), llvm::VETargetLowering::combineSelect(), combineSelect(), combineSelectAndUse(), llvm::VETargetLowering::combineSelectCC(), 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(), detectAVGPattern(), detectExtMul(), detectPMADDUBSW(), detectShiftUntilBitTestIdiom(), detectShiftUntilZeroIdiom(), EmitCMP(), emitConjunctionRec(), llvm::ARMTargetLowering::EmitInstrWithCustomInserter(), llvm::ARMTargetLowering::emitLoadLinked(), llvm::MipsSEFrameLowering::emitPrologue(), llvm::ARMTargetLowering::emitStoreConditional(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::EraseNode(), llvm::DominatorTreeBase< NodeT, IsPostDom >::eraseNode(), expandSGPRCopy(), llvm::orc::EPCGenericJITLinkMemoryManager::InFlightAlloc::finalize(), llvm::orc::MapperJITLinkMemoryManager::InFlightAlloc::finalize(), llvm::orc::EPCGenericRTDyldMemoryManager::finalizeMemory(), llvm::DominatorTreeBase< NodeT, IsPostDom >::findNearestCommonDominator(), llvm::CoalescerPair::flip(), foldAndToUsubsat(), foldCSELOfCSEL(), foldFCmpFNegCommonOp(), foldFreeOpFromSelect(), foldGuardedFunnelShift(), foldICmpWithMinMax(), foldIsPowerOf2(), foldLoadsRecursive(), foldMaskedMergeImpl(), foldMulShl1(), foldOperationIntoSelectOperand(), foldOrCommuteConstant(), foldSelectICmpLshrAshr(), foldSelectShuffleOfSelectShuffle(), foldSelectWithIdentityConstant(), foldSelectZeroOrMul(), foldShiftIntoShiftInAnotherHandOfAndInICmp(), foldShuffleWithInsert(), FoldTwoEntryPHINode(), foldUnsignedUnderflowCheck(), llvm::InstCombinerImpl::foldVectorBinop(), foldVSelectToSignBitSplatMask(), generateEquivalentSub(), GenerateTBL(), getAArch64Cmp(), getBranchHint(), GetBranchWeights(), getBuildVectorSplat(), getCmp(), llvm::TargetRegisterInfo::getCommonSuperRegClass(), getCopyFromParts(), llvm::PPCMCCodeEmitter::getDispRI34PCRelEncoding(), getDivRemArgList(), getEstimatedTripCount(), getHashValueImpl(), llvm::GetIfCondition(), llvm::Loop::getIncomingAndBackEdge(), llvm::ScalarEvolution::getLoopInvariantExitCondDuringFirstIterationsImpl(), llvm::ScalarEvolution::getLoopInvariantPredicate(), llvm::SelectionDAG::getNode(), llvm::PeelingModuloScheduleExpander::getPhiCanonicalReg(), llvm::ARMTargetLowering::getPostIndexedAddressParts(), llvm::PPCTargetLowering::getPreIndexedAddressParts(), llvm::TargetInstrInfo::getReassociationOpcodes(), llvm::RegBankSelect::getRepairCost(), getShuffleHalfVectors(), llvm::getShuffleMaskWithWidestElts(), getTestBitReg(), getThreeSrcCommuteCase(), GroupByComplexity(), llvm::orc::SimpleRemoteEPC::handleDisconnect(), llvm::orc::SimpleRemoteEPCServer::handleDisconnect(), handlePhiDef(), llvm::TargetInstrInfo::hasReassociableSibling(), llvm::GCNRegPressure::inc(), inlineCallsImpl(), llvm::InlineFunction(), llvm::RuntimePointerChecking::insert(), llvm::DomTreeBuilder::InsertEdge(), insertFoldCacheEntry(), insertNoDuplicates(), llvm::SIInstrInfo::insertSelect(), llvm::GCNTTIImpl::instCombineIntrinsic(), interChangeDependencies(), isAddSubOrSubAdd(), llvm::CoalescerPair::isCoalescable(), isFNEG(), isHorizontalBinOp(), isKnownPredicateExtendIdiom(), IsKnownPredicateViaMinOrMax(), isLegalToInterChangeLoops(), llvm::SwingSchedulerDAG::isLoopCarriedDep(), isLoopNeverExecuted(), isSetCC(), isSignedMinMaxClamp(), isSignedMinMaxIntrinsicClamp(), llvm::AMDGPULegalizerInfo::legalizeIntrinsic(), llvm::TargetLowering::LegalizeSetCCCondCode(), llvm::cfg::LegalizeUpdates(), LLVMOrcCreateRTDyldObjectLinkingLayerWithMCJITMemoryManagerLikeCallbacks(), lowerAddSubToHorizontalOp(), LowerAndToBT(), LowerAndToBTST(), llvm::SparcTargetLowering::LowerFormalArguments_32(), LowerFunnelShift(), LowerIntVSETCC_AVX512(), lowerMSABinaryBitImmIntr(), lowerMSASplatZExt(), LowerMUL(), 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::FullDependence::normalize(), llvm::Triple::normalize(), llvm::jitlink::JITLinkMemoryManager::FinalizedAlloc::operator=(), llvm::ItaniumPartialDemangler::operator=(), llvm::MustBeExecutedIterator::operator=(), PODSmallVector< T, N >::operator=(), llvm::Regex::operator=(), llvm::AA::PointerInfo::State::operator=(), llvm::StringMap< ValueTy, AllocatorTy >::operator=(), llvm::orc::SymbolStringPtr::operator=(), llvm::orc::shared::WrapperFunctionResult::operator=(), llvm::InstCombinerImpl::OptimizePointerDifference(), llvm::LiveRange::overlaps(), llvm::LiveRange::overlapsFrom(), AbstractManglingParser< Derived, Alloc >::parseFoldExpr(), llvm::PeelSingleBlockLoop(), performAddCSelIntoCSinc(), performAddDotCombine(), PerformANDCombine(), performANDORCSELCombine(), performBRCONDCombine(), llvm::ARMTargetLowering::PerformCMOVToBFICombine(), llvm::HexagonTargetLowering::PerformDAGCombine(), llvm::PPCTargetLowering::PerformDAGCombine(), llvm::RISCVTargetLowering::PerformDAGCombine(), PerformFAddVSelectCombine(), performGatherLoadCombine(), PerformMinMaxCombine(), PerformMinMaxToSatCombine(), performMulCombine(), performORCombine(), performScatterStoreCombine(), PerformSELECTCombine(), performSetccAddFolding(), PerformVMOVRRDCombine(), PerformVMULCombine(), PerformVSetCCToVCTPCombine(), llvm::LatencyPriorityQueue::pop(), llvm::ResourcePriorityQueue::pop(), PrintResults(), pushAddIntoCmovOfConsts(), llvm::FileCheck::readCheckFile(), reassociateFCmps(), llvm::TargetInstrInfo::reassociateOps(), 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(), ReorganizeVector(), llvm::RegBankSelect::repairReg(), ReplaceATOMIC_LOAD_128Results(), ReplaceCMP_SWAP_128Results(), llvm::SCEVExpander::replaceCongruentIVs(), replaceShuffleOfInsert(), llvm::AArch64FrameLowering::restoreCalleeSavedRegisters(), runImpl(), llvm::mca::Scheduler::select(), llvm::SelectionDAGISel::SelectInlineAsmMemoryOperands(), selectUmullSmull(), setLimitsForBinOp(), llvm::setLoopEstimatedTripCount(), llvm::CoalescerPair::setRegisters(), shareSameRegisterFile(), llvm::orc::rt_bootstrap::SimpleExecutorDylibManager::shutdown(), simplifyAndOrOfICmpsWithLimitConst(), simplifyBinaryIntrinsic(), simplifyCmpSelOfMaxMin(), simplifyFCmpInst(), simplifyFMAFMul(), simplifyICmpInst(), llvm::ScalarEvolution::SimplifyICmpOperands(), simplifyICmpWithMinMax(), simplifyIntrinsic(), simplifyLoopInst(), simplifySelectWithICmpCond(), simplifyShuffleVectorInst(), simplifySuspendPoints(), sinkNotIntoXor(), llvm::AArch64FrameLowering::spillCalleeSavedRegisters(), llvm::CallGraphNode::stealCalledFunctionsFrom(), llvm::AllocatorList< T, AllocatorT >::swap(), llvm::Any::swap(), llvm::BitVector::swap(), llvm::DenseMap< KeyT, ValueT, KeyInfoT, BucketT >::swap(), swap(), llvm::MapVector< KeyT, ValueT, MapType, VectorType >::swap(), llvm::simple_ilist< T, Options >::swap(), llvm::SmallBitVector::swap(), llvm::SmallDenseMap< KeyT, ValueT, InlineBuckets, KeyInfoT, BucketT >::swap(), llvm::SmallPtrSetImplBase::swap(), llvm::SmallVectorImpl< T >::swap(), llvm::StringMapImpl::swap(), llvm::Use::swap(), llvm::GVNExpression::BasicExpression::swapOperands(), Swizzle(), llvm::orc::SymbolStringPtr::SymbolStringPtr(), llvm::AddrLabelMap::takeDeletedSymbolsForFunction(), threadCmpOverPHI(), threadCmpOverSelect(), TranslateM68kCC(), translateSetCCForBranch(), TranslateX86CC(), translateX86FSETCC(), tryBitfieldInsertOpFromOr(), tryCombineToEXTR(), tryDemorganOfBooleanCondition(), tryFactorization(), tryFoldSelectIntoOp(), TryMULWIDECombine(), llvm::tryPressure(), trySequenceOfOnes(), trySimplifyICmpWithAdds(), llvm::MCJIT::UnregisterJITEventListener(), llvm::UpgradeIntrinsicCall(), upgradeX86ConcatShift(), UpgradeX86VPERMT2Intrinsics(), ValuesOverlap(), shuffles::vdealvdd(), llvm::InstCombinerImpl::visitCallInst(), llvm::InstCombinerImpl::visitICmpInst(), llvm::InstCombinerImpl::visitOr(), llvm::InstCombinerImpl::visitShl(), llvm::SelectionDAGBuilder::visitSwitchCase(), llvm::InstCombinerImpl::visitXor(), shuffles::vshuffvdd(), 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 
)

Definition at line 416 of file ilist.h.

References swap().

◆ 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 319 of file SetVector.h.

References LHS, RHS, and swap().

◆ 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, RHS, and swap().

◆ 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, RHS, and swap().

◆ 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 326 of file SetVector.h.

References LHS, RHS, and swap().

◆ 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 1335 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 1328 of file SmallVector.h.

References LHS, and RHS.