|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| | 
| 
| 
| | llvm-svn: 78948 | 
| | 
| 
| 
| 
| 
| | thanks to contexts-on-types.  More to come.
llvm-svn: 77011 | 
| | 
| 
| 
| 
| 
| 
| 
| | EE::create().
Also a test commit.
llvm-svn: 76276 | 
| | 
| 
| 
| | llvm-svn: 75703 | 
| | 
| 
| 
| | llvm-svn: 74640 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| | 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 | 
| | 
| 
| 
| | llvm-svn: 73613 | 
| | 
| 
| 
| 
| 
| | Types can have references to eachother, so we can't just call destroy on them.
llvm-svn: 68523 | 
| | 
| 
| 
| | llvm-svn: 68459 | 
| | 
| 
| 
| | llvm-svn: 68457 | 
| | 
| 
| 
| | llvm-svn: 57944 | 
| | 
| 
| 
| | llvm-svn: 56682 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | 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 | 
| | 
| 
| 
| | llvm-svn: 54890 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | 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 | 
| | 
| 
| 
| 
| 
| | Legacy interfaces will be in place for some time.  (Merge from use-diet branch.)
llvm-svn: 51200 | 
| | 
| 
| 
| 
| 
| 
| 
| | Specifically, introduction of XXX::Create methods
for Users that have a potentially variable number of
Uses.
llvm-svn: 49277 | 
| | 
| 
| 
| | llvm-svn: 45420 | 
| | 
| 
| 
| | llvm-svn: 45416 | 
| | 
| 
| 
| 
| 
| | Add an APSInt::toString() method.
llvm-svn: 41309 | 
| | 
| 
| 
| | llvm-svn: 34969 | 
| | 
| 
| 
| | llvm-svn: 34227 | 
| | 
| 
| 
| | llvm-svn: 33384 | 
| | 
| 
| 
| | llvm-svn: 32984 | 
| | 
| 
| 
| 
| 
| | Convert signed integer types to signless.
llvm-svn: 32786 | 
| | 
| 
| 
| 
| 
| 
| 
| | 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 | 
| | 
| 
| 
| | llvm-svn: 30092 | 
| | 
| 
| 
| | llvm-svn: 27042 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | 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 | 
| | 
| 
| 
| | llvm-svn: 21723 | 
| | 
| 
| 
| | llvm-svn: 21380 | 
| | 
| 
| 
| | llvm-svn: 20610 | 
| | 
| 
| 
| | llvm-svn: 18333 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| | Tools and libraries will be built into $(BUILD_OBJ_ROOT)/$(BuildMode)/bin and \
$(BUILD_OBJ_ROOT)/$(BuildMode)/lib, respectively. Furthermore, the example \
programs will go in $(BUILD_OBJ_ROOT)/$(BuildMode)/examples to keep them \
separate from the tools and hopefully out of the PATH. Install targets \
have not changed.
llvm-svn: 17953 | 
| | 
| 
| 
| 
| 
| | to have the JIT functioning on more platforms than just x86
llvm-svn: 16993 | 
| | 
| 
| 
| | llvm-svn: 16295 | 
| | 
| 
| 
| | llvm-svn: 16285 | 
| | 
| 
| 
| 
| 
| | Made the "ModuleMaker" into an example since its just one source file.
llvm-svn: 16003 | 
|  | /examples directory. History was maintained. These programs do not need to
be configured but things in /projects must be.
llvm-svn: 16002 |