Displaying 20 results from an estimated 689 matches for "flattens".
Did you mean:
flatten
2019 Nov 04
3
Fix clang's 'flatten' function attribute: add depth to always_inline?
Hi everyone,
clang currently implements the 'flatten' function attribute by marking
all calls to not 'noinline' functions with 'always_inline'. In effect,
only the first level of calls is inlined, not all calls recursively
(like gcc does).
We briefly discussed possible solutions on IRC:
We could add an equivalent LLVM attribute for functions (e.g.
'flatten'). The
2010 Feb 03
3
How to flatten a tree (based on list) to a certain depth?
Suppose that I have the following list of lists of frames 'root'
(let's call it a 'tree' of frames). I want to flatten it to be a list
of frames. However, if I unlist(root), it will flatten the frames as
well. Is there a simply way to flatten the tree to certain depth?
aframe1=data.frame(x=1:3,y=1:3)
aframe2=data.frame(u=7:9,v=11:13)
aframe3=data.frame(p=3:5,q=6:8)
2014 Feb 08
3
[LLVMdev] SCEV implementation and limitations, do we need "pow"?
On 2/7/14, 10:24 AM, Andrew Trick wrote:
>
> On Feb 5, 2014, at 12:54 AM, Mehdi Amini <mehdi.amini at silkan.com
> <mailto:mehdi.amini at silkan.com>> wrote:
>
>> Hi,
>>
>> I was looking at some bugs to play with, and I started with
>> http://llvm.org/bugs/show_bug.cgi?id=18606
>>
>> As I commented there, a loop is unrolled and exhibit
2017 Oct 22
2
Replace "while" "for" loops with "If-Else"
Hi weiren,
Thanks for your suggestion! Yes, I am trying to do this "nested
flattening". It seems that I need a post-dominator tree-based algorithm to
flatten the nested loops from the innermost to the outermost, level by
level.
Is there any feature already existed in LLVM tools? Or similar?
On Sun, Oct 22, 2017 at 2:31 AM, 陳韋任 <chenwj.cs97g at g2.nctu.edu.tw> wrote:
> If
2012 Jun 13
2
[LLVMdev] llvm-mc problem after a pass
Hi,
I'm having some problem with llvm-mc on a program after applying a pass:
../../../build/Release+Asserts/bin/clang -emit-llvm -c -I./testprof/ -I./src/headers/ -I../libtommath-0.42.0/ -Wall -Wsign-compare -W -Wshadow -Wno-unused-parameter -DLTC_SOURCE -O0 -DLTC_NO_ASM -DUSE_LTM -DLTM_DESC -o src/pk/asn1/der/sequence/der_encode_sequence_ex.bc
2011 May 19
0
Flattening lists and environments (was: "how to flatten a list to the same level?")
Dear list,
I came up with a two functions that flatten arbitrary deeply nested
lists (as long as they're named; not tested for unnamed) and
environments (see attachment; 'flatten_examples.txt' contains some
examples).
The paradigm is somewhat similar to that implemented in 'unlist()', yet
extends it. I would have very much liked to build upon the superfast
functionality
2009 Jan 10
2
hidden_field_tag flattens my array for value
...882886896899904908909914919920922933934945950959966967968973976977979981985986989991994996997"
/>
I want to grab an array of user ids and then do something with them, but
hidden_form_tag is flattening my array. I''ve tried various ways of
putting an array into h_f_t and it always flattens it. How can I
preserve the structure of my array?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to...
2014 Jul 17
2
[LLVMdev] LLVM Code Generation on flattened IR code
Hello,
I made two flattening transformation filters, one use a switch instruction for the dispatcher, and the other an indirectbranch instruction. Both work well but llc is very time consuming in the second case : 10 minutes for a 500 basic block function, while it takes 10 seconds for the switchcase implementation . The instrumentation of llc shows that most of the time is passed in the Machine
2007 Dec 09
4
Help on drying code
Hi all,
Currently I''m having to do this:
def self.authorized_roles(controller, action)
specific = self.find_by_controller_and_action(controller, action)
all_actions = self.find_by_controller_and_action(controller, ''*'')
all_controllers = self.find_by_controller(''*'')
role_ids = []
specific.each do |role_item|
role_ids <<
2010 Feb 11
1
Flattening Graphics
Hello,
This question is a nightmare to search for, as I get so many irrelevant results. What I'm interested in doing if I have many pages of plots and I want to keep them together in the same document, say a PDF, is there a way to flatten all the dot plots and graphics, so that they don't take a long time to load on a slow computer in Adobe Reader, without using external programs outside
2012 Jun 26
2
flatten lists
I am looking for a function to flatten a list to a list of only 1
level deep. Very similar to unlist, however I don't want to turn it
into a vector because then everything will be casted to character
vectors:
x <- list(name="Jeroen", age=27, married=FALSE,
home=list(country="Netherlands", city="Utrecht"))
unlist(x)
This function sort of does it:
flatlist
2012 Jun 13
0
[LLVMdev] llvm-mc problem after a pass
Something is adding a bogus comment string. Specifically " # %case^M18 ", where "^M" is a single ctrl-M character.
The ^M is seen by the asm parser as an end-of-line, so the '18' is a new token at the start of a line, not part of the comment. Is your pass perhaps using label names which might include literal "^M" characters?
-Jim
On Jun 13, 2012, at
2006 Jun 07
2
Hash flattening on paginator link_to
Hey
I need some help with pagination and the link_to in the view.
I''m trying to include a hash in the pagination link_to params and it
keeps flattening out my hash.
Example:
Here''s my hash called @answer:
"answer"=>{"6"=>"9bf31c7ff062936a96d3c8bd1f8f2ff3",
"7"=>"6f4922f45568161a8cdf4ad2299f6d23"}
2005 Mar 09
1
Flattening a list of data frames
Hello all,
Simple version of my problem:
I've got a list of data frames, where each data frame has the same
number of columns and the same column names. I'd like to flatten the
list into one large data frame. Is there an easy way to do this?
Quick example code:
a <- data.frame(x=c(1,2,3),y=c(5,7,9)
b <- data.frame(x=c(2,4,7,9),y=c(2,3,5,4))
z <- list(a,b)
# Do
2014 Feb 05
2
[LLVMdev] SCEV implementation and limitations, do we need "pow"?
Hi,
I was looking at some bugs to play with, and I started with
http://llvm.org/bugs/show_bug.cgi?id=18606
As I commented there, a loop is unrolled and exhibit this pattern:
%mul.1 = mul i32 %mul, %mul
%mul.2 = mul i32 %mul.1, %mul.1
....
With an unroll factor of 32, the last multiply has 2^32 terms in its
SCEV expression.
(I mean I expect it would have those terms if I was patient
2014 Jul 21
2
[LLVMdev] LLVM Code Generation on flattened IR code
Thanks, i will do that
how can i attach a LLVM IR source file to a bug report?
Charles
----- Mail original -----
De: "Andrew Trick" <atrick at apple.com>
À: charlessl at free.fr
Cc: llvmdev at cs.uiuc.edu
Envoyé: Vendredi 18 Juillet 2014 09:18:41
Objet: Re: [LLVMdev] LLVM Code Generation on flattened IR code
On Jul 17, 2014, at 11:41 AM, charlessl at free.fr wrote:
2014 Jul 03
0
Re: virsh blockcopy: doesn't seem to flatten the chain by default
On 07/02/2014 01:12 PM, Kashyap Chamarthy wrote:
> We have this simple chain:
>
> base <- snap1
>
> Let's quickly examine the contents of 'base' and 'snap1' images:
>
> Now, let's do a live blockcopy (with a '--finish' to graecully finish
> the mirroring):
>
> $ virsh blockcopy --domain testvm2 vda \
>
2012 Apr 27
2
[LLVMdev] RE : RE : Detect if a basicblock is part of a loop
This is my main.c (just a crappy test file):
#include <stdlib.h>
void foo() {
foo();
}
int main(int argc,char** argv) {
int a = 1;
int b = 3;
int c = a+b;
int k;
for(k=0;k<10;++k) { // The loop I'm trying to detect
int sdf = 123123;
c++;
}
if(c - atoi(argv[1])
2009 Oct 21
0
Flattened Device Tree Project Announcement
Dear FreeBSD Community,
The FreeBSD Foundation is pleased to announce another funded project!
Rafal Jaworowski and Semihalf has been awarded a grant to provide
FreeBSD with support for the flattened device tree (FDT) technology.
This project allows for describing hardware resources of a computer
system and their dependencies in a platform-neutral and portable way.
The main consumers of this
2001 Dec 28
0
flattening return value of tapply
Dear R-Users,
Does anyone know how to flatten, i.e. convert to a table, a return value of
tapply when its INDEX argument is a list? Here is an example of what I need
> x <- rnorm(100)
> f1 <- rep(c(T,F),50)
> f2 <- c(rep(T,50), rep(F,50))
> y <- tapply(x, list(f1=f1,f2=f2), summary)
> y
f2
f1 FALSE TRUE
FALSE "Numeric,6"