Naming fix: LLVMCCConfigurationEmitter -> LLVMCConfigurationEmitter.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50754 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Mikhail Glushenkov 2008-05-06 18:12:03 +00:00
parent ceda1734cc
commit 895820da24
4 changed files with 14 additions and 14 deletions

View File

@ -20,7 +20,7 @@ TOOLS_SOURCE=Example.td Tools.td Common.td
# The degree of horrorshowness in that file is too much for me atm.
$(ObjDir)/AutoGenerated.inc.tmp: $(TOOLS_SOURCE) $(ObjDir)/.dir
$(Echo) "Building LLVMCC configuration library with tblgen"
$(Verb) $(TableGen) -gen-llvmcc -o $(call SYSPATH, $@) $<
$(Verb) $(TableGen) -gen-llvmc -o $(call SYSPATH, $@) $<
AutoGenerated.inc : $(ObjDir)/AutoGenerated.inc.tmp
$(Verb) $(CMP) -s $@ $< || $(CP) $< $@

View File

@ -27,7 +27,7 @@
using namespace llvm;
//namespace {
namespace {
//===----------------------------------------------------------------------===//
/// Typedefs
@ -1080,10 +1080,10 @@ void EmitPopulateCompilationGraph (Record* CompilationGraph,
// End of anonymous namespace
//}
}
// Back-end entry point
void LLVMCCConfigurationEmitter::run (std::ostream &O) {
void LLVMCConfigurationEmitter::run (std::ostream &O) {
// Emit file header
EmitSourceFileHeader("LLVMC Configuration Library", O);

View File

@ -11,20 +11,20 @@
//
//===----------------------------------------------------------------------===//
#ifndef LLVMCCCONF_EMITTER_H
#define LLVMCCCONF_EMITTER_H
#ifndef LLVM_UTILS_TABLEGEN_LLVMCCONF_EMITTER_H
#define LLVM_UTILS_TABLEGEN_LLVMCCONF_EMITTER_H
#include "TableGenBackend.h"
namespace llvm {
class LLVMCCConfigurationEmitter : public TableGenBackend {
class LLVMCConfigurationEmitter : public TableGenBackend {
RecordKeeper &Records;
public:
explicit LLVMCCConfigurationEmitter(RecordKeeper &R) : Records(R) {}
explicit LLVMCConfigurationEmitter(RecordKeeper &R) : Records(R) {}
// run - Output the asmwriter, returning true on failure.
void run(std::ostream &o);
};
}
#endif //LLVMCCCONF_EMITTER_H
#endif //LLVM_UTILS_TABLEGEN_LLVMCCONF_EMITTER_H

View File

@ -47,7 +47,7 @@ enum ActionType {
GenDAGISel,
GenSubtarget,
GenIntrinsic,
GenLLVMCCConf,
GenLLVMCConf,
PrintEnums
};
@ -78,8 +78,8 @@ namespace {
"Generate subtarget enumerations"),
clEnumValN(GenIntrinsic, "gen-intrinsic",
"Generate intrinsic information"),
clEnumValN(GenLLVMCCConf, "gen-llvmcc",
"Generate LLVMCC configuration library"),
clEnumValN(GenLLVMCConf, "gen-llvmc",
"Generate LLVMC configuration library"),
clEnumValN(PrintEnums, "print-enums",
"Print enum values for a class"),
clEnumValEnd));
@ -183,8 +183,8 @@ int main(int argc, char **argv) {
case GenIntrinsic:
IntrinsicEmitter(Records).run(*Out);
break;
case GenLLVMCCConf:
LLVMCCConfigurationEmitter(Records).run(*Out);
case GenLLVMCConf:
LLVMCConfigurationEmitter(Records).run(*Out);
break;
case PrintEnums:
{