search for: selfwritten

Displaying 5 results from an estimated 5 matches for "selfwritten".

2012 Jan 16
2
howto test a package without installation
Hi, how can i play around with my first selfwritten package [*] without to install it to my debian system? I think of something like doing this: /tmp/$ R R version 2.11.1 (2010-05-31) Copyright (C) 2010 The R Foundation for Statistical Computing ISBN 3-900051-07-0 > library(/tmp/sitools) 3 * kilo [1] 3000 [*] https://github.com/jonasstein/s...
2012 Apr 19
2
Print warning messages and save them automatically in a file
...ld like to ask you if you know a way to save all warning messages obtained by the R function "warning" in a file and keeping the functionalities of the base-function warning. For example if I use external code, I don't want to replace all lines containing "warning(...)" by a selfwritten function. I want to execute it normally and everytime the external code makes a call to warning, I want the warnings message printed out in the console AND written in a file. My first solution is to redefine the function warning in the global environment such as: warning <- function(...){ w...
2009 May 13
3
[LLVMdev] ModulePass using BreakCriticalEdges
Hi, I'm writing a ModulePass that needs critical edges split up. I have the statement AU.addRequiredID(BreakCriticalEdgesID); in my getAnalysisUsage() but the pass never gets executed. I guess I have to request pass execution for each function, but I can't get behind how to do that, since there is no analysis group for that kind of transformation. Thanks, Andi
2009 May 13
0
[LLVMdev] ModulePass using BreakCriticalEdges [Followup]
...kCriticalEdgesID); > > in my getAnalysisUsage() but the pass never gets executed. > > I guess I have to request pass execution for each function, but I can't > get behind how to do that, since there is no analysis group for that > kind of transformation. I now also added a (selfwritten) FunctionPass with is member of the analysis group ProfileInfo AU.addRequiredID(ProfileEstimatorID); AU.addRequired<ProfileInfo>(); and fetching the ProfileInfo by executing ProfileInfo *PI = &getAnalysis<ProfileInfo>(*F); and now the BreakCriticalEdge pass gets also executed...
2008 Sep 22
2
[LLVMdev] Problems with written function pass
Hello, my name is Marc. I wrote a llvm function pass by using the "hello world" tutorial. But this selfwritten pass (GA_VHDL_Pass) dependes on another function pass (GenomePass). GenomePass also dependes on two other function passes. The Pass GenomePass generates an object, which is used in my GA-VHDL_Pass. When I compile my Make file I always get this error message: /work0/llvm-2.2/Debug/bin/opt...