search for: emitcompoundstmt

Displaying 19 results from an estimated 19 matches for "emitcompoundstmt".

2012 Feb 21
5
[LLVMdev] buildbot failure in LLVM on clang-x86_64-debian-fnt
...000000000847a27 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) + 247 14 clang 0x00000000008e6948 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*) + 712 15 clang 0x00000000008e9e40 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) + 272 16 clang 0x00000000008ea0ff clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*) + 271 17 clang 0x00000000008e66a7 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*) + 39 18 clang...
2012 Feb 21
0
[LLVMdev] buildbot failure in LLVM on clang-x86_64-debian-fnt
...deGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, > clang::CodeGen::AggValueSlot, bool) + 247 > 14 clang 0x00000000008e6948 > clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*) + 712 > 15 clang 0x00000000008e9e40 > clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt > const&, bool, clang::CodeGen::AggValueSlot) + 272 > 16 clang 0x00000000008ea0ff > clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*) + > 271 > 17 clang 0x00000000008e66a7 > clang::CodeGen::CodeGenFunction::EmitStmt(cla...
2010 Oct 26
2
[LLVMdev] Prevent instruction elimination
...the plan is to attach metadata to all instructions contained in the scope of the pragma. In this respect, I create a boolean inside CodeGenFunction which is set to true once we reach the pragma and reset to false, when we exit the pragma scope. The set and reset functions are called from CGStmt in EmitCompoundStmt, if there is a pragma corresponding to the left brace and the right brace of the compound statement. Next, I tried to attach metadata to all instructions emitted, if the boolean is set to true. However this is rather a tedious work, as it implies modifying all files in clang::CodeGen. Actually, fo...
2012 Apr 23
4
[LLVMdev] gdb + clang/llvm
...ang 0x0000000000c03875 clang::CodeGen::CodeGenFunction::EmitReturnStmt(clang::ReturnStmt const&) + 683 16 clang 0x0000000000c01084 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*) + 742 17 clang 0x0000000000c014ff clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) + 241 18 clang 0x0000000000c012d6 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*) + 226 19 clang 0x0000000000c00de9 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*) + 75 20 c...
2012 Apr 23
0
[LLVMdev] gdb + clang/llvm
...0x0000000000c03875 clang::CodeGen::CodeGenFunction::EmitReturnStmt(clang::ReturnStmt const&) + 683 > 16 clang 0x0000000000c01084 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*) + 742 > 17 clang 0x0000000000c014ff clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) + 241 > 18 clang 0x0000000000c012d6 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*) + 226 > 19 clang 0x0000000000c00de9 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*)...
2010 Oct 25
0
[LLVMdev] Prevent instruction elimination
On Oct 25, 2010, at 12:09 PM, Xinfinity wrote: > > > Devang Patel wrote: >> >> >> What are you going to do if "optimized LLVM code" is hoisted above or >> sinked below LLVM_dummy_inst by the optimizer ? It seems you are looking >> for a way communicate some info for a block of instructions. If that is >> the case then one solution is to
2012 Apr 23
1
[LLVMdev] gdb + clang/llvm
...nction::EmitReturnStmt(clang::ReturnStmt > > const&) + 683 > > 16 clang 0x0000000000c01084 > > clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*) + > > 742 > > 17 clang 0x0000000000c014ff > > clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt > > const&, bool, clang::CodeGen::AggValueSlot) + 241 > > 18 clang 0x0000000000c012d6 > > clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt > > const*) + 226 > > 19 clang 0x0000000000c00de9 > > clang::Code...
2010 Oct 26
0
[LLVMdev] Prevent instruction elimination
...h metadata to all instructions contained in the scope of the pragma. In > this respect, I create a boolean inside CodeGenFunction which is set to true > once we reach the pragma and reset to false, when we exit the pragma scope. > The set and reset functions are called from > CGStmt in EmitCompoundStmt, if there is a pragma corresponding to the left > brace and the right brace of the compound statement. > > Next, I tried to attach metadata to all instructions emitted, if the boolean > is set to true. However this is rather a tedious work, as it implies > modifying all files in cla...
2010 Oct 25
2
[LLVMdev] Prevent instruction elimination
Devang Patel wrote: > > > What are you going to do if "optimized LLVM code" is hoisted above or > sinked below LLVM_dummy_inst by the optimizer ? It seems you are looking > for a way communicate some info for a block of instructions. If that is > the case then one solution is to extract interesting block of instructions > in a separate function and make sure that
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?
.../CodeGen/CGStmtOpenMP.cpp:3353 > #22 0x00007fb711952aeb in clang::CodeGen::CodeGenFunction::EmitStmt > (this=0x7fffd4fda9d0, S=0x46c3b18, Attrs=...) > at /u/geoff/llvmrepo/llvm-project/clang/lib/CodeGen/CGStmt.cpp:202 > #23 0x00007fb7119537d3 in > clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope > (this=0x7fffd4fda9d0, S=..., > GetLast=false, AggSlot=...) at > /u/geoff/llvmrepo/llvm-project/clang/lib/CodeGen/CGStmt.cpp:453 > #24 0x00007fb7119534b6 in > clang::CodeGen::CodeGenFunction::EmitCompoundStmt > (this=0x7fffd4fda9d0, S=..., GetLast=false, >...
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
2013 Feb 08
2
[LLVMdev] assert when mixing static and non-static members with an external AST source
...home/athirumurthi/git/lldb/tools/clang/lib/CodeGen/CGStmt.cpp:176 #43 0x00007ffff4c4dbb7 in clang::CodeGen::CodeGenFunction::EmitStmt (this=0x7fffffff9198, S=0xd6a688) at /home/athirumurthi/git/lldb/tools/clang/lib/CodeGen/CGStmt.cpp:47 #44 0x00007ffff4c5288e in clang::CodeGen::CodeGenFunction::EmitCompoundStmt (this=0x7fffffff9198, S=..., GetLast=false, AggSlot=...) at /home/athirumurthi/git/lldb/tools/clang/lib/CodeGen/CGStmt.cpp:203 #45 0x00007ffff4c4e283 in clang::CodeGen::CodeGenFunction::EmitSimpleStmt (this=0x7fffffff9198, S=0xd6a608) at /home/athirumurthi/git/lldb/tools/clang/lib/CodeGen/C...
2020 Aug 10
2
[EXTERNAL] Re: Orc JIT v2 breaks OpenMP in 11.x branch?
...P.cpp:3353 >> #22 0x00007fb711952aeb in clang::CodeGen::CodeGenFunction::EmitStmt >> (this=0x7fffd4fda9d0, S=0x46c3b18, Attrs=...) >> at /u/geoff/llvmrepo/llvm-project/clang/lib/CodeGen/CGStmt.cpp:202 >> #23 0x00007fb7119537d3 in >> clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope >> (this=0x7fffd4fda9d0, S=..., >> GetLast=false, AggSlot=...) at >> /u/geoff/llvmrepo/llvm-project/clang/lib/CodeGen/CGStmt.cpp:453 >> #24 0x00007fb7119534b6 in >> clang::CodeGen::CodeGenFunction::EmitCompoundStmt >> (this=0x7fffd4fda9d0, S=...,...
2013 Feb 15
0
[LLVMdev] assert when mixing static and non-static members with an external AST source
...home/athirumurthi/git/lldb/tools/clang/lib/CodeGen/CGStmt.cpp:176 #43 0x00007ffff4c4dbb7 in clang::CodeGen::CodeGenFunction::EmitStmt (this=0x7fffffff9198, S=0xd6a688) at /home/athirumurthi/git/lldb/tools/clang/lib/CodeGen/CGStmt.cpp:47 #44 0x00007ffff4c5288e in clang::CodeGen::CodeGenFunction::EmitCompoundStmt (this=0x7fffffff9198, S=..., GetLast=false, AggSlot=...) at /home/athirumurthi/git/lldb/tools/clang/lib/CodeGen/CGStmt.cpp:203 #45 0x00007ffff4c4e283 in clang::CodeGen::CodeGenFunction::EmitSimpleStmt (this=0x7fffffff9198, S=0xd6a608) at /home/athirumurthi/git/lldb/tools/clang/lib/CodeGen/C...
2020 Aug 10
2
[EXTERNAL] Re: Orc JIT v2 breaks OpenMP in 11.x branch?
...52aeb in clang::CodeGen::CodeGenFunction::EmitStmt > >>> (this=0x7fffd4fda9d0, S=0x46c3b18, Attrs=...) > >>> at /u/geoff/llvmrepo/llvm-project/clang/lib/CodeGen/CGStmt.cpp:202 > >>> #23 0x00007fb7119537d3 in > >>> clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope > >>> (this=0x7fffd4fda9d0, S=..., > >>> GetLast=false, AggSlot=...) at > >>> /u/geoff/llvmrepo/llvm-project/clang/lib/CodeGen/CGStmt.cpp:453 > >>> #24 0x00007fb7119534b6 in > >>> clang::CodeGen::CodeGenFunction::EmitCompo...
2020 Aug 10
2
[EXTERNAL] Re: Orc JIT v2 breaks OpenMP in 11.x branch?
...unction::EmitStmt > >>>>> (this=0x7fffd4fda9d0, S=0x46c3b18, Attrs=...) > >>>>> at /u/geoff/llvmrepo/llvm-project/clang/lib/CodeGen/CGStmt.cpp:202 > >>>>> #23 0x00007fb7119537d3 in > >>>>> clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope > >>>>> (this=0x7fffd4fda9d0, S=..., > >>>>> GetLast=false, AggSlot=...) at > >>>>> /u/geoff/llvmrepo/llvm-project/clang/lib/CodeGen/CGStmt.cpp:453 > >>>>> #24 0x00007fb7119534b6 in > >>>>> c...
2020 Aug 10
2
[EXTERNAL] Re: Orc JIT v2 breaks OpenMP in 11.x branch?
...Stmt >>>>>>> (this=0x7fffd4fda9d0, S=0x46c3b18, Attrs=...) >>>>>>> at /u/geoff/llvmrepo/llvm-project/clang/lib/CodeGen/CGStmt.cpp:202 >>>>>>> #23 0x00007fb7119537d3 in >>>>>>> clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope >>>>>>> (this=0x7fffd4fda9d0, S=..., >>>>>>> GetLast=false, AggSlot=...) at >>>>>>> /u/geoff/llvmrepo/llvm-project/clang/lib/CodeGen/CGStmt.cpp:453 >>>>>>> #24 0x00007fb7119534b6 in >>>&g...