mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Put all LLVM code into the llvm namespace, as per bug 109.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9903 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -15,6 +15,8 @@
|
||||
#ifndef LLVM_BYTECODE_FORMAT_H
|
||||
#define LLVM_BYTECODE_FORMAT_H
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class BytecodeFormat { // Throw the constants into a poorman's namespace...
|
||||
BytecodeFormat(); // do not implement
|
||||
public:
|
||||
@ -38,4 +40,7 @@ public:
|
||||
BasicBlock = 0x31, // May contain many basic blocks
|
||||
};
|
||||
};
|
||||
|
||||
} // End llvm namespace
|
||||
|
||||
#endif
|
||||
|
@ -23,6 +23,8 @@
|
||||
#include <string>
|
||||
#include <deque>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Reading Primitives
|
||||
//===----------------------------------------------------------------------===//
|
||||
@ -275,4 +277,6 @@ static inline void output_data(void *Ptr, void *End,
|
||||
if (Align) align32(Out);
|
||||
}
|
||||
|
||||
} // End llvm namespace
|
||||
|
||||
#endif
|
||||
|
@ -23,6 +23,8 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
/// getBytecodeModuleProvider - lazy function-at-a-time loading from a file
|
||||
///
|
||||
ModuleProvider *getBytecodeModuleProvider(const std::string &Filename);
|
||||
@ -53,4 +55,6 @@ bool ReadArchiveFile(const std::string &Filename,
|
||||
std::vector<Module*> &Objects,
|
||||
std::string *ErrorStr = 0);
|
||||
|
||||
} // End llvm namespace
|
||||
|
||||
#endif
|
||||
|
@ -19,6 +19,8 @@
|
||||
#include "llvm/Bytecode/Writer.h"
|
||||
#include <iostream>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class WriteBytecodePass : public Pass {
|
||||
std::ostream *Out; // ostream to print on
|
||||
bool DeleteStream;
|
||||
@ -38,4 +40,6 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
} // End llvm namespace
|
||||
|
||||
#endif
|
||||
|
@ -26,7 +26,11 @@
|
||||
|
||||
#include <iosfwd>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class Module;
|
||||
void WriteBytecodeToFile(const Module *C, std::ostream &Out);
|
||||
|
||||
} // End llvm namespace
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user