LLVM API Documentation

Classes | Functions
std Namespace Reference

Classes

struct  is_error_code_enum< llvm::BitcodeError >
struct  is_error_code_enum< llvm::object::object_error >
struct  is_error_code_enum< llvm::instrprof_error >
struct  is_error_code_enum< llvm::errc >

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)
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

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

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

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

Implement std::swap in terms of BitVector swap.

Definition at line 590 of file BitVector.h.

References llvm::BitVector::swap().

Referenced by llvm::PressureDiff::addPressureChange(), llvm::Record::addValue(), llvm::SUnit::biasCriticalPath(), llvm::PBQPBuilderWithCoalescing::build(), BuildConstantFromSCEV(), llvm::Calculate(), checkForNegativeOperand(), checkV64LaneV128(), llvm::BlockFrequencyInfoImplBase::clear(), combineSelectAndUse(), commuteShuffle(), llvm::ConstantFoldTerminator(), EliminateDeadSwitchCases(), EmitCMP(), llvm::ARMTargetLowering::EmitInstrWithCustomInserter(), llvm::ARMTargetLowering::emitLoadLinked(), llvm::MipsSEFrameLowering::emitPrologue(), llvm::ARMTargetLowering::emitStoreConditional(), llvm::CoalescerPair::flip(), llvm::InstCombiner::FoldAndOfFCmps(), llvm::InstCombiner::FoldAndOfICmps(), FoldOperationIntoSelectOperand(), llvm::InstCombiner::FoldOrOfFCmps(), llvm::InstCombiner::FoldOrOfICmps(), llvm::BitcodeReader::FreeState(), GetBranchWeights(), getBuildVectorSplat(), llvm::Loop::getCanonicalInductionVariable(), getCmp(), llvm::TargetRegisterInfo::getCommonSuperRegClass(), getCopyFromParts(), llvm::GetIfCondition(), llvm::SelectionDAG::getNode(), llvm::SCEVAddRecExpr::getNumIterationsInRange(), llvm::ARMTargetLowering::getPostIndexedAddressParts(), llvm::PPCTargetLowering::getPreIndexedAddressParts(), GroupByComplexity(), llvm::InlineFunction(), isBitfieldInsertOpFromOr(), llvm::CoalescerPair::isCoalescable(), isSetCC(), LowerIntVSETCC_AVX512(), lowerMSABinaryBitImmIntr(), LowerMUL(), lowerV4F32VectorShuffle(), LowerVECTOR_SHUFFLE(), LowerVECTOR_SHUFFLE_128v4(), LowerVSETCC(), LowerXOR(), matchAddSub(), llvm::BitcodeReader::MaterializeModule(), llvm::AliasSet::mergeSetIn(), llvm::LiveRange::MergeValueNumberInto(), llvm::hashing::detail::hash_state::mix(), needsLFTR(), llvm::Triple::normalize(), llvm::Regex::operator=(), llvm::CGSCCAnalysisManagerModuleProxy::Result::operator=(), llvm::CGSCCAnalysisManagerModuleProxy::operator=(), llvm::detail::PassModel< IRUnitT, AnalysisManagerT, PassT, true >::operator=(), llvm::detail::PassModel< IRUnitT, AnalysisManagerT, PassT, false >::operator=(), llvm::ModuleAnalysisManagerCGSCCProxy::Result::operator=(), llvm::ModuleAnalysisManagerCGSCCProxy::operator=(), llvm::ModuleToPostOrderCGSCCPassAdaptor< CGSCCPassT >::operator=(), llvm::detail::AnalysisResultModel< IRUnitT, PassT, ResultT, false >::operator=(), llvm::detail::AnalysisResultModel< IRUnitT, PassT, ResultT, true >::operator=(), llvm::FunctionAnalysisManagerCGSCCProxy::Result::operator=(), llvm::detail::AnalysisPassModel< IRUnitT, AnalysisManagerT, PassT, true >::operator=(), llvm::FunctionAnalysisManagerCGSCCProxy::operator=(), llvm::detail::AnalysisPassModel< IRUnitT, AnalysisManagerT, PassT, false >::operator=(), llvm::CGSCCAnalysisManagerFunctionProxy::Result::operator=(), llvm::CGSCCAnalysisManagerFunctionProxy::operator=(), llvm::CGSCCToFunctionPassAdaptor< FunctionPassT >::operator=(), llvm::FunctionAnalysisManagerModuleProxy::operator=(), llvm::FunctionAnalysisManagerModuleProxy::Result::operator=(), llvm::ModuleAnalysisManagerFunctionProxy::Result::operator=(), llvm::ModuleAnalysisManagerFunctionProxy::operator=(), llvm::ModuleToFunctionPassAdaptor< FunctionPassT >::operator=(), llvm::LiveRange::overlaps(), llvm::LiveRange::overlapsFrom(), PerformANDCombine(), performBRCONDCombine(), PerformCMOVCombine(), PerformMulCombine(), PerformOrCombine(), PerformSELECTCombine(), performSetccAddFolding(), PerformVMOVRRDCombine(), PerformVMULCombine(), llvm::LatencyPriorityQueue::pop(), llvm::ResourcePriorityQueue::pop(), PrintResults(), llvm::RawInstrProfReader< IntPtrT >::readNextRecord(), llvm::objcarc::ProvenanceAnalysis::related(), llvm::LatencyPriorityQueue::remove(), llvm::ResourcePriorityQueue::remove(), ReorganizeVector(), llvm::SCEVExpander::replaceCongruentIVs(), llvm::Inliner::runOnSCC(), llvm::SelectionDAGISel::SelectInlineAsmMemoryOperands(), llvm::CoalescerPair::setRegisters(), shareSameRegisterFile(), SimplifyAddInst(), SimplifyAndInst(), SimplifyBranchOnICmpChain(), SimplifyDiv(), SimplifyFAddInst(), SimplifyFCmpInst(), SimplifyFMulInst(), SimplifyICmpInst(), llvm::ScalarEvolution::SimplifyICmpOperands(), SimplifyMulInst(), SimplifyOrInst(), SimplifyXorInst(), SpeculativelyExecuteBB(), llvm::CallGraphNode::stealCalledFunctionsFrom(), llvm::SmallVectorImpl< T >::swap(), llvm::BinaryOperator::swapOperands(), llvm::ICmpInst::swapOperands(), llvm::FCmpInst::swapOperands(), llvm::BranchInst::swapSuccessors(), Swizzle(), llvm::MMIAddrLabelMap::takeDeletedSymbolsForFunction(), ThreadCmpOverPHI(), ThreadCmpOverSelect(), TranslateX86CC(), translateX86FSETCC(), tryCombineToEXTR(), tryFactorization(), TryMULWIDECombine(), tryPressure(), trySequenceOfOnes(), TryToSimplifyUncondBranchWithICmpInIt(), llvm::JIT::UnregisterJITEventListener(), llvm::MCJIT::UnregisterJITEventListener(), ValuesOverlap(), llvm::InstCombiner::visitAnd(), llvm::InstCombiner::visitCallInst(), llvm::InstCombiner::visitFMul(), llvm::InstCombiner::visitICmpInst(), llvm::InstCombiner::visitOr(), llvm::InstCombiner::visitSelectInst(), llvm::InstCombiner::visitSelectInstWithICmp(), llvm::SelectionDAGBuilder::visitSwitchCase(), and llvm::InstCombiner::visitXor().

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

Implement std::swap in terms of BitVector swap.

Definition at line 600 of file SmallBitVector.h.

References llvm::SmallBitVector::swap().

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

Definition at line 663 of file ilist.h.

References llvm::iplist< NodeTy, Traits >::swap().

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

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

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

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