- Jul 11, 2005
-
-
Chris Lattner authored
characters from them. llvm-svn: 22371
-
Chris Lattner authored
llvm-svn: 22369
-
- Jul 10, 2005
-
-
Chris Lattner authored
This is the last MVTSDNode. This allows us to eliminate a bunch of special case code for handling MVTSDNodes. Also, remove some uses of dyn_cast that should really be cast (which is cheaper in a release build). llvm-svn: 22368
-
Chris Lattner authored
This is the last MVTSDNode. This allows us to eliminate a bunch of special case code for handling MVTSDNodes. llvm-svn: 22367
-
Chris Lattner authored
llvm-svn: 22366
-
Chris Lattner authored
MVTSDNode class. This class is used to provide an operand to operators that require an extra type. We start by converting FP_ROUND_INREG and SIGN_EXTEND_INREG over to using it. llvm-svn: 22364
-
- Jul 09, 2005
-
-
Jeff Cohen authored
llvm-svn: 22363
-
Jeff Cohen authored
2. Fix bug in eraseSuffix where it allows /path/.suffix to become /path/ llvm-svn: 22362
-
- Jul 08, 2005
-
-
Reid Spencer authored
exist but just return false instead. llvm-svn: 22361
-
Reid Spencer authored
1. Use isValid() to check validity of the resulting path name in the eraseSuffix even though we can't think of a case where eraseSuffix could possibly cause an invalid path name. 2. Rewrite isValid() to not use the deprecated realpath function any more. It now just uses isascii to make sure all the characters are legit. llvm-svn: 22359
-
Chris Lattner authored
Add support for emitting external and .bss symbols. llvm-svn: 22358
-
Jeff Cohen authored
llvm-svn: 22357
-
Jeff Cohen authored
llvm-svn: 22356
-
Jeff Cohen authored
llvm-svn: 22355
-
Reid Spencer authored
This chagne just renames some sys::Path methods to ensure they are not misused. The Path documentation now divides methods into two dimensions: Path/Disk and accessor/mutator. Path accessors and mutators only operate on the Path object itself without making any disk accesses. Disk accessors and mutators will also access or modify the file system. Because of the potentially destructive nature of disk mutators, it was decided that all such methods should end in the work "Disk" to ensure the user recognizes that the change will occur on the file system. This patch makes that change. The method name changes are: makeReadable -> makeReadableOnDisk makeWriteable -> makeWriteableOnDisk makeExecutable -> makeExecutableOnDisk setStatusInfo -> setStatusInfoOnDisk createDirectory -> createDirectoryOnDisk createFile -> createFileOnDisk createTemporaryFile -> createTemporaryFileOnDisk destroy -> eraseFromDisk rename -> renamePathOnDisk These changes pass the Linux Deja Gnu tests. llvm-svn: 22354
-
Jeff Cohen authored
llvm-svn: 22353
-
Nate Begeman authored
Add support for running bugpoint on mac os x for intel llvm-svn: 22351
-
Reid Spencer authored
been compiled or tested. llvm-svn: 22350
-
Reid Spencer authored
Get rid of the difference between file paths and directory paths. The Path class now simply stores a path that can refer to either a file or a directory. This required various changes in the implementation and interface of the class with the corresponding impact to its users. Doxygen comments were also updated to reflect these changes. Interface changes are: appendDirectory -> appendComponent appendFile -> appendComponent elideDirectory -> eraseComponent elideFile -> eraseComponent elideSuffix -> eraseSuffix renameFile -> rename setDirectory -> set setFile -> set Changes pass Dejagnu and llvm-test/SingleSource tests. llvm-svn: 22349
-
- Jul 07, 2005
-
-
Chris Lattner authored
Because the instcombine has to scan the entire function when it starts up to begin with, we might as well do it in DFO so we can nuke unreachable code. This fixes: Transforms/InstCombine/2005-07-07-DeadPHILoop.ll llvm-svn: 22348
-
Andrew Lenharth authored
llvm-svn: 22346
-
Reid Spencer authored
Change interface to Path class: readable -> canRead writable -> canWrite executable -> canExecute More (incremental) changes coming to close 495. llvm-svn: 22345
-
Chris Lattner authored
This fixes the regressions from last night. llvm-svn: 22344
-
Chris Lattner authored
module to the ELF file. Test it by adding support for emitting common symbols. This allows us to compile this: %X = weak global int 0 %Y = weak global int 0 %Z = weak global int 0 to an elf file that 'readelf's this: Symbol table '.symtab' contains 4 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND 1: 00000004 4 OBJECT GLOBAL DEFAULT COM X 2: 00000004 4 OBJECT GLOBAL DEFAULT COM Y 3: 00000004 4 OBJECT GLOBAL DEFAULT COM Z llvm-svn: 22343
-
Nate Begeman authored
llvm-svn: 22341
-
- Jul 06, 2005
-
-
Nate Begeman authored
XMM registers. There are many known deficiencies and fixmes, which will be addressed ASAP. The major benefit of this work is that it will allow the LLVM register allocator to allocate FP registers across basic blocks. The x86 backend will still default to x87 style FP. To enable this work, you must pass -enable-sse-scalar-fp and either -sse2 or -sse3 to llc. An example before and after would be for: double foo(double *P) { double Sum = 0; int i; for (i = 0; i < 1000; ++i) Sum += P[i]; return Sum; } The inner loop looks like the following: x87: .LBB_foo_1: # no_exit fldl (%esp) faddl (%eax,%ecx,8) fstpl (%esp) incl %ecx cmpl $1000, %ecx #FP_REG_KILL jne .LBB_foo_1 # no_exit SSE2: addsd (%eax,%ecx,8), %xmm0 incl %ecx cmpl $1000, %ecx #FP_REG_KILL jne .LBB_foo_1 # no_exit llvm-svn: 22340
-
- Jul 05, 2005
-
-
Chris Lattner authored
1. Pass Value*'s into lowering methods so that the proper pointers can be added to load/stores from the valist 2. Intrinsics that return void should only return a token chain, not a token chain/retval pair. 3. Rename LowerVAArgNext -> LowerVAArg, because VANext is long gone. 4. Now that we have Value*'s available in the lowering methods, pass them into any load/stores from the valist that are emitted llvm-svn: 22339
-
Chris Lattner authored
1. Pass Value*'s into lowering methods so that the proper pointers can be added to load/stores from the valist 2. Intrinsics that return void should only return a token chain, not a token chain/retval pair. 3. Rename LowerVAArgNext -> LowerVAArg, because VANext is long gone. llvm-svn: 22338
-
Andrew Lenharth authored
1: Legalize operand in UINT_TO_FP expanision 2: SRA x, const i8 was not promoting the constant to shift amount type. llvm-svn: 22337
-
Chris Lattner authored
llvm-svn: 22336
-
Chris Lattner authored
llvm-svn: 22335
-
- Jul 04, 2005
-
-
Andrew Lenharth authored
llvm-svn: 22332
-
- Jul 03, 2005
-
-
Andrew Lenharth authored
llvm-svn: 22331
-
Chris Lattner authored
llvm-svn: 22330
-
- Jul 02, 2005
-
-
Andrew Lenharth authored
and legalizing the extload. Strange. Should fix most alpha regressions. llvm-svn: 22329
-
Nate Begeman authored
llvm-svn: 22327
-
Chris Lattner authored
is at least overloading the right virtual methods. The implementations are currently wrong though. This fixes Ptrdist/bc, but not other programs (e.g. siod). llvm-svn: 22326
-
Chris Lattner authored
by Aaron Gray, cleaned up by me. llvm-svn: 22324
-
- Jul 01, 2005
-
-
Andrew Lenharth authored
llvm-svn: 22323
-
Andrew Lenharth authored
llvm-svn: 22322
-