LLVM  6.0.0svn
Namespaces | Classes | Functions | Variables
llvm::parallel Namespace Reference

Namespaces

 detail
 

Classes

struct  is_execution_policy
 
struct  parallel_execution_policy
 
struct  sequential_execution_policy
 

Functions

template<class Policy , class RandomAccessIterator , class Comparator = detail::DefComparator<RandomAccessIterator>>
void sort (Policy policy, RandomAccessIterator Start, RandomAccessIterator End, const Comparator &Comp=Comparator())
 
template<class Policy , class IterTy , class FuncTy >
void for_each (Policy policy, IterTy Begin, IterTy End, FuncTy Fn)
 
template<class Policy , class IndexTy , class FuncTy >
void for_each_n (Policy policy, IndexTy Begin, IndexTy End, FuncTy Fn)
 
template<class RandomAccessIterator , class Comparator = detail::DefComparator<RandomAccessIterator>>
void sort (parallel_execution_policy policy, RandomAccessIterator Start, RandomAccessIterator End, const Comparator &Comp=Comparator())
 
template<class IterTy , class FuncTy >
void for_each (parallel_execution_policy policy, IterTy Begin, IterTy End, FuncTy Fn)
 
template<class IndexTy , class FuncTy >
void for_each_n (parallel_execution_policy policy, IndexTy Begin, IndexTy End, FuncTy Fn)
 

Variables

constexpr sequential_execution_policy seq {}
 
constexpr parallel_execution_policy par {}
 

Function Documentation

◆ for_each() [1/2]

template<class Policy , class IterTy , class FuncTy >
void llvm::parallel::for_each ( Policy  policy,
IterTy  Begin,
IterTy  End,
FuncTy  Fn 
)

Definition at line 207 of file Parallel.h.

References for_each().

◆ for_each() [2/2]

template<class IterTy , class FuncTy >
void llvm::parallel::for_each ( parallel_execution_policy  policy,
IterTy  Begin,
IterTy  End,
FuncTy  Fn 
)

◆ for_each_n() [1/2]

template<class Policy , class IndexTy , class FuncTy >
void llvm::parallel::for_each_n ( Policy  policy,
IndexTy  Begin,
IndexTy  End,
FuncTy  Fn 
)

Definition at line 214 of file Parallel.h.

References llvm::WebAssembly::End, and I.

◆ for_each_n() [2/2]

template<class IndexTy , class FuncTy >
void llvm::parallel::for_each_n ( parallel_execution_policy  policy,
IndexTy  Begin,
IndexTy  End,
FuncTy  Fn 
)

Definition at line 238 of file Parallel.h.

References llvm::parallel::detail::parallel_for_each_n().

◆ sort() [1/2]

template<class Policy , class RandomAccessIterator , class Comparator = detail::DefComparator<RandomAccessIterator>>
void llvm::parallel::sort ( Policy  policy,
RandomAccessIterator  Start,
RandomAccessIterator  End,
const Comparator &  Comp = Comparator() 
)

Definition at line 199 of file Parallel.h.

References sort().

Referenced by llvm::TargetLibraryInfoImpl::addVectorizableFunctions(), adjustCostForPairing(), llvm::AreStatisticsEnabled(), buildClonedLoops(), calculateOffsetDiff(), callsiteIsHot(), llvm::HexagonShuffler::check(), llvm::collectCmpOps(), CollectSubexprs(), combineWeightsBySorting(), llvm::codeview::DebugCrossModuleImportsSubsection::commit(), llvm::compareVectors(), llvm::ProfileSummaryBuilder::computeDetailedSummary(), llvm::rdf::Liveness::computeLiveIns(), computeLiveOuts(), llvm::MachObjectWriter::computeSymbolTable(), llvm::LegalizerInfo::computeTables(), computeWeight(), llvm::createStoreClusterDAGMutation(), DeleteTriviallyDeadInstructions(), llvm::ImportedFunctionsInliningStatistics::dump(), llvm::GVNExpression::Expression::dump(), dumpRelocs(), llvm::EHStreamer::emitExceptionTable(), enableCallSafepoints(), encodeBase64StringEntry(), llvm::rdf::DeadCodeElimination::erase(), llvm::InstrProfSymtab::finalizeSymtab(), llvm::ScalarEvolution::findArrayDimensions(), findIrreducibleHeaders(), findPartitions(), fixPhis(), llvm::DWARFDebugAranges::generate(), llvm::AttributeSetNode::get(), GetAEABIUnwindPersonalityName(), llvm::rdf::Liveness::getAllReachingDefs(), getDwarfRegNum(), GetEHSpillList(), llvm::DbgVariable::getFrameIndexExprs(), getFunctionName(), getMetadataTypeOrder(), llvm::rdf::DataFlowGraph::getNextShadow(), llvm::MemoryDependenceResults::getNonLocalCallDependency(), GetSpillList(), getStartOrEndSlot(), getStoreTarget(), getSuccPad(), getTypePartition(), llvm::coverage::CoverageMapping::getUniqueSourceFiles(), llvm::sroa::AllocaSlices::insert(), InsertLDR_STR(), llvm::SlotIndexes::insertMBBInMaps(), isCopyOfAPHI(), isDebug(), llvm::ARMBaseInstrInfo::isLoadFromStackSlotPostFE(), IsSafeAndProfitableToMove(), isVectorPromotionViable(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::LegalizeUpdates(), llvm::coverage::CoverageMapping::load(), lookupCandidateBaseReg(), lowerV16I8VectorShuffle(), lowerV8I16GeneralSingleInputVectorShuffle(), llvm::iplist_impl< simple_ilist< MachineInstr, Options... >, ilist_traits< MachineInstr > >::merge(), okayForPHIOfOps(), false::IntervalSorter::operator()(), llvm::MemorySSA::OptimizeUses::optimizeUses(), llvm::DWARFDebugLine::LineTable::parse(), patchAndReplaceAllUsesWith(), peekThroughBitcast(), populateAliasMap(), populateExternalRelations(), predictValueUseListOrderImpl(), llvm::PhysicalRegisterUsageInfo::print(), llvm::CallGraph::print(), llvm::FileInfo::print(), llvm::ScopedPrinter::printFlags(), promoteSingleBlockAlloca(), llvm::GVNHoist::rank(), llvm::ScheduleDAGInstrs::reduceHugeMemNodeMaps(), ReduceSwitchRange(), relocationViaAlloca(), llvm::MemoryDependenceResults::removeInstruction(), RemoveUnusedGlue(), llvm::SelectionDAG::ReplaceAllUsesOfValuesWith(), llvm::ReplaceableMetadataImpl::replaceAllUsesWith(), llvm::SCEVExpander::replaceCongruentIVs(), replaceConstantExprOp(), llvm::ReplaceableMetadataImpl::resolveAllUses(), llvm::BitcodeReaderValueList::resolveConstantForwardRefs(), llvm::ARMFrameLowering::ResolveFrameIndexReference(), llvm::ThinLTOCodeGenerator::run(), llvm::SlotIndexes::runOnMachineFunction(), selectI64Imm(), shouldInstrumentBlock(), llvm::HexagonShuffler::shuffle(), sinkInstruction(), AllocaSlices::SliceBuilder::SliceBuilder(), llvm::SMDiagnostic::SMDiagnostic(), SortCallTargets(), sortGlobalExprs(), SortNonLocalDepInfoCache(), llvm::GCNIterativeScheduler::sortRegionsByPressure(), llvm::MachineBasicBlock::sortUniqueLiveIns(), llvm::DebugLocEntry::sortUniqueValues(), false::Chain::str(), tryToElideArgumentCopy(), llvm::HexagonBlockRanges::RangeList::unionize(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::VerifyDFSNumbers(), llvm::SelectionDAGBuilder::visitBitTestCase(), writeFunctionTypeMetadataRecords(), and llvm::TimerGroup::~TimerGroup().

◆ sort() [2/2]

template<class RandomAccessIterator , class Comparator = detail::DefComparator<RandomAccessIterator>>
void llvm::parallel::sort ( parallel_execution_policy  policy,
RandomAccessIterator  Start,
RandomAccessIterator  End,
const Comparator &  Comp = Comparator() 
)

Variable Documentation

◆ par

constexpr parallel_execution_policy llvm::parallel::par {}

Definition at line 43 of file Parallel.h.

◆ seq

constexpr sequential_execution_policy llvm::parallel::seq {}

Definition at line 42 of file Parallel.h.