search for: basicinlin

Displaying 10 results from an estimated 10 matches for "basicinlin".

Did you mean: basicinliner
2008 May 08
0
[LLVMdev] What's the BasicInliner for?
Hi all, I was looking around in the lib/Transforms/Utils dir and ran into the BasicInliner class. Seeing a large similarity between it and the SimpleInliner Pass, I grep'd around for BasicInliner, but it doesn't seem to be used. The difference between them seems that SimpleInliner is a pass that looks at all functions, while BasicInliner is not a pass and looks only at explici...
2009 May 07
1
[LLVMdev] Command Line Argument 'inline-threshold'
...e following error message: opt: CommandLine Error: Argument 'inline-threshold' defined more than once! It seems that it is complaining "inline-threshold" is defined in more than one pass. I checked the source files, and there are two places where it is defined. Transforms/Utils/BasicInliner.cpp Transforms/IPO/Inliner.cpp Has anyone encountered this error and is this caused by something I did wrong when I built LLVM? Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090507/8404a231/a...
2009 May 26
3
[LLVMdev] Wondering how best to run inlining on a single function.
In Unladen Swallow we (intend to) compile each function as we determine it's hot. To "compile" a function means to translate it from CPython bytecode to LLVM IR, optimize the IR using a FunctionPassManager, and JIT the IR to machine code. We'd like to include inlining among our optimizations. Currently the Inliner is a CallGraphSCCPass, which can only be run by the
2010 Aug 12
0
[LLVMdev] Optimization pass questions
...> achieving a good balance of optimization of the JITed code versus time spent > doing the optimizations. In case that changes any of your answers. > > At least one thing, you may not need traditional inliner which uses call graph from the entire module. You may want to take a look at BasicInliner. - Devang -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100812/68724b26/attachment.html>
2008 Oct 31
0
[LLVMdev] cygwin build problems
I also need the attached patch when building with GCC 4.3.2 on cywing, to avoid lots of warnings like this: .../lib/Transforms/Utils/BasicInliner.cpp:55: warning: visibility attribute not supported in this configuration; ignored Jay. -------------- next part -------------- A non-text attachment was scrubbed... Name: visibility.patch Type: application/octet-stream Size: 568 bytes Desc: not available URL: <http://lists.llvm.org/pipermail...
2010 Aug 11
4
[LLVMdev] Optimization pass questions
I have a whole slew of questions about optimization passes. Answers to any or all would be extremely helpful: How important are doInitialization/doFinalization? I can't detect any difference if I use them or not. Why does the function pass manager have doInitialization/doFinalization, but the global pass manager doesn't? If I am applying the function passes to many functions, do I
2008 Oct 30
6
[LLVMdev] cygwin build problems
Cygwin's <stdint.h> defines uint32_t as "unsigned long". I think this is valid, but it causes various problems like this when building LLVM with GCC 3.4.4: .../lib/CodeGen/SelectionDAG/SelectionDAG.cpp:3440: error: call of overloaded `AddInteger(uint32_t)' is ambiguous .../lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1429: error: no matching function for call to `max(long
2010 Oct 01
2
[LLVMdev] CMake "sudo make install" & headers
...r.h -- Installing: /usr/local/llvm-2.8/include/llvm/Transforms/Utils -- Installing: /usr/local/llvm-2.8/include/llvm/Transforms/Utils/AddrModeMatcher.h -- Installing: /usr/local/llvm-2.8/include/llvm/Transforms/Utils/BasicBlockUtils.h -- Installing: /usr/local/llvm-2.8/include/llvm/Transforms/Utils/BasicInliner.h -- Installing: /usr/local/llvm-2.8/include/llvm/Transforms/Utils/BuildLibCalls.h -- Installing: /usr/local/llvm-2.8/include/llvm/Transforms/Utils/Cloning.h -- Installing: /usr/local/llvm-2.8/include/llvm/Transforms/Utils/FunctionUtils.h -- Installing: /usr/local/llvm-2.8/include/llvm/Transforms...
2010 Oct 01
0
[LLVMdev] CMake "sudo make install" & headers
On Thu, Sep 30, 2010 at 3:08 PM, Samuel Williams <space.ship.traveller at gmail.com> wrote: > Hi, > > I might just be doing something stupid, but when I do > > $ cmake -DCMAKE_INSTALL_PREFIX=/usr/local/llvm-2.8 -DCMAKE_BUILD_TYPE=Release .. > $ sudo make install > > I don't get the expected headers in >        /usr/local/llvm-2.8/include/llvm > > It is
2010 Sep 30
6
[LLVMdev] CMake "sudo make install" & headers
Hi, I might just be doing something stupid, but when I do $ cmake -DCMAKE_INSTALL_PREFIX=/usr/local/llvm-2.8 -DCMAKE_BUILD_TYPE=Release .. $ sudo make install I don't get the expected headers in /usr/local/llvm-2.8/include/llvm It is simply an empty directory. What am I doing wrong? This is on Mac OS X, CMake 2.8+ Kind regards, Samuel