History log of /llvm-project/llvm/examples/HowToUseJIT/HowToUseJIT.cpp (Results 26 – 50 of 53)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# edb4a703 24-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.

llvm-svn: 77011


# fc8a2d5a 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.

llvm-svn: 76276


# b6b25300 14-Jul-2009 Owen Anderson <resistor@mac.com>

Move EVER MORE stuff over to LLVMContext.

llvm-svn: 75703


# 1cf085d5 01-Jul-2009 Owen Anderson <resistor@mac.com>

Hold the LLVMContext by reference rather than by pointer.

llvm-svn: 74640


# 6773d388 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

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.

llvm-svn: 74614

show more ...


# d24df245 17-Jun-2009 Chris Lattner <sabre@nondot.org>

make sure that JIT examples link in their appropriate target.

llvm-svn: 73613


# 73312b3f 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.

llvm-svn: 68523


# 83902656 06-Apr-2009 Torok Edwin <edwintorok@gmail.com>

revert r68457, its crashing in make check.

llvm-svn: 68459


# 96dadc3b 06-Apr-2009 Torok Edwin <edwintorok@gmail.com>

fix (part of) memory leak on shutdown. See PR2975.

llvm-svn: 68457


Revision tags: llvmorg-2.5.0, llvmorg-2.4.0
# 0c19df48 23-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.

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.

llvm-svn: 55263

show more ...


# 17f7165f 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 thrash

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.

llvm-svn: 54873

show more ...


Revision tags: llvmorg-2.3.0
# e1f6e4b2 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.)

llvm-svn: 51200


# e9ecc68d 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.

llvm-svn: 49277


Revision tags: llvmorg-2.2.0
# bcf65db6 29-Dec-2007 Chris Lattner <sabre@nondot.org>

remove attributions from examples.

llvm-svn: 45420


Revision tags: llvmorg-2.1.0
# b0f158cf 23-Aug-2007 Chris Lattner <sabre@nondot.org>

rename APInt::toString -> toStringUnsigned for symmetry with toStringSigned()

Add an APSInt::toString() method.

llvm-svn: 41309


Revision tags: llvmorg-2.0.0
# 8a9ae48d 06-Mar-2007 Reid Spencer <rspencer@reidspencer.com>

Adjust for changes in GenericValue type.

llvm-svn: 34969


# e3cf188c 13-Feb-2007 Chris Lattner <sabre@nondot.org>

eliminate vector-related ctors

llvm-svn: 34227


# 727f31b2 19-Jan-2007 Reid Spencer <rspencer@reidspencer.com>

Add a #include to resolve IntegerType class.

llvm-svn: 33384


# b800b392 07-Jan-2007 Chris Lattner <sabre@nondot.org>

add some casts to support a change in the getOrInsertFunction interface

llvm-svn: 32984


# bc013ba3 31-Dec-2006 Reid Spencer <rspencer@reidspencer.com>

For PR950:
Convert signed integer types to signless.

llvm-svn: 32786


Revision tags: llvmorg-1.9.0
# e0fc4dfc 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.

llv

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.

llvm-svn: 31063

show more ...


# e46cbe7a 24-Mar-2006 Jeff Cohen <jeffc@jolt-lang.org>

Minor corrections.

llvm-svn: 27042


Revision tags: llvmorg-1.6.0
# 11e26b52 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 le

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.

llvm-svn: 23888

show more ...


Revision tags: llvmorg-1.5.0
# eaf625dc 06-May-2005 Chris Lattner <sabre@nondot.org>

These are legal for tail calls

llvm-svn: 21723


# 2f72bafb 20-Apr-2005 Misha Brukman <brukman+llvm@gmail.com>

Remove trailing whitespace at the end of lines

llvm-svn: 21380


123