search for: listig

Displaying 20 results from an estimated 28 matches for "listig".

Did you mean: listing
2012 Feb 27
0
[LLVMdev] SwitchInst handling in backend
On Mon, Feb 27, 2012 at 12:52 PM, Nico <listiges at arcor.de> wrote: > Hi, > > if I want to know how switch instructions are handled in the backend, where do I have to look first? > I'm not familiar with the backend framework and I couldn't figure out the interface between the LLVM instruction 'SwitchInst' and wha...
2012 Feb 27
2
[LLVMdev] SwitchInst handling in backend
Hi Eli, Thank you for the quick reply. On Feb 27, 2012, at 10:03 PM, Eli Friedman wrote: > SelectionDAGBuilder::visitSwitch is the general switch lowering... I understand this lowering is target independent and there is no additional target dependent handling of switch instructions - right? Only branches and jump tables are left after this lowering? Kind regards, Nico
2012 Oct 12
2
[LLVMdev] initial selection DAG
Hi, I wonder how the initial selection DAG is built in the backends. >From working backends I get: ----8<------- Initial selection DAG: BB#0 'main:' SelectionDAG has 18 nodes: ----8<------- >From my (not working) backend I get: ----8<------- Initial selection DAG: BB#0 'main:' SelectionDAG has 15 nodes: ----8<------- I miss three nodes and I wonder what do I have
2012 Jun 19
1
[LLVMdev] llvm::Triple error in new backend
Hi, I try to write a new backend. At the moment I run into a compiler error and don't know how I can solve this problem. Like several other targets I have a file 'mybackendTargetInfo.cpp' in the subdirectory 'TargetInfo'. The content of this file is: #include "mybackend.h" #include "llvm/Module.h" #include "llvm/Support/TargetRegistry.h" using
2012 Feb 27
3
[LLVMdev] SwitchInst handling in backend
Hi, if I want to know how switch instructions are handled in the backend, where do I have to look first? I'm not familiar with the backend framework and I couldn't figure out the interface between the LLVM instruction 'SwitchInst' and whatever there is in the backend. I would be very happy about every hint where I have to look to find the entry point of switch instructions in the
2008 Nov 26
0
[LLVMdev] LLVM profiling
Hi Rantao, perhaps you should use $llvmpath/utils/profile.pl for profiling? It works well. If you don't want to use it, there is at least some code in the script that should help you. BTW: I'm not sure if it is possible to instrument the bitcode with function and basic block code at the same time. But it should work sequential (data in llvmprof.out are accumulated after each run
2008 Nov 25
2
[LLVMdev] LLVM profiling
Hello, My name is Rantao Chen and i am a student at the University of Maryland. I am currently doing some research for a professor to do Basic Block profiling using LLVM. I have set up the environment correctly and built the profile_rt.so shared library, but i am having some problems using the LLVM profiling tools. I run "opt -insert-function-profiling -insert-block-profiling input.bc
2008 Oct 28
1
[LLVMdev] Blocks/Closures + Clang + LLVM
Hi, I tried the little examples from here: http://lists.cs.uiuc.edu/pipermail/cfe-dev/2008-August/002670.html clang -fsyntax-only worked fine, but clang -emit-llvm had problems: Assertion failed: (0 && "FIXME: Cannot get type of block pointer."), function ConvertNewType, file CodeGenTypes.cpp, line 329. I use svn revision 58329. Is it just a temporary problem or did it not
2008 Nov 25
1
[LLVMdev] AddReadAttrs vs. TargetMachine?
Hi, I want to invoke the AddReadAttrs pass with my software backend (derived from TargetMachine like CBackend). CBackend uses addPassesToEmitWholeFile-method for invoking several passes. I tried to use the same method, but it failed on runtime. Running llc with my backend produces (mac os x 10.5 and llvm 2.4): dyld: lazy symbol binding failed: Symbol not found:
2011 Mar 08
0
[LLVMdev] Unnamed structure types
Hello, is there a method to access unnamed structure types? Maybe something similar to 'TypeSymbolTable'? 'CBackend' uses 'FindUsedTypes'-pass and a lot of glue code around it, but I don't want to use the 'Passmanager' etc. Thank you. Kind regards, Nico
2012 Jul 25
1
[LLVMdev] LLVMInitializeMyTargetAsmPrinter is not called
Hi, I'm trying to implement a LLVM backend but have actually a problem and don't know how to handle. Actually I'm at the very beginning. I tried to (carefully) copy from existing backends (Sparc and Hexogon), but I messed up with something. My "LLVMInitializeMyTargetAsmPrinter" function is not called. All the other "LLVMInitializeMyTargetSomeThing" functions to
2013 Feb 17
1
[LLVMdev] LLVM demo page
Will this one help? http://ellcc.org/demo/index.cgi Cheers, Nico On Feb 14, 2013, at 11:31 PM, Tanya Lattner <lattner at apple.com> wrote: > > On Feb 7, 2013, at 6:26 PM, 陳韋任 (Wei-Ren Chen) <chenwj at iis.sinica.edu.tw> wrote: > >> On Thu, Feb 07, 2013 at 11:09:10AM +0100, Óscar Fuentes wrote: >>> Blind Faith <person.of.book at gmail.com> writes:
2013 Jul 31
1
[LLVMdev] MachineBasicBlocks Cloning
Hi, For some schedulers like Trace Scheduling it is necessary to clone basic blocks. Instinctively I would think the "Machine Instruction Scheduler" would be the right place to do so. Is it possible to clone MachineBasicBlocks in the "Machine Instruction Scheduler" pass? Any snares? Or is it to much effort to implement it there and there is a better place for such things?
2014 Sep 26
1
DOS access to Samba server
Hi all, I followed Marc Muehlfeld's Wiki page to create a FreeDOS virtualbox (for a very very old DOS app still used a bit) with SMB using MS LAN Manager: https://wiki.samba.org/index.php/Setup_FreeDOS_to_access_a_Samba_share All fine it seems. (Thanks Marc - just a missing "\" in "LH C:\NETNMTSR.EXE") But I cannot connect a share: C:\> net use w: \\server\share
2007 Aug 13
2
[LLVMdev] delete/creates modules
Hi, is it possible to implement a pass which creates new modules or deletes old ones (which kind of pass could do this)? Perhaps there is already a pass which implements that - but I didn't found it. Ciao, Nico BTW: will there be one day the Cell BE slides on the dev-meeting webpages?
2007 Aug 21
0
[LLVMdev] profile directed pass with 'extern' profile data
Hi, is there a pass for profile-directed optimization or transformation, which doesn't use ProfileInfo- and ProfileLoader-class? Perhaps in a project based on LLVM that uses profile data generated 'outside' of the standard LLVM-chain shown in 'profile.pl'? Is there an example for such a pass I've slipped? Kind regards, Nico
2007 Aug 26
0
[LLVMdev] Function definition
Hi, I want to define a function with basic block and so on. I tried this: .... Function *mmFn = new Function(FunctionType::get (Type::Int32Ty,Params,false), GlobalValue::ExternalLinkage, "___MM___", MainFn->getParent()); new BasicBlock("entry",mmFn); ... At runtime I get a 'bus error'. Without the 'BasicBlock' it works a little bit. In the .ll code
2008 May 29
1
[LLVMdev] data exchange between loadable pass and backend
Hello, I have an analysis pass and a target machine class, both in different dynamically loadable libraries (plugins). There is no problem to use the analysis pass (opt -load=libanalysis.dylib -barpass foo.bc), but is it possible to get data from the analysis pass (by getAnalysis) while using the backend? AFAIK it is only allowed to have one plugin argument for llc (like: llc
2008 Jun 24
1
[LLVMdev] pass for backend
Hi there, I wrote a pass for my (language)backend, but llc can't load it. I get the following error message: ------------------------------------------------------------------------------- Error opening '/home/nico/build/Release/lib/foo.dylib': Can't open :/ home/nico/build/Release/lib/foo.dylib: dlopen(/home/nico/build/Release/ lib/foo.dylib, 9): Symbol not found:
2008 Jul 23
0
[LLVMdev] loadable backend versus analysis pass
Hi, is there a problem with loadable backends and some analysis passes? An example: If I put the C backend in my project directory, compile a library form the code, and try to load it into lli I get the following message: ------------------------------------------------------- lli -load /path/CBackend.dylib Error opening '/path/CBackend.dylib': dlopen(/path/CBackend.dylib, 1):