Displaying 20 results from an estimated 27 matches for "generatecod".
Did you mean:
generatecode
2005 Aug 01
2
[LLVMdev] [patch] gccld not passing -export-dynamic to gcc for link
...a program that needs to have its symbols
externally accessible, it doesn't pass -export-dynamic through to gcc
for the final link.
The attached patch fixes this. I've tested with a small test case I
sent Chris, and with Python; both seem to work.
I also fixed some inaccurate comments in GenerateCode.cpp.
--
Nicholas Riley <njriley at uiuc.edu> | <http://www.uiuc.edu/ph/www/njriley>
-------------- next part --------------
Index: tools/gccld/GenerateCode.cpp
===================================================================
RCS file: /var/cvs/llvm/llvm/tools/gccld/GenerateCode.cp...
2005 Aug 02
0
[LLVMdev] [patch] gccld not passing -export-dynamic to gcc for link
...ley wrote:
> The attached patch fixes this.
...but had tabs in it. Misha kindly reminded me off-list that this
was bad. Try this one instead.
--
Nicholas Riley <njriley at uiuc.edu> | <http://www.uiuc.edu/ph/www/njriley>
-------------- next part --------------
Index: tools/gccld/GenerateCode.cpp
===================================================================
RCS file: /var/cvs/llvm/llvm/tools/gccld/GenerateCode.cpp,v
retrieving revision 1.50
diff -u -r1.50 GenerateCode.cpp
--- tools/gccld/GenerateCode.cpp 8 Jul 2005 16:48:52 -0000 1.50
+++ tools/gccld/GenerateCode.cpp 2 Aug 2005 0...
2013 Aug 08
0
[LLVMdev] Enjoying vmkit
...encountered with some problems:
1) I don't understand how and when tracer is called by collector, because
methods MandelPix::tracer and Picture::tracer I had wrote are never called
by collector;
2) I don't understand how I should generate call jitCompute "in func"
in ToyCompiler::generateCode function and were results
picture(Toy::Picture*) have to be initialized.
If it is any other methods enjoying vmkit or some documentation on english
please tell me about them.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-d...
2004 Jul 06
1
Wrong object type produced - LANGSXP should be LISTSXP (PR#7055)
...auer
--- gram.y.orig 2003-11-15 05:40:35.000000000 -0500
+++ gram.y 2004-07-06 13:45:10.000000000 -0400
@@ -731,11 +731,11 @@
static SEXP xxsubscript(SEXP a1, SEXP a2, SEXP a3)
{
SEXP ans;
if (GenerateCode)
- PROTECT(ans = LCONS(a2, LCONS(a1, CDR(a3))));
+ PROTECT(ans = LCONS(a2, CONS(a1, CDR(a3))));
else
PROTECT(ans = R_NilValue);
UNPROTECT_PTR(a3);
UNPROTECT_PTR(a1);
return ans;
2004 May 01
0
[LLVMdev] opt, llcc, ll++, -O1, -O2, -O3
...o', as long as the flag gets passed
in when the program is linked.
If you use the -native option, it uses LLC, though it doesn't turn on
Alkis's nice register allocator. If you want to enable the linearscan
allocator with the -native option, you currently have to hack
llvm/tools/gccld/GenerateCode.cpp:GenerateAssembly to pass in the
'-regalloc=linearscan' option. When this allocator is completely stable,
we will enable it by default.
> Anyway, it would be good to have a starting point for those who'd like
> to try "fully LLVM-optimized" C/C++ code. Indeed, the...
2004 May 01
4
[LLVMdev] opt, llcc, ll++, -O1, -O2, -O3
Hi devels,
there are two issues concerning invoking
optimizations:
1.
this document:
http://llvm.cs.uiuc.edu/docs/GettingStarted.html
is very nice, it would be good though to add in a section
An Example Using the LLVM Tool Chain
examples on optimization step.
2.
If i am not wrong there is no tool, which integrates all
steps:
llvmgcc->opt->llc into something like llcc
(and
2012 Apr 23
4
[LLVMdev] gdb + clang/llvm
...0x0000000000c00de9 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*) + 75
20 clang 0x0000000000c19808 clang::CodeGen::CodeGenFunction::EmitFunctionBody(clang::CodeGen::FunctionArgList&) + 154
21 clang 0x0000000000c19d11 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) + 971
22 clang 0x0000000000a9025f clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl) + 847
23 clang 0x0000000000a8d2c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinit...
2006 Mar 16
0
[LLVMdev] Re: a linking problem of LLVM
...the linking-optimization instead of disabling all. I haven’t found a flag that can do this.
>
gccld does not have a command line option to disable selected
optimizations.
You can however do the following. All the optimizations (organized as
passes in LLVM) run by gccld are in llvm/tools/gccld/GenerateCode.cpp
If you want to disable a specific pass, comment out that line in the
file and recompile.
e.g. //addPass(Passes, createGlobalDCEPass());
disables the GlobalDCE optimization.
Hope it helps
Dinakar
2012 Apr 23
0
[LLVMdev] gdb + clang/llvm
...000000000c00de9 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*) + 75
> 20 clang 0x0000000000c19808 clang::CodeGen::CodeGenFunction::EmitFunctionBody(clang::CodeGen::FunctionArgList&) + 154
> 21 clang 0x0000000000c19d11 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) + 971
> 22 clang 0x0000000000a9025f clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl) + 847
> 23 clang 0x0000000000a8d2c3 clang::CodeGen::CodeGenModule::EmitGlo...
2012 Apr 23
1
[LLVMdev] gdb + clang/llvm
...unction::EmitStmt(clang::Stmt const*) + 75
> > 20 clang 0x0000000000c19808
> > clang::CodeGen::CodeGenFunction::EmitFunctionBody(clang::CodeGen::FunctionArgList&)
> > + 154
> > 21 clang 0x0000000000c19d11
> > clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl,
> > llvm::Function*, clang::CodeGen::CGFunctionInfo const&) + 971
> > 22 clang 0x0000000000a9025f
> > clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl)
> > + 847
> > 23 clang 0x0000000000a8d2c...
2006 Feb 28
3
[LLVMdev] Using llvm-gcc with a simple program and the '-c' option
Chris Lattner wrote:
> On Sun, 26 Feb 2006, Wink Saville wrote:
>> I then do the following in my makefile:
>>
>> llvm-gcc -c t1.c -o t1.bc
>> llvm-gcc -c t1sub1.c -o t1sub1.bc
>> llvm-gcc -c t1sub2.c -o t1sub2.bc
>> llvm-ar r t1.a t1sub1.bc t1sub2.bc
>> llvm-ar: creating t1.a
>> llvm-ld -o t1.app t1.bc t1.a /opt/llvm-1.6/llvm-gcc/lib/libcrtend.a
2012 Feb 21
5
[LLVMdev] buildbot failure in LLVM on clang-x86_64-debian-fnt
...Slot) + 272
24 clang 0x00000000008ea0ff
clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*) +
271
25 clang 0x00000000008e66a7
clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*) + 39
26 clang 0x00000000008f7193
clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl,
llvm::Function*, clang::CodeGen::CGFunctionInfo const&) + 995
27 clang 0x00000000007ca16b
clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl)
+ 587
28 clang 0x00000000007dbe0e
clang::CodeGen::CodeGenModule::EmitGlobalDefinition(...
2012 Apr 23
0
[LLVMdev] gdb + clang/llvm
On Apr 20, 2012, at 6:35 PM, Roland Leißa <leissa at cs.uni-saarland.de> wrote:
> ok, I now have a problem in the code generator.
> Let's say I want to set a breakpoint somewhere in
> clang/lib/CodeGen/CGExprScalar.cpp
>
> What do I have to do in order to trigger breakpoints, see backtraces and so on?
You set a breakpoint and ask to see a backtrace?
-eric
2012 Apr 21
2
[LLVMdev] gdb + clang/llvm
ok, I now have a problem in the code generator.
Let's say I want to set a breakpoint somewhere in
clang/lib/CodeGen/CGExprScalar.cpp
What do I have to do in order to trigger breakpoints, see backtraces and so on?
--
Roland
----- Original Message -----
> From: "Eric Christopher" <echristo at apple.com>
> To: "Roland Leißa" <leissa at cs.uni-saarland.de>
2020 Aug 10
2
Orc JIT v2 breaks OpenMP in 11.x branch?
...mt.cpp:453
> #38 0x00007fb7119d69ec in
> clang::CodeGen::CodeGenFunction::EmitFunctionBody
> (this=0x7fffd4fdc7e0, Body=0x4a695e0)
> at
> /u/geoff/llvmrepo/llvm-project/clang/lib/CodeGen/CodeGenFunction.cpp:1147
> #39 0x00007fb7119d75bc in
> clang::CodeGen::CodeGenFunction::GenerateCode (this=0x7fffd4fdc7e0,
> GD=..., Fn=0x4699718, FnInfo=...)
> at
> /u/geoff/llvmrepo/llvm-project/clang/lib/CodeGen/CodeGenFunction.cpp:1312
> #40 0x00007fb7119facdf in
> clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition
> (this=0x4b103a0, GD=..., GV=0x4699718)
>...
2020 Aug 03
2
Orc JIT v2 breaks OpenMP in 11.x branch?
Greetings, Lang and other JITters,
Last week I moved our Orc v2-based app from top-of-tree to the new
11.x branch, and it no longer handles C++ code containing OpenMP
directives correctly.
More specifically, if I JIT compile a function containing OpenMP
parallel/for pragmas, using a release version of LLVM, the code
compiles and seems to work, but if I try to write the module's bitcode
to
2012 Feb 21
0
[LLVMdev] buildbot failure in LLVM on clang-x86_64-debian-fnt
...0x00000000008ea0ff
> clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*) +
> 271
> 25 clang 0x00000000008e66a7
> clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*) + 39
> 26 clang 0x00000000008f7193
> clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl,
> llvm::Function*, clang::CodeGen::CGFunctionInfo const&) + 995
> 27 clang 0x00000000007ca16b
>
> clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl)
> + 587
> 28 clang 0x00000000007dbe0e
> clang::CodeGen::C...
2013 Feb 08
2
[LLVMdev] assert when mixing static and non-static members with an external AST source
...hi/git/lldb/tools/clang/lib/CodeGen/CGStmt.cpp:47
#47 0x00007ffff4c6ca7e in clang::CodeGen::CodeGenFunction::EmitFunctionBody (this=0x7fffffff9198, Args=...)
at /home/athirumurthi/git/lldb/tools/clang/lib/CodeGen/CodeGenFunction.cpp:489
#48 0x00007ffff4c6ce8d in clang::CodeGen::CodeGenFunction::GenerateCode (this=0x7fffffff9198, GD=..., Fn=0xd61b30, FnInfo=...)
at /home/athirumurthi/git/lldb/tools/clang/lib/CodeGen/CodeGenFunction.cpp:557
#49 0x00007ffff4c7ab86 in clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition (this=0xd63cf0, GD=...)
at /home/athirumurthi/git/lldb/tools/clang/lib...
2020 Aug 10
2
[EXTERNAL] Re: Orc JIT v2 breaks OpenMP in 11.x branch?
...#38 0x00007fb7119d69ec in
>> clang::CodeGen::CodeGenFunction::EmitFunctionBody
>> (this=0x7fffd4fdc7e0, Body=0x4a695e0)
>> at /u/geoff/llvmrepo/llvm-project/clang/lib/CodeGen/CodeGenFunction.cpp:1147
>> #39 0x00007fb7119d75bc in
>> clang::CodeGen::CodeGenFunction::GenerateCode (this=0x7fffd4fdc7e0,
>> GD=..., Fn=0x4699718, FnInfo=...)
>> at /u/geoff/llvmrepo/llvm-project/clang/lib/CodeGen/CodeGenFunction.cpp:1312
>> #40 0x00007fb7119facdf in
>> clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition
>> (this=0x4b103a0, GD=..., GV=0x...
2016 Jan 22
2
Clang 3.8 fails with asan enabled
...Type, llvm::Function*, clang::CodeGen::CGFunctionInfo const&,
clang::CodeGen::FunctionArgList const&, clang::SourceLocation,
clang::SourceLocation)
/export/users/amitrokh/llvm-sanitizer/llvm/tools/clang/lib/CodeGen/CodeGenFunction.cpp:752
#5 0x287bac4 in
clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl,
llvm::Function*, clang::CodeGen::CGFunctionInfo const&)
/export/users/amitrokh/llvm-sanitizer/llvm/tools/clang/lib/CodeGen/CodeGenFunction.cpp:972:3
#6 0x28b6480 in
clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl,
llvm::GlobalValue*)
/export...