OSDN Git Service
(root)
/
android-x86
/
external-swiftshader.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Subzero: Improve usability of liveness-related tools.
[android-x86/external-swiftshader.git]
/
src
/
IceRegAlloc.h
diff --git
a/src/IceRegAlloc.h
b/src/IceRegAlloc.h
index
7742ad7
..
6508aa5
100644
(file)
--- a/
src/IceRegAlloc.h
+++ b/
src/IceRegAlloc.h
@@
-41,6
+41,7
@@
public:
private:
using OrderedRanges = CfgVector<Variable *>;
using UnorderedRanges = CfgVector<Variable *>;
private:
using OrderedRanges = CfgVector<Variable *>;
using UnorderedRanges = CfgVector<Variable *>;
+ using DefUseErrorList = llvm::SmallVector<SizeT, 10>;
class IterationState {
IterationState(const IterationState &) = delete;
class IterationState {
IterationState(const IterationState &) = delete;
@@
-58,6
+59,10
@@
private:
llvm::SmallVector<RegWeight, REGS_SIZE> Weights;
};
llvm::SmallVector<RegWeight, REGS_SIZE> Weights;
};
+ bool livenessValidateIntervals(const DefUseErrorList &DefsWithoutUses,
+ const DefUseErrorList &UsesBeforeDefs,
+ const CfgVector<InstNumberT> &LRBegin,
+ const CfgVector<InstNumberT> &LREnd);
void initForGlobal();
void initForInfOnly();
/// Move an item from the From set to the To set. From[Index] is pushed onto
void initForGlobal();
void initForInfOnly();
/// Move an item from the From set to the To set. From[Index] is pushed onto