summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* For PR351:Reid Spencer2004-12-153-3/+0
| | | | | | Remove #inclusion of Support/FileUtilities.h which isn't needed any more. llvm-svn: 18950
* For PR351:Reid Spencer2004-12-153-20/+34
| | | | | | * Convert use of getUniqueFilename to sys::Path::makeUnique(); llvm-svn: 18949
* 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-154-23/+147
| | | | | | | | | * 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-152-99/+1
| | | | | | | Remove getUniqueFilename and CopyFile. These are now implemented by sys::Path::makeUnique and sys::CopyFile, respectively. llvm-svn: 18946
* Add some system specific functions we useReid Spencer2004-12-153-2/+16
| | | | llvm-svn: 18945
* Remove most references to LLVM_LIB_SEARCH_PATH. It now only exists in theReid Spencer2004-12-154-61/+17
| | | | | | | GettingStarted.html document in the environment section and only as an optional feature. llvm-svn: 18944
* Fix the default install directory of modules from / to $(libdir) !Reid Spencer2004-12-141-1/+1
| | | | | | Many thanks to Vladimir Merzliakov for pointing this out! llvm-svn: 18942
* Use user time, not wall time, for optimizer time.Chris Lattner2004-12-141-2/+2
| | | | llvm-svn: 18941
* Correct documentation to reflect the change in location of the CFE runtimeReid Spencer2004-12-144-11/+11
| | | | | | libraries. They are now in $CFEINSTALL/lib not $CFEINSTALL/bytecode-lib. llvm-svn: 18939
* 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
* Add the getMagicNumber method.Reid Spencer2004-12-141-0/+19
| | | | | | Patch contributed by Henrik Bach. Thanks Henrik! llvm-svn: 18933
* The mystery of Olden/tsp solved, and more opportunities for speedup.Brian Gaeke2004-12-141-0/+6
| | | | llvm-svn: 18932
* Get rid of shifts by zero in most cases.Brian Gaeke2004-12-142-12/+6
| | | | llvm-svn: 18931
* Implement Win32 Path::getStatusInfo(), TimeValue::toString()Jeff Cohen2004-12-144-9/+58
| | | | llvm-svn: 18930
* For PR351:Reid Spencer2004-12-144-141/+84
| | | | | | | * Change ExecWait calls to sys::Program::ExecuteAndWait * Convert to use sys::Path where it makes sense llvm-svn: 18929
* For PR351:Reid Spencer2004-12-142-5/+12
| | | | | | Implement the new environment pointer for ExecuteAndWait llvm-svn: 18928
* For PR351:Reid Spencer2004-12-141-78/+3
| | | | | | * Remove the ExecWait function. This is now in sys::Program::ExecuteAndWait llvm-svn: 18927
* For PR351:Reid Spencer2004-12-141-10/+15
| | | | | | | * Fix commentary, wrap lines, etc. * Add an environment pointer to the ExecuteAndWait function. llvm-svn: 18926
* Revert the last patch as it causes a static destruction ordering problem.Reid Spencer2004-12-141-3/+5
| | | | llvm-svn: 18925
* For PR351:Reid Spencer2004-12-132-15/+17
| | | | | | Adjust to interface change for FindExecutable. llvm-svn: 18920
* For PR351:Reid Spencer2004-12-131-5/+5
| | | | | | | Adjust to changes in the interface of FindExecutable, getting ToolRunner ready for bigger things to come. llvm-svn: 18919
* For PR351:Reid Spencer2004-12-131-64/+13
| | | | | | | * Remove isExecutable as its now implemented by sys::Path::executable * Make FindExecutable a thin veneer over sys::Program::FindProgramByName. llvm-svn: 18918
* For PR351:Reid Spencer2004-12-131-7/+2
| | | | | | | * isExecutable -> sys::Path::executable() * Adjust interface of FindExecutable to return a sys::Path llvm-svn: 18917
* For PR351:Reid Spencer2004-12-138-451/+1
| | | | | | | | llee was a nice hack, but it wasn't portable so its gone, with Misha's approval. Operating systems have facilities available for making bytecode directly executable without this utility. llvm-svn: 18916
* When generating code for X86 targets, make sure the fp control word is setChris Lattner2004-12-131-0/+13
| | | | | | to 64-bit precision, not 80 bits. llvm-svn: 18915
* Minor cleanupsMisha Brukman2004-12-131-2/+2
| | | | llvm-svn: 18914
* Fix link error in PPC optimized build of 'opt'.Brian Gaeke2004-12-131-0/+1
| | | | llvm-svn: 18913
* For PR351:Reid Spencer2004-12-132-68/+0
| | | | | | | Remove AllocateRWXMemory as it is not used any more in LLVM. The function has been replaced with sys::Memory::AllocateRWX several months ago. llvm-svn: 18912
* Add some notesChris Lattner2004-12-131-1/+21
| | | | llvm-svn: 18911
* For PR351:Reid Spencer2004-12-132-51/+0
| | | | | | | | Remove the MakeFileReadable and MakeFileExecutable functions which are no longer present in LLVM. They have been replaced with the sys::Path methods makeReadable and makeExecutable, respectively. llvm-svn: 18910
* For PR351:Reid Spencer2004-12-132-6/+6
| | | | | | | Replace MakeFileReadable and MakeFileExecutable (from FileUtilities) with sys::Path::makeReadable and sys::Path:makeExecutable, respectively. llvm-svn: 18909
* Get rid of getSizeOf, using ConstantExpr::getSizeOf instead.Chris Lattner2004-12-131-20/+33
| | | | | | | | | | | do not insert a prototype for malloc of: void* malloc(uint): on 64-bit u targets this is not correct. Instead of prototype it as void *malloc(...), and pass the correct intptr_t through the "...". Finally, fix Regression/CodeGen/SparcV9/2004-12-13-MallocCrash.ll, by not forming constantexpr casts from pointer to uint. llvm-svn: 18908
* For PR351:Reid Spencer2004-12-133-0/+61
| | | | | | | | | | Implement three new functions to allow setting access/permission bits on the file referenced by a path. The makeReadable and makeExecutable methods replace the FileUtilities MakeFileReadable and MakeFileExecutable functions. The makeWritable function is new and provided for consistency since Path has a writable() method. llvm-svn: 18907
* Change this method to return ulong, not uint, for 64-bit targets.Chris Lattner2004-12-132-6/+5
| | | | llvm-svn: 18906
* New testcase that crashes the V9 backend.Chris Lattner2004-12-131-0/+6
| | | | llvm-svn: 18905
* Genericize implementation of GetDLLSuffix now that we have LTDL_SHLIB_EXTReid Spencer2004-12-139-40/+6
| | | | | | available. llvm-svn: 18904
* For PR351:Reid Spencer2004-12-132-57/+0
| | | | | | | | The ReadFileIntoAddressSpace and UnmapFileFromAddressSpace functions are no longer used by LLVM. Remove them. Replacement functionality for both functions is now encapsulated in the sys::MappedFile class. llvm-svn: 18903
* For PR351:Reid Spencer2004-12-131-20/+6
| | | | | | | | Use sys::MappedFile instead of ReadFileIntoAddressSpace and UnmapFileFromAddressSpace. sys::MappedFile has the nice property that it cleans up after itself so exception handling can be removed. llvm-svn: 18902
* Fix typo.Alkis Evlogimenos2004-12-131-1/+1
| | | | llvm-svn: 18901
* Fix this testChris Lattner2004-12-131-1/+1
| | | | llvm-svn: 18900
* Add llvm tool variables.Alkis Evlogimenos2004-12-131-0/+9
| | | | llvm-svn: 18897
* For PR351:Reid Spencer2004-12-131-59/+58
| | | | | | | * Change use of ReadFileIntoAddressSpace to sys::MappedFile use. * Shorten a line > 80 chars. llvm-svn: 18896
* Set the rounding mode for the X86 FPU to 64-bits instead of 80-bits. WeChris Lattner2004-12-131-0/+22
| | | | | | | | | | | don't support long double anyway, and this gives us FP results closer to other targets. This also speeds up 179.art from 41.4s to 18.32s, by eliminating a problem with extra precision that causes an FP == comparison to fail (leading to extra loop iterations). llvm-svn: 18895
* Make the loop termination condition clear when building the set of items toReid Spencer2004-12-132-6/+3
| | | | | | pass to the Linker::LinkInItems function. llvm-svn: 18894
* For PR351: libLLVMSupport now depends on libLLVMSystemReid Spencer2004-12-131-1/+1
| | | | llvm-svn: 18893
* For PR351: \Reid Spencer2004-12-136-39/+27
| | | | | | | | The getFileTimestamp and getFileSize functions have been removed from \ FileUtilities.{h,cpp}. They are replaced by Path::getTimestamp and \ Path::getSize,respectively. llvm-svn: 18892
* Added a size_type typedef to LLVM containers to make Visual Studio shut upReid Spencer2004-12-133-3/+5
| | | | | | (and possibly to make LLVM more x86 64bit friendly). llvm-svn: 18891
* Add a convenience function for clearing the two global areas.Reid Spencer2004-12-131-0/+7
| | | | | | Patch contributed by Morten Ofsted. llvm-svn: 18890
* Get rid of some leaks found by VC leak detector.Reid Spencer2004-12-132-5/+8
| | | | | | Patch contributed by Morten Ofsted. llvm-svn: 18889
OpenPOWER on IntegriCloud