similar to: [LLVMdev] opt problem

Displaying 20 results from an estimated 11000 matches similar to: "[LLVMdev] opt problem"

2012 Apr 14
0
[LLVMdev] opt problem
Hi Jianing Zhao, > When I use the opt --insert-block-profiling command, there is " opt: Unknown command line argument '-insert-block-profiling'." yes, it doesn't exist any more. > When I use the opt -insert-edge-profiling t1.bc -o t1profile.bc, there is an error "Invalid MODULE_CODE_FUNCTION record" . The profiling infrastructure is in bad shape and needs
2012 Apr 14
2
[LLVMdev] opt problem
Hi, Does anyone know which version of LLVM support "opt --insert-block-profiling command"? Thanks! Jianing Zhao On Apr 14, 2012, at 8:08 AM, Duncan Sands wrote: > Hi Jianing Zhao, > >> When I use the opt --insert-block-profiling command, there is " opt: Unknown command line argument '-insert-block-profiling'." > > yes, it doesn't exist any
2012 Apr 15
0
[LLVMdev] opt problem
> Does anyone know which version of LLVM support "opt --insert-block-profiling command"? Thanks! You might try it by yourself. You can download LLVM x86 binary from the website, which makes the testing easier. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage:
2010 Dec 09
4
[LLVMdev] Parallel testsuite run breaks
On Thu, 09 Dec 2010 11:24:19 -0600 greened at obbligato.org (David A. Greene) wrote: > greened at obbligato.org (David A. Greene) writes: > > > Often I run a few different builds in parallel, with different > > obj/build directories. Is it possible that the test infrastructure > > writes something to the source directories or some common temp > > directory? That
2006 Jun 08
1
How to do this simple integration?
Hello, I have a simple function in the form as follows: > f<-function(x){sum(v^x)} where v is a vector. I was trying to integrate f using the command > I<-integrate(f,0,1) However, this will not work and seems that the reason is to use "integrate", the f must be a function that with input and output of same length. Anyone can point out which command should I use in order
2010 Dec 09
0
[LLVMdev] Parallel testsuite run breaks
Török Edwin <edwintorok at gmail.com> writes: > I don't see anything wrong with FileCheck either. > > However looks here, that .bc file is in the *source* tree, not the obj tree: > not llvm-dis < /ptmp/dag/llvm-project.official/llvm/trunk/test/Bitcode/null-type.ll.bc > /dev/null |& grep "Invalid MODULE_CODE_FUNCTION record" I think that's there from
2016 Apr 21
4
Lazily Loaded Modules and Linker::LinkOnlyNeeded
Hey all, For LinkModules, /*dest*/ is a fully materialized module, /*src*/ is a lazily loaded module. From what I understood, getLinkedToGlobal() is finding the function in /*src*/ that matches some function declaration in /*dest*/, and given that /*src*/ is lazily loaded it could be un-materialized. The functions I need brought in from /*src*//**/ into /*dest*/ are always declarations in
2011 Apr 22
2
[LLVMdev] Problem with compiling the runtime libary
Hi All Thanks for all replies regarding to my GCC problem. I am trying to do profiling now and need to generate "profile_rt.so" file. I compiled the runtime library using MAKE and tried on both Windows and Mac, but the compiling can not be done properly. I got the following error message: ------------------------------ make: Entering directory `C:/llvm/runtime'
2012 Mar 17
3
how to call functions with same name but in different package?
hi everyone . I am trying to use some packages but there are some functions have the same name in different package. for example dwt function both in packages wavelets and waveslim dwt(X, filter="la8", n.levels, boundary="periodic") How can I avoid mixing them up ? -- TANG Jie Email: totangjie@gmail.com Tel: 0086-2154896104 Shanghai Typhoon Institute,China
2011 Apr 24
2
[LLVMdev] Problem with compiling the runtime libary
Hi Nick Thanks for you reply. CMAKE is very new to me. I complied using GNU WIN32 and got those errors. Is it possible to compile it using GNU WIN 32 and anything need to be modified? I managed to compile the run time library on a mac machine. Yafan On Fri, Apr 22, 2011 at 5:04 PM, Nick Lewycky <nicholas at mxc.ca> wrote: > yafan zhao wrote: > >> Hi All >> Thanks for
2010 Dec 09
2
[LLVMdev] Bad gcc versions
Török Edwin <edwintorok at gmail.com> writes: >> > Which regression tests are failing with LLVM 2.8 and GCC 4.4.x? >> >> Too many to list. > > Can you give me 2 or 3 examples (that fail with LLVM 2.8 and GCC 4.4 > but work with LLVM 2.8 and GCC 4.3), also I'd like to know how they > fail. > If I have some time I'll check with my 4.4 to see if
2007 Aug 16
6
an easy way to construct this special matirx
Hi, Sorry if this is a repost. I searched but found no results. I am wondering if it is an easy way to construct the following matrix: r 1 0 0 0 r^2 r 1 0 0 r^3 r^2 r 1 0 r^4 r^3 r^2 r 1 where r could be any number. Thanks. Wen [[alternative HTML version deleted]]
2016 Apr 20
2
Lazily Loaded Modules and Linker::LinkOnlyNeeded
> > > I understood from his description that he reversed the destination and > source so that destination is the user code. > I assumed it was not lazy loaded, but that would explain the question then > :) > > Neil: can you clarify? If Teresa is right, why aren't you materializing > the destination module entirely? > > I don't think it has ever been tried
2011 Apr 22
0
[LLVMdev] Problem with compiling the runtime libary
yafan zhao wrote: > Hi All > Thanks for all replies regarding to my GCC problem. > I am trying to do profiling now and need to generate "profile_rt.so" > file. I compiled the runtime library using MAKE and tried on both > Windows and Mac, but the compiling can not be done properly. I got the > following error message: > ------------------------------ > make:
2009 Jul 17
2
[LLVMdev] LLVM Hello Pass load error when using opt -load Hello.so
While learning to write LLVM passes and following the precise instructions under http://llvm.org/docs/WritingAnLLVMPass.html, <http://llvm.org/docs/WritingAnLLVMPass.html> I got this error when loading the hello pass to run the test program: opt -load ./Release/lib/Hello.so -hello < test/test.bc > /dev/null Error opening './Release/lib/Hello.so': ./Release/lib/Hello.so:
2009 Sep 19
3
Lattice: combine the same strip?
Hello R helpers, I am producing a figure with dual strips, i.e., x~y | S1 + S2, where S1 and S2 are two strips. For example, in figure 2.1 at http://lmdvr.r-forge.r-project.org/figures/figures.html. In this case, I would like to combine the the top strip, since all three pictures in the same row have the same level based on the first strip. In other words, instead of | -- S11 -- | -- S11 -- |
2009 Jul 19
0
[LLVMdev] LLVM Hello Pass load error when using opt -load Hello.so
Hey Chuck, I'm afraid I can't reproduce your error but...a problem you may run into later is that opt will complain with opt: llvm/lib/VMCore/Pass.cpp:149: void<unnamed>::PassRegistrar::RegisterPass(const llvm::PassInfo&): Assertion `Inserted && "Pass registered multiple times!"' failed. Aborted I "fixed" this by replacing the LLVMLIBS line in
2015 May 28
1
[LLVMdev] Opt option -dot-edge-numbers
Dear All, I am using the release 33 of LLVM. This release supports -insert-edge-profiling option for opt. But it doesnt provide/supports the -dot-edge-numbers option. Where can I find the file implementing this option (e.g, the source file for edge profiling is located in lib/transforms/instrumentation)? Please help me out. Thanks Naveed Ul Mustafa
2017 Sep 06
5
Using source-based code coverage on baremetal
Hi all, I think using code coverage on baremetal has come up once or twice on llvmdev, but I don't think anyone has actually written up how the workflow works, or what issues come up.  This description is based on work done together with my colleague Weiming Zhao. By "baremetal" here, I mean an embedded environment without an operating system.  We specifically used a ARM target
2020 Feb 19
2
How to index the occasions in a vector repeatedly under condition 1? if not, it will give a new index.
Dear all, Could you please help me how to get the output as I described in the following example? x<-c(543, 543, 543, 543, 551 , 551 ,1128 ,1197, 1197) diff<-x-lag(x) diff [1] NA 0 0 0 8 0 577 69 0 How to index the occasions in x repeatedly if the diff<15? if diff>=15, it will give a new index. I want the output be like y. y<-c(1,1,1,1,1,1,2,3,3) Thank you so