summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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-143-9/+50
| | | | llvm-svn: 18930
* 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
* 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-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
* 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
* Fix link error in PPC optimized build of 'opt'.Brian Gaeke2004-12-131-0/+1
| | | | llvm-svn: 18913
* For PR351:Reid Spencer2004-12-131-61/+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-131-39/+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
* 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-132-0/+45
| | | | | | | | | | 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-131-5/+4
| | | | llvm-svn: 18906
* 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-131-46/+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
* 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
* For PR351: \Reid Spencer2004-12-132-23/+6
| | | | | | | | 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
* Get rid of some leaks found by VC leak detector.Reid Spencer2004-12-132-5/+8
| | | | | | Patch contributed by Morten Ofsted. llvm-svn: 18889
* Fix a bug where "." or any single character file name doesn't get theReid Spencer2004-12-131-1/+1
| | | | | | terminating / when setDirectory is called. llvm-svn: 18886
* Remove an always false clause from an if statement.Reid Spencer2004-12-131-1/+1
| | | | llvm-svn: 18885
* Fix a bug where directory names of length one or less where not setAlkis Evlogimenos2004-12-131-1/+1
| | | | | | properly (examples: "", ".", "a"). llvm-svn: 18883
* * Add a std::ostream inserter for sys::PathReid Spencer2004-12-132-2/+2
| | | | | | * Correct the std::string constructor to take a const reference. llvm-svn: 18877
* Fix recent breakage of win32 buildJeff Cohen2004-12-132-9/+1
| | | | llvm-svn: 18876
* * Fix header block.Reid Spencer2004-12-131-8/+8
| | | | | | | | * Fix loop style per standards * Don't create a new Module when the Linker's module is released. * Add/fix function comments. llvm-svn: 18871
* Add missing space in a comment.Reid Spencer2004-12-131-1/+1
| | | | llvm-svn: 18870
* Make sure the Archive gets deleted if there's an error.Reid Spencer2004-12-131-4/+4
| | | | llvm-svn: 18869
* Fix header and function comments.Reid Spencer2004-12-131-14/+6
| | | | llvm-svn: 18867
* Implement new functions per new interfaceReid Spencer2004-12-131-55/+48
| | | | llvm-svn: 18866
* For PR351: \Reid Spencer2004-12-131-67/+54
| | | | | | | | * Remove IsLibrary and GetLibraryPath, replaced by FindLibrary in ../Path.cpp \ * Implement GetSystemLibraryPaths and GetBytecodeLibraryPaths, instead of the \ GetSystemLibraryPath1 and GetSystemLibraryPath2 methods llvm-svn: 18862
* For PR351: \Reid Spencer2004-12-131-0/+31
| | | | | | | | * Move generic isArchive method here from Unix/Path.cpp \ * Implement isDynamicLibrary \ * Implement FindLibrary for Linker llvm-svn: 18861
* This file contains basic Linker facilities needed by all toolsReid Spencer2004-12-131-0/+166
| | | | llvm-svn: 18860
* Make LinkModules a static member functionReid Spencer2004-12-131-1/+2
| | | | llvm-svn: 18859
* This file contains only the Linker's library linking supportReid Spencer2004-12-131-0/+70
| | | | llvm-svn: 18858
* For PR351: \Reid Spencer2004-12-131-122/+12
| | | | | | | | * Remove redundant static function LinkOneLibrary. \ * Remove unneded #includes \ * Convert FileSupport usage to sys::Path instead llvm-svn: 18857
* This file contains only the Linker's file linking supportReid Spencer2004-12-131-0/+89
| | | | llvm-svn: 18856
* For PR351: \Reid Spencer2004-12-131-284/+32
| | | | | | | | | * Convert functions to Linker:: methods. \ * Remove unneeded #includes \ * Utilize sys::Path utilities not FileSupport utilities \ * Move File & Library linking functions to other source files llvm-svn: 18855
* For PR351: \Reid Spencer2004-12-132-49/+17
| | | | | | | * Get file information from a MappedFile instance \ * Convert file type tests to sys::Path form llvm-svn: 18854
* Implement error handling in OpenAndLoad* functions so the Linker can handle it.Reid Spencer2004-12-131-13/+22
| | | | llvm-svn: 18853
* Make the size() method constReid Spencer2004-12-131-1/+1
| | | | llvm-svn: 18852
* For PR351:Remove the file type checking methods (now in sys::Path)Reid Spencer2004-12-131-54/+0
| | | | llvm-svn: 18846
* Add V8 SPEC status.Brian Gaeke2004-12-131-0/+10
| | | | llvm-svn: 18844
OpenPOWER on IntegriCloud