Displaying 20 results from an estimated 27 matches for "df_end".
Did you mean:
def_end
2016 May 13
2
Division entre el numero de ocurrencias parciales y totalesdentro de un DataFrame de manera eficiente
Hola:
Aplicaré lo que dices de usar data.table.
Sobre hacer for, etc. Ya lo he hecho, pero pensaba que usar dplyr haría la
tarea más rápida por estar este implementado en C (si no me equivoco).
Siempre que puedo utilizo estas funciones, porque codificas menos y van más
rápido. En este caso el problema es que no he encontrado la manera de hacer
lo que quiero con dplyr o similar. La idea era al
2002 Nov 10
3
[LLVMdev] DSGraph questions
...nd getSize() do?
2. In the previous email, you mentioned that we can use
DSNode::getPointerSize() to get the number of links, But I checked the
doxygen documentation, there is no such member for DSNode.
3. Previously I use the following code:
for( df_iterator<DSNode*> I = df_begin(pnode), E=df_end(pnode); I!=E; ++i)
{
... ;
}
and got lots of error messages when I compile. And the reply was:
>What is the type of pnode? Guessing from the error message, I would think
>it's a 'const DSNode*'. You need to use either df_iterator<const DSNode*>
>or a DSNode*...
2017 Nov 06
2
Añadir filas hasta que se acabe un proceso
Gracias a todos
Isidro, para esa solucion que planteas voy a complementarla con las fucniones de lubridate interval y %within%.
Un saludo
Jesús
________________________________
De: Isidro Hidalgo Arellano <ihidalgo en jccm.es>
Enviado: lunes, 6 de noviembre de 2017 13:06
Para: 'Jesús Para Fernández'; r-help-es en r-project.org
Asunto: RE: [R-es] Añadir filas hasta que se acabe un
2002 Nov 18
0
[LLVMdev] Fixed DSGraph iteration, depth first search, etc...
The following now works for me:
const DSNode *N1 = ...;
df_iterator<const DSNode*> X1 = df_begin(N1), XE1 = df_end(N1);
DSNode *N2 = ...;
df_iterator<DSNode*> X2 = df_begin(N2), XE2 = df_end(N2);
You need the following #includes:
#include "Support/DepthFirstIterator.h"
#include "llvm/Analysis/DSGraphTraits.h"
You need this patch:
http://mail.cs.uiuc.edu/pipermail/llvm-commi...
2002 Nov 08
1
[LLVMdev] Iterating on the DSGraph... (fwd)
...ouldn't figure out what's wrong. Could
you please let me know? Besides, I really have no idea about what those
functions do. Is there any documentation about DSGraph functions besides
the pool allocation paper?
Thanks,
xiaodong
Code:
for( df_iterator<DSNode*> I = df_begin(pnode), E=df_end(pnode); I!=E; ++
i) {
;
}
Error Message:
gmake
Compiling MemLeakage.cpp
../../../include/Support/DepthFirstIterator.h: In member function `void
df_iterator<GraphT, GT>::reverseEnterNode() [with GraphT = DSNode*, GT
=
GraphTraits<DSNode*>]':
../../../include/...
2009 Jul 16
1
[LLVMdev] [patch] Dotty printer for dependency trees
...And here is the patch.
What's up with copying from CFGPrinter.cpp into CFGPrinter.h? You
shouldn't need that.
+ static nodes_iterator nodes_begin (DomTreeNode * N) {
+ return df_begin<DomTreeNode *> (N);
+ }
+
+ static nodes_iterator nodes_end (DomTreeNode *N) {
+ return df_end<DomTreeNode *> (N);
+ }
No spaces between the function name and the parenthesis. This occurs a
few times.
@@ -112,7 +59,7 @@ namespace {
CFGOnlyViewer() : FunctionPass(&ID) {}
virtual bool runOnFunction(Function &F) {
- F.viewCFG();
+ F.viewCFGOnly();...
2009 Sep 06
2
[LLVMdev] Graphviz and LLVM-TV
...ck is derived from
> Value and Instruction from User, but I don't understand how that helps.
>
> It's a bit confusing to be honest. Can you help?
>
Here are some examples on how to use the dataflow graphs:
Value *V = ...
for(df_iterator<Value*> UI = df_begin(V), UE = df_end(V); UI != UE; ++UI) {
...
}
typedef SmallPtrSet<const Value*, 16> SmallValueSet;
SmallValueSet DFSet;
const User* U = ...;
for (idf_ext_iterator<const User*, SmallValueSet> I=idf_ext_begin(U,
DFSet), E=idf_ext_end(U, DFSet); I != E; ++I) {
..
}
There is no common root for the datafl...
2002 Nov 11
1
[LLVMdev] DSGraph questions
...cumentation, there is no such member for DSNode.
>
>
> Check the header file. The doxygen docs were a little out of date
> (but Chris has updated them now).
>
>
>
> > 3. Previously I use the following code:
> > for( df_iterator<DSNode*> I = df_begin(pnode), E=df_end(pnode); I!=E; ++i)
> > {
> > ... ;
> > }
> > and got lots of error messages when I compile. And the reply was:
> > >What is the type of pnode? Guessing from the error message, I would think
> > >it's a 'const DSNode*'. You need to...
2009 Jun 26
3
[LLVMdev] Patch for llvm::DepthFirstIterator.h and llvm::PostOrderIterator.h
...think of an insane working example, which would break due to this change.
4. I added a public skipChilds member function to df_iterator which acts
similiar to operator++. However it skips all childs of the currently
processed node and returns *this. You can use it like in
for (i = df_begin(), e = df_end(); i!=e;)
{
foo() ? i.skipChilds() : ++i;
}
Best
Olaf Krzikalla
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: llvm-iterator.patch
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090626/55728f28/attachment.ksh>
2009 Sep 06
0
[LLVMdev] Graphviz and LLVM-TV
...om User, but I don't understand how that helps.
>>
>> It's a bit confusing to be honest. Can you help?
>>
>>
>
> Here are some examples on how to use the dataflow graphs:
>
> Value *V = ...
> for(df_iterator<Value*> UI = df_begin(V), UE = df_end(V); UI != UE; ++UI) {
> ...
> }
>
>
> typedef SmallPtrSet<const Value*, 16> SmallValueSet;
> SmallValueSet DFSet;
> const User* U = ...;
> for (idf_ext_iterator<const User*, SmallValueSet> I=idf_ext_begin(U,
> DFSet), E=idf_ext_end(U, DFSet); I != E; ++I) {
&g...
2009 Sep 06
3
[LLVMdev] Graphviz and LLVM-TV
...how
>>> that helps.
>>>
>>> It's a bit confusing to be honest. Can you help?
>>>
>>
>> Here are some examples on how to use the dataflow graphs:
>>
>> Value *V = ...
>> for(df_iterator<Value*> UI = df_begin(V), UE = df_end(V); UI != UE;
>> ++UI) {
>> ...
>> }
>>
>>
>> typedef SmallPtrSet<const Value*, 16> SmallValueSet;
>> SmallValueSet DFSet;
>> const User* U = ...;
>> for (idf_ext_iterator<const User*, SmallValueSet> I=idf_ext_begin(U,
>> DFSet...
2009 Jul 14
0
[LLVMdev] [patch] Dotty printer for dependency trees
On Wed, 2009-07-15 at 00:20 +0200, Tobias Grosser wrote:
> Hi,
>
> I started to work with llvm and liked the CFG dotty printer a lot.
> However there was none for the dominance trees.
>
> I implemented dotty printing for dominance trees
And here is the patch.
Tobi
-------------- next part --------------
A non-text attachment was scrubbed...
Name:
2002 Nov 08
2
[LLVMdev] Re: LLVMdev digest, Vol 1 #44 - 2 msgs
llvm,
What is the best way to implement a traversal of the DS graph, starting at
a scalar and processing all nodes to which the scalar allows access?
Currently the links vector is not public and there is no apparent way to
bound the getLink call (ie a getNumLinks call)....
Dave
2002 Nov 08
0
[LLVMdev] Iterating on the DSGraph...
...de...
for (DSNode::iterator I = N->begin(), E = N->end(); I != E; ++I)
if (I->getNode())
visit(I->getNode(), I->getOffset());
// Depth first traversal from a node:
#include "Support/DepthFirstIterator.h"
for (df_iterator<DSNode*> I = df_begin(N), E = df_end(); I != E; ++I)
visit(*I);
Note that this hasn't been tested recently, but it should basically
work.
-Chris
--
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/
2002 Nov 10
0
[LLVMdev] DSGraph questions
...links, But I checked the
> doxygen documentation, there is no such member for DSNode.
Check the header file. The doxygen docs were a little out of date
(but Chris has updated them now).
> 3. Previously I use the following code:
> for( df_iterator<DSNode*> I = df_begin(pnode), E=df_end(pnode); I!=E; ++i)
> {
> ... ;
> }
> and got lots of error messages when I compile. And the reply was:
> >What is the type of pnode? Guessing from the error message, I would think
> >it's a 'const DSNode*'. You need to use either df_iterator<cons...
2009 Jun 30
2
[LLVMdev] Irreducibility and the -simplifycfg flag
Hi everyone,
I'm currently trying to run a study on irreducibility of C programs, and
I've implemented structural analysis (original paper by Sharir, algorithm in
Muchnick's book) as an LLVM pass. When my implementation becomes a bit less
buggy I'll certainly look into including it in the LLVM project.
As a test for the algorithm I've been producing LLVM bitcode for C files
2009 Sep 06
0
[LLVMdev] Graphviz and LLVM-TV
I've tried to write a DFGPrinter based on the CFGPrinter, as you
suggested, but encountered problems.
The GraphWriter expects
GraphTraits<GraphType>::nodes_begin()/nodes_end(). The way this is
implemented in CFG.h, a function is a graph of basic blocks. A
GraphTraits<Function*> inherits from GraphTraits<BasicBlock*>, and
implements those nodes_begin()/nodes_end()
2009 Jul 14
2
[LLVMdev] [patch] Dotty printer for dependency trees
Hi,
I started to work with llvm and liked the CFG dotty printer a lot.
However there was none for the dominance trees.
I implemented dotty printing for dominance trees and introduced these
new flags:
-dot-dom : Print dominance tree of function to 'dot' file
-dot-dom-only : Print dominance tree of function to 'dot' file
(with no function
2009 Jun 27
0
[LLVMdev] Patch for llvm::DepthFirstIterator.h and llvm::PostOrderIterator.h
...ample, which would break due to
> this change.
> 4. I added a public skipChilds member function to df_iterator which
> acts similiar to operator++. However it skips all childs of the
> currently processed node and returns *this. You can use it like in
> for (i = df_begin(), e = df_end(); i!=e;)
> {
> foo() ? i.skipChilds() : ++i;
> }
>
>
> Best
> Olaf Krzikalla
> <llvm-iterator.patch>_______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc....
2009 Mar 12
4
[LLVMdev] Shrink Wrapping - RFC and initial implementation
...umbered(0)),
+ MBBE = po_end(Fn.getBlockNumbered(0)); MBBI != MBBE; ++MBBI) {
+ MachineBasicBlock* MBB = *MBBI;
...
+ // Calculate Avail{In,Out} via top-down walk of Machine dominator
tree.
+ for (df_iterator<MachineDomTreeNode*> DI = df_begin(DT.getRootNode
()),
+ E = df_end(DT.getRootNode()); DI != E; ++DI) {
Later in
+/// placeSpillsAndRestores - decide which MBBs need spills, restores
+/// of CSRs.
+///
+void PEI::placeSpillsAndRestores(MachineFunction &Fn) {
...
+ // Calculate CSRRestore using post-order traversal of Machine-CFG.
+ for (po_iterator<M...