mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
Add new methods outputTypes and outputCompactionTypes for handling Types
separately from Values. This needed for bug 122. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14609 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
24ab28f1e5
commit
d1fb1b7440
@ -19,10 +19,10 @@
|
||||
#ifndef LLVM_LIB_BYTECODE_WRITER_WRITERINTERNALS_H
|
||||
#define LLVM_LIB_BYTECODE_WRITER_WRITERINTERNALS_H
|
||||
|
||||
#include "llvm/Bytecode/Writer.h"
|
||||
#include "WriterPrimitives.h"
|
||||
#include "SlotCalculator.h"
|
||||
#include "llvm/Bytecode/Writer.h"
|
||||
#include "llvm/Bytecode/Format.h"
|
||||
#include "llvm/Analysis/SlotCalculator.h"
|
||||
#include "llvm/Instruction.h"
|
||||
|
||||
namespace llvm {
|
||||
@ -38,6 +38,7 @@ private:
|
||||
void outputConstantStrings();
|
||||
void outputFunction(const Function *F);
|
||||
void outputCompactionTable();
|
||||
void outputCompactionTypes(unsigned StartNo);
|
||||
void outputCompactionTablePlane(unsigned PlaneNo,
|
||||
const std::vector<const Value*> &TypePlane,
|
||||
unsigned StartNo);
|
||||
@ -46,6 +47,7 @@ private:
|
||||
|
||||
void outputModuleInfoBlock(const Module *C);
|
||||
void outputSymbolTable(const SymbolTable &ST);
|
||||
void outputTypes(unsigned StartNo);
|
||||
void outputConstantsInPlane(const std::vector<const Value*> &Plane,
|
||||
unsigned StartNo);
|
||||
void outputConstant(const Constant *CPV);
|
||||
|
Loading…
Reference in New Issue
Block a user