mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-11 10:25:41 +00:00
Comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41119 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -88,10 +88,14 @@ namespace llvm {
|
|||||||
/// ValueNumberInfo - If the value number definition is undefined (e.g. phi
|
/// ValueNumberInfo - If the value number definition is undefined (e.g. phi
|
||||||
/// merge point), it contains ~0u,x. If the value number is not in use, it
|
/// merge point), it contains ~0u,x. If the value number is not in use, it
|
||||||
/// contains ~1u,x to indicate that the value # is not used.
|
/// contains ~1u,x to indicate that the value # is not used.
|
||||||
|
/// def - Instruction # of the definition.
|
||||||
|
/// reg - Source reg iff val# is defined by a copy; zero otherwise.
|
||||||
|
/// kills - Instruction # of the kills. If a kill is an odd #, it means
|
||||||
|
/// the kill is a phi join point.
|
||||||
struct VNInfo {
|
struct VNInfo {
|
||||||
unsigned def; // instruction # of the definition
|
unsigned def;
|
||||||
unsigned reg; // src reg: non-zero iff val# is defined by a copy
|
unsigned reg;
|
||||||
SmallVector<unsigned, 4> kills; // instruction #s of the kills
|
SmallVector<unsigned, 4> kills;
|
||||||
VNInfo() : def(~1U), reg(0) {};
|
VNInfo() : def(~1U), reg(0) {};
|
||||||
VNInfo(unsigned d, unsigned r) : def(d), reg(r) {};
|
VNInfo(unsigned d, unsigned r) : def(d), reg(r) {};
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user