3e74d6fdd248e20a280f1dff3da9a6c689c2c4c3 |
|
24-Aug-2011 |
Evan Cheng <evan.cheng@apple.com> |
Move TargetRegistry and TargetSelect from Target to Support where they belong. These are strictly utilities for registering targets and components. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138450 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/Fibonacci/fibonacci.cpp
|
03d1063d3208378b2bf7c15f0ea0e90ff4defa87 |
|
06-Sep-2010 |
Chris Lattner <sabre@nondot.org> |
fit in 80 columns and don't crash on exit, fixes PR8080 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113123 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/Fibonacci/fibonacci.cpp
|
f0356fe140af1a30587b9a86bcfb1b2c51b8ce20 |
|
27-Jan-2010 |
Jeffrey Yasskin <jyasskin@google.com> |
Kill ModuleProvider and ghost linkage by inverting the relationship between Modules and ModuleProviders. Because the "ModuleProvider" simply materializes GlobalValues now, and doesn't provide modules, it's renamed to "GVMaterializer". Code that used to need a ModuleProvider to materialize Functions can now materialize the Functions directly. Functions no longer use a magic linkage to record that they're materializable; they simply ask the GVMaterializer. Because the C ABI must never change, we can't remove LLVMModuleProviderRef or the functions that refer to it. Instead, because Module now exposes the same functionality ModuleProvider used to, we store a Module* in any LLVMModuleProviderRef and translate in the wrapper methods. The bindings to other languages still use the ModuleProvider concept. It would probably be worth some time to update them to follow the C++ more closely, but I don't intend to do it. Fixes http://llvm.org/PR5737 and http://llvm.org/PR5735. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94686 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/Fibonacci/fibonacci.cpp
|
18f0c677faaca54974333f2e7e353e94280628ab |
|
01-Dec-2009 |
Chris Lattner <sabre@nondot.org> |
fix PR5649 by making fib use the JIT instead of the interpreter, patch by Perry Lorier! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90186 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/Fibonacci/fibonacci.cpp
|
1d0be15f89cb5056e20e2d24faa8d6afb1573bca |
|
13-Aug-2009 |
Owen Anderson <resistor@mac.com> |
Push LLVMContexts through the IntegerType APIs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78948 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/Fibonacci/fibonacci.cpp
|
eed707b1e6097aac2bb6b3d47271f6300ace7f2e |
|
25-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Revert the ConstantInt constructors back to their 2.5 forms where possible, thanks to contexts-on-types. More to come. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77011 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/Fibonacci/fibonacci.cpp
|
4b1511b027ce0b648b3379f2891816c25b46f515 |
|
18-Jul-2009 |
Reid Kleckner <reid@kleckner.net> |
Add EngineBuilder to ExecutionEngine in favor of the five optional argument EE::create(). Also a test commit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76276 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/Fibonacci/fibonacci.cpp
|
9adc0abad3c3ed40a268ccbcee0c74cb9e1359fe |
|
15-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Move EVER MORE stuff over to LLVMContext. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75703 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/Fibonacci/fibonacci.cpp
|
333c40096561218bc3597cf153c0a3895274414c |
|
10-Jul-2009 |
Owen Anderson <resistor@mac.com> |
This started as a small change, I swear. Unfortunately, lots of things call the [I|F]CmpInst constructors. Who knew!? git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75200 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/Fibonacci/fibonacci.cpp
|
31895e73591d3c9ceae731a1274c8f56194b9616 |
|
01-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Hold the LLVMContext by reference rather than by pointer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74640 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/Fibonacci/fibonacci.cpp
|
8b477ed579794ba6d76915d56b3f448a7dd20120 |
|
01-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Add a pointer to the owning LLVMContext to Module. This requires threading LLVMContext through a lot of the bitcode reader and ASM parser APIs, as well as supporting it in all of the tools. Patches for Clang and LLVM-GCC to follow. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74614 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/Fibonacci/fibonacci.cpp
|
944fac71e082cc2664cc71b4d3f6c72bab7143fb |
|
24-Aug-2008 |
Chris Lattner <sabre@nondot.org> |
Switch the asmprinter (.ll) and all the stuff it requires over to use raw_ostream instead of std::ostream. Among other goodness, this speeds up llvm-dis of kc++ with a release build from 0.85s to 0.49s (88% faster). Other interesting changes: 1) This makes Value::print be non-virtual. 2) AP[S]Int and ConstantRange can no longer print to ostream directly, use raw_ostream instead. 3) This fixes a bug in raw_os_ostream where it didn't flush itself when destroyed. 4) This adds a new SDNode::print method, instead of only allowing "dump". A lot of APIs have both std::ostream and raw_ostream versions, it would be useful to go through and systematically anihilate the std::ostream versions. This passes dejagnu, but there may be minor fallout, plz let me know if so and I'll fix it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55263 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/Fibonacci/fibonacci.cpp
|
fad86b003a839cef40ec8ce8408322f4913368ca |
|
17-Aug-2008 |
Chris Lattner <sabre@nondot.org> |
Rework the routines that convert AP[S]Int into a string. Now, instead of returning an std::string by value, it fills in a SmallString/SmallVector passed in. This significantly reduces string thrashing in some cases. More specifically, this: - Adds an operator<< and a print method for APInt that allows you to directly send them to an ostream. - Reimplements APInt::toString to be much simpler and more efficient algorithmically in addition to not thrashing strings quite as much. This speeds up llvm-dis on kc++ by 7%, and may also slightly speed up the asmprinter. This also fixes a bug I introduced into the asmwriter in a previous patch w.r.t. alias printing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54873 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/Fibonacci/fibonacci.cpp
|
7cbd8a3e92221437048b484d5ef9c0a22d0f8c58 |
|
16-May-2008 |
Gabor Greif <ggreif@gmail.com> |
API change for {BinaryOperator|CmpInst|CastInst}::create*() --> Create. Legacy interfaces will be in place for some time. (Merge from use-diet branch.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51200 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/Fibonacci/fibonacci.cpp
|
051a950000e21935165db56695e35bade668193b |
|
06-Apr-2008 |
Gabor Greif <ggreif@gmail.com> |
API changes for class Use size reduction, wave 1. Specifically, introduction of XXX::Create methods for Users that have a potentially variable number of Uses. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49277 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/Fibonacci/fibonacci.cpp
|
7520fcd7a5e4c17011588aab105dea9afa2ba3ec |
|
13-Mar-2008 |
Chris Lattner <sabre@nondot.org> |
Fix an incorrect comment, PR2147. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48323 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/Fibonacci/fibonacci.cpp
|
fc001bbfc360ab828e5a4b0cbe4bb7db87361b85 |
|
29-Dec-2007 |
Chris Lattner <sabre@nondot.org> |
remove attributions from examples. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45420 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/Fibonacci/fibonacci.cpp
|
9132a2b81842b0e2b77703fab3e6fe7467f859bb |
|
23-Aug-2007 |
Chris Lattner <sabre@nondot.org> |
rename APInt::toString -> toStringUnsigned for symmetry with toStringSigned() Add an APSInt::toString() method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41309 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/Fibonacci/fibonacci.cpp
|
34bd70de3c344034b82dc9a964a6b6893efa3e82 |
|
06-Mar-2007 |
Reid Spencer <rspencer@reidspencer.com> |
Adjust for changes in GenericValue type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34969 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/Fibonacci/fibonacci.cpp
|
6a98754ebbc211958297b0d20a77e8c3261c3708 |
|
07-Jan-2007 |
Chris Lattner <sabre@nondot.org> |
add some casts to support a change in the getOrInsertFunction interface git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32984 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/Fibonacci/fibonacci.cpp
|
db8d2bed6a0ef890b81fabb014bfcb678e891695 |
|
31-Dec-2006 |
Reid Spencer <rspencer@reidspencer.com> |
For PR950: Convert signed integer types to signless. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32786 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/Fibonacci/fibonacci.cpp
|
e4d87aa2de6e52952dca73716386db09aad5a8fd |
|
23-Dec-2006 |
Reid Spencer <rspencer@reidspencer.com> |
For PR950: This patch removes the SetCC instructions and replaces them with the ICmp and FCmp instructions. The SetCondInst instruction has been removed and been replaced with ICmpInst and FCmpInst. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32751 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/Fibonacci/fibonacci.cpp
|
b83eb6447ba155342598f0fabe1f08f5baa9164a |
|
20-Oct-2006 |
Reid Spencer <rspencer@reidspencer.com> |
For PR950: This patch implements the first increment for the Signless Types feature. All changes pertain to removing the ConstantSInt and ConstantUInt classes in favor of just using ConstantInt. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31063 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/Fibonacci/fibonacci.cpp
|
afebb449283ada1b44f423e698b30672606fdc54 |
|
24-Mar-2006 |
Jeff Cohen <jeffc@jolt-lang.org> |
Minor corrections. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27042 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/Fibonacci/fibonacci.cpp
|
66c5fd6c537269eaef0f630fa14360dcaff6a295 |
|
23-Oct-2005 |
Jeff Cohen <jeffc@jolt-lang.org> |
When a function takes a variable number of pointer arguments, with a zero pointer marking the end of the list, the zero *must* be cast to the pointer type. An un-cast zero is a 32-bit int, and at least on x86_64, gcc will not extend the zero to 64 bits, thus allowing the upper 32 bits to be random junk. The new END_WITH_NULL macro may be used to annotate a such a function so that GCC (version 4 or newer) will detect the use of un-casted zero at compile time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23888 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/Fibonacci/fibonacci.cpp
|
f6b5c1abce89dbd7e8e12407aa8e4a04f805fdf2 |
|
06-May-2005 |
Chris Lattner <sabre@nondot.org> |
Don't forget these are calls git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21730 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/Fibonacci/fibonacci.cpp
|
47968e4dfd849b83a7eb958611c994e6b500998c |
|
06-May-2005 |
Chris Lattner <sabre@nondot.org> |
These are legal for tail calls git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21723 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/Fibonacci/fibonacci.cpp
|
237cef4b0b94b17ca065efad484f386f42579b61 |
|
20-Apr-2005 |
Misha Brukman <brukman+llvm@gmail.com> |
Remove trailing whitespace at the end of lines git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21380 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/Fibonacci/fibonacci.cpp
|
dadf88123f7abce7afe0db12beccc24c87e004a5 |
|
15-Mar-2005 |
Alkis Evlogimenos <alkis@evlogimenos.com> |
Stop using abegin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20609 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/Fibonacci/fibonacci.cpp
|
7cf540bba0b262681a14058d01ad41a87ac870df |
|
05-Nov-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
Clean up code layout, delete extra blank line, say `fibonacci' instead of `foo' git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17478 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/Fibonacci/fibonacci.cpp
|
3c7d7ee76136bf0041693fc939e155f34a197b2b |
|
04-Nov-2004 |
Chris Lattner <sabre@nondot.org> |
Fix typeo git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17466 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/Fibonacci/fibonacci.cpp
|
38f024daea1f27b6a8b610e3f8d21596f3e928d8 |
|
03-Nov-2004 |
Chris Lattner <sabre@nondot.org> |
Cleanup this example, simplifying it and making it conform to LLVM coding standards git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17459 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/Fibonacci/fibonacci.cpp
|
66e7cd0eea6f116f3ed79acb8948c6d8db50833c |
|
11-Sep-2004 |
Reid Spencer <rspencer@reidspencer.com> |
Correct the file header to reflect the new "examples" home for the file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16295 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/Fibonacci/fibonacci.cpp
|
e784fa40c5808bfb88480f0ab3746ed378a939df |
|
19-Aug-2004 |
Reid Spencer <rspencer@reidspencer.com> |
Add the fibonacci example provided by Valery Khamenya. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15924 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/Fibonacci/fibonacci.cpp
|