Searched refs:Passes (Results 1 - 17 of 17) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/tools/opt/
H A Dopt.cpp68 // The OptimizationList is automatically populated with registered Passes by the
738 SmallVector<StringRef, 4> Passes; local
740 Passes.push_back(P->getPassArgument());
743 Passes.push_back("default<O0>");
745 Passes.push_back("default<O1>");
747 Passes.push_back("default<O2>");
749 Passes.push_back("default<O3>");
751 Passes.push_back("default<Os>");
753 Passes.push_back("default<Oz>");
770 RemarksFile.get(), PassPipeline, Passes, O
780 OptCustomPassManager Passes; local
[all...]
H A DNewPMDriver.cpp29 #include "llvm/Passes/PassBuilder.h"
30 #include "llvm/Passes/PassPlugin.h"
31 #include "llvm/Passes/StandardInstrumentations.h"
216 StringRef PassPipeline, ArrayRef<StringRef> Passes,
309 assert(Passes.empty() &&
319 for (auto PassName : Passes) {
352 assert(Passes.empty() &&
353 "PassPipeline and Passes should not both contain passes");
213 runPassPipeline(StringRef Arg0, Module &M, TargetMachine *TM, ToolOutputFile *Out, ToolOutputFile *ThinLTOLinkOut, ToolOutputFile *OptRemarkFile, StringRef PassPipeline, ArrayRef<StringRef> Passes, OutputKind OK, VerifierKind VK, bool ShouldPreserveAssemblyUseListOrder, bool ShouldPreserveBitcodeUseListOrder, bool EmitSummaryIndex, bool EmitModuleHash, bool EnableDebugify, bool Coroutines) argument
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLinkGeneric.h35 JITLinkerBase(std::unique_ptr<JITLinkContext> Ctx, PassConfiguration Passes) argument
36 : Ctx(std::move(Ctx)), Passes(std::move(Passes)) {
99 Error runPasses(LinkGraphPassList &Passes);
116 PassConfiguration Passes; member in class:llvm::jitlink::JITLinkerBase
H A DJITLinkGeneric.cpp41 if (auto Err = runPasses(Passes.PrePrunePasses))
57 if (auto Err = runPasses(Passes.PostPrunePasses))
124 if (auto Err = runPasses(Passes.PostAllocationPasses))
141 if (auto Err = runPasses(Passes.PostFixupPasses))
167 Error JITLinkerBase::runPasses(LinkGraphPassList &Passes) { argument
168 for (auto &P : Passes)
/freebsd-13-stable/contrib/llvm-project/llvm/tools/bugpoint/
H A DOptimizerDriver.cpp131 const std::vector<std::string> &Passes,
216 for (std::vector<std::string>::const_iterator I = Passes.begin(),
217 E = Passes.end();
268 BugDriver::runPassesOn(Module *M, const std::vector<std::string> &Passes, argument
271 if (runPasses(*M, Passes, BitcodeResult, false /*delete*/, true /*quiet*/,
130 runPasses(Module &Program, const std::vector<std::string> &Passes, std::string &OutputFilename, bool DeleteOutput, bool Quiet, ArrayRef<std::string> ExtraArgs) const argument
H A DBugDriver.cpp67 std::string llvm::getPassesString(const std::vector<std::string> &Passes) { argument
69 for (unsigned i = 0, e = Passes.size(); i != e; ++i) {
73 Result += Passes[i];
H A DCrashDebugger.cpp514 std::vector<std::string> Passes; local
515 Passes.push_back("verify");
516 std::unique_ptr<Module> New = BD.runPassesOn(M.get(), Passes);
622 std::vector<std::string> Passes; local
623 Passes.push_back("verify");
624 std::unique_ptr<Module> New = BD.runPassesOn(M.get(), Passes);
715 std::vector<std::string> Passes; local
716 Passes.push_back("verify");
717 std::unique_ptr<Module> New = BD.runPassesOn(M.get(), Passes);
802 legacy::PassManager Passes; local
874 legacy::PassManager Passes; local
949 legacy::PassManager Passes; local
1014 legacy::PassManager Passes; local
[all...]
H A DExtractFunction.cpp111 std::vector<std::string> Passes; local
115 Passes.push_back("dce");
117 Passes.push_back("simplifycfg"); // Delete dead control flow
119 Passes.push_back("verify");
120 std::unique_ptr<Module> New = runPassesOn(Clone.get(), Passes);
H A DBugDriver.h219 const std::vector<std::string> &Passes,
281 std::string getPassesString(const std::vector<std::string> &Passes);
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-extract/
H A Dllvm-extract.cpp367 legacy::PassManager Passes; local
370 Passes.add(createGlobalDCEPass()); // Delete unreachable globals
371 Passes.add(createStripDeadDebugInfoPass()); // Remove dead debug info
372 Passes.add(createStripDeadPrototypesPass()); // Remove dead func decls
382 Passes.add(
385 Passes.add(createBitcodeWriterPass(Out.os(), PreserveBitcodeUseListOrder));
387 Passes.run(*M.get());
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopPassManager.cpp36 for (auto &Pass : Passes) {
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DPassManager.h478 : Passes(std::move(Arg.Passes)),
482 Passes = std::move(RHS.Passes);
504 for (unsigned Idx = 0, Size = Passes.size(); Idx != Size; ++Idx) {
505 auto *P = Passes[Idx].get();
559 Passes.emplace_back(new PassModelT(std::move(Pass)));
566 std::vector<std::unique_ptr<PassConceptT>> Passes;
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp764 legacy::PassManager Passes; local
765 Passes.add(createVerifierPass());
766 Passes.add(createPrintModulePass(Out->os()));
767 Passes.run(*M.get());
/freebsd-13-stable/contrib/llvm-project/clang/lib/Format/
H A DFormat.cpp2602 SmallVector<AnalyzerPass, 4> Passes;
2606 Passes.emplace_back([&](const Environment &Env) {
2611 Passes.emplace_back([&](const Environment &Env) {
2618 Passes.emplace_back([&](const Environment &Env) {
2622 Passes.emplace_back([&](const Environment &Env) {
2628 Passes.emplace_back([&](const Environment &Env) {
2638 for (size_t I = 0, E = Passes.size(); I < E; ++I) {
2639 std::pair<tooling::Replacements, unsigned> PassFixes = Passes[I](*Env);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DCGSCCPassManager.cpp75 for (auto &Pass : Passes) {
/freebsd-13-stable/lib/clang/libllvm/
H A DMakefile839 SRCS_MIN+= Passes/PassBuilder.cpp
840 SRCS_MIN+= Passes/PassPlugin.cpp
841 SRCS_MIN+= Passes/StandardInstrumentations.cpp
/freebsd-13-stable/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DDarwin.cpp473 std::string Passes = local
475 CmdArgs.push_back(Args.MakeArgString(Passes));

Completed in 197 milliseconds