summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Do not emit empty DW_TAG_lexical_block DIEs. In one test case, size of ↵Devang Patel2011-02-191-17/+20
| | | | | | debug info reduced by almost 7%. llvm-svn: 126009
* DIE numbers do not add any value in this test. Devang Patel2011-02-191-5/+5
| | | | llvm-svn: 126008
* [analyzer] Fix crash when analyzing C++ code.Argyrios Kyrtzidis2011-02-192-3/+5
| | | | llvm-svn: 126007
* [analyzer] Disable a test until inlining CXXConstructExprs is fully ↵Argyrios Kyrtzidis2011-02-191-0/+11
| | | | | | investigated. llvm-svn: 126006
* Give SplitAnalysis a VRM member to access VirtRegMap::getOriginal().Jakob Stoklund Olesen2011-02-193-5/+7
| | | | llvm-svn: 126005
* Avoid dangling else warnings.Joerg Sonnenberger2011-02-191-1/+2
| | | | llvm-svn: 126004
* Missed member rename for naming convention.Jakob Stoklund Olesen2011-02-192-9/+9
| | | | llvm-svn: 126003
* This method belonged in VirtRegMap.Jakob Stoklund Olesen2011-02-193-10/+10
| | | | llvm-svn: 126002
* Separate timers for local and global splitting.Jakob Stoklund Olesen2011-02-191-2/+5
| | | | llvm-svn: 126001
* Make "-opt [-emit-llvm]" work for .ll files.Mikhail Glushenkov2011-02-191-2/+4
| | | | | | Patch by Kaelyn Uhrain! llvm-svn: 126000
* Improve bool and char integral template argument printing inChandler Carruth2011-02-192-2/+49
| | | | | | | | | diagnostics, resolving PR9227. Patch originally by Mihai Rusu and Stephen Hines with some minimal style tweaks from me. llvm-svn: 125999
* Fix a missed case in the NULL operand to conditional operatorChandler Carruth2011-02-193-1/+7
| | | | | | | | diagnostics. Patch by Stephen Hines. llvm-svn: 125998
* Update the test error messages to match the update I made to the actualChandler Carruth2011-02-191-3/+3
| | | | | | messages. llvm-svn: 125997
* Fix PR8767, improve diagnostic wording when allocating an object of anChandler Carruth2011-02-187-26/+26
| | | | | | | | abstract class type. Patch by Stephen Hines, with a wording tweak from Doug applied by me. llvm-svn: 125996
* Initial steps to improve diagnostics when there is a NULL andChandler Carruth2011-02-1810-22/+140
| | | | | | | | a non-pointer on the two sides of a conditional expression. Patch by Stephen Hines and Mihai Rusu. llvm-svn: 125995
* Add code to emulate LDRB (register) Arm instruction.Caroline Tice2011-02-182-2/+163
| | | | llvm-svn: 125994
* Check for NULL child expressions before visiting them, as the firstChandler Carruth2011-02-181-1/+2
| | | | | | thing the visit does is dyn_cast<>, which leads to a nasty segfault. llvm-svn: 125993
* Add emulation methods for "ORR (immediate)" and "ORR (register)".Johnny Chen2011-02-181-8/+200
| | | | | | | Add Encoding T3 of "MOV (register)" to EmulateMOVRdRm() method and fixed some bugs in EmulateMOVRdImm() and EmulateMOVRdRm() methods. llvm-svn: 125992
* When code-completing a case statement for a switch on a value ofDouglas Gregor2011-02-185-13/+29
| | | | | | | enumeration type, prioritize the enumeration constants and don't provide completions for any other expressions. Fixes <rdar://problem/7283668>. llvm-svn: 125991
* Start using enums from DIBuilder.Devang Patel2011-02-181-9/+9
| | | | llvm-svn: 125990
* Provide enums to build complex address calucation expressions.Devang Patel2011-02-181-0/+1
| | | | | | (This is infact direct copy from DIFactory, which is disappearing soon.) llvm-svn: 125989
* Remove unused tag.Devang Patel2011-02-181-1/+0
| | | | llvm-svn: 125988
* These tags are now covered by dwarf::TagString().Devang Patel2011-02-181-9/+1
| | | | llvm-svn: 125987
* Provide tag strings for llvm specific tags.Devang Patel2011-02-182-1/+4
| | | | llvm-svn: 125986
* More correct fix for CMake breakage I was seeing, my buildbots useDaniel Dunbar2011-02-182-1/+3
| | | | | | LLVM_INCLUDE_TESTS:=OFF, which may no longer be necessary for all I know. llvm-svn: 125985
* Do not lose debug info of an inlined function argument even if the argument ↵Devang Patel2011-02-186-18/+101
| | | | | | | | is only used through GEPs. This time with a fix that avoids using invalidated DenseMap iterator. llvm-svn: 125984
* Update text for where to file analyzer bugs.Ted Kremenek2011-02-181-1/+1
| | | | llvm-svn: 125983
* Test case for // rdar://8850818Fariborz Jahanian2011-02-181-0/+14
| | | | llvm-svn: 125982
* Now that -loop-idiom uses TargetLibraryInfo properly, it doesn'tChris Lattner2011-02-181-5/+4
| | | | | | | | | need to be pulled out of the pass manager when the user specifies -fno-builtin. It can intelligently determine which libcalls to optimize based on what is enabled in TargetLibraryInfo. This allows -fno-builtin-foo to work someday. llvm-svn: 125981
* Use VirtRegMap's Virt2SplitMap to keep track of the original live range ↵Jakob Stoklund Olesen2011-02-183-2/+12
| | | | | | | | before splitting. All new virtual registers created for spilling or splitting point back to their original. llvm-svn: 125980
* If -fno-builtin is passed, tell TargetLibraryInfo toChris Lattner2011-02-181-2/+9
| | | | | | turn off all builtin optimizations. llvm-svn: 125979
* add a way to disable all builtins, wire it up to opt's ↵Chris Lattner2011-02-183-2/+16
| | | | | | -disable-simplifylibcalls flag. llvm-svn: 125978
* Selector::getIdentifierInfoForSlot() can return NULL values, a factDouglas Gregor2011-02-188-23/+72
| | | | | | | | | | | | that was ignored in a few places (most notably, code completion). Introduce Selector::getNameForSlot() for the common case where we only care about the name. Audit all uses of getIdentifierInfoForSlot(), switching many over to getNameForSlot(), fixing a few crashers. Fixed <rdar://problem/8939352>, a code-completion crasher. llvm-svn: 125977
* Unbreak CMake build on MSVC9, chapuni please check.Daniel Dunbar2011-02-181-1/+1
| | | | | | | | | | | Without this I get: -- -- Generating done CMake Error: Unknown Target referenced : check.deps CMake Error: Target: check-all depends on unknown target: check.deps -- llvm-svn: 125976
* Add code to emulate LDRB (literal) Arm instruction.Caroline Tice2011-02-181-0/+86
| | | | llvm-svn: 125975
* Make loop-idiom use TargetLibraryInfo to determine whether it is allowedChris Lattner2011-02-181-1/+18
| | | | | | to hack on memset, memcpy etc. llvm-svn: 125974
* add memset and memcpy, though they are always available for now.Chris Lattner2011-02-181-0/+6
| | | | llvm-svn: 125973
* rearrange some comments, no functionality change.Chris Lattner2011-02-181-43/+23
| | | | llvm-svn: 125972
* install a TargetLibraryInfo configured with the appropriate Chris Lattner2011-02-181-3/+12
| | | | | | | target triple. This would be a decent place to add -fno-builtin info for example. llvm-svn: 125971
* Have opt set up a specific TargetLibraryInfo for modulesChris Lattner2011-02-181-2/+8
| | | | | | with a triple. llvm-svn: 125970
* CMake: updated list of tblgen source files.Oscar Fuentes2011-02-181-0/+1
| | | | llvm-svn: 125969
* Move library stuff out of the toplevel CMakeLists.txt file.Oscar Fuentes2011-02-1813-82/+95
| | | | llvm-svn: 125968
* Add VirtRegMap::rewrite() and use it in the new register allocators.Jakob Stoklund Olesen2011-02-184-6/+81
| | | | | | | | | | The rewriter works almost identically to -rewriter=trivial, except it also eliminates any identity copies. This makes the new register allocators independent of VirtRegRewriter.cpp which will be going away at the same time as RegAllocLinearScan. llvm-svn: 125967
* Add FixedLenDecoderEmitter, the skeleton of a new disassembler emitter for ↵Owen Anderson2011-02-185-98/+1534
| | | | | | | | | | | | | fixed-length instruction encodings. A major part of its (eventual) goal is to support a much cleaner separation between disassembly callbacks provided by the target and the disassembler emitter itself, i.e. not requiring hardcoding of knowledge in tblgen like the existing disassembly emitters do. The hope is that some day this will allow us to replace the existing non-Thumb ARM disassembler and remove some of the hacks the old one introduced to tblgen. llvm-svn: 125966
* introduce a new TargetLibraryInfo pass, which transformations can use toChris Lattner2011-02-185-0/+108
| | | | | | | | query about available library functions. For now this just has memset_pattern16, which exists on darwin, but it can be extended for a bunch of other things in the future. llvm-svn: 125965
* Revert r125956, which broke the build if you _don't_ have lldb checked out.Owen Anderson2011-02-181-6/+1
| | | | llvm-svn: 125964
* [analyzer] Fix crash when analyzing C++ code.Argyrios Kyrtzidis2011-02-182-0/+20
| | | | llvm-svn: 125963
* fix rdar://9024687, a crash on invalid that we used to silently ignore.Chris Lattner2011-02-184-2/+11
| | | | llvm-svn: 125962
* Add emulation methods for "ADC (immediate)" and "ADC (register)".Johnny Chen2011-02-182-74/+207
| | | | | | | Plus add a helper method ReadCoreReg(uint32_t regnum, bool *success) to simplify coding a bit. llvm-svn: 125961
* Reapply r114997 now that the buildbots have been updated.Bill Wendling2011-02-182-8/+28
| | | | llvm-svn: 125960
OpenPOWER on IntegriCloud