LLVM  8.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::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)
 
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 480 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 701 of file SmallBitVector.h.

References llvm::SmallBitVector::swap().

◆ swap() [4/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 927 of file SmallVector.h.

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

◆ swap() [5/6]

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

◆ swap() [6/6]

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

Implement std::swap in terms of BitVector swap.

Definition at line 941 of file BitVector.h.

References llvm::BitVector::swap().

Referenced by addNegOperand(), llvm::PressureDiff::addPressureChange(), adjustDown(), llvm::adl_detail::adl_end(), llvm::adl_detail::adl_swap(), alwaysAvailable(), llvm::CCState::AnalyzeArgumentsSecondPass(), llvm::MemoryDepChecker::areDepsSafe(), areStridedAccessesIndependent(), assertBranchOrSelectConditionHoisted(), llvm::SUnit::biasCriticalPath(), llvm::SparcTargetLowering::bitcastConstantFPToInt(), BrPHIToSelect(), BuildConstantFromSCEV(), llvm::coro::Shape::buildFrom(), buildMultiplyTree(), calculateByteProvider(), canFoldInAddressingMode(), canMoveInstsAcrossMemOp(), canonicalizeICmpBool(), canonicalizeSaturatedSubtract(), canTurnIntoCOPY(), CC_MipsO32_FP64(), llvm::ARMTargetLowering::CCAssignFnForReturn(), changeFCMPPredToAArch64CC(), checkBiasedBranch(), checkForNegativeOperand(), checkV64LaneV128(), llvm::BlockFrequencyInfoImplBase::clear(), CloneLoop(), combineAddOrSubToADCOrSBB(), combineADDToADDZE(), combineCMov(), combineLogicBlendIntoPBLENDV(), combineLoopMAddPattern(), combineLoopSADPattern(), combineMul(), combineOr(), combineOrCmpEqZeroToCtlzSrl(), combineSelect(), combineSelectAndUse(), combineSelectOfTwoConstants(), combineSetCC(), combineShuffleToFMAddSub(), combineTargetShuffle(), combineVSelectWithAllOnesOrZeros(), combineX86ShufflesRecursively(), commuteShuffle(), llvm::KnownBits::computeForAddSub(), llvm::SelectionDAG::computeKnownBits(), llvm::SelectionDAG::ComputeNumSignBits(), computeUnlikelySuccessors(), llvm::ConstantFoldTerminator(), countToEliminateCompares(), createAndInstr(), createCTLZIntrinsic(), createGPRPairNode(), llvm::createHexagonHardwareLoops(), createPHIsForCMOVsInSinkBB(), createPHIsForSelects(), llvm::DomTreeBuilder::DeleteEdge(), DeleteTriviallyDeadInstructions(), llvm::DenseMap< unsigned, unsigned >::DenseMap(), detectAVGPattern(), detectPMADDUBSW(), 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(), findUncondBrI(), FitWeights(), llvm::CoalescerPair::flip(), foldAndOrOfEqualityCmpsWithConstants(), foldBitcastedFPLogic(), foldFreeOpFromSelect(), foldICmpWithMinMax(), foldOperationIntoPhiValue(), foldOperationIntoSelectOperand(), foldOrCommuteConstant(), foldSignedTruncationCheck(), llvm::ScalarEvolution::forgetValue(), generateEquivalentSub(), GeneratePerfectShuffle(), getAArch64Cmp(), llvm::RegBankSelect::getAnalysisUsage(), getBinOpsForFactorization(), getBranchHint(), GetBranchWeights(), getBuildPairElt(), getBuildVectorSplat(), llvm::Loop::getCanonicalInductionVariable(), getCmp(), llvm::TargetRegisterInfo::getCommonSuperRegClass(), getCompareCC(), getComparePred(), getCopyFromParts(), getDepthOfOptCmov(), getDivRemArgList(), getDUPLANEOp(), getExpandedMinMaxOps(), llvm::GetIfCondition(), getInductionVariable(), getMad64_32(), getMetadataTypeOrder(), llvm::SelectionDAG::getNode(), llvm::MipsTargetLowering::getOpndList(), getPermuteMask(), GetPointerOperand(), llvm::ARMTargetLowering::getPostIndexedAddressParts(), llvm::PPCTargetLowering::getPreIndexedAddressParts(), llvm::RawInstrProfReader< IntPtrT >::getSymtab(), getTag(), getThreeSrcCommuteCase(), llvm::DenseMapInfo< SimpleValue >::getTombstoneKey(), llvm::slpvectorizer::BoUpSLP::getTreeCost(), getValueFromICmpCondition(), getVCmpInst(), greaterWithBias(), GroupByComplexity(), llvm::TargetInstrInfo::hasReassociableSibling(), hasZeroSignBit(), llvm::GCNRegPressure::inc(), INITIALIZE_PASS(), llvm::InlineFunction(), llvm::RuntimePointerChecking::insert(), llvm::DomTreeBuilder::InsertEdge(), llvm::SIInstrInfo::insertSelect(), llvm::intCCToAVRCC(), intersect(), isAddSubOrSubAdd(), isAlwaysFoldable(), isAnyConstantBuildVector(), isBSwapHWordElement(), isClampZeroToOne(), llvm::CoalescerPair::isCoalescable(), isContractable(), llvm::TargetLowering::isExtendedTrueVal(), isFloatingPointZero(), isFMulNegTwo(), isFNEG(), isHorizontalBinOp(), isImpliedCondMatchingOperands(), isKnownNegativeInLoop(), IsKnownPredicateViaMinOrMax(), isLoadConditional(), llvm::ScalarEvolution::isLoopEntryGuardedByCond(), isLoopInvariant(), llvm::ScalarEvolution::isLoopInvariantPredicate(), isLoopNeverExecuted(), isLowerSaturatingConditional(), isMulPowOf2(), isNEONModifiedImm(), isOnlyReachableViaThisEdge(), isOpcWithIntImmediate(), isSetCC(), isSExtLoad(), isSignedMinMaxClamp(), isSupportedType(), isTargetConstant(), llvm::cfg::LegalizeUpdates(), LowerAndToBT(), llvm::SparcTargetLowering::LowerFormalArguments_32(), LowerIntVSETCC_AVX512(), lowerMSABinaryBitImmIntr(), lowerMSASplatZExt(), LowerMUL(), llvm::ARMCallLowering::lowerReturn(), lowerV8I16GeneralSingleInputVectorShuffle(), LowerVASTART(), llvm::HexagonTargetLowering::LowerVECTOR_SHUFFLE(), LowerVECTOR_SHUFFLE(), lowerVectorShuffleByMerging128BitLanes(), lowerVectorShuffleWithSHUFPS(), lowerVectorShuffleWithVPMOV(), LowerVSETCC(), LowerVSETCCWithSUBUS(), LowerXOR(), matchBinaryVectorShuffle(), matchClamp(), matchFastFloatClamp(), matchLogicBlend(), matchMinMaxOfMinMax(), matchPMADDWD(), matchPMADDWD_2(), matchRotateSub(), matchSelectFromAndOr(), matchSelectPattern(), matchVectorShuffleWithSHUFPD(), matchVectorShuffleWithUNPCK(), llvm::gvn::AvailableValueInBlock::MaterializeAdjustedValue(), mayTailCallThisCC(), mayUsePostIncMode(), MergeAliasResults(), mergeConditionalStores(), MergeSeqs(), llvm::AliasSet::mergeSetIn(), llvm::LiveRange::MergeValueNumberInto(), llvm::hashing::detail::hash_state::mix(), multikeySort(), needsLFTR(), NegateCC(), nextReg(), normaliseSetCC(), llvm::Triple::normalize(), llvm::Regex::operator=(), llvm::ItaniumPartialDemangler::operator=(), llvm::detail::PassModel< IRUnitT, PassT, PreservedAnalysesT, AnalysisManagerT, ExtraArgTs >::operator=(), llvm::orc::SymbolStringPtr::operator=(), llvm::CachedHashString::operator=(), llvm::IntrusiveRefCntPtr< llvm::vfs::FileSystem >::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::itanium_demangle::PODSmallVector< llvm::itanium_demangle::ForwardTemplateReference *, 4 >::operator=(), llvm::LiveRange::overlaps(), llvm::LiveRange::overlapsFrom(), packCmovGroup(), llvm::parallel::detail::parallel_quick_sort(), parseCond(), llvm::itanium_demangle::Db< Alloc >::parseFoldExpr(), PerformANDCombine(), performBRCONDCombine(), llvm::ARMTargetLowering::PerformCMOVToBFICombine(), llvm::PPCTargetLowering::PerformDAGCombine(), performSetccAddFolding(), PerformVMOVRRDCombine(), PerformVMULCombine(), llvm::GVN::ValueTable::phiTranslate(), PickMostRelevantLoop(), llvm::LatencyPriorityQueue::pop(), llvm::ResourcePriorityQueue::pop(), PrepareCall(), PrintResults(), processSelect(), propagateMetadata(), llvm::FileCheck::ReadCheckFile(), llvm::objcarc::ProvenanceAnalysis::related(), llvm::LatencyPriorityQueue::remove(), llvm::ResourcePriorityQueue::remove(), removePhis(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::RemoveRedundantRoots(), ReorganizeVector(), ReplaceCMP_SWAP_128Results(), llvm::SCEVExpander::replaceCongruentIVs(), llvm::R600TargetLowering::ReplaceNodeResults(), replaceShuffleOfInsert(), reportLoadElim(), llvm::LoopPredicationPass::run(), llvm::WholeProgramDevirtPass::run(), runImpl(), scaleWeights(), selectI64Imm(), llvm::SelectionDAGISel::SelectInlineAsmMemoryOperands(), setBranchWeights(), setLimitsForBinOp(), llvm::CoalescerPair::setRegisters(), shareSameRegisterFile(), shouldAlwaysEmitCompleteClassType(), shouldInstrumentBlock(), shouldMergeGEPs(), shouldReorderOperands(), shouldRotateLoopExitingLatch(), ShrinkLoadReplaceStoreWithStore(), shrinkScalarCompare(), SimplifyBranchOnICmpChain(), simplifyDivRem(), SimplifyFCmpInst(), SimplifyICmpInst(), llvm::ScalarEvolution::SimplifyICmpOperands(), simplifyICmpWithMinMax(), SimplifyIndirectBrOnSelect(), simplifyLoopInst(), SimplifyShuffleVectorInst(), simplifySuspendPoints(), sinkNotIntoXor(), llvm::SmallDenseMap< const llvm::DISubprogram *, detail::DenseSetEmpty, InlineBuckets, DenseMapInfo< const llvm::DISubprogram *>, detail::DenseSetPair< const llvm::DISubprogram * > >::SmallDenseMap(), SpeculativelyExecuteBB(), llvm::CallGraphNode::stealCalledFunctionsFrom(), llvm::Any::swap(), 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::orc::SymbolStringPtr::SymbolStringPtr(), llvm::MMIAddrLabelMap::takeDeletedSymbolsForFunction(), ThreadCmpOverPHI(), ThreadCmpOverSelect(), translateIntrinsicFunctionCode(), TranslateX86CC(), translateX86FSETCC(), tryBitfieldInsertOpFromOr(), tryCombineToEXTR(), tryConstantFoldOp(), TryMULWIDECombine(), llvm::tryPressure(), trySequenceOfOnes(), tryToElideArgumentCopy(), UnpackFromArgumentSlot(), llvm::MCJIT::UnregisterJITEventListener(), llvm::OrcCBindingsStack::UnregisterJITEventListener(), UpdatePredRedefs(), useSinCos(), ValuesOverlap(), llvm::sroa::AllocaSliceRewriter::visit(), llvm::InstCombiner::visitCallInst(), llvm::InstCombiner::visitICmpInst(), llvm::InstCombiner::visitOr(), llvm::InstCombiner::visitSub(), llvm::SelectionDAGBuilder::visitSwitchCase(), llvm::InstCombiner::visitXor(), X86ChooseCmpImmediateOpcode(), and llvm::reassociate::XorOpnd::XorOpnd().