summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Comment-ify.Owen Anderson2009-08-251-0/+3
| | | | llvm-svn: 80009
* Switch to SmallVector.Owen Anderson2009-08-251-2/+2
| | | | llvm-svn: 80007
* Pull out this predicate loop into a helper function.Owen Anderson2009-08-251-11/+15
| | | | llvm-svn: 80006
* Fixup register kills after scheduling.David Goodwin2009-08-251-21/+94
| | | | llvm-svn: 80002
* Provide dynamic_stackalloc lowering for MSP430.Anton Korobeynikov2009-08-252-1/+12
| | | | | | This fixes PR4769 llvm-svn: 80001
* Allocate the basic types inside the LLVMContextImpl instance,Dan Gohman2009-08-252-65/+42
| | | | | | | | | rather than separately with new. Move the members above the TypeMap members to avoid destruction order issues. This fixes a leak of these objects, and eliminates an extra level of indirection in Type::getInt32Ty and friends. llvm-svn: 79997
* Make LLVM command-line tools overwrite their output files without -f.Dan Gohman2009-08-253-9/+9
| | | | | | | | | | | | | | | | This is conventional command-line tool behavior. -f now just means "enable binary output on terminals". Add a -f option to llvm-extract and llvm-link, for consistency. Remove F_Force from raw_fd_ostream and enable overwriting and truncating by default. Introduce an F_Excl flag to permit users to enable a failure when the file already exists. This flag is currently unused. Update Makefiles and documentation accordingly. llvm-svn: 79990
* Read profile files as binary as proposed inAndreas Neustifter2009-08-251-1/+1
| | | | | | http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-August/025020.html. llvm-svn: 79983
* Fix PR4772 ARM JIT.GlobalInFuction unittest by explicitly initialize MMI Xerxes Ranby2009-08-251-1/+1
| | | | | | | | | to 0 during JITEmitter constructor. Modified: lib/ExecutionEngine/JIT/JITEmitter.cpp llvm-svn: 79982
* - Rename EmitCommonInformationEntry to EmitCIE.Bill Wendling2009-08-252-19/+15
| | | | | | - Rename EmitFunctionDescriptionEntry to EmitFDE. llvm-svn: 79981
* Update DebugInfo interface to use metadata, instead of special named ↵Devang Patel2009-08-2521-607/+419
| | | | | | | | llvm.dbg.... global variables, to encode debugging information in llvm IR. This is mostly a mechanical change that tests metadata support very well. This change speeds up llvm-gcc by more then 6% at "-O0 -g" (measured by compiling InstructionCombining.cpp!) llvm-svn: 79977
* - Emit new line after each FDE.Bill Wendling2009-08-251-1/+3
| | | | | | - Fix comment. llvm-svn: 79971
* Rename functions to something more descriptive. At the very least mention theBill Wendling2009-08-252-14/+19
| | | | | | CIE and FDE in their names. llvm-svn: 79969
* Allow multiple occurrences of -inline-threshold onDale Johannesen2009-08-251-1/+1
| | | | | | | | the command line. This gives llvm-gcc developers a way to control inlining (documented as "not intended for end users"). llvm-svn: 79966
* Handle a corner case when extracing code regions where one of the immediate ↵Owen Anderson2009-08-251-2/+20
| | | | | | | | | | successor of an extracted block contains a PHI using a value defined in the extracted region. With this patch, the partial inliner now passes MultiSource/Applications. llvm-svn: 79963
* Fix PR 4751, another difficulty with %a modifier on x86.Dale Johannesen2009-08-251-0/+4
| | | | llvm-svn: 79961
* CMake: updated list of source files.Oscar Fuentes2009-08-251-0/+1
| | | | llvm-svn: 79959
* - Remove SelectSEXTi128 from SPUISelDAGToDAG.cpp, evidently, this is redundantScott Michel2009-08-241-59/+0
| | | | | | | | code, according to Anton (I'm not totally convinced, but we can always resurrect patches if we need to do so.) - Start moving CellSPU's tests to prefer FileCheck. llvm-svn: 79958
* When extracting SEME regions of code, the extractor needs to update the ↵Owen Anderson2009-08-241-2/+18
| | | | | | dominator tree for split return blocks. llvm-svn: 79957
* 128-bit sign extension and vector shift cleanups, contributed by Ken WernerScott Michel2009-08-244-15/+107
| | | | | | (IBM). llvm-svn: 79949
* Initialize ShufBytes, as gcc 4.4 can't detect that the entire array isScott Michel2009-08-241-1/+3
| | | | | | | initialized and a warning about a potentially unintialized variable is generated. llvm-svn: 79946
* This patch cleans up the ProfileInfo byAndreas Neustifter2009-08-241-2/+4
| | | | | | | | | | | *) introducing new data type and export function of edge info for whole function (preparation for next patch). *) renaming variables to make clear distinction between data and containers that contain this data. *) updated comments and whitespaces. *) made ProfileInfo::MissingValue a double (as it should be...). (Discussed at http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090817/084955.html.) llvm-svn: 79940
* llvm-mc/Mach-O: Preliminary support for indirect symbols.Daniel Dunbar2009-08-242-17/+96
| | | | | | | | | - The indirect table itself isn't being filled in yet. - This isn't factored properly and is rather FIXMEd, but at the moment I'm more focused on figuring out what it needs to do. llvm-svn: 79910
* Fix the build with gcc-4.4 on linux: header neededDuncan Sands2009-08-241-0/+1
| | | | | | for EOF. llvm-svn: 79908
* Add llvm::Triple::getArchTypePrefix for getting the intrinsic prefix for anDaniel Dunbar2009-08-241-0/+25
| | | | | | identifier architecture. llvm-svn: 79906
* llvm-mc/Mach-O: Support symbol attributes.Daniel Dunbar2009-08-242-6/+88
| | | | | | | | - This is mostly complete, the main thing missing is .indirect_symbol support (which would be straight-forward, except that the way it is implemented in 'as' makes getting an exact .o match interesting). llvm-svn: 79899
* llvm-mc: Tweak undefined symbol handling.Daniel Dunbar2009-08-241-4/+3
| | | | llvm-svn: 79898
* Correctly account for the Spaces array nul terminator. Thanks Chris!Dan Gohman2009-08-241-2/+3
| | | | llvm-svn: 79894
* raw_ostream::indent is used for PadToColumn which often prints moreDan Gohman2009-08-241-3/+6
| | | | | | than 16 spaces. Make the Spaces array wide enough to handle common cases. llvm-svn: 79890
* eliminate a #include.Chris Lattner2009-08-241-1/+0
| | | | llvm-svn: 79888
* split raw_os_ostream out to its own header and implementation file. ThisChris Lattner2009-08-242-14/+30
| | | | | | | means that raw_ostream no longer has to #include <iosfwd>. Nothing in llvm should use raw_os_ostream.h, but llvm-gcc and some unit tests do. llvm-svn: 79886
* prune the #includes in raw_ostream.h by moving a Chris Lattner2009-08-246-3/+15
| | | | | | | member out of line. ftostr is not particularly speedy, so that method is presumably not perf sensitive. llvm-svn: 79885
* Unbreak the build for HAVE_GV platforms.Dan Gohman2009-08-241-2/+2
| | | | llvm-svn: 79883
* remove a few dead insertion methods.Chris Lattner2009-08-244-23/+2
| | | | llvm-svn: 79882
* Make linkerprivate work for ARM and PPC. Testcase coversDale Johannesen2009-08-242-6/+6
| | | | | | | | | all Darwin targets; could be split into separate tests for the chip subdirectories, but from Chris' last mail on testing I assume he'd rather have only one test. Generic seems to be the best available, maybe there should be a Darwin subdirectory? llvm-svn: 79877
* CMake: Updated library dependencies and list of source files.Oscar Fuentes2009-08-231-1/+0
| | | | llvm-svn: 79876
* remove the dead std::ostream APInt inserterChris Lattner2009-08-231-8/+2
| | | | llvm-svn: 79875
* remove the last uses of Config/alloca.hChris Lattner2009-08-235-7/+7
| | | | llvm-svn: 79873
* fix some problems with my last patch which happen when one ofChris Lattner2009-08-231-14/+11
| | | | | | | | (HAVE_GV && (HAVE_DOT || HAVE_FDP || HAVE_NEATO || \ HAVE_TWOPI || HAVE_CIRCO)) are true. llvm-svn: 79872
* just remove interpreter support for endianness mismatches. This wasChris Lattner2009-08-231-12/+0
| | | | | | | really old code from when we were running sparcv9 bc files on x86 (before I ported llvm-gcc 3 to work on x86) :) llvm-svn: 79871
* remove use of alloca.hChris Lattner2009-08-231-5/+7
| | | | llvm-svn: 79870
* Prune #includes from llvm/Linker.h and llvm/System/Path.h,Chris Lattner2009-08-2318-83/+72
| | | | | | | | | | | | | | | | | | forcing them down into various .cpp files. This change also: 1. Renames TimeValue::toString() and Path::toString() to ::str() for similarity with the STL. 2. Removes all stream insertion support for sys::Path, forcing clients to call .str(). 3. Removes a use of Config/alloca.h from bugpoint, using smallvector instead. 4. Weans llvm-db off <iostream> sys::Path really needs to be gutted, but I don't have the desire to do it at this point. llvm-svn: 79869
* llvm/Support/Streams.h is now dead, zap it.Chris Lattner2009-08-231-30/+0
| | | | llvm-svn: 79865
* Switch SubtargetFeature off of ostreamsChris Lattner2009-08-231-25/+20
| | | | llvm-svn: 79864
* eliminate the ostream version of CheckBitcodeOutputToConsole,Chris Lattner2009-08-231-23/+6
| | | | | | | change the raw_ostream one to take the raw_ostream byref instead of byptr. Prune #includes, eliminate a use of Streams.h llvm-svn: 79863
* Fix off-by-one in llvm::Format::print.Daniel Dunbar2009-08-231-5/+5
| | | | | | | | | | | | | - This also shortens the Format.h implementation, and uses the print buffer fully (it was wasting a character). - This manifested as llvm-test failures, because one side effect was that raw_ostream would write garbage '\x00' values into the output stream if it happened that the string was at the end of the buffer. This meant that grep would report 'Binary file matches', which meant the silly pattern matching llvm-test eventually does would fail. Cute. :) llvm-svn: 79862
* SJLJ pass needs to punt if there's no personality function available.Jim Grosbach2009-08-231-23/+27
| | | | llvm-svn: 79858
* clean up #includes.Chris Lattner2009-08-231-8/+4
| | | | llvm-svn: 79857
* Fix PR4753.Jakob Stoklund Olesen2009-08-231-1/+15
| | | | | | | | When undoing a reuse in ReuseInfo::GetRegForReload, check if it was only a sub-register being used. The MachineOperand::getSubReg() method is only valid for virtual registers, so we have to recover the sub-register index manually. llvm-svn: 79855
* Remove Streams.h from the targets.Benjamin Kramer2009-08-234-31/+26
| | | | llvm-svn: 79853
OpenPOWER on IntegriCloud