Displaying 20 results from an estimated 37 matches for "foldres".
Did you mean:
folders
2004 Nov 03
3
fold right - recursive list (vector) operators
The programming language mosml comes with foldr that 'accumulates' a
function f over a list [x1,x2,...,xn] with initial value b as follows
foldr f b [x1,x2,...,xn] = f(x1,...,f(xn-1,f(xn,b))...)
Observe that "list" should have same elements so in R terminology it would
perhaps be appropriate to say that the accumulation takes place over a
'vector'.
I wonder if R
2008 Dec 09
0
[LLVMdev] Using ReST for documentation
WikiFormatting for code documentation? :-)
-scooter
On Tue, Dec 9, 2008 at 7:56 AM, Mikhail Glushenkov <foldr at codedgers.com>wrote:
> [Chris asked me to bring this up on the mailing list some time
> ago, but I couldn't get to it. Sorry for that.]
>
> Since the beginning, I used ReST [1] for documenting llvmc, instead of
> plain HTML that was used historically. In my
2009 Jan 19
0
[LLVMdev] Criticism of garbage collection support in LLVM
And the followup:
http://lhc-compiler.blogspot.com/2009/01/why-llvm-probably-wont-replace-c.html
On Sat, Jan 17, 2009 at 1:18 PM, Mikhail Glushenkov <foldr at codedgers.com> wrote:
>
> This may be of interest:
>
> http://lhc-compiler.blogspot.com/2009/01/case-against-cllvm.html
>
> People implementing a new Haskell compiler explain why LLVM is an
> unsuitable target
2011 Apr 22
3
[LLVMdev] LLVMC plugin setup changed?
Hi,
I am trying to build my own llvmc plugin, but somehow, the llvm
makefiles do not pick up the plugin in the llvmc/plugins directory
anymore in a recent (r129445) svn checkout.
According to the tutorial (http://llvm.org/docs/CompilerDriverTutorial.html):
$ cd tools/llvmc
$ cp -r example/Simple plugins/Simple
$ make LLVMC_BASED_DRIVER_NAME=mygcc LLVMC_BUILTIN_PLUGINS=Simple
does not build
2014 Sep 19
2
[LLVMdev] More careful treatment of floating point exceptions
Hi Sanjay,
Thanks, I saw this flag and it's definitely should be considered, but
it appeared to me to be static characteristic of target platform. I'm
not sure how appropriate it would be to change its value from a front-end.
It says "Has", while optional flag would rather say "Uses" meaning that
implementation cares about floating point exceptions.
Regards,
Sergey
2014 Sep 25
2
[LLVMdev] More careful treatment of floating point exceptions
...quot; << *C << " from: "
<< *Inst << '\n');
Inst->replaceAllUsesWith(C);
@@ -2679,10 +2681,13 @@ static bool AddReachableCodeToWorklist(BasicBlock *BB,
if (CE == nullptr) continue;
Constant*& FoldRes = FoldedConstants[CE];
- if (!FoldRes)
- FoldRes = ConstantFoldConstantExpression(CE, DL, TLI);
- if (!FoldRes)
+ if (!FoldRes) {
+ FoldRes = ConstantFoldConstantExpression(CE, DL, TLI,
+ HonorFPExc...
2009 Jan 17
9
[LLVMdev] Criticism of garbage collection support in LLVM
This may be of interest:
http://lhc-compiler.blogspot.com/2009/01/case-against-cllvm.html
People implementing a new Haskell compiler explain why LLVM is an
unsuitable target for them.
2008 Dec 09
7
[LLVMdev] Using ReST for documentation
[Chris asked me to bring this up on the mailing list some time
ago, but I couldn't get to it. Sorry for that.]
Since the beginning, I used ReST [1] for documenting llvmc, instead of
plain HTML that was used historically. In my opinion, ReST is much
easier to write and read (in the text editor or on terminal); it can
also be used to produce PDFs, man pages or HTML that looks exactly the
same
2009 Jan 17
0
[LLVMdev] Criticism of garbage collection support in LLVM
It's nice that he claims it's way too high overhead without any, you know, data.
Then again, he also thinks writing a good native code generator isn't
that difficult, so ....
On Sat, Jan 17, 2009 at 1:18 PM, Mikhail Glushenkov <foldr at codedgers.com> wrote:
> This may be of interest:
>
> http://lhc-compiler.blogspot.com/2009/01/case-against-cllvm.html
>
> People
2009 Jul 03
2
[LLVMdev] [Cygwin] Cygwin is broken again
Hi Mikhail,
> Aaron Gray <aaronngray.lists <at> googlemail.com> writes:
>> I have not tried as of yet.
>
> Just compile with `make VERBOSE=1` and then copy, paste & edit
> the offending line.
Okay
>> I don't think Cygwin supports loadable modules anyway.
>
> Really, Cygwin doesn't allow to produce DLLs? Then I guess I
> should make this a
2009 Jul 03
0
[LLVMdev] [Cygwin] Cygwin is broken again
Hi Aaron,
Aaron Gray <aaronngray.lists <at> googlemail.com> writes:
> I sent you a _patch_ that disables it on Cygwin for the time being. LLVM
> does not load DLL's properly apparently. I would love to get to the bottom
> of this at some point.
I've just added an --enable-llvmc-dynamic configure option (enabled
only on Windows by default). This is based on your
2009 Jul 17
2
[LLVMdev] [PATCH 2/2] Make Program::ExecuteNoWait return a process ID.
Hi Daniel,
Daniel Dunbar <daniel <at> zuster.org> writes:
>
> Ultimately I think a better API would be to provide a generic class
> which represents an executed operating system process, and includes
> operations to wait for its completion, redirect its IO, communicate
> with it, etc. This would be a big improvement over the current
> monolithic function.
I agree,
2009 Jul 17
0
[LLVMdev] [PATCH 2/2] Make Program::ExecuteNoWait return a process ID.
On Thu, Jul 16, 2009 at 7:48 PM, Mikhail Glushenkov<foldr at codedgers.com> wrote:
> Hi Daniel,
>
> Daniel Dunbar <daniel <at> zuster.org> writes:
>
>>
>> Ultimately I think a better API would be to provide a generic class
>> which represents an executed operating system process, and includes
>> operations to wait for its completion, redirect
2008 May 30
0
[LLVMdev] notes on llvmc2
Hello, Holger
> Being fully aware that llvmc2 is work-in-progress, here are some notes
nethertheless:
First of all - Mikhael (the main author) sometimes cannot catch the
mailing list directly, so please, CC him also (foldr at codedgers.com)
I'll try to answer some questions and Mikhael will try to resolve others.
> * why using /tmp at all?
Same does gcc, we don't have pipe option
2009 Jul 17
0
[LLVMdev] [PATCH 2/2] Make Program::ExecuteNoWait return a process ID.
I don't think this is the right direction for the system library to
go. The System library is supposed to expose generic OS independent
interfaces, not be a generic way for clients to get OS information.
Ultimately I think a better API would be to provide a generic class
which represents an executed operating system process, and includes
operations to wait for its completion, redirect its IO,
2009 Jul 17
3
[LLVMdev] [PATCH 1/2] Trailing whitespace.
---
include/llvm/System/Program.h | 8 ++++----
lib/System/Unix/Program.inc | 30 +++++++++++++++---------------
2 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/include/llvm/System/Program.h b/include/llvm/System/Program.h
index 49de7cf..14f9e9e 100644
--- a/include/llvm/System/Program.h
+++ b/include/llvm/System/Program.h
@@ -97,12 +97,12 @@ namespace sys {
///
2009 Jul 17
1
[LLVMdev] [PATCH 2/2] Make Program::ExecuteNoWait return a process ID.
---
include/llvm/System/Program.h | 14 ++++++++++----
lib/System/Unix/Program.inc | 17 +++++++++--------
lib/System/Win32/Program.inc | 16 +++++++++-------
3 files changed, 28 insertions(+), 19 deletions(-)
diff --git a/include/llvm/System/Program.h b/include/llvm/System/Program.h
index 14f9e9e..05c73ac 100644
--- a/include/llvm/System/Program.h
+++ b/include/llvm/System/Program.h
@@
2008 Nov 25
2
[LLVMdev] s/llvmc2/llvmc/
Hello,
Since the old llvmc was removed, is it now OK to rename llvmc2 to llvmc?
I'll update man pages accordingly.
2008 Dec 09
0
[LLVMdev] llvmc now supports Clang
Greetings everybody!
In my quest to attract more users to llvmc, I've added support for
compilation via the Clang front-end (previously, only llvm-gcc was
supported). This is enabled with the '-clang' switch; basically, you
can now just alias 'ccc' to 'llvmc -clang' and get the same
functionality.
Examples:
Compile via Clang:
$ llvmc -clang test.c
2008 Dec 10
2
[LLVMdev] Using ReST for documentation
> Can you compare ReST to docbook? We've talked about using docbook for
> a long time. What are the pros and cons of each?
I have no experience with DocBook, but it seems that since it is XML-based it
should also suffer from verbosity issues. For example, the Boost project, which
originally used plain DocBook, decided to build a new ReST-like documentation
format[1] on top of it.
[1]