LLVM  14.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 840 of file BitVector.h.

References llvm::BitVector::swap().

Referenced by 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::InstCombinerImpl::canonicalizeCondSignextOfHighBitExtractToSignextHighBitExtract(), canonicalizeICmpBool(), canonicalizeSaturatedAdd(), canonicalizeSaturatedSubtract(), canonicalizeShuffleMaskWithHorizOp(), checkBiasedBranch(), checkForNegativeOperand(), checkV64LaneV128(), combineAddOrSubToADCOrSBB(), combineADDToADDZE(), combineADDToMAT_PCREL_ADDR(), CombineBaseUpdate(), combineCarryDiamond(), combineCMov(), combineFMulcFCMulc(), combineHorizOpWithShuffle(), combineLogicBlendIntoConditionalNegate(), combineMul(), 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< llvm::SmallVector< llvm::VPValue *, 4 >, llvm::VPInstruction *, BundleDenseMapInfo >::DenseMap(), detectAVGPattern(), detectPMADDUBSW(), detectShiftUntilBitTestIdiom(), EmitCMP(), emitConjunctionRec(), llvm::ARMTargetLowering::EmitInstrWithCustomInserter(), llvm::ARMTargetLowering::emitLoadLinked(), llvm::MipsSEFrameLowering::emitPrologue(), llvm::ARMTargetLowering::emitStoreConditional(), llvm::DominatorTreeBase< BasicBlock, IsPostDom >::eraseNode(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::EraseNode(), expandSGPRCopy(), llvm::orc::EPCGenericRTDyldMemoryManager::finalizeMemory(), llvm::CoalescerPair::flip(), foldAndOrOfEqualityCmpsWithConstants(), foldAndToUsubsat(), foldFreeOpFromSelect(), foldGuardedFunnelShift(), foldICmpWithMinMax(), foldIsPowerOf2(), foldOperationIntoPhiValue(), foldOperationIntoSelectOperand(), foldOrCommuteConstant(), foldSelectICmpLshrAshr(), foldSelectZeroOrMul(), foldShiftIntoShiftInAnotherHandOfAndInICmp(), foldShuffleWithInsert(), FoldTwoEntryPHINode(), foldUnsignedUnderflowCheck(), llvm::InstCombinerImpl::foldVectorBinop(), foldVSelectToSignBitSplatMask(), generateEquivalentSub(), getAArch64Cmp(), getBranchHint(), GetBranchWeights(), getBuildVectorSplat(), getCmp(), llvm::TargetRegisterInfo::getCommonSuperRegClass(), getCopyFromParts(), getHashValueImpl(), llvm::GetIfCondition(), llvm::Loop::getIncomingAndBackEdge(), llvm::getLoopEstimatedTripCount(), 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(), llvm::AMDGPULegalizerInfo::legalizeIntrinsic(), llvm::TargetLowering::LegalizeSetCCCondCode(), llvm::cfg::LegalizeUpdates(), lowerAddSubToHorizontalOp(), LowerAndToBT(), llvm::SparcTargetLowering::LowerFormalArguments_32(), LowerFunnelShift(), LowerIntVSETCC_AVX512(), lowerMSABinaryBitImmIntr(), lowerMSASplatZExt(), LowerMUL(), LowerRotate(), lowerShuffleAsBlend(), lowerShuffleAsLanePermuteAndRepeatedMask(), lowerShuffleWithSHUFPS(), lowerV8I16GeneralSingleInputShuffle(), llvm::HexagonTargetLowering::LowerVECTOR_SHUFFLE(), lowerVECTOR_SHUFFLE(), LowerVECTOR_SHUFFLE(), LowerVSETCC(), LowerVSETCCWithSUBUS(), matchBinaryShuffle(), matchClamp(), matchCondition(), matchEXT(), matchFastFloatClamp(), 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::orc::SymbolStringPtr::operator=(), llvm::ItaniumPartialDemangler::operator=(), llvm::jitlink::JITLinkMemoryManager::FinalizedAlloc::operator=(), PODSmallVector< Node *, 8 >::operator=(), llvm::StringMap< llvm::StringInit *, llvm::BumpPtrAllocatorImpl & >::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< llvm::SmallVector< llvm::VPValue *, 4 >, llvm::VPInstruction *, BundleDenseMapInfo >::operator=(), llvm::AA::PointerInfo::State::operator=(), llvm::SmallDenseMap< llvm::Value *, llvm::Value * >::operator=(), llvm::InstCombinerImpl::OptimizePointerDifference(), llvm::LiveRange::overlaps(), llvm::LiveRange::overlapsFrom(), AbstractManglingParser< ManglingParser< Alloc >, Alloc >::parseFoldExpr(), llvm::PeelSingleBlockLoop(), performAddDotCombine(), PerformANDCombine(), performBRCONDCombine(), llvm::ARMTargetLowering::PerformCMOVToBFICombine(), llvm::PPCTargetLowering::PerformDAGCombine(), PerformFAddVSelectCombine(), performGatherLoadCombine(), PerformMinMaxCombine(), performMulCombine(), performScatterStoreCombine(), PerformSELECTCombine(), performSetccAddFolding(), PerformVMOVRRDCombine(), PerformVMULCombine(), PerformVSetCCToVCTPCombine(), llvm::LatencyPriorityQueue::pop(), llvm::ResourcePriorityQueue::pop(), llvm::RawInstrProfReader< IntPtrT >::printBinaryIds(), PrintResults(), pushAddIntoCmovOfConsts(), reassociateFCmps(), 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(), replaceShuffleOfInsert(), llvm::AArch64FrameLowering::restoreCalleeSavedRegisters(), runImpl(), llvm::mca::Scheduler::select(), selectGatherScatterAddrMode(), 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< llvm::Value *, llvm::Value * >::SmallDenseMap(), llvm::AArch64FrameLowering::spillCalleeSavedRegisters(), llvm::CallGraphNode::stealCalledFunctionsFrom(), llvm::Use::swap(), llvm::Any::swap(), llvm::MapVector< AssertingVH< Instruction >, AssertingVH< Value > >::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< llvm::VectorizationFactor >::swap(), llvm::BitVector::swap(), llvm::DenseMap< llvm::SmallVector< llvm::VPValue *, 4 >, llvm::VPInstruction *, BundleDenseMapInfo >::swap(), llvm::SmallDenseMap< llvm::Value *, llvm::Value * >::swap(), llvm::GVNExpression::BasicExpression::swapOperands(), llvm::BranchInst::swapSuccessors(), Swizzle(), llvm::orc::SymbolStringPtr::SymbolStringPtr(), llvm::MMIAddrLabelMap::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::InstCombinerImpl::visitSub(), 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 llvm::SetVector< T, Vector, Set >::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 742 of file SmallBitVector.h.

References llvm::SmallBitVector::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 511 of file SmallPtrSet.h.

References llvm::SmallPtrSet< PtrType, SmallSize >::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 333 of file SetVector.h.

References llvm::SetVector< T, SmallVector< T, N >, SmallDenseSet< T, N > >::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 1276 of file SmallVector.h.

References llvm::SmallVectorImpl< T >::swap().

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

References llvm::SmallVectorImpl< T >::swap().