Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
cprabhu
parabix-devel
Commits
22c6a719
Commit
22c6a719
authored
5 years ago
by
lperesde
Browse files
Options
Download
Email Patches
Plain Diff
Renaming flag
parent
8ea2adde
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
include/toolchain/toolchain.h
include/toolchain/toolchain.h
+1
-1
lib/kernel/pipeline/driver/cpudriver.cpp
lib/kernel/pipeline/driver/cpudriver.cpp
+1
-1
lib/kernel/pipeline/pipeline_builder.cpp
lib/kernel/pipeline/pipeline_builder.cpp
+1
-1
lib/toolchain/toolchain.cpp
lib/toolchain/toolchain.cpp
+2
-2
No files found.
include/toolchain/toolchain.h
View file @
22c6a719
...
...
@@ -75,7 +75,7 @@ extern bool TraceObjectCache;
extern
unsigned
GroupNum
;
extern
std
::
string
ProgramName
;
extern
llvm
::
TargetOptions
target_Options
;
extern
bool
Kernel
TimePasse
sIsEnabled
;
extern
bool
Time
KernelsIsEnabled
;
void
ParseCommandLineOptions
(
int
argc
,
const
char
*
const
*
argv
,
std
::
initializer_list
<
const
llvm
::
cl
::
OptionCategory
*>
hiding
=
{});
...
...
This diff is collapsed.
Click to expand it.
lib/kernel/pipeline/driver/cpudriver.cpp
View file @
22c6a719
...
...
@@ -216,7 +216,7 @@ void CPUDriver::generateUncachedKernels() {
kernel
->
getSignature
(),
"kernel"
,
"Kernel Generation"
,
codegen
::
Kernel
TimePasse
sIsEnabled
);
codegen
::
Time
KernelsIsEnabled
);
kernel
->
generateKernel
(
mBuilder
);
Module
*
const
module
=
kernel
->
getModule
();
assert
(
module
);
module
->
setTargetTriple
(
mMainModule
->
getTargetTriple
());
...
...
This diff is collapsed.
Click to expand it.
lib/kernel/pipeline/pipeline_builder.cpp
View file @
22c6a719
...
...
@@ -36,7 +36,7 @@ void * ProgramBuilder::compile() {
kernel
->
getSignature
(),
"pipeline"
,
"Pipeline Compilation"
,
codegen
::
Kernel
TimePasse
sIsEnabled
);
codegen
::
Time
KernelsIsEnabled
);
finalObj
=
compileKernel
(
kernel
);
}
return
finalObj
;
...
...
This diff is collapsed.
Click to expand it.
lib/toolchain/toolchain.cpp
View file @
22c6a719
...
...
@@ -139,8 +139,8 @@ std::string CCCOption = "";
static
cl
::
opt
<
std
::
string
,
true
>
CCTypeOption
(
"ccc-type"
,
cl
::
location
(
CCCOption
),
cl
::
init
(
"binary"
),
cl
::
desc
(
"The character class compiler"
),
cl
::
value_desc
(
"[binary, ternary]"
));
bool
Kernel
TimePasse
sIsEnabled
;
static
cl
::
opt
<
bool
,
true
>
OptCompileTime
(
"kernel
-time-passe
s"
,
cl
::
location
(
Kernel
TimePasse
sIsEnabled
),
bool
Time
KernelsIsEnabled
;
static
cl
::
opt
<
bool
,
true
>
OptCompileTime
(
"
time-
kernels"
,
cl
::
location
(
Time
KernelsIsEnabled
),
cl
::
desc
(
"Times each kernel, printing elapsed time for each on exit"
),
cl
::
init
(
false
));
CodeGenOpt
::
Level
OptLevel
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment