|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| | 
| 
| 
| 
| 
| 
| 
| | for handling bookkeeping for deleted objects, as well as the alist class
template, for keeping lists of objects allocated from Recyclers, and some
related utilities.
llvm-svn: 53210 | 
| | 
| 
| 
| 
| 
| | conversions to std::string.
llvm-svn: 52995 | 
| | 
| 
| 
| 
| 
| 
| 
| | of after, so that any reallocation it does doesn't get counted for the pass
being timed.  This probably doesn't account for a timing discrepancy I was
looking into, but I'm fixing it anyway.
llvm-svn: 52693 | 
| | 
| 
| 
| 
| 
| 
| 
| | multiplicative inverse of a given number. Modify udivrem to allow input and 
output pairs of arguments to overlap. Patch is based on the work by Chandler
Carruth.
llvm-svn: 52638 | 
| | 
| 
| 
| | llvm-svn: 52602 | 
| | 
| 
| 
| 
| 
| | throughout FoldingSet.cpp.
llvm-svn: 52425 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | over-shift-right should return -1. So here it should be signed-extended,
when bitwidth larger than 64.
test case: llvm/test/ExecutionEngine/2008-06-05-APInt-OverAShr.ll
llvm-svn: 51999 | 
| | 
| 
| 
| 
| 
| 
| | once (ie, at two different places in the source, not two times on the
commandline).
llvm-svn: 51771 | 
| | 
| 
| 
| 
| 
| | function to flush a specified std::ostream.
llvm-svn: 51705 | 
| | 
| 
| 
| | llvm-svn: 51606 | 
| | 
| 
| 
| 
| 
| | to 64 bits.
llvm-svn: 51135 | 
| | 
| 
| 
| 
| 
| | conversion.  Try 0x1.0000a4p+0f.  Neil, please review.
llvm-svn: 51132 | 
| | 
| 
| 
| 
| 
| 
| | several things that were neither in an anonymous namespace nor static
but not intended to be global.
llvm-svn: 51017 | 
| | 
| 
| 
| | llvm-svn: 50975 | 
| | 
| 
| 
| | llvm-svn: 50695 | 
| | 
| 
| 
| | llvm-svn: 50659 | 
| | 
| 
| 
| | llvm-svn: 50590 | 
| | 
| 
| 
| | llvm-svn: 50475 | 
| | 
| 
| 
| 
| 
| 
| | be truncated to 32 bits. This fixes the recent Benchmarks/McCat/09-vor
regression on x86-64, among other things.
llvm-svn: 50372 | 
| | 
| 
| 
| 
| 
| | alignment.  "Bump" of the pointer for the next allocated object to be of the specified alignment.
llvm-svn: 50362 | 
| | 
| 
| 
| | llvm-svn: 50355 | 
| | 
| 
| 
| | llvm-svn: 50196 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | ppc long double, which doesn't work.
This may break some stuff temporarily, but I want to
avoid the propagation of code that assumes this works.
llvm-svn: 49983 | 
| | 
| 
| 
| 
| 
| | for more space for displaying the graph.
llvm-svn: 49730 | 
| | 
| 
| 
| | llvm-svn: 49496 | 
| | 
| 
| 
| | llvm-svn: 49055 | 
| | 
| 
| 
| 
| 
| 
| 
| | start of a filename, not a filename+length.  All clients can produce a
null terminated name, and the system api's require null terminated 
strings anyway.
llvm-svn: 49041 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | 1) stop using MappedFile.
2) if profitable use the sys::path::MapInFilePages api to
   read the file.
3) otherwise fallback to read.
When sys::path::MapInFilePages is implemented, this provides
several benefits:
#1: this avoids fragmenting memory for small files.
#2: this avoids extraneous stat calls when the file size is known.
#3: this only keeps the file descriptor open while reading the 
    file, not for the duration of the lifetime of the memory 
    buffer.  This fixes a serious clang FD 'leak' problem.
I believe that this will work on a win32 machine, but I don't have
one to test on.  I'd appreciate it if someone could check.
llvm-svn: 49031 | 
| | 
| 
| 
| 
| 
| | make getBase() return a const-correct pointer.
llvm-svn: 49025 | 
| | 
| 
| 
| 
| 
| 
| 
| | not an mmapped file.  This more closely matches its requirements and
provides an implicitly null terminated buffer, something this
routine had to emulate itself before.
llvm-svn: 49024 | 
| | 
| 
| 
| 
| 
| 
| | and shared.  This complicates the design, is not used, and probably
doesn't even work.
llvm-svn: 49022 | 
| | 
| 
| 
| | llvm-svn: 48801 | 
| | 
| 
| 
| 
| 
| 
| | marked read-write. Use const so that they can be allocated in a
read-only segment.
llvm-svn: 48800 | 
| | 
| 
| 
| | llvm-svn: 48421 | 
| | 
| 
| 
| | llvm-svn: 48035 | 
| | 
| 
| 
| 
| 
| | instead of uint32_t for the shift/rotate count operand type.
llvm-svn: 47741 | 
| | 
| 
| 
| | llvm-svn: 47738 | 
| | 
| 
| 
| 
| 
| | invalid command-line options.
llvm-svn: 47523 | 
| | 
| 
| 
| | llvm-svn: 47382 | 
| | 
| 
| 
| | llvm-svn: 47377 | 
| | 
| 
| 
| 
| 
| | annoying warnings.
llvm-svn: 47367 | 
| | 
| 
| 
| 
| 
| 
| | profile of the APSInt object. This caused unexpected Profile collisions where
none should have occurred.
llvm-svn: 47338 | 
| | 
| 
| 
| 
| 
| 
| | we had reached the "fake bucket" after the last bucket, allowing the iterator
in some cases to run off the end of the hashtable.
llvm-svn: 47178 | 
| | 
| 
| 
| 
| 
| | being consistent with the rest of the APInt implementation.
llvm-svn: 47138 | 
| | 
| 
| 
| | llvm-svn: 47086 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| | Added member template "Add" to FoldingSetNodeID that allows "adding" arbitrary
objects to a profile via dispatch to FoldingSetTrait<T>::Profile().
Removed FoldingSetNodeID::AddAPFloat and FoldingSetNodeID::APInt, as their
functionality is now replaced using the above mentioned member template.
llvm-svn: 46957 | 
| | 
| 
| 
| | llvm-svn: 46833 | 
| | 
| 
| 
| 
| 
| | over all the nodes in a particular bucket.
llvm-svn: 46716 | 
| | 
| 
| 
| | llvm-svn: 46709 | 
| | 
| 
| 
| 
| 
| 
| | exposed a bug in APFloat's long double->double conversion of
NaNs.  Broke several things in the ieee part of gcc testsuite.
llvm-svn: 46617 |