OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Passes
(Results
1 - 25
of
32
) sorted by relevancy
1
2
/src/external/apache2/llvm/dist/llvm/tools/llvm-reduce/
DeltaManager.cpp
1
//===- DeltaManager.cpp - Runs Delta
Passes
to reduce Input ---------------===//
36
DeltaPasses("delta-
passes
",
37
cl::desc("Delta
passes
to run, separated by commas. By "
38
"default, run all delta
passes
."));
75
OS << "Delta
passes
(pass to `--delta-
passes
=` as a comma separated list):\n";
85
StringRef
Passes
= DeltaPasses;
86
while (!
Passes
.empty()) {
87
auto Split =
Passes
.split(",");
89
Passes
= Split.second
[
all
...]
/src/external/apache2/llvm/lib/libLLVMPasses/
Makefile
7
.PATH: ${LLVM_SRCDIR}/lib/
Passes
/src/external/apache2/llvm/dist/llvm/tools/opt/
opt.cpp
67
// The OptimizationList is automatically populated with registered
Passes
by the
70
"Optimizations available (use '-
passes
=' for the new pass manager)"));
75
"'opt -foo' to 'opt -
passes
=foo'. This is strictly for the new PM "
76
"migration, use '-
passes
=' when possible."),
84
"
passes
",
86
"A textual description of the pass pipeline. To have analysis
passes
"
89
static cl::opt<bool> PrintPasses("print-
passes
",
90
cl::desc("Print available
passes
that can be "
91
"specified in -
passes
=foo and exit"));
155
cl::desc("Do not run any optimization
passes
"));
[
all
...]
NewPMDriver.cpp
30
#include "llvm/
Passes
/PassBuilder.h"
31
#include "llvm/
Passes
/PassPlugin.h"
32
#include "llvm/
Passes
/StandardInstrumentations.h"
69
cl::desc("Load
passes
from plugin library"));
73
// the "
passes
" flag above.
83
"
passes
-ep-peephole",
88
"
passes
-ep-late-loop-optimizations",
94
"
passes
-ep-loop-optimizer-end",
99
"
passes
-ep-scalar-optimizer-late",
104
"
passes
-ep-cgscc-optimizer-late"
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/JITLink/
JITLinkGeneric.h
36
std::unique_ptr<LinkGraph> G, PassConfiguration
Passes
)
37
: Ctx(std::move(Ctx)), G(std::move(G)),
Passes
(std::move(
Passes
)) {
55
// JITLinkerBase implementations to add late
passes
that reference their
58
PassConfiguration &getPassConfig() { return
Passes
; }
61
// 1.1: Run pre-prune
passes
63
// 1.3: Run post-prune
passes
66
// 1.6: Run post-allocation
passes
73
// 2.2: Run pre-fixup
passes
75
// 2.4: Run post-fixup
passes
[
all
...]
JITLinkGeneric.cpp
32
if (auto Err = runPasses(
Passes
.PrePrunePasses))
47
// Run post-pruning
passes
.
48
if (auto Err = runPasses(
Passes
.PostPrunePasses))
60
<< "\" before post-allocation
passes
:\n";
64
// Run post-allocation
passes
.
65
if (auto Err = runPasses(
Passes
.PostAllocationPasses))
136
<< "\" before pre-fixup
passes
:\n";
140
if (auto Err = runPasses(
Passes
.PreFixupPasses))
157
if (auto Err = runPasses(
Passes
.PostFixupPasses))
183
Error JITLinkerBase::runPasses(LinkGraphPassList &
Passes
) {
[
all
...]
/src/external/apache2/llvm/dist/clang/tools/clang-fuzzer/handle-llvm/
handle_llvm.cpp
81
// Helper function to add optimization
passes
to the TargetMachine at the
97
// Create a module that will run the optimization
passes
123
legacy::PassManager
Passes
;
125
Passes
.add(new TargetLibraryInfoWrapperPass(ModuleTriple));
126
Passes
.add(createTargetTransformInfoWrapperPass(TM->getTargetIRAnalysis()));
129
Passes
.add(LTM.createPassConfig(
Passes
));
131
Passes
.add(createVerifierPass());
133
AddOptimizationPasses(
Passes
, OLvl, 0);
138
Passes
.add(createPrintModulePass(OS, "", false))
[
all
...]
/src/external/apache2/llvm/dist/llvm/include/llvm-c/Transforms/
PassBuilder.h
34
* Construct and run a set of
passes
over a module
36
* This function takes a string with the
passes
that should be used. The format
37
* of this string is the same as opt's -
passes
argument for the new pass
38
* manager. Individual
passes
may be specified, separated by commas. Full
40
* full reference of the
Passes
format.
42
LLVMErrorRef LLVMRunPasses(LLVMModuleRef M, const char *
Passes
,
/src/external/apache2/llvm/dist/llvm/lib/CodeGen/
MachinePassManager.cpp
58
size_t Size =
Passes
.size();
60
// Run machine module
passes
66
// Finish running all
passes
.
70
// Run machine function
passes
72
// Get index range of machine function
passes
.
87
auto *P =
Passes
[I].get();
/src/external/apache2/llvm/dist/llvm/tools/bugpoint/
OptimizerDriver.cpp
1
//===- OptimizerDriver.cpp - Allow BugPoint to run
passes
safely ----------===//
9
// This file defines an interface that allows bugpoint to run various
passes
115
"silence-
passes
",
116
cl::desc("Suppress output of running
passes
(both stdout and stderr)"));
122
/// runPasses - Run the specified
passes
on Program, outputting a bitcode file
131
const std::vector<std::string> &
Passes
,
219
for (std::vector<std::string>::const_iterator I =
Passes
.begin(),
220
E =
Passes
.end();
246
// If we are supposed to delete the bitcode file or if the
passes
crashed,
271
BugDriver::runPassesOn(Module *M, const std::vector<std::string> &
Passes
,
[
all
...]
BugDriver.cpp
64
/// getPassesString - Turn a list of
passes
into a string which indicates the
65
/// command line options that must be passed to add the
passes
.
67
std::string llvm::getPassesString(const std::vector<std::string> &
Passes
) {
69
for (unsigned i = 0, e =
Passes
.size(); i != e; ++i) {
73
Result +=
Passes
[i];
164
// Rearrange the
passes
and apply them to the program. Repeat this process
172
// decision by trying to run all of the
passes
on the input program,
177
outs() << "Running selected
passes
on program to test for crash: ";
CrashDebugger.cpp
80
// Return true iff running the "removed"
passes
succeeds, and running the
81
// "Kept"
passes
fail when run on the output of the "removed"
passes
. If we
94
outs() << "Checking to see if these
passes
crash: "
110
outs() << "Checking to see if these
passes
crash: " << getPassesString(Suffix)
514
std::vector<std::string>
Passes
;
515
Passes
.push_back("verify");
516
std::unique_ptr<Module> New = BD.runPassesOn(M.get(),
Passes
);
622
std::vector<std::string>
Passes
;
623
Passes
.push_back("verify")
[
all
...]
ExtractFunction.cpp
111
std::vector<std::string>
Passes
;
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
);
BugDriver.h
95
Error debugOptimizerCrash(const std::string &ID = "
passes
");
102
/// debugMiscompilation - This method is used when the
passes
selected are not
188
///
passes
(ADCE and SimplifyCFG) to eliminate any code which depends on the
219
const std::vector<std::string> &
Passes
,
222
/// runPasses - Run the specified
passes
on Program, outputting a bitcode
245
/// Take the specified pass list and create different combinations of
passes
247
/// test to see if it compiled correctly. If the
passes
compiled correctly
248
/// output nothing and rearrange the
passes
into a new order. If the
passes
278
/// getPassesString - Turn a list of
passes
into a string which indicates th
[
all
...]
/src/external/apache2/llvm/bin/bugpoint/
Makefile
69
Passes
\
/src/external/apache2/llvm/bin/llc/
Makefile
55
Passes
\
/src/external/apache2/llvm/bin/llvm-dwp/
Makefile
39
Passes
\
/src/external/apache2/llvm/bin/opt/
Makefile
20
Passes
\
/src/external/apache2/llvm/dist/llvm/utils/docker/scripts/
build_install_llvm.sh
17
Passes
additional -DCMAKE_INSTALL_PREFIX and puts the build results into
/src/external/apache2/llvm/dist/llvm/tools/llvm-extract/
llvm-extract.cpp
367
legacy::PassManager
Passes
;
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());
/src/external/apache2/llvm/dist/llvm/lib/Passes/
PassBuilderBindings.cpp
16
#include "llvm/
Passes
/PassBuilder.h"
17
#include "llvm/
Passes
/StandardInstrumentations.h"
46
LLVMErrorRef LLVMRunPasses(LLVMModuleRef M, const char *
Passes
,
74
if (auto Err = PB.parsePassPipeline(MPM,
Passes
)) {
/src/external/apache2/llvm/bin/clang/
Makefile
52
Passes
\
/src/external/apache2/llvm/bin/clang-repl/
Makefile
46
Passes
\
/src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
MachinePassManager.h
10
// pipeline consists of only machine function
passes
. There is no container
14
// machine function
passes
, there is no proxy classes to handle cross-IR-unit
15
// invalidation. IR analysis results are provided for machine function
passes
by
106
/// - Support
passes
that implement doInitialization/doFinalization. This is for
107
/// machine function
passes
to work on module level constructs. One such pass
115
/// FIXME: machine module
passes
still need to define the usual machine
144
/// Run machine
passes
for a Module.
155
PassConceptT *P =
Passes
.back().get();
234
Passes
.size() - 1,
244
using PassIndex = decltype(
Passes
)::size_type
[
all
...]
/src/external/apache2/llvm/dist/llvm/include/llvm/IR/
PassManager.h
13
/// a pass. A pass manager is generally a tool to collect a sequence of
passes
16
/// containing IR construct for a Module, a manager for
passes
over modules
17
/// forms the base case which runs its managed
passes
in sequence over the
20
/// The core IR library provides managers for running
passes
over
66
/// A special type used by analysis
passes
to provide an address that
69
/// Analysis
passes
should have a static data member of this type and derive
127
/// Transformation
passes
build and return these objects to communicate which
128
/// analyses are still valid after the transformation. For most
passes
this is
133
/// This class also lets transformation
passes
mark abstract *sets* of analyses
160
/// Construct a special preserved set that preserves all
passes
[
all
...]
Completed in 46 milliseconds
1
2
Indexes created Tue Mar 03 05:31:39 UTC 2026