summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Keep up with lib/System changesJeff Cohen2004-12-202-31/+47
| | | | llvm-svn: 19057
* Fix problems uncovered by VC++ (first time compiled by VC++)Jeff Cohen2004-12-203-3/+3
| | | | llvm-svn: 19056
* For PR351:Reid Spencer2004-12-202-6/+121
| | | | | | | | * Implement GetMallocUsage to get usage of malloc heap * Implement GetMemoryUsage to get total memory usage of process * Implement GetTimeUsage to get elapsed/user/system time llvm-svn: 19055
* For PR351:Reid Spencer2004-12-201-1/+1
| | | | | | No need for Unix/SUS/Process.cpp any more, just ifdef it. llvm-svn: 19054
* For PR351:Reid Spencer2004-12-201-59/+13
| | | | | | | | * Move system dependent implementation out of this file. * Make implementation use sys::Process::GetMallocUsage where necessary. * Make implementation use sys::Process::GetTimeUsage where necessary. llvm-svn: 19053
* * Use "" for LLVM include files, not <>Misha Brukman2004-12-201-5/+3
| | | | | | | * llvm/Config/alloca.h already #includes config.h * Minor readability/stylistic changes llvm-svn: 19048
* Use <> for system #include filesMisha Brukman2004-12-191-1/+1
| | | | llvm-svn: 19046
* Make references to 'struct sigaction' compile under Solaris.Brian Gaeke2004-12-191-0/+1
| | | | llvm-svn: 19045
* For PR351:Reid Spencer2004-12-191-22/+99
| | | | | | | Move the functionality of RunProgramWithTimeout into the ExecuteAndWait function: support a timeout and I/O redirects llvm-svn: 19043
* For PR351:Reid Spencer2004-12-191-0/+1
| | | | | | Add a needed include. llvm-svn: 19042
* For PR351:Reid Spencer2004-12-191-24/+27
| | | | | | | | | | * Pass sys::Path instead of std::string for paths * Correct the types of arguments passed to RunProgramWithTimeout due to its interface using sys::Path instead of std::string * Replace "/dev/null" (not portable) with empty string which sys::Program::ExecuteAndWait recognizes as "redirect to bit bucket" llvm-svn: 19041
* For PR351:Reid Spencer2004-12-191-115/+5
| | | | | | | | | * Remove unneeded header files. * Move RedirectFD static function to lib/System/Unix/Program.cpp * Delete RunProgramWithTimeout, now implemented by sys::Program::ExecuteAndWait. RunProgramWithTimeout is now a convenience func. llvm-svn: 19040
* Fix win32 breakageJeff Cohen2004-12-181-0/+1
| | | | llvm-svn: 19028
* Remove unused enum valueChris Lattner2004-12-171-2/+2
| | | | llvm-svn: 19024
* Move the #include of sys/stat.h inside the linux "hack" for the statReid Spencer2004-12-171-3/+1
| | | | | | family of functions so it gets noticed if we ever remove this. llvm-svn: 19022
* Remove unused #includeChris Lattner2004-12-171-1/+1
| | | | llvm-svn: 19021
* Only #include sys/stat.h if we're on linux where we have the PR274 problem.Reid Spencer2004-12-171-0/+2
| | | | llvm-svn: 19020
* Actually overload the virtual method. This fixesChris Lattner2004-12-171-1/+2
| | | | | | | Regression/Analysis/GlobalsModRef/purecse.ll. Isn't this what the -Woverload-whatever flag would warn about :) llvm-svn: 19018
* Change the sentinalChris Lattner2004-12-171-2/+2
| | | | llvm-svn: 19007
* Create a stack slot for the return address lazily instead of eagerly. ThisChris Lattner2004-12-171-4/+8
| | | | | | | save small amounts of time for functions that don't call llvm.returnaddress or llvm.frameaddress (which is almost all functions). llvm-svn: 19006
* Chris is a pain ;) Removing reassociate.Tanya Lattner2004-12-161-6/+0
| | | | llvm-svn: 19005
* Removing commented out lines.Tanya Lattner2004-12-161-8/+3
| | | | llvm-svn: 19004
* Removed LICM and GCSE.Tanya Lattner2004-12-161-3/+3
| | | | llvm-svn: 19003
* For PR351:Reid Spencer2004-12-161-15/+14
| | | | | | | | | * Make the OutputC and OutputAsm functions work with sys::Path for the output file name instead of using std::string. * Get rid of extraneous "toString" calls. * Change "removeFile" to sys::Path::destroyFile() llvm-svn: 19000
* For PR351:Reid Spencer2004-12-161-7/+0
| | | | | | | | * Remove the "removeFile" function, now implemented by the sys::Path::destroyFile method. * Make the FileRemove work with a sys::Path instead of a std::string llvm-svn: 18999
* Remove dead #includeChris Lattner2004-12-161-1/+0
| | | | llvm-svn: 18994
* Fix a compile error. config.h is now needed because DataTypes.h doesn'tReid Spencer2004-12-161-0/+1
| | | | | | include it any more. llvm-svn: 18993
* Adjust to changes in asmwriter filenamesChris Lattner2004-12-162-4/+4
| | | | llvm-svn: 18987
* Specify all of the targets built.Chris Lattner2004-12-161-1/+1
| | | | llvm-svn: 18985
* Use the rules in Makefile.rules to build SparcV9GenCodeEmitter.inc insteadChris Lattner2004-12-162-14/+11
| | | | | | of custom rules. llvm-svn: 18984
* Fix headerChris Lattner2004-12-161-1/+1
| | | | llvm-svn: 18983
* Factor out common .td file chunks.Chris Lattner2004-12-164-27/+8
| | | | llvm-svn: 18982
* Expository comment submitted by Henrik BachJeff Cohen2004-12-161-0/+3
| | | | llvm-svn: 18976
* Fix PR485, instead of emitting zero sized arrays, emit arrays of size 1.Chris Lattner2004-12-151-0/+1
| | | | llvm-svn: 18974
* Change the signatures of the destroyFile and destroyDirectory methods toReid Spencer2004-12-152-4/+4
| | | | | | const because they affect the file system, not the Path object. llvm-svn: 18973
* Remove the CFE's lib directory from the bytecode path because LLVM shouldReid Spencer2004-12-151-7/+0
| | | | | | be agnostic to the needs of any specific FE. llvm-svn: 18969
* Remove automatic insertion of CFE's lib directory into the bytecode pathReid Spencer2004-12-151-7/+0
| | | | | | because LLVM should be agnostic to the needs of specific front ends. llvm-svn: 18968
* Add a verifier assertionChris Lattner2004-12-151-1/+12
| | | | llvm-svn: 18965
* Eliminate a virtual method callChris Lattner2004-12-151-2/+5
| | | | llvm-svn: 18964
* Fix a bug in -no-aa that caused two DSGraph tests to XPASS.Chris Lattner2004-12-151-1/+2
| | | | llvm-svn: 18962
* Fix a file overwrite bug in llvm-ar introduced by changes toReid Spencer2004-12-152-6/+16
| | | | | | | | | | createTemporaryFile semantics where it doesn't create a fully unique name if the basename doesn't exist. This functionality is now optionally provided by the boolean reuse_current parameter to createTemporaryFile and makeUnique. The default values differ because of the way these functions are used in LLVM. llvm-svn: 18961
* Adjust to new interfacesChris Lattner2004-12-151-2/+3
| | | | llvm-svn: 18958
* Adjust to new alias analysis interfacesChris Lattner2004-12-154-57/+48
| | | | llvm-svn: 18957
* Move virtual method call out of loopChris Lattner2004-12-152-6/+6
| | | | llvm-svn: 18955
* Make Win32 TimeValue::toString() re-entrant and work with mingwJeff Cohen2004-12-151-5/+9
| | | | llvm-svn: 18954
* Fix VC++ compilation errorsJeff Cohen2004-12-152-6/+3
| | | | llvm-svn: 18953
* For PR351:Reid Spencer2004-12-154-11/+17
| | | | | | | * Remove #inclusion of FileUtilities.h, not needed any more. * Convert getUniqueFilename -> sys::Pat::makeUnique() llvm-svn: 18948
* For PR351:Reid Spencer2004-12-153-22/+131
| | | | | | | | | * Fix implementation and documentation about LLVMGCCDIR/bytecode-libs * Add the makeUnique method, replacement for getUniqueFilename in Support. * Add the sys::CopyFile function, replacement for CopyFile in Support. * Move GetLLVMConfigDir() into generic code area since its generic. llvm-svn: 18947
* For PR351:Reid Spencer2004-12-151-88/+1
| | | | | | | Remove getUniqueFilename and CopyFile. These are now implemented by sys::Path::makeUnique and sys::CopyFile, respectively. llvm-svn: 18946
* Constant exprs are not efficiently negatable in practice. This disablesChris Lattner2004-12-141-4/+3
| | | | | | turning X - (constantexpr) into X + (-constantexpr) among other things. llvm-svn: 18935
OpenPOWER on IntegriCloud