Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
swiftshader
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
swiftshader
Commits
c599e465
Commit
c599e465
authored
Jan 08, 2015
by
Jim Stichnoth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Subzero: Use the CfgLocalAllocator for more vector types.
BUG= none R=jvoung@chromium.org Review URL:
https://codereview.chromium.org/812023003
parent
29841e84
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
IceDefs.h
src/IceDefs.h
+2
-1
IceOperand.h
src/IceOperand.h
+1
-1
No files found.
src/IceDefs.h
View file @
c599e465
...
@@ -106,7 +106,8 @@ typedef int32_t InstNumberT;
...
@@ -106,7 +106,8 @@ typedef int32_t InstNumberT;
// Inst::Number value, giving the instruction number that begins or
// Inst::Number value, giving the instruction number that begins or
// ends a variable's live range.
// ends a variable's live range.
typedef
std
::
pair
<
SizeT
,
InstNumberT
>
LiveBeginEndMapEntry
;
typedef
std
::
pair
<
SizeT
,
InstNumberT
>
LiveBeginEndMapEntry
;
typedef
std
::
vector
<
LiveBeginEndMapEntry
>
LiveBeginEndMap
;
typedef
std
::
vector
<
LiveBeginEndMapEntry
,
CfgLocalAllocator
<
LiveBeginEndMapEntry
>
>
LiveBeginEndMap
;
typedef
llvm
::
BitVector
LivenessBV
;
typedef
llvm
::
BitVector
LivenessBV
;
typedef
uint32_t
TimerStackIdT
;
typedef
uint32_t
TimerStackIdT
;
...
...
src/IceOperand.h
View file @
c599e465
...
@@ -528,7 +528,7 @@ enum MetadataKind {
...
@@ -528,7 +528,7 @@ enum MetadataKind {
VMK_SingleDefs
,
// Track uses+defs, but only record single def
VMK_SingleDefs
,
// Track uses+defs, but only record single def
VMK_All
// Track uses+defs, including full def list
VMK_All
// Track uses+defs, including full def list
};
};
typedef
std
::
vector
<
const
Inst
*>
InstDefList
;
typedef
std
::
vector
<
const
Inst
*
,
CfgLocalAllocator
<
const
Inst
*>
>
InstDefList
;
// VariableTracking tracks the metadata for a single variable. It is
// VariableTracking tracks the metadata for a single variable. It is
// only meant to be used internally by VariablesMetadata.
// only meant to be used internally by VariablesMetadata.
...
...
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