Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
llvm-epi-0.8
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor 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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Roger Ferrer
llvm-epi-0.8
Commits
3a68d40d
Commit
3a68d40d
authored
18 years ago
by
Chris Lattner
Browse files
Options
Downloads
Patches
Plain Diff
revert accidentally committed file
llvm-svn: 30323
parent
e1a6cec4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h
+3
-23
3 additions, 23 deletions
llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h
with
3 additions
and
23 deletions
llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h
+
3
−
23
View file @
3a68d40d
...
...
@@ -38,10 +38,6 @@ namespace llvm {
const
TargetInstrInfo
*
tii_
;
LiveVariables
*
lv_
;
/// MBB2IdxMap - The index of the first instruction in the specified basic
/// block.
std
::
vector
<
unsigned
>
MBB2IdxMap
;
typedef
std
::
map
<
MachineInstr
*
,
unsigned
>
Mi2IndexMap
;
Mi2IndexMap
mi2iMap_
;
...
...
@@ -117,17 +113,6 @@ namespace llvm {
return
I
->
second
;
}
/// getMBBStartIdx - Return the base index of the first instruction in the
/// specified MachineBasicBlock.
unsigned
getMBBStartIdx
(
MachineBasicBlock
*
MBB
)
const
{
return
getMBBStartIdx
(
MBB
->
getNumber
());
}
unsigned
getMBBStartIdx
(
unsigned
MBBNo
)
const
{
assert
(
MBBNo
<
MBB2IdxMap
.
size
()
&&
"Invalid MBB number!"
);
return
MBB2IdxMap
[
MBBNo
];
}
/// getInstructionIndex - returns the base index of instr
unsigned
getInstructionIndex
(
MachineInstr
*
instr
)
const
{
Mi2IndexMap
::
const_iterator
it
=
mi2iMap_
.
find
(
instr
);
...
...
@@ -143,7 +128,7 @@ namespace llvm {
"index does not correspond to an instruction"
);
return
i2miMap_
[
index
];
}
std
::
vector
<
LiveInterval
*>
addIntervalsForSpills
(
const
LiveInterval
&
i
,
VirtRegMap
&
vrm
,
int
slot
);
...
...
@@ -170,17 +155,12 @@ namespace llvm {
}
}
/// computeIntervals - Compute live intervals. This returns a vector of all
/// the two-address instructions to the caller.
void
computeIntervals
(
std
::
vector
<
MachineInstr
*>
&
TwoAddrInsts
);
/// computeIntervals - compute live intervals
void
computeIntervals
();
/// joinIntervals - join compatible live intervals
void
joinIntervals
();
/// HandleTwoAddressInsts - Arrange for the specified list of 2-addr
/// instructions to have their src/dst regs allocated to the same register.
void
HandleTwoAddressInsts
(
const
std
::
vector
<
MachineInstr
*>
&
TwoAddrInsts
);
/// CopyCoallesceInMBB - Coallsece copies in the specified MBB, putting
/// copies that cannot yet be coallesced into the "TryAgain" list.
void
CopyCoallesceInMBB
(
MachineBasicBlock
*
MBB
,
...
...
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