Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LLVM bpEVL
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
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
Lorenzo Albano
LLVM bpEVL
Commits
0d2d871e
Commit
0d2d871e
authored
21 years ago
by
Chris Lattner
Browse files
Options
Downloads
Patches
Plain Diff
Revert modulo scheduling change that should be part of the modulo-sched pass itself,
not part of the Instruction class. llvm-svn: 5787
parent
379a8d2d
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
llvm/include/llvm/Instruction.h
+1
-5
1 addition, 5 deletions
llvm/include/llvm/Instruction.h
with
1 addition
and
5 deletions
llvm/include/llvm/Instruction.h
+
1
−
5
View file @
0d2d871e
...
@@ -23,8 +23,6 @@ class Instruction : public User {
...
@@ -23,8 +23,6 @@ class Instruction : public User {
friend
class
SymbolTableListTraits
<
Instruction
,
BasicBlock
,
Function
,
friend
class
SymbolTableListTraits
<
Instruction
,
BasicBlock
,
Function
,
ilist_traits
<
Instruction
>
>
;
ilist_traits
<
Instruction
>
>
;
void
setParent
(
BasicBlock
*
P
);
void
setParent
(
BasicBlock
*
P
);
private
:
Instruction
*
cln
;
//the newest cloned instruction
protected
:
protected
:
unsigned
iType
;
// InstructionType: The opcode of the instruction
unsigned
iType
;
// InstructionType: The opcode of the instruction
...
@@ -44,9 +42,7 @@ public:
...
@@ -44,9 +42,7 @@ public:
/// * The instruction has no name
/// * The instruction has no name
///
///
virtual
Instruction
*
clone
()
const
=
0
;
virtual
Instruction
*
clone
()
const
=
0
;
Instruction
*
getClone
(){
return
cln
;}
void
setClone
(
Instruction
*
_cln
){
cln
=
_cln
;}
void
clearClone
(){
cln
=
NULL
;}
// Accessor methods...
// Accessor methods...
//
//
inline
const
BasicBlock
*
getParent
()
const
{
return
Parent
;
}
inline
const
BasicBlock
*
getParent
()
const
{
return
Parent
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment