LLVM  5.0.0
Namespaces | Classes | Functions | Variables
llvm::parallel Namespace Reference

Namespaces

 detail
 

Classes

struct  sequential_execution_policy
 
struct  parallel_execution_policy
 
struct  is_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

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

Definition at line 209 of file Parallel.h.

References for_each().

Referenced by findPartitions(), parse_unnamed_type_name(), and llvm::LoopBase< N, M >::verifyLoop().

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

Definition at line 216 of file Parallel.h.

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

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

Definition at line 240 of file Parallel.h.

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

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 201 of file Parallel.h.

References sort().

Referenced by fuzzer::InputCorpus::AddToCorpus(), llvm::TargetLibraryInfoImpl::addVectorizableFunctions(), adjustCostForPairing(), llvm::HexagonShuffler::check(), combineWeightsBySorting(), llvm::codeview::DebugCrossModuleImportsSubsection::commit(), llvm::compareVectors(), llvm::ProfileSummaryBuilder::computeDetailedSummary(), llvm::rdf::Liveness::computeLiveIns(), llvm::MachObjectWriter::computeSymbolTable(), llvm::EHStreamer::emitExceptionTable(), llvm::ScheduleDAGSDNodes::EmitSchedule(), llvm::rdf::DeadCodeElimination::erase(), llvm::InstrProfSymtab::finalizeSymtab(), llvm::ScalarEvolution::findArrayDimensions(), findIrreducibleHeaders(), findPartitions(), llvm::AttributeSetNode::get(), llvm::rdf::Liveness::getAllReachingDefs(), GetEHSpillList(), llvm::DbgVariable::getFrameIndexExprs(), llvm::MemoryDependenceResults::getNonLocalCallDependency(), GetSpillList(), llvm::coverage::CoverageMapping::getUniqueSourceFiles(), llvm::sroa::AllocaSlices::insert(), llvm::SlotIndexes::insertMBBInMaps(), isVectorPromotionViable(), llvm::xray::loadTraceFile(), lowerV16I8VectorShuffle(), lowerV8I16GeneralSingleInputVectorShuffle(), fuzzer::Merger::Merge(), fuzzer::Merger::Parse(), llvm::DWARFDebugLine::LineTable::parse(), populateAliasMap(), predictValueUseListOrderImpl(), llvm::PhysicalRegisterUsageInfo::print(), llvm::CallGraph::print(), llvm::FileInfo::print(), fuzzer::TracePC::PrintCoverage(), promoteSingleBlockAlloca(), llvm::ScheduleDAGInstrs::reduceHugeMemNodeMaps(), ReduceSwitchRange(), relocationViaAlloca(), llvm::MemoryDependenceResults::removeInstruction(), llvm::SelectionDAG::ReplaceAllUsesOfValuesWith(), llvm::ReplaceableMetadataImpl::replaceAllUsesWith(), llvm::SCEVExpander::replaceCongruentIVs(), replaceConstantExprOp(), llvm::ReplaceableMetadataImpl::resolveAllUses(), llvm::BitcodeReaderValueList::resolveConstantForwardRefs(), llvm::ThinLTOCodeGenerator::run(), llvm::SlotIndexes::runOnMachineFunction(), llvm::HexagonShuffler::shuffle(), sinkInstruction(), llvm::SMDiagnostic::SMDiagnostic(), llvm::simple_ilist< T, Options >::sort(), SortCallTargets(), sortGlobalExprs(), SortNonLocalDepInfoCache(), llvm::GCNIterativeScheduler::sortRegionsByPressure(), llvm::MachineBasicBlock::sortUniqueLiveIns(), llvm::DebugLocEntry::sortUniqueValues(), and llvm::HexagonBlockRanges::RangeList::unionize().

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

constexpr parallel_execution_policy llvm::parallel::par {}

Definition at line 43 of file Parallel.h.

constexpr sequential_execution_policy llvm::parallel::seq {}

Definition at line 42 of file Parallel.h.