similar to: [LLVMdev] Nested functions

Displaying 20 results from an estimated 3000 matches similar to: "[LLVMdev] Nested functions"

2004 Nov 22
0
[LLVMdev] Nested functions
On Nov 21, 2004, at 4:11 AM, Dirk Muysers wrote: > Was there already some reflection about how to lower the concept of > nested > functions (and the corresponding static links) into llvm? > > Dirk Muysers. I have not seen a discussion of this and none of our current front-ends need it. A straightforward way to add support for this would be: (a) Lower nested procedures into
2004 Nov 21
4
[LLVMdev] Nested functions
Was there already some reflection about how to lower the concept of nested functions (and the corresponding static links) into llvm? Dirk Muysers.
1995 Sep 26
0
GPM Modula-2 and Oberon-2 Compilers
GPM Modula-2 and Oberon-2 Compilers File locations: ftp.fit.qut.edu.au:/pub/gpm ftp.psg.com:/pub/modula-2/gpm WEB Site: http://www.fit.qut.edu.au/CompSci/PLAS/GPM/ The Gardens Point Modula (GPM) compilers are an ongoing development project for the Programming Languages and Systems Group in the Faculty of Information Technology at the Queensland University of Technology.
2010 Mar 24
0
form_for with nested shallow route
Let''s say I have: map.resources :teams do |team| team.resources :squads, :shallow => true end When I want to generate a form_for a squad, I need both the team and squad for new/create, but only the squad for edit. This means I need: edit: form_for(squad) new: form_for([team, squad]) This seems not very dry. Is there a more idiomatic way of doing this? Right now,
2004 Nov 22
2
[LLVMdev] Nested functions
> As an optimization for shallow nested functions (e.g., 3 levels or less), > it seems to me you could just avoid the stack walking entirely and add > $k-1$ arguments to each function at level $k$, i.e., at most 2 arguments > in all. This may even be an easy first implementation. I use this method with filtering unused in nested function args and local vars in my YAFL frontend
2017 Feb 07
2
Your help needed: List of LLVM Open Projects 2017 (Modula-3)
> On Feb 5, 2017, at 7:13 PM, Rodney M. Bates via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > A couple of Modula-3 developers have worked on splicing LLVM on as an alternative > back end to the Modula-3 compiler, out-of-tree (the LLVM tree), of course. A major > portion of the necessary glue code is there, and at one time, I was able to get the > M3 compiler and the
2016 Apr 27
1
Bourne shell deprecated?
On Wed, Apr 27, 2016 at 03:32:49PM -0453, William A. Mahaffey III wrote: > > From NetBSD 6.1.5: > > > 4256EE1 # man sh ... > SH(1) > > NAME > sh -- command interpreter (shell) ... > > HISTORY > A sh command appeared in Version 1 AT&T UNIX. It was, however, > unmaintainable so we wrote this one. > The V1 shell was of course not
2009 Dec 08
1
Modula Generators
Hi all, Is there function on R for calculating Modula generators? For example for primes above 100, e.g 157, i want to know which number generates the group under multiplication mod 157. i.e i want to find an element whose order is 156. The problem I occur is that modular arithmetic becomes inaccurate when dealing with large numbers. Thanks for any help given. Sam [[alternative HTML
2004 Nov 22
0
[LLVMdev] Nested functions
On Nov 22, 2004, at 12:34 PM, Vladimir Merzliakov wrote: >> As an optimization for shallow nested functions (e.g., 3 levels or >> less), it seems to me you could just avoid the stack walking entirely >> and add $k-1$ arguments to each function at level $k$, i.e., at most >> 2 arguments in all. This may even be an easy first implementation. > > I use this method
2016 Jul 04
2
[RFC] ASan: Reify all information relevant for diagnostics
Hi all, As we all know, ASan prints all diagnostics information to stderr. It also has some API to get information about addresses, etc (useful for debugging), which prints information to stderr. These features require a live process, and the ability to call functions in the process. It also forces a user to do multiple target calls to run functions, which might be slow (or impossible, in the
2017 Aug 17
3
How do set 'nest' addribute in an indirect call?
I need to set the 'next' attribute on a parameter. If the function is to be directly called, i.e., a function constant, I am getting what I want as follows (using the C 'Core.h' binding) 1) Build a function type, using LLVMFunctionType. 2) Build a function value, passing the result of 1) to LLVMAddFunction 3) Go through the formal parameters of 2), using LLVMGet[First|Next]Param,
2004 Nov 22
0
[LLVMdev] Nested functions
On Sun, 21 Nov 2004, Dirk Muysers wrote: > Was there already some reflection about how to lower the concept of nested > functions (and the corresponding static links) into llvm? This was discussed back in August, which discusses it, provides a solution and an example: http://mail.cs.uiuc.edu/pipermail/llvmdev/2004-August/001828.html
2011 May 10
1
Reference Classes copy(shallow=FALSE) unexpected behavior.
Dear all, I''ve just discovered the ''Reference Classes''. In a previous attempt ---a year ago--- to re-implement in a Object Oriented fashion the AMORE package using S4 classes I strongly felt the need of such capability. It''s great to have the Reference Classes now available. Along with the discovery of the Rcpp package, this new programming paradigm has boosted
2014 Apr 11
3
[LLVMdev] Advice on field access, adding a Modula-3 front end
I am doing some preliminary investigation into splicing the Modula-3 compiler front end onto llvm. I have a number of questions and will no doubt have more, but will start by asking for advice on this one. The M3 front end has lowered things farther than the llvm IR expects. Whereas llvm accesses fields/data members of records/structs by field number, M3 has already laid out the format of
2010 Mar 09
1
[LLVMdev] llvm hangs: fibonacci numbers, recursive
Elmar, As Chris mentioned below, please don't contact individual developers, but email llvmdev instead. For your specific question, which you asked on March 3rd, there was a response posted the same day -- did you see it? If you visit the link you provided below, at the bottom of the page is the "Next message" link which will show you the response:
2015 Jan 30
2
[LLVMdev] More kinds of recursive types in llvm
The language I am working on connecting to an llvm back-end (Modula-3) allows a fairly extensive set of recursive declarations. It looks like I can translate all its high-level types using four llvm types that refer to another type: function, struct, pointer, and array. It looks like I can alter an llvm struct type in place after it has been created, using StructType::setBody. I don't see a
2018 Aug 22
2
LLVM and heap-allocated thread stacks
In some language implementations, such as the Glasgow Haskell Compiler (GHC) and the reference implementation of Go, a thread’s stack is allocated as a data structure on the garbage-collected heap.  The garbage collector is free to move this data structure whenever it is invoked. Currently, GHC’s LLVM backend does not use the C stack.  However, there have been discussions about whether using the
2012 Sep 11
4
Maintaining specific order when using aggregate or change order on axis
Hi All, I'm using the following code to produce some stacked bar graphs. *setwd("C:\\Users\\Tinus\\Documents\\NMMU\\R\\Seamounts")* *SChla <- read.csv("SM_Chla_data.csv")* * * *#Extract mean values from data file* * * *Coral <- SChla[185:223,] #Reduce SChla to Coral only* *coral <- with(Coral , aggregate(cbind(Pico, Nano, Micro), list(Depth),FUN=mean))*
2006 Jul 24
4
List etiquette question
I''ve written a little ruby/rails hangman-ish app to keep my wife occupied at work that I think list members might also find interesting. I''m new to this list so I wanted to see if it would be considered bad form to post the link before I did. There aren''t any ads so I''m not getting anything out of more visitors, but I still didn''t want to take the
2006 Nov 08
2
centos3.8 - outdated coreutils package
Hello, I have a number centos3.8 installations. Recently I have figured out that version of coreutils is : [ivan at algol ivan]$ rpm -q coreutils coreutils-4.5.3-28.1 while RedHat has released an bux fix errata to that package: https://rhn.redhat.com/errata/RHBA-2006-0670.html Actually I discovered that when I encounter bug that should be fixed by this update: