History log of /external/llvm/examples/HowToUseJIT/HowToUseJIT.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0a08460599eed603e469e3e16d0cf6aa33b8ba93 02-Jan-2013 Chandler Carruth <chandlerc@gmail.com> Update the examples for the new header file locations.

Sorry for the fallout here, I forgot the examples aren't built by
default any more.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171371 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/HowToUseJIT/HowToUseJIT.cpp
4ca7e09b7c1e41535f2a1bd86915375d023daf27 04-Dec-2012 Chandler Carruth <chandlerc@gmail.com> Sort the #include lines of the examples/... tree.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169249 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/HowToUseJIT/HowToUseJIT.cpp
06cb8ed00696eb14d1b831921452e50ec0568ea2 29-Jun-2012 Chandler Carruth <chandlerc@gmail.com> Move llvm/Support/IRBuilder.h -> llvm/IRBuilder.h

This was always part of the VMCore library out of necessity -- it deals
entirely in the IR. The .cpp file in fact was already part of the VMCore
library. This is just a mechanical move.

I've tried to go through and re-apply the coding standard's preferred
header sort, but at 40-ish files, I may have gotten some wrong. Please
let me know if so.

I'll be committing the corresponding updates to Clang and Polly, and
Duncan has DragonEgg.

Thanks to Bill and Eric for giving the green light for this bit of cleanup.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159421 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/HowToUseJIT/HowToUseJIT.cpp
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/HowToUseJIT/HowToUseJIT.cpp
e5dfa8f697d3c48361d507491d0cff35607ed419 09-Jun-2011 Johnny Chen <johnny.chen@apple.com> Modify comment.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132800 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/HowToUseJIT/HowToUseJIT.cpp
c3a627de3f857d3788b8e689cfa4b93b5013b07c 09-Jun-2011 Eric Christopher <echristo@apple.com> Have the JIT tutorial use IRBuilder for the IR.

Patch by Jake Waskett!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132770 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/HowToUseJIT/HowToUseJIT.cpp
f9fba3087e840e2f6912d96c932f80d8b6698a84 03-Feb-2010 Garrison Venn <gvenn.cfe.dev@gmail.com> Repository access test commit


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95221 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/HowToUseJIT/HowToUseJIT.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/HowToUseJIT/HowToUseJIT.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/HowToUseJIT/HowToUseJIT.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/HowToUseJIT/HowToUseJIT.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/HowToUseJIT/HowToUseJIT.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/HowToUseJIT/HowToUseJIT.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/HowToUseJIT/HowToUseJIT.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/HowToUseJIT/HowToUseJIT.cpp
da06288aeb28393b937e17dcd180658c3737a6e5 17-Jun-2009 Chris Lattner <sabre@nondot.org> make sure that JIT examples link in their appropriate target.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73613 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/HowToUseJIT/HowToUseJIT.cpp
eb55f3ea3c6a12e5d098f72f3f9a16d4b7e77645 07-Apr-2009 Torok Edwin <edwintorok@gmail.com> Another attempt at fixing PR2975.
Types can have references to eachother, so we can't just call destroy on them.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68523 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/HowToUseJIT/HowToUseJIT.cpp
5ce1b11412d19c95e390a43d850829c99694f5a9 06-Apr-2009 Torok Edwin <edwintorok@gmail.com> revert r68457, its crashing in make check.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68459 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/HowToUseJIT/HowToUseJIT.cpp
59d5f83b32753b3c9d5defa4d1374f7c9042eb46 06-Apr-2009 Torok Edwin <edwintorok@gmail.com> fix (part of) memory leak on shutdown. See PR2975.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68457 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/HowToUseJIT/HowToUseJIT.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/HowToUseJIT/HowToUseJIT.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/HowToUseJIT/HowToUseJIT.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/HowToUseJIT/HowToUseJIT.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/HowToUseJIT/HowToUseJIT.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/HowToUseJIT/HowToUseJIT.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/HowToUseJIT/HowToUseJIT.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/HowToUseJIT/HowToUseJIT.cpp
680f2f016e6a6edbae21d9b37d91f5ab75a75660 13-Feb-2007 Chris Lattner <sabre@nondot.org> eliminate vector-related ctors


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34227 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/HowToUseJIT/HowToUseJIT.cpp
bc0895a59628c8ae7fea56572e19ddc081d219ac 19-Jan-2007 Reid Spencer <rspencer@reidspencer.com> Add a #include to resolve IntegerType class.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33384 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/HowToUseJIT/HowToUseJIT.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/HowToUseJIT/HowToUseJIT.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/HowToUseJIT/HowToUseJIT.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/HowToUseJIT/HowToUseJIT.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/HowToUseJIT/HowToUseJIT.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/HowToUseJIT/HowToUseJIT.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/HowToUseJIT/HowToUseJIT.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/HowToUseJIT/HowToUseJIT.cpp
1d9f262b9dac7032e94857c1079b4ee62e0509d9 15-Mar-2005 Alkis Evlogimenos <alkis@evlogimenos.com> Stop using abegin and aend.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20610 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/HowToUseJIT/HowToUseJIT.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/HowToUseJIT/HowToUseJIT.cpp
95f114c5a9c5ced8b63034e75ccca8d2d61c956a 16-Aug-2004 Chris Lattner <sabre@nondot.org> Switch to using the JIT now that it can directly call zeroarg functions


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15795 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/HowToUseJIT/HowToUseJIT.cpp
e8bf58c17085f6110d7f757d2417d7a96e9d329f 16-Aug-2004 Chris Lattner <sabre@nondot.org> Simplify code, make it print the constructed module before it is run.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15792 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/HowToUseJIT/HowToUseJIT.cpp
54706d680107a3809985bf1308b198c7b1d0f7f5 10-Aug-2004 Reid Spencer <rspencer@reidspencer.com> Fix a copy & paste error .. correct the description of the program.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15623 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/HowToUseJIT/HowToUseJIT.cpp
26a4ba73d3984645da270921caeabc34834e84e5 10-Aug-2004 Reid Spencer <rspencer@reidspencer.com> Adding a simple example of how to use the JIT.

Contributed by Valery A. Khamenya. THANKS, Valery!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15622 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/HowToUseJIT/HowToUseJIT.cpp