summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Attach a GCModuleInfo to a MachineFunction.Nicolas Geoffray2010-10-313-4/+11
| | | | llvm-svn: 117867
* Make sure darwin-debug gets installed in /Developer/usr/bin instead ofGreg Clayton2010-10-311-3/+3
| | | | | | /usr/local/bin. llvm-svn: 117866
* Bumped lldb Xcode project version to 28 for lldb-28.Greg Clayton2010-10-312-10/+10
| | | | llvm-svn: 117865
* Fixed an include so case sensitive builders can build.Greg Clayton2010-10-311-1/+1
| | | | llvm-svn: 117864
* fix a crash on:Chris Lattner2010-10-311-1/+2
| | | | | | | | | | | | let Constraints = "$val = $dst", Defs = [EFLAGS] in, isCodeGenOnly = 1 { we now get: X86InstrCompiler.td:653:52: error: Expected class, def, defm, multiclass or let definition let Constraints = "$val = $dst", Defs = [EFLAGS] in, isCodeGenOnly = 1 { ^ llvm-svn: 117863
* fix the !eq operator in tblgen to return a bit instead of an int.Chris Lattner2010-10-315-17/+8
| | | | | | | | Use this to make the X86 and ARM targets set isCodeGenOnly=1 automatically for their instructions that have Format=Pseudo, resolving a hack in tblgen. llvm-svn: 117862
* two changes: make the asmmatcher generator ignore ARM pseudos properly,Chris Lattner2010-10-315-17/+35
| | | | | | | and make it a hard error for instructions to not have an asm string. These instructions should be marked isCodeGenOnly. llvm-svn: 117861
* reapply r117858 with apparent editor malfunction fixed (somehow I Chris Lattner2010-10-316-39/+44
| | | | | | got a dulicated line). llvm-svn: 117860
* revert r117858 while I check out a failure I missed.Chris Lattner2010-10-316-47/+40
| | | | llvm-svn: 117859
* the asm matcher can't handle operands with modifiers (like ${foo:bar}).Chris Lattner2010-10-316-40/+47
| | | | | | | | | | | Instead of silently ignoring these instructions, emit a hard error and force the target author to either refactor the target or mark the instruction 'isCodeGenOnly'. Mark a few instructions in ARM and MBlaze as isCodeGenOnly the are doing this. llvm-svn: 117858
* 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
OpenPOWER on IntegriCloud