mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
start code for writing out instructions. Separate BB#s from normal value
#'s. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36472 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -49,7 +49,9 @@ private:
|
||||
|
||||
/// When a function is incorporated, this is the size of the Values list
|
||||
/// before incorporation.
|
||||
unsigned ModuleLevel;
|
||||
unsigned NumModuleValues;
|
||||
unsigned FirstFuncConstantID;
|
||||
unsigned FirstInstID;
|
||||
|
||||
ValueEnumerator(const ValueEnumerator &); // DO NOT IMPLEMENT
|
||||
void operator=(const ValueEnumerator &); // DO NOT IMPLEMENT
|
||||
@@ -68,6 +70,13 @@ public:
|
||||
return I->second-1;
|
||||
}
|
||||
|
||||
/// getFunctionConstantRange - Return the range of values that corresponds to
|
||||
/// function-local constants.
|
||||
void getFunctionConstantRange(unsigned &Start, unsigned &End) const {
|
||||
Start = FirstFuncConstantID;
|
||||
End = FirstInstID;
|
||||
}
|
||||
|
||||
const ValueList &getValues() const { return Values; }
|
||||
const TypeList &getTypes() const { return Types; }
|
||||
const std::vector<const BasicBlock*> &getBasicBlocks() const {
|
||||
|
||||
Reference in New Issue
Block a user