Displaying 6 results from an estimated 6 matches for "ppcgencodeemitter".
2005 Oct 24
2
[LLVMdev] [patch] Fix problems with build LLVM using gcc 4.1.0(gcc CVS mainline)
...GCC 4.1.0 don't like definition member-functions in llvm namespace with
declaration in <global>::<unnamed> namespace
For example
PPCCodeEmitter.cpp:
using namespace llvm;
namespace {
class PPCCodeEmitter : public MachineFunctionPass {
...
}
...
}
...
#include "PPCGenCodeEmitter.inc"
But PPCCodeEmitter.inc:
namespace llvm {
...
} // end llvm namespace
As result LLVM build terminate with error:
/usr/home/wanderer/pkg/build/llvm/obj/lib/Target/PowerPC/PPCGenCodeEmitter.inc:11:
error: definition of 'unsigned
int<unnamed>::PPCCodeEmitter::getBinaryCodeFo...
2005 Oct 24
2
[LLVMdev] [patch] Fix problems with build LLVM using gcc 4.1.0 (gcc CVS mainline)
...strBuilder.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/Support/Debug.h"
-using namespace llvm;
+
+namespace llvm {
namespace {
class PPCCodeEmitter : public MachineFunctionPass {
@@ -260,6 +261,8 @@
return rv;
}
+
+} // end llvm namespace
#include "PPCGenCodeEmitter.inc"
--- include/llvm/Support/CommandLine.h Mon Oct 24 08:25:16 2005
+++ include/llvm/Support/CommandLine.h.new Mon Oct 24 08:17:09 2005
@@ -334,13 +334,8 @@
}
};
-// Silly GCC doesn't allow attributes on a function definition.
template<class DataType>
-ValuesClass<DataType...
2005 Oct 24
0
[LLVMdev] [patch] Fix problems with build LLVM using gcc 4.1.0 (gcc CVS mainline)
...gt; #include "llvm/Support/Debug.h"
> -using namespace llvm;
> +
> +namespace llvm {
>
> namespace {
> class PPCCodeEmitter : public MachineFunctionPass {
> @@ -260,6 +261,8 @@
>
> return rv;
> }
> +
> +} // end llvm namespace
>
> #include "PPCGenCodeEmitter.inc"
>
> --- include/llvm/Support/CommandLine.h Mon Oct 24 08:25:16 2005
> +++ include/llvm/Support/CommandLine.h.new Mon Oct 24 08:17:09 2005
> @@ -334,13 +334,8 @@
> }
> };
>
> -// Silly GCC doesn't allow attributes on a function definition.
> template<clas...
2005 Oct 24
0
[LLVMdev] [patch] Fix problems with build LLVM using gcc 4.1.0(gcc CVS mainline)
...";
+ //o << "} // End llvm namespace \n";
}
-Chris
> For example
>
> PPCCodeEmitter.cpp:
>
> using namespace llvm;
>
> namespace {
> class PPCCodeEmitter : public MachineFunctionPass {
> ...
> }
> ...
> }
> ...
> #include "PPCGenCodeEmitter.inc"
>
> But PPCCodeEmitter.inc:
>
> namespace llvm {
> ...
> } // end llvm namespace
>
> As result LLVM build terminate with error:
>
> /usr/home/wanderer/pkg/build/llvm/obj/lib/Target/PowerPC/PPCGenCodeEmitter.inc:11:
> error: definition of 'unsigned
&g...
2011 Mar 24
3
[LLVMdev] Make PPC JIT support inline assembly?
...to PPC JIT,
%0 = tail call i32* asm "", "={r10}"() nounwind ; <i32*> [#uses=1]
it complaints that inline assembly is not a supported
instruction. x86 JIT works fine, however.
Is there a reason that makes PPC JIT not support inline
assembly?
Currently, we modify PPCGenCodeEmitter.inc, then rebuild
LLVM to let ppc recognize inline assembly (see attachment).
Is there a better way to make PPC JIT support inline assembly?
Any suggestion appreciated.
Regards,
chenwj
--
Wei-Ren Chen (陳韋任)
Parallel Processing Lab, Institute of Information Science,
Academia Sinica, Taiwan (R....
2012 Nov 13
2
[LLVMdev] [PATCH] .gitignore: add rules for a clean worktree
...GenInstrInfo.inc
+NVPTXGenRegisterInfo.inc
+NVPTXGenSubtargetInfo.inc
diff --git a/lib/Target/PowerPC/.gitignore b/lib/Target/PowerPC/.gitignore
new file mode 100644
index 0000000..77c439b
--- /dev/null
+++ b/lib/Target/PowerPC/.gitignore
@@ -0,0 +1,8 @@
+PPCGenAsmWriter.inc
+PPCGenCallingConv.inc
+PPCGenCodeEmitter.inc
+PPCGenDAGISel.inc
+PPCGenInstrInfo.inc
+PPCGenMCCodeEmitter.inc
+PPCGenRegisterInfo.inc
+PPCGenSubtargetInfo.inc
diff --git a/lib/Target/Sparc/.gitignore b/lib/Target/Sparc/.gitignore
new file mode 100644
index 0000000..3708810
--- /dev/null
+++ b/lib/Target/Sparc/.gitignore
@@ -0,0 +1,6 @@
+S...