similar to: [LLVMdev] Problems with written function pass

Displaying 20 results from an estimated 100 matches similar to: "[LLVMdev] Problems with written function pass"

2006 Jun 01
2
[LLVMdev] Adding an object to llc (analysis pass)
Hi > Right it does. However, does something *else* require MParSchedule? If > so, what? Ok, i am writing on a different backend based on the cbackend. The test usage of this pass looks like this: void getAnalysisUsage(AnalysisUsage &AU) const { AU.addRequired<LoopInfo>(); AU.addRequired<MParSchedule>(); AU.setPreservesAll(); } and then in the
2006 May 31
2
[LLVMdev] Adding an object to llc (analysis pass)
Hi Am Dienstag, 30. Mai 2006 19:21 schrieb Chris Lattner: > On Tue, 30 May 2006, Silken Tiger wrote: > > Everthing now compiles fine, but when running llc with invoking my own > > backend derived from the cbackend i get the following error: > > namespace llvm { > > class MParSchedule : public BasicBlockPass { > > public: > > > >
2006 May 31
0
[LLVMdev] Adding an object to llc (analysis pass)
On Wed, 31 May 2006, Silken Tiger wrote: >> that requires a BasicBlockPass, it will fail the same was as when a >> ModulePass requires a FunctionPass. > void MParSchedule::getAnalysisUsage(AnalysisUsage &AU) const { > AU.setPreservesAll(); > } > > MParSchedule requires nothing and changes nothing. So hopefully the above code > represents this fact? Right
2006 Nov 22
2
Problem with "additional" submenus
Hello all, First off, thanks for the great work. I have recently added "more submenus" to a functioning advanced menu that only had one "submenu off of the main menu before" The addition of the new submenus has caused the main menu to not function correctly and I have been pouring over the code for several weeks and I just cannot see the error that I have introduced. This
2007 Mar 23
1
[LLVMdev] strange pass behaviour
Hi I have written a pass which creates some scheduling information. Its called MParSchedule. This pass works with opt. But when feeding it my experimental backend it seems to loose instructions and fails to work. I am loading this stuff as .so libraries under linux and i am using the amd64 version with a self compiled llvm-gcc. With this call it works: opt
2008 Apr 21
1
[LLVMdev] newbie with pass registering Problem
Hi!! This is my first time with llvm. I'm still learning and really need help. I wrote only one Function Pass, which uses another Function Pass (blockNrs), and registered this: RegisterPass<FunctionAnalysis> X("gasched", "Genom Scheduling Pass"); When I compile my sourcecode, everything was okay. But when I tried to test it, i got this error Message: nicole at
2006 Jun 01
0
[LLVMdev] Adding an object to llc (analysis pass)
On Thu, 1 Jun 2006, Silken Tiger wrote: >> Right it does. However, does something *else* require MParSchedule? If >> so, what? > Ok, i am writing on a different backend based on the cbackend. Ok. > The test usage of this pass looks like this: > > void getAnalysisUsage(AnalysisUsage &AU) const { > AU.addRequired<LoopInfo>(); >
2008 Apr 22
1
[LLVMdev] newbie with pass registering Problem
Hi!! This is my first time with llvm. I'm still learning and really need help. I wrote only one Function Pass, which uses another Function Pass (blockNrs), and registered this: RegisterPass<FunctionAnalysis> X("gasched", "Genom Scheduling Pass"); When I compile my sourcecode, everything was okay. But when I tried to test it, i got this error Message: nicole at
2006 Jul 11
1
[LLVMdev] Enabling debug in LLVM-1.7 release
Hi This may sound like a stupid question, but well i am not very good with the automake tools: How do i enable debug mode in llvm-1.7? I tried ./configure --enable-debug-runtime editing Makefile.config DEBUG_RUNTIME=1 editing Makefile.config.in DEBUG_RUNTIME=1 and ./configure --enable-debug-runtime Currently i managed to make a profile build but gdb just chokes like this when trying to debug:
2006 May 30
3
[LLVMdev] Adding an object to llc (analysis pass)
Hi > One would expect this, its a facility of the C++ language. The anonymous > namespace is, essentially, the same as declaring everything in it > static. That is, the symbols are not exported and not available for > linking. Yes, it was pretty clear after finding out that this isn't a linking error which i suspected... > > So for all those trying to add an analysis path:
2006 May 30
0
[LLVMdev] Adding an object to llc (analysis pass)
On Tue, 30 May 2006, Silken Tiger wrote: > Everthing now compiles fine, but when running llc with invoking my own backend > derived from the cbackend i get the following error: > namespace llvm { > class MParSchedule : public BasicBlockPass { > public: > This pass has been tested as optimization pass with opt, and everything worked > in this
2006 Jun 16
2
[LLVMdev] Adding an object to llc (analysis pass)
Hi Chris and llvm list Thanks for your answer. > So again, this is the problem I described earlier: you have a pass > (MParSchedule) which is a basic block pass. This pass is being required > by another pass (your C backend-based thing) which is not a basic block > pass. This is the problem, please see the "how to write a pass" doc. The > fix is to change
2004 Oct 07
1
Menu examples?
Hi all, I'm looking for some menu examples for Murali's menu system. Specifically, a headstart on creating a Kickstart menu which covers the most common options with the intention of creating this: label ks.menu kernel vmlinuz.ks.$DIST append ksdevice=eth0 ks=http://kickstartserver/$DIST/Custom/ks.cfg.$DIST initrd=initrd.ks.$DIST lang= devfs=nomount ramdisk_size=8192 Hmm...looking
2004 Jul 21
1
using menu's to boot kernels
I've now been able to test the simple.com in dosemu, worked fine. We provide a CD that has multiple kickstart configurations on it and users are prompted as to what type of server they want to build based upon the isolinux.cfg selections. My goal is to use Murlai's menuing system instead because the large number of configs is taking too much screen real estate. Looking at simple.c
2006 Jul 28
1
question regarding memdisk, and menu/complex.c or simple.c
has anyone got memdisk to work directly? i mean such as: add_item("W98 Boot","Windows 98 Boot",OPT_RUN, "memdisk initrd=98se.ima",0); I have tried various methods, and I get the same results: Loading memdisk....Ready. MEMDISK 3.11 2005-09-02 Copyright 2001-2005 H. Peter Anvin MEMDISK: No ramdisk image specified! I know I can setup (in my case)
2006 Mar 10
1
Add_Item Help
I was using the simple menu with this configuration: DEFAULT MyMenu PROMPT 1 TIMEOUT 10 ONTIMEOUT LocalBoot ALLOWOPTIONS 0 IMPLICIT 0 NOESCAPE 1 MENU MAST PASSWD <password_omitted> MENU TITLE Bootable Options: LABEL MyMenu MENU HIDE KERNEL pxelinux.cfg/menu.c32 label Remote Instalation Server kernel memdisk/memdisk append initrd=RisMenus/RisDisk.IMg Now I'm
2013 Apr 09
5
Error when using fitdist function in R
Hello everyone, I was trying to do some distribution fitting with a numerical field called Tolls. The sample size = 999 rows. Basically I assigned the Toll data to a new variable K by doing: k<-dtest$Toll After that, tried to fit a gamma distribution by doing: fitG<-fitdist(k, "gamma") Then the following messages showed (oh and I checked for empty rows before doing this):
2008 Jun 02
2
[LLVMdev] want to use CallGraph Pass in llc
Hi all, the CallGraph pass is only available in opt. Is there any substantial reason for that? Or is it only because it seems not to be useful for llc? I want to use it in an backend that is derived from the CBackend. I need the information what functions are called in every other function to build communication struktures between the functions. The backend is generating VHDL from C code.
2006 Nov 03
1
Looks Like another Novice question here
I have looked through all of the documentation on the simple.c menu setup. I am moving from the menu with the Default, and several files *.msg my current menu launches in text and I navigate by F numbers or typing the corresponding Number next to the option that I want, I can handle setting this up, but I want a graphical background now and more customized options. So I am modifying simple.c to
2008 Jun 02
0
[LLVMdev] want to use CallGraph Pass in llc
Paul, On Jun 2, 2008, at 12:38 AM, Paul Arndt wrote: > Hi all, > > the CallGraph pass is only available in opt. Is there any > substantial reason > for that? Or is it only because it seems not to be useful for llc? No, that's not true. > I want to use it in an backend that is derived from the CBackend. I > need the > information what functions are called in