Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
Hercules
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
llvm
Hercules
Merge requests
!202
Round 1 of rodinia schedule optimization
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Round 1 of rodinia schedule optimization
rodinia_opt1
into
main
Overview
0
Commits
9
Pipelines
2
Changes
3
Merged
rarbore2
requested to merge
rodinia_opt1
into
main
3 weeks ago
Overview
0
Commits
9
Pipelines
2
Changes
3
Expand
Write better CPU schedules for all rodinia benchmarks.
Add
const-inline
pass (inter-procedural constant propagation).
Add module name to generated function names to avoid linker name collisions.
0
0
Merge request reports
Viewing commit
4572a7ec
Prev
Next
Show latest version
3 files
+
121
−
18
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
4572a7ec
Inline constants
· 4572a7ec
Russel Arbore
authored
3 weeks ago
hercules_opt/src/editor.rs
+
12
−
0
Options
@@ -880,6 +880,18 @@ impl<'a, 'b> FunctionEdit<'a, 'b> {
}
}
pub
fn
get_param_types
(
&
self
)
->
&
Vec
<
TypeID
>
{
self
.updated_param_types
.as_ref
()
.unwrap_or
(
&
self
.editor.function.param_types
)
}
pub
fn
get_return_types
(
&
self
)
->
&
Vec
<
TypeID
>
{
self
.updated_return_types
.as_ref
()
.unwrap_or
(
&
self
.editor.function.return_types
)
}
pub
fn
set_param_types
(
&
mut
self
,
tys
:
Vec
<
TypeID
>
)
{
self
.updated_param_types
=
Some
(
tys
);
}
Loading