summaryrefslogtreecommitdiffstats
path: root/llvm/tools
Commit message (Collapse)AuthorAgeFilesLines
* Use 'static const char' instead of 'static const int'.Devang Patel2007-05-026-22/+22
| | | | | | | Due to darwin gcc bug, one version of darwin linker coalesces static const int, which defauts PassID based pass identification. llvm-svn: 36652
* Do not use typeinfo to identify pass in pass manager.Devang Patel2007-05-016-5/+46
| | | | llvm-svn: 36632
* add phiChris Lattner2007-05-011-1/+5
| | | | llvm-svn: 36611
* Augment the verbose output to print out the sub-commands executed.Reid Spencer2007-04-291-8/+29
| | | | llvm-svn: 36581
* Implement much expanded dumper support. We now print stuff like:Chris Lattner2007-04-291-12/+158
| | | | | | | | | | | | | | | | | | <MODULE_BLOCK NumWords=27 BlockCodeSize=3> <TYPE_BLOCK NumWords=7 BlockCodeSize=4> <NUMENTRY op0=7> <POINTER op0=1> <FUNCTION op0=0 op1=2 op2=2 op3=2 op4=2> <VECTOR op0=2 op1=3> <INTEGER op0=64> <VECTOR op0=8 op1=5> <INTEGER op0=16> <VOID> ... With work, the operands can be pretty printed symbolically. llvm-svn: 36579
* add some simple per-block statisticsChris Lattner2007-04-291-8/+104
| | | | llvm-svn: 36576
* Implement support to read an arbitrary bitcode file. Next up, dumping theChris Lattner2007-04-291-9/+78
| | | | | | file symbolically and actually computing statistics. llvm-svn: 36557
* very early support for analyzing a bitstream. This opens the file, startsChris Lattner2007-04-291-7/+67
| | | | | | reading the stream, and detects whether it is LLVM IR or not. llvm-svn: 36556
* Switch the bitcode reader interface to take a MemoryBuffer instead of knowingChris Lattner2007-04-291-6/+24
| | | | | | | | | | | | | | anything about disk I/O itself. This greatly simplifies its interface - eliminating the need for the ReaderWrappers.cpp file. This adds a new option to llvm-dis (-bitcode) which instructs it to read the input file as bitcode. Until/unless the bytecode reader is taught to read from MemoryBuffer, there is no way to handle stdin reading without it. I don't plan to switch the bytecode reader over, I'd rather delete it :), so the option will stay around temporarily. llvm-svn: 36554
* fit in 80 colsChris Lattner2007-04-291-6/+5
| | | | llvm-svn: 36551
* reset errno to zero on entry to the application's main function. This fixesChris Lattner2007-04-271-1/+5
| | | | | | | | MultiSource/Applications/minisat in the JIT. Note that the libsystem stuff should ideally never modify errno. :( llvm-svn: 36508
* Add new option to usage help.Jeff Cohen2007-04-221-0/+1
| | | | llvm-svn: 36347
* don't break reading from stdinChris Lattner2007-04-221-2/+3
| | | | llvm-svn: 36336
* link in bitwriter libraryChris Lattner2007-04-221-1/+1
| | | | llvm-svn: 36335
* teach llvm-dis to read bitcode filesChris Lattner2007-04-222-4/+9
| | | | llvm-svn: 36334
* add a temporary -bitcode option, which instructs llvm-as to produce a ↵Chris Lattner2007-04-221-2/+11
| | | | | | bitcode file instead of a bytecode file llvm-svn: 36333
* For PR1146:Reid Spencer2007-04-222-39/+68
| | | | | | | | Make ParamAttrsList objects unique. You can no longer directly create or destroy them but instead must go through the ParamAttrsList::get() interface. llvm-svn: 36327
* Add the --host-target option.Reid Spencer2007-04-221-0/+2
| | | | llvm-svn: 36326
* remove cruftChris Lattner2007-04-201-3/+0
| | | | llvm-svn: 36268
* Regenerate.Reid Spencer2007-04-163-274/+286
| | | | llvm-svn: 36106
* For PR1336:Reid Spencer2007-04-161-0/+5
| | | | | | | Functions without names deserve to be created too. This fixes: test/CodeGen/Generic/vector-constantexpr.ll llvm-svn: 36105
* For PR1336:Reid Spencer2007-04-161-3/+4
| | | | | | | When upgrading global vars, look for conflicts with functions as well. This fixes test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll llvm-svn: 36103
* Regenerate.Reid Spencer2007-04-163-346/+400
| | | | llvm-svn: 36096
* For PR1336:Reid Spencer2007-04-161-39/+66
| | | | | | | | | Rewrite the upgrade of GEP indices to be a little less obtuse. This fixes test/Assembler/2002-08-19-BytecodeReader.llx test/Assembler/2003-08-21-ConstantExprCast-Fold.llx test/Assembler/2004-01-11-getelementptrfolding.llx llvm-svn: 36095
* Make the generated code for ConstantInt nicer.Reid Spencer2007-04-111-2/+2
| | | | llvm-svn: 35902
* Teach llvm2cpp about packed structure types.Reid Spencer2007-04-111-1/+2
| | | | llvm-svn: 35899
* Fix several bugs relating to changes in the LLVM IR API or just outrightReid Spencer2007-04-111-32/+27
| | | | | | | typos in the output. This is sufficient to get most of the llvm2cpp tests working again. llvm-svn: 35898
* Regenerate.Reid Spencer2007-04-113-271/+273
| | | | llvm-svn: 35897
* Fix a crash-by-unknown-exception caused by attempting to use a null pointerReid Spencer2007-04-111-1/+2
| | | | | | as the key for a map insertion. llvm-svn: 35896
* Fix some issues with param attrs.Reid Spencer2007-04-111-1/+4
| | | | llvm-svn: 35894
* Add support for parameter attributes.Reid Spencer2007-04-111-1/+26
| | | | llvm-svn: 35893
* For PR1146:Reid Spencer2007-04-113-24/+24
| | | | | | | Put the parameter attributes in their own ParamAttr name space. Adjust the rest of llvm as a result. llvm-svn: 35877
* Enable loop rotate pass.Devang Patel2007-04-101-0/+1
| | | | llvm-svn: 35863
* RegenerateReid Spencer2007-04-093-317/+349
| | | | llvm-svn: 35813
* For PR1146:Reid Spencer2007-04-091-25/+41
| | | | | | Adapt handling of parameter attributes to use ParamAttrsList class. llvm-svn: 35812
* Make TempDir a PathWithStatus so we don't have to cast it to one.Reid Spencer2007-04-081-3/+2
| | | | llvm-svn: 35772
* Avoid temporary construction and potential for corrupted data access.Reid Spencer2007-04-081-3/+2
| | | | llvm-svn: 35771
* Don't rely on destructed local storage. Thanks, Chris.Reid Spencer2007-04-081-6/+6
| | | | llvm-svn: 35769
* For PR1291:Reid Spencer2007-04-073-5/+10
| | | | | | | Change uses of sys::Path class to sys::PathWithStatus in those places where the file status information is needed. llvm-svn: 35743
* Regenerate.Reid Spencer2007-04-072-54/+66
| | | | llvm-svn: 35736
* For PR1312:Reid Spencer2007-04-071-2/+8
| | | | | | | | For the short CALL/INVOKE syntax, the signedness of the result type is two extractions away from the type argument because its a POINTER to function type, not a function type. llvm-svn: 35735
* run a late dce pass to clean up extra cruft.Chris Lattner2007-04-051-0/+1
| | | | llvm-svn: 35684
* For PR1302:Reid Spencer2007-04-041-12/+13
| | | | | | | Rename LinkItems as NativeLinkItems since it is filled out by the Linker library to contain only those items deemed to be native. llvm-svn: 35654
* RegenerateReid Spencer2007-04-023-268/+306
| | | | llvm-svn: 35579
* Upgrade the bit count intrinsics to have an i32 result.Reid Spencer2007-04-021-0/+19
| | | | llvm-svn: 35578
* RegenerateReid Spencer2007-04-023-328/+362
| | | | llvm-svn: 35571
* Don't upgrade functions that look like a bswap intrinsic but aren't.Reid Spencer2007-04-021-1/+1
| | | | llvm-svn: 35570
* Handle upgrade of llvm.bswap.iXX to llvm.bswap.iXX.iXX per new namingReid Spencer2007-04-021-30/+47
| | | | | | rules for overloaded intrinsic functions. llvm-svn: 35565
* Remove some non-sensical logic that prevented llvm-nm from working on anyReid Spencer2007-03-291-5/+0
| | | | | | file other than one named "-". llvm-svn: 35478
* For PR789:Reid Spencer2007-03-293-21/+21
| | | | | | | | Make the sys::Path::getFileStatus function more efficient by having it return a pointer to the FileStatus structure rather than copy it. Adjust uses of the function accordingly. Also, fix some memory issues in sys::Path. llvm-svn: 35476
OpenPOWER on IntegriCloud