search for: emitsourcefileheader

Displaying 3 results from an estimated 3 matches for "emitsourcefileheader".

2012 May 07
1
[LLVMdev] TableGen backend API refactoring.
...leGen backend: struct TableGenBackend { virtual void anchor(); virtual ~TableGenBackend() {} // run - All TableGen backends should implement the run method, which should // be the main entry point. virtual void run(raw_ostream &OS) = 0; public: // Useful helper routines... /// EmitSourceFileHeader - Output a LLVM style file header to the specified /// ostream. void EmitSourceFileHeader(StringRef Desc, raw_ostream &OS) const; }; Let's go over this class's members one-by-one: anchor(): hack to decrease link time and bloat < http://llvm.org/docs/CodingStandards.html#ll_vir...
2005 Oct 24
0
[LLVMdev] [patch] Fix problems with build LLVM using gcc 4.1.0(gcc CVS mainline)
...n.cpp,v retrieving revision 1.41 diff -u -r1.41 CodeEmitterGen.cpp --- CodeEmitterGen.cpp 19 Aug 2005 01:04:33 -0000 1.41 +++ CodeEmitterGen.cpp 24 Oct 2005 06:40:56 -0000 @@ -76,7 +76,7 @@ std::vector<Record*> Insts = Records.getAllDerivedDefinitions("Instruction"); EmitSourceFileHeader("Machine Code Emitter", o); - o << "namespace llvm {\n\n"; + //o << "namespace llvm {\n\n"; std::string Namespace = Insts[0]->getValueAsString("Namespace") + "::"; // Emit function declaration @@ -256,5 +256,5 @@ <...
2005 Oct 24
2
[LLVMdev] [patch] Fix problems with build LLVM using gcc 4.1.0(gcc CVS mainline)
>> 2) Same error but some diff. problem with AlphaCodeEmitter.cpp and >> PPCCodeEmitter.cpp: >> >> GCC don't like definition member-functions in global namespace with >> declaration in llvm::<unnamed> : Sorry for wrong comment. Must be: GCC 4.1.0 don't like definition member-functions in llvm namespace with declaration in