search for: toder

Displaying 20 results from an estimated 72 matches for "toder".

Did you mean: oder
2010 Jul 07
4
[LLVMdev] LLVM-C headers: create native library
> The clang driver generally uses an installed gcc to do the assemble > and link steps at the moment. gcc? I thought it uses binutils. Eugene
2010 Jul 07
1
[LLVMdev] LLVM-C headers: create native library
I see. I assumed it runs binutils directly. Eugene On Wed, Jul 7, 2010 at 10:02 PM, Eric Christopher <echristo at apple.com> wrote: > > On Jul 7, 2010, at 1:55 PM, Eugene Toder wrote: > >>> The clang driver generally uses an installed gcc to do the assemble >>> and link steps at the moment. >> >> gcc? I thought it uses binutils. > > > The gcc driver that runs whatever is appropriate for the system. > > -eric >
2013 Aug 20
3
[LLVMdev] Failure to optimize vector select
On Aug 19, 2013, at 18:47 , Eugene Toder <eltoder at gmail.com> wrote: > Have you tried running SLP vectorizer pass (-vectorize-slp)? Yes. That was the first thing i tried, and it didn't do anything. I was looking the vectorizer, but then I saw some things that made me wonder if it was even supposed to do this
2010 Jul 21
2
[LLVMdev] Casting.h illness
On Jul 21, 2010, at 12:49 PM, Eugene Toder wrote: > Is this a recommended approach/good style/good idea to use > dyn_cast_or_null<X>(I) instead of dyn_cast_or_null<X>(*I)? (And other > is and cast functions). We generally don't want auto-dereference. There is some special magic for unwrapping Uses etc though. Is...
2010 Aug 08
2
[LLVMdev] Usage of pointers to elements of a std::vector that might be reallocated
Oh yes you're right, I missed that :) But the point still hold. Amaury Pouly 2010/8/8 Eugene Toder <eltoder at gmail.com> > > Not only this code does not compile with NDEBUG set > > I may be missing something, but why does it not compile with -DNDEBUG? > assert() macro expands to noop when NDEBUG is set. > > Eugene > > On Sun, Aug 8, 2010 at 2:19 PM, Amaury Poul...
2010 Jun 13
1
[LLVMdev] [PATCH] llvm demo
...uld apply cleanly to trunk. I've tested it for a bit on my box, but obviously someone needs to test it on llvm.org server to be sure that it works properly. Eugene On Wed, Apr 14, 2010 at 7:12 PM, Chris Lattner <clattner at apple.com> wrote: > > On Apr 14, 2010, at 9:05 AM, Eugene Toder wrote: > >> Hi All, >> >> One of possibly minor but a very cool things about LLVM has always >> been the online demo on llvm.org. >> Now that we have clang, I think it will be great if the demo allowed >> to use it as C/C++ front-end. >> This will be esp...
2010 Jun 28
2
[LLVMdev] Strange pointer aliasing behaviour
On Jun 27, 2010, at 2:26 PM, Eugene Toder wrote: > Hi Dan, > > Are you referring to my reasoning for why _length and _data[i] do not > alias? No, I was referring to the discussion of C99 6.7.2.1, 6.5.6, 6.2.6, and so on. > I don't think this needs TBAA or any "strict" aliasing rules. > All that sufficien...
2010 Aug 08
0
[LLVMdev] Usage of pointers to elements of a std::vector that might be reallocated
...;s at all possible) or use a container that doesn't reallocate on insert. Eugene On Sun, Aug 8, 2010 at 3:11 PM, Amaury Pouly <amaury.pouly at gmail.com> wrote: > Oh yes you're right, I missed that :) But the point still hold. > > Amaury Pouly > > > 2010/8/8 Eugene Toder <eltoder at gmail.com> >> >> > Not only this code does not compile with NDEBUG set >> >> I may be missing something, but why does it not compile with -DNDEBUG? >> assert() macro expands to noop when NDEBUG is set. >> >> Eugene >> >> On...
2010 Jun 17
1
[LLVMdev] Adding support to LLVM for data & code layout (needed by GHC)
On 15 June 2010 23:08, Eugene Toder <eltoder at gmail.com> wrote: > Subsections is a very good idea. You can even do without > post-processing by using carefully crafted section names, e.g. > > __attribute__((section(".text,\"ax\", at progbits\n\t.subsection 1 #"))) > void foo() > { > }...
2010 Jul 07
0
[LLVMdev] LLVM-C headers: create native library
On Jul 7, 2010, at 1:55 PM, Eugene Toder wrote: >> The clang driver generally uses an installed gcc to do the assemble >> and link steps at the moment. > > gcc? I thought it uses binutils. The gcc driver that runs whatever is appropriate for the system. -eric
2010 Jul 07
0
[LLVMdev] LLVM-C headers: create native library
On Wed, Jul 7, 2010 at 1:55 PM, Eugene Toder <eltoder at gmail.com> wrote: >> The clang driver generally uses an installed gcc to do the assemble >> and link steps at the moment. > > gcc? I thought it uses binutils. It does. But clang uses the gcc driver to invoke the binutils tools anyway. Presumably it's easie...
2010 Jul 22
0
[LLVMdev] Casting.h illness
Am 22.07.2010 um 00:21 schrieb Chris Lattner: > On Jul 21, 2010, at 12:49 PM, Eugene Toder wrote: >> Is this a recommended approach/good style/good idea to use >> dyn_cast_or_null<X>(I) instead of dyn_cast_or_null<X>(*I)? (And other >> is and cast functions). > > We generally don't want auto-dereference. There is some special > magic for unwr...
2013 Aug 20
0
[LLVMdev] Failure to optimize vector select
Can you send the IR of the function ? On Aug 20, 2013, at 8:36 AM, Matt Arsenault <arsenm2 at gmail.com> wrote: > > On Aug 19, 2013, at 18:47 , Eugene Toder <eltoder at gmail.com> wrote: > >> Have you tried running SLP vectorizer pass (-vectorize-slp)? > Yes. That was the first thing i tried, and it didn't do anything. I was looking the vectorizer, but then I saw some things that made me wonder if it was even supposed to do this...
2010 Jul 22
2
[LLVMdev] Casting.h illness
On Jul 22, 2010, at 10:57 AM, Gabor Greif wrote: > Am 22.07.2010 um 00:21 schrieb Chris Lattner: > >> On Jul 21, 2010, at 12:49 PM, Eugene Toder wrote: >>> Is this a recommended approach/good style/good idea to use >>> dyn_cast_or_null<X>(I) instead of dyn_cast_or_null<X>(*I)? (And other >>> is and cast functions). >> >> We generally don't want auto-dereference. There is some special...
2010 Jul 18
2
[LLVMdev] MemoryDependenceAnalysis Bug or Feature?
...rent from e.g. a load. Isn't a read-only call effectively just a series of loads from a memory-dependence perspective? In other words, why does this code fragment return MemDepResult::getClobber() instead of MemDepResult::getDef() for a read-only call? On Sat, Jul 17, 2010 at 6:18 PM, Eugene Toder <eltoder at gmail.com> wrote: > Since isLoad == false means we're looking at a store, what this does > is making the store *p depend on the load *p. This is correct -- you > can't move store before load, otherwise load will start returning a > different value. > > E...
2010 Jul 18
0
[LLVMdev] MemoryDependenceAnalysis Bug or Feature?
... Isn't a read-only call effectively just a series of loads > from a memory-dependence perspective? > In other words, why does this code fragment return > MemDepResult::getClobber() instead of MemDepResult::getDef() for a read-only > call? > On Sat, Jul 17, 2010 at 6:18 PM, Eugene Toder <eltoder at gmail.com> wrote: >> >> Since isLoad == false means we're looking at a store, what this does >> is making the store *p depend on the load *p. This is correct -- you >> can't move store before load, otherwise load will start returning a >> diff...
2010 Apr 14
0
[LLVMdev] llvm demo
On Apr 14, 2010, at 9:05 AM, Eugene Toder wrote: > Hi All, > > One of possibly minor but a very cool things about LLVM has always > been the online demo on llvm.org. > Now that we have clang, I think it will be great if the demo allowed > to use it as C/C++ front-end. > This will be especially useful for testing what...
2010 Jun 28
0
[LLVMdev] Strange pointer aliasing behaviour
...rflowing i requires going out of bounds when storing to _data[i] (because address space can't contain objects large enough). Can this be used for alias analysis? Eugene On Mon, Jun 28, 2010 at 7:46 PM, Dan Gohman <gohman at apple.com> wrote: > > On Jun 27, 2010, at 2:26 PM, Eugene Toder wrote: > >> Hi Dan, >> >> Are you referring to my reasoning for why _length and _data[i] do not >> alias? > > No, I was referring to the discussion of C99 6.7.2.1, 6.5.6, > 6.2.6, and so on. > >> I don't think this needs TBAA or any "strict&quot...
2010 Apr 14
2
[LLVMdev] llvm demo
Hi All, One of possibly minor but a very cool things about LLVM has always been the online demo on llvm.org. Now that we have clang, I think it will be great if the demo allowed to use it as C/C++ front-end. This will be especially useful for testing what kind of C++ clang accepts/can already handle. Another nice thing would be for demo to accept llvm assembler source (.ll), for example, to see
2010 Apr 18
1
[LLVMdev] create two Twine object
On Sun, Apr 18, 2010 at 4:36 AM, Eugene Toder <eltoder at gmail.com> wrote: > According to documentation Twines should be used only for temporary > values and not stored, so allocating the in heap sounds wrong. Yes, in general you should never be naming Twine directly, except in the case where you need to make a Twine for an integ...