summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* sketch out the planned instruction alias mechanism, add some comments aboutChris Lattner2010-10-312-0/+26
| | | | | | how the push/pop mnemonic aliases are wrong. llvm-svn: 117857
* Factorize the duplicated logic for choosing the right argumentDuncan Sands2010-10-314-56/+36
| | | | | | | calling convention out of the fast and normal ISel files, and into the calling convention TD file. llvm-svn: 117856
* Remove CCAssignFnForRet from X86 FastISel in favour of RetCC_X86,Duncan Sands2010-10-311-16/+1
| | | | | | | which has the same logic specified in the CallingConv TD file. This brings FastISel in line with the standard X86 ISel. llvm-svn: 117855
* Explain the return value of CCAssignFn.Duncan Sands2010-10-311-1/+1
| | | | llvm-svn: 117854
* Make Clang static analyzer skip function template definitions. This fixes ↵Zhanyong Wan2010-10-312-2/+51
| | | | | | Clang PR 8426, 8427, & 8433. Reviewed by Ted Kremenek and Doug Gregor. llvm-svn: 117853
* Bumped version in Xcode project to lldb-27, and debugserver to debugserver-115.Greg Clayton2010-10-313-16/+16
| | | | llvm-svn: 117852
* Cleaned up the API logging a lot more to reduce redundant information and Greg Clayton2010-10-3140-691/+651
| | | | | | | | | keep the file size a bit smaller. Exposed SBValue::GetExpressionPath() so SBValue users can get an expression path for their values. llvm-svn: 117851
* Don't try to evaluate the LHS or RHS of a member pointer binary operation. ↵Anders Carlsson2010-10-312-0/+15
| | | | | | Fixes PR8507. llvm-svn: 117850
* Add support for files with more than 65280 sections. No testcase sinceRafael Espindola2010-10-312-42/+110
| | | | | | it would be a bit too big :-) llvm-svn: 117849
* Make sure we have a legal type (and simple) before continuing.Eric Christopher2010-10-301-1/+4
| | | | llvm-svn: 117848
* Validate HTML.Benjamin Kramer2010-10-302-22/+20
| | | | llvm-svn: 117847
* add missing tagChris Lattner2010-10-301-0/+2
| | | | llvm-svn: 117846
* have GetAliasRequiredFeatures get its features fromChris Lattner2010-10-301-30/+22
| | | | | | | AsmMatcherInfo so we don't have two places that know the feature -> enum mapping. No functionality change. llvm-svn: 117845
* simplify code that creates SubtargetFeatureInfo, ensuring that features Chris Lattner2010-10-301-19/+33
| | | | | | that are only used by MnemonicAliases will be found. llvm-svn: 117844
* fix a fixme in stringmatcher, having it generate nice looking code if theChris Lattner2010-10-301-3/+12
| | | | | | 'tomatch' code contains \n's. llvm-svn: 117843
* Emit an error when trying to form a pointer-to-member to a bitfield.Argyrios Kyrtzidis2010-10-302-0/+10
| | | | | | As a bonus, avoids a crash on the IRGen side due to accepting invalid code. llvm-svn: 117842
* renamed: test/SemaCXX/ptrtomember-badcall.cpp -> test/SemaCXX/ptrtomember.cppArgyrios Kyrtzidis2010-10-301-0/+0
| | | | llvm-svn: 117841
* fix typos and some serious bugs in feature handling (but not forChris Lattner2010-10-302-4/+8
| | | | | | | cases that are currently exercised). Thanks to Frits van Bommel for the great review! llvm-svn: 117840
* Resolve a terrible hack in tblgen: instead of hardcodingChris Lattner2010-10-303-30/+26
| | | | | | | "In32BitMode" and "In64BitMode" into tblgen, allow any predicate that inherits from AssemblerPredicate. llvm-svn: 117831
* Implement (and document!) support for MnemonicAlias's to have Requires Chris Lattner2010-10-305-31/+108
| | | | | | | | | | | directives, allowing things like this: def : MnemonicAlias<"pop", "popl">, Requires<[In32BitMode]>; def : MnemonicAlias<"pop", "popq">, Requires<[In64BitMode]>; Move the rest of the X86 MnemonicAliases over to the .td file. llvm-svn: 117830
* Revert r117678, "Qualified 'id' should implement all of static class ↵Daniel Dunbar2010-10-302-67/+20
| | | | | | type's", it breaks things. llvm-svn: 117829
* fix build problemChris Lattner2010-10-301-3/+3
| | | | llvm-svn: 117828
* diagnose targets that define two alises with the same 'from' mnemonicChris Lattner2010-10-301-5/+30
| | | | | | | with a useful error message instead of having tblgen explode with an assert. llvm-svn: 117827
* emit the mnemonic aliases in their own helper function instead ofChris Lattner2010-10-301-6/+17
| | | | | | inline into MatchInstructionImpl. llvm-svn: 117826
* Fixed the copy constructor for SBThread.Greg Clayton2010-10-301-2/+3
| | | | llvm-svn: 117825
* really zap alias.Chris Lattner2010-10-301-1/+0
| | | | llvm-svn: 117824
* move fcompi alias to .td file and zap some useless code.Chris Lattner2010-10-302-11/+1
| | | | llvm-svn: 117823
* move rep aliases to td fileChris Lattner2010-10-302-5/+7
| | | | llvm-svn: 117822
* move sal aliases to .td file.Chris Lattner2010-10-302-5/+5
| | | | llvm-svn: 117821
* fix an encoding mismatch where "sal %eax, 1" was not using the short encodingChris Lattner2010-10-302-1/+6
| | | | | | for shl. Caught by inspection. llvm-svn: 117820
* move a bunch more aliases from .cpp -> .td file.Chris Lattner2010-10-302-22/+27
| | | | llvm-svn: 117819
* move cmov aliases to .td file.Chris Lattner2010-10-302-49/+25
| | | | llvm-svn: 117818
* move setcc and jcc aliases from .cpp to .tdChris Lattner2010-10-302-14/+28
| | | | llvm-svn: 117817
* move some code.Chris Lattner2010-10-301-33/+35
| | | | llvm-svn: 117816
* implement (and document!) the first kind of MC assembler alias, which Chris Lattner2010-10-305-22/+120
| | | | | | | just remaps one mnemonic to another. Convert a few of the X86 aliases from .cpp to .td code. llvm-svn: 117815
* Turns out that we may end up calling dladdr on GetExecutablePath, give it ↵Benjamin Kramer2010-10-302-3/+2
| | | | | | external linkage to make sure the lookup works on all platforms. llvm-svn: 117813
* add a test for the ud2a alias.Chris Lattner2010-10-301-0/+4
| | | | llvm-svn: 117803
* Now that the MallocInst no longer exists, this workaround forDuncan Sands2010-10-301-5/+0
| | | | | | it claiming not to have side-effects is no longer needed. llvm-svn: 117789
* Allow specifying a CPU to llvm-mc, so that we can properly set up subtargetJim Grosbach2010-10-301-1/+20
| | | | | | feature lists for instruction pattern predicates. llvm-svn: 117788
* Add FIXME.Jim Grosbach2010-10-301-0/+2
| | | | llvm-svn: 117787
* This function doesn't need external linkage either.Benjamin Kramer2010-10-301-1/+2
| | | | llvm-svn: 117786
* Clean up comments.Jim Grosbach2010-10-301-1/+5
| | | | llvm-svn: 117785
* 80 columns.Jim Grosbach2010-10-301-5/+5
| | | | llvm-svn: 117784
* If a function does a volatile load from a global constant, do notDuncan Sands2010-10-302-4/+14
| | | | | | | | | consider it to be readonly. In fact, don't even consider it to be readonly if it does a volatile load from an AllocaInst either (it is debatable as to whether readonly would be correct or not in this case; play safe for the moment). This fixes PR8279. llvm-svn: 117783
* Tidy up.Jim Grosbach2010-10-301-1/+1
| | | | llvm-svn: 117782
* Better solution: calculate the visibility of functions and variablesJohn McCall2010-10-309-185/+227
| | | | | | | | | | independently of whether they're definitions, then teach IR generation to ignore non-explicit visibility when emitting declarations. Use this to make sure that RTTI, vtables, and VTTs get the right visibility. More of rdar://problem/8613093 llvm-svn: 117781
* GCC faithfully calculates visibility for variables independently ofJohn McCall2010-10-302-23/+35
| | | | | | | | whether it's a declaration or not, then ignores that information for declarations unless it was explicitly given. It's not totally clear how that should be mapped into a sane system, but make an effort. llvm-svn: 117780
* Use the expanded form of S_ISREG. Hopefully this unbreaks the MSVC build.Benjamin Kramer2010-10-301-1/+1
| | | | llvm-svn: 117779
* Compress screenshot.Benjamin Kramer2010-10-302-0/+0
| | | | llvm-svn: 117778
* Submit the screen capture as a followup of r117752.Johnny Chen2010-10-301-0/+0
| | | | llvm-svn: 117777
OpenPOWER on IntegriCloud