LLVM  6.0.0svn
Classes | Functions
std Namespace Reference

Classes

struct  hash< llvm::pdb::PDB_SymType >
 
struct  is_error_code_enum< llvm::BitcodeError >
 
struct  is_error_code_enum< llvm::errc >
 
struct  is_error_code_enum< llvm::object::object_error >
 
struct  is_error_code_enum< llvm::sampleprof_error >
 

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)
 
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/6]

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

◆ swap() [2/6]

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 485 of file SmallPtrSet.h.

References llvm::SmallPtrSet< PtrType, SmallSize >::swap().

◆ swap() [3/6]

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

Implement std::swap in terms of BitVector swap.

Definition at line 696 of file SmallBitVector.h.

References llvm::SmallBitVector::swap().

◆ swap() [4/6]

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

Implement std::swap in terms of BitVector swap.

Definition at line 923 of file BitVector.h.

References llvm::BitVector::swap().

Referenced by addNegOperand(), llvm::PressureDiff::addPressureChange(), llvm::Record::addValue(), allUsesExtend(), llvm::CCState::AnalyzeArgumentsSecondPass(), llvm::MemoryDepChecker::areDepsSafe(), areStridedAccessesIndependent(), llvm::SUnit::biasCriticalPath(), BrPHIToSelect(), BuildConstantFromSCEV(), llvm::coro::Shape::buildFrom(), CanBeSMin(), canFoldInAddressingMode(), canMoveInstsAcrossMemOp(), canonicalizeICmpBool(), CC_MipsO32_FP64(), llvm::ARMTargetLowering::CCAssignFnForReturn(), changeFCMPPredToAArch64CC(), checkForNegativeOperand(), checkV64LaneV128(), llvm::BlockFrequencyInfoImplBase::clear(), CloneLoop(), CollectSubexprs(), combineAddOrSubToADCOrSBB(), combineCMov(), combineLogicBlendIntoPBLENDV(), combineLoopMAddPattern(), combineMul(), combineOr(), combineOrCmpEqZeroToCtlzSrl(), combineSelect(), combineSelectAndUse(), combineSelectOfTwoConstants(), combineSetCC(), combineShuffleOfSplat(), combineVSelectWithAllOnesOrZeros(), combineX86ShufflesRecursively(), commuteShuffle(), computeKnownBitsAddSub(), llvm::ConstantFoldTerminator(), createAndInstr(), createCTLZIntrinsic(), createGPRPairNode(), llvm::createHexagonHardwareLoops(), llvm::MemorySSAUtil::defClobbersUseOrDef(), llvm::DomTreeBuilder::DeleteEdge(), DeleteTriviallyDeadInstructions(), llvm::DenseMap< unsigned, unsigned >::DenseMap(), detectAVGPattern(), detectZextAbsDiff(), DoInitialMatch(), EliminateDeadSwitchCases(), EmitCMP(), emitConjunctionDisjunctionTreeRec(), llvm::MipsSETargetLowering::EmitInstrWithCustomInserter(), llvm::ARMTargetLowering::EmitInstrWithCustomInserter(), llvm::ARMTargetLowering::emitLoadLinked(), llvm::MipsSEFrameLowering::emitPrologue(), llvm::ARMTargetLowering::emitStoreConditional(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::EraseNode(), llvm::AlignmentFromAssumptionsPass::extractAlignmentInfo(), findFalseBlock(), llvm::DominatorTreeBase< BasicBlock, false >::findNearestCommonDominator(), FitWeights(), llvm::CoalescerPair::flip(), foldAndOrOfEqualityCmpsWithConstants(), foldBitcastedFPLogic(), foldBoolSextMaskToSelect(), foldFreeOpFromSelect(), foldICmpWithMinMax(), foldOperationIntoPhiValue(), foldOperationIntoSelectOperand(), foldOrCommuteConstant(), foldSelectICmpAndOr(), llvm::ScalarEvolution::forgetValue(), generateEquivalentSub(), GeneratePerfectShuffle(), llvm::RegBankSelect::getAnalysisUsage(), getBinOpsForFactorization(), getBlockName(), getBranchHint(), GetBranchWeights(), getBuildVectorSplat(), llvm::Loop::getCanonicalInductionVariable(), getCmp(), llvm::TargetRegisterInfo::getCommonSuperRegClass(), getCompareCC(), getComparePred(), getCopyFromParts(), getDivRemArgList(), getDRegFromQReg(), getDUPLANEOp(), getExpandedMinMaxOps(), llvm::X86InstrInfo::getFMA3OpcodeToCommuteOperands(), getFusedLdStOpcode(), llvm::GetIfCondition(), getLeaOP(), getMetadataTypeOrder(), getMFHiLoOpc(), llvm::SelectionDAG::getNode(), getNodeRegMask(), llvm::SCEVAddRecExpr::getNumIterationsInRange(), llvm::MipsTargetLowering::getOpndList(), GetPointerOperand(), llvm::ARMTargetLowering::getPostIndexedAddressParts(), llvm::PPCTargetLowering::getPreIndexedAddressParts(), getStrictFPOpcodeAction(), llvm::RawInstrProfReader< IntPtrT >::getSymtab(), getTag(), getThreeSrcCommuteCase(), llvm::DenseMapInfo< SimpleValue >::getTombstoneKey(), llvm::slpvectorizer::BoUpSLP::getTreeCost(), getValueFromICmpCondition(), getVCmpInst(), greaterWithBias(), GroupByComplexity(), llvm::TargetInstrInfo::hasReassociableSibling(), llvm::GCNRegPressure::inc(), INITIALIZE_PASS(), inlineCallsImpl(), llvm::InlineFunction(), llvm::RuntimePointerChecking::insert(), insertDebugValues(), llvm::DomTreeBuilder::InsertEdge(), llvm::SIInstrInfo::insertSelect(), llvm::intCCToAVRCC(), isAddSub(), llvm::isAllocaPromotable(), isAlwaysFoldable(), isBoolSGPR(), isBSwapHWordElement(), isClampZeroToOne(), isCMOVPseudo(), llvm::CoalescerPair::isCoalescable(), isContractable(), llvm::TargetLowering::isExtendedTrueVal(), isFMulNegTwo(), isImpliedCondMatchingOperands(), isKnownNonZero(), IsKnownPredicateViaMinOrMax(), llvm::ScalarEvolution::isLoopEntryGuardedByCond(), isLoopInvariant(), llvm::ScalarEvolution::isLoopInvariantPredicate(), isLoopNeverExecuted(), isMulPowOf2(), isNEONModifiedImm(), isOnlyReachableViaThisEdge(), isOpcWithIntImmediate(), isSaturatingConditional(), isScaledConstantInRange(), isSetCC(), isSExtLoad(), isSupportedType(), isTargetConstant(), LowerAndToBT(), llvm::SparcTargetLowering::LowerFormalArguments_32(), LowerIntVSETCC_AVX512(), lowerMSABinaryBitImmIntr(), lowerMSASplatZExt(), LowerMUL(), llvm::ARMCallLowering::lowerReturn(), lowerV8I16GeneralSingleInputVectorShuffle(), LowerVASTART(), LowerVECTOR_SHUFFLE(), lowerVectorShuffleWithSHUFPS(), LowerVSETCC(), LowerXOR(), matchBinaryVectorShuffle(), matchRotateSub(), matchSelectFromAndOr(), matchSelectPattern(), matchVectorShuffleWithSHUFPD(), matchVectorShuffleWithUNPCK(), llvm::gvn::AvailableValueInBlock::MaterializeAdjustedValue(), mayTailCallThisCC(), MergeAliasResults(), mergeConditionalStores(), MergeSeqs(), llvm::AliasSet::mergeSetIn(), llvm::LiveRange::MergeValueNumberInto(), llvm::hashing::detail::hash_state::mix(), multikey_qsort(), needsLFTR(), NegateCC(), nextReg(), llvm::Triple::normalize(), llvm::Regex::operator=(), llvm::detail::PassModel< IRUnitT, PassT, PreservedAnalysesT, AnalysisManagerT, ExtraArgTs >::operator=(), llvm::CachedHashString::operator=(), llvm::IntrusiveRefCntPtr< T >::operator=(), llvm::detail::AnalysisResultModel< IRUnitT, PassT, ResultT, PreservedAnalysesT, InvalidatorT, false >::operator=(), llvm::detail::AnalysisResultModel< IRUnitT, PassT, ResultT, PreservedAnalysesT, InvalidatorT, true >::operator=(), llvm::detail::AnalysisPassModel< IRUnitT, PassT, PreservedAnalysesT, InvalidatorT, ExtraArgTs >::operator=(), llvm::StringMap< uint64_t >::operator=(), llvm::ModuleToPostOrderCGSCCPassAdaptor< CGSCCPassT >::operator=(), llvm::CGSCCToFunctionPassAdaptor< FunctionPassT >::operator=(), llvm::DenseMap< unsigned, unsigned >::operator=(), llvm::SmallDenseMap< const llvm::DISubprogram *, detail::DenseSetEmpty, InlineBuckets, DenseMapInfo< const llvm::DISubprogram *>, detail::DenseSetPair< const llvm::DISubprogram * > >::operator=(), llvm::LiveRange::overlaps(), llvm::LiveRange::overlapsFrom(), llvm::parallel::detail::parallel_quick_sort(), parseCond(), PerformANDCombine(), performBRCONDCombine(), llvm::ARMTargetLowering::PerformCMOVToBFICombine(), llvm::PPCTargetLowering::PerformDAGCombine(), performSetccAddFolding(), PerformVMOVRRDCombine(), PerformVMULCombine(), PickMostRelevantLoop(), pickOpcodeForVT(), llvm::LatencyPriorityQueue::pop(), llvm::ResourcePriorityQueue::pop(), PrepareCall(), printExtendedName(), PrintResults(), processSelect(), llvm::RawInstrProfReader< IntPtrT >::readHeader(), readWideAPInt(), llvm::objcarc::ProvenanceAnalysis::related(), llvm::LatencyPriorityQueue::remove(), llvm::ResourcePriorityQueue::remove(), RemoveKills(), removePhis(), ReorganizeVector(), llvm::SCEVExpander::replaceCongruentIVs(), llvm::R600TargetLowering::ReplaceNodeResults(), reportLoadElim(), llvm::LoopPredicationPass::run(), llvm::WholeProgramDevirtPass::run(), runImpl(), scaleWeights(), llvm::SelectionDAGISel::SelectInlineAsmMemoryOperands(), setLimitsForBinOp(), llvm::CoalescerPair::setRegisters(), shareSameRegisterFile(), shouldReorderOperands(), ShrinkLoadReplaceStoreWithStore(), shrinkScalarCompare(), SimplifyBranchOnICmpChain(), SimplifyDiv(), simplifyDivRem(), SimplifyFCmpInst(), SimplifyICmpInst(), llvm::ScalarEvolution::SimplifyICmpOperands(), simplifyICmpWithMinMax(), SimplifyLoopInst(), SimplifyShuffleVectorInst(), simplifySuspendPoints(), llvm::SmallDenseMap< const llvm::DISubprogram *, detail::DenseSetEmpty, InlineBuckets, DenseMapInfo< const llvm::DISubprogram *>, detail::DenseSetPair< const llvm::DISubprogram * > >::SmallDenseMap(), SolveQuadraticEquation(), SpeculativelyExecuteBB(), llvm::CallGraphNode::stealCalledFunctionsFrom(), llvm::MapVector< AssertingVH< Instruction >, AssertingVH< Value > >::swap(), llvm::StringMapImpl::swap(), llvm::simple_ilist< MachineInstr, Options... >::swap(), llvm::AllocatorList< Token >::swap(), llvm::SmallPtrSetImplBase::swap(), llvm::SmallVectorImpl< std::pair< llvm::RelocationValueRef, llvm::RelocationEntry > >::swap(), llvm::SmallBitVector::swap(), llvm::DenseMap< unsigned, unsigned >::swap(), llvm::BitVector::swap(), llvm::SmallDenseMap< const llvm::DISubprogram *, detail::DenseSetEmpty, InlineBuckets, DenseMapInfo< const llvm::DISubprogram *>, detail::DenseSetPair< const llvm::DISubprogram * > >::swap(), llvm::GVNExpression::BasicExpression::swapOperands(), llvm::BinaryOperator::swapOperands(), llvm::ICmpInst::swapOperands(), llvm::FCmpInst::swapOperands(), llvm::BranchInst::swapSuccessors(), Swizzle(), llvm::MMIAddrLabelMap::takeDeletedSymbolsForFunction(), ThreadCmpOverPHI(), ThreadCmpOverSelect(), TranslateX86CC(), translateX86FSETCC(), tryBitfieldInsertOpFromOr(), tryCombineToEXTR(), tryConstantFoldOp(), TryMULWIDECombine(), tryPressure(), trySequenceOfOnes(), tryToElideArgumentCopy(), TryToSimplifyUncondBranchWithICmpInIt(), UnpackFromArgumentSlot(), llvm::MCJIT::UnregisterJITEventListener(), unswitchTrivialBranch(), useSinCos(), ValuesOverlap(), llvm::sroa::AllocaSliceRewriter::visit(), llvm::InstCombiner::visitAnd(), llvm::InstCombiner::visitCallInst(), llvm::InstCombiner::visitFMul(), llvm::InstCombiner::visitICmpInst(), llvm::InstCombiner::visitOr(), llvm::SelectionDAGBuilder::visitSwitchCase(), llvm::InstCombiner::visitXor(), X86ChooseCmpImmediateOpcode(), and llvm::reassociate::XorOpnd::XorOpnd().

◆ swap() [5/6]

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

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

◆ swap() [6/6]

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