| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Attach a GCModuleInfo to a MachineFunction. | Nicolas Geoffray | 2010-10-31 | 3 | -4/+11 |
| | | | | | llvm-svn: 117867 | ||||
| * | fix a crash on: | Chris Lattner | 2010-10-31 | 1 | -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 Lattner | 2010-10-31 | 5 | -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 Lattner | 2010-10-31 | 5 | -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 Lattner | 2010-10-31 | 6 | -39/+44 |
| | | | | | | | got a dulicated line). llvm-svn: 117860 | ||||
| * | revert r117858 while I check out a failure I missed. | Chris Lattner | 2010-10-31 | 6 | -47/+40 |
| | | | | | llvm-svn: 117859 | ||||
| * | the asm matcher can't handle operands with modifiers (like ${foo:bar}). | Chris Lattner | 2010-10-31 | 6 | -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 about | Chris Lattner | 2010-10-31 | 2 | -0/+26 |
| | | | | | | | how the push/pop mnemonic aliases are wrong. llvm-svn: 117857 | ||||
| * | Factorize the duplicated logic for choosing the right argument | Duncan Sands | 2010-10-31 | 4 | -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 Sands | 2010-10-31 | 1 | -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 Sands | 2010-10-31 | 1 | -1/+1 |
| | | | | | llvm-svn: 117854 | ||||
| * | Add support for files with more than 65280 sections. No testcase since | Rafael Espindola | 2010-10-31 | 2 | -42/+110 |
| | | | | | | | it would be a bit too big :-) llvm-svn: 117849 | ||||
| * | Make sure we have a legal type (and simple) before continuing. | Eric Christopher | 2010-10-30 | 1 | -1/+4 |
| | | | | | llvm-svn: 117848 | ||||
| * | Validate HTML. | Benjamin Kramer | 2010-10-30 | 2 | -22/+20 |
| | | | | | llvm-svn: 117847 | ||||
| * | add missing tag | Chris Lattner | 2010-10-30 | 1 | -0/+2 |
| | | | | | llvm-svn: 117846 | ||||
| * | have GetAliasRequiredFeatures get its features from | Chris Lattner | 2010-10-30 | 1 | -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 Lattner | 2010-10-30 | 1 | -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 the | Chris Lattner | 2010-10-30 | 1 | -3/+12 |
| | | | | | | | 'tomatch' code contains \n's. llvm-svn: 117843 | ||||
| * | fix typos and some serious bugs in feature handling (but not for | Chris Lattner | 2010-10-30 | 2 | -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 hardcoding | Chris Lattner | 2010-10-30 | 3 | -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 Lattner | 2010-10-30 | 5 | -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 | ||||
| * | fix build problem | Chris Lattner | 2010-10-30 | 1 | -3/+3 |
| | | | | | llvm-svn: 117828 | ||||
| * | diagnose targets that define two alises with the same 'from' mnemonic | Chris Lattner | 2010-10-30 | 1 | -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 of | Chris Lattner | 2010-10-30 | 1 | -6/+17 |
| | | | | | | | inline into MatchInstructionImpl. llvm-svn: 117826 | ||||
| * | really zap alias. | Chris Lattner | 2010-10-30 | 1 | -1/+0 |
| | | | | | llvm-svn: 117824 | ||||
| * | move fcompi alias to .td file and zap some useless code. | Chris Lattner | 2010-10-30 | 2 | -11/+1 |
| | | | | | llvm-svn: 117823 | ||||
| * | move rep aliases to td file | Chris Lattner | 2010-10-30 | 2 | -5/+7 |
| | | | | | llvm-svn: 117822 | ||||
| * | move sal aliases to .td file. | Chris Lattner | 2010-10-30 | 2 | -5/+5 |
| | | | | | llvm-svn: 117821 | ||||
| * | fix an encoding mismatch where "sal %eax, 1" was not using the short encoding | Chris Lattner | 2010-10-30 | 2 | -1/+6 |
| | | | | | | | for shl. Caught by inspection. llvm-svn: 117820 | ||||
| * | move a bunch more aliases from .cpp -> .td file. | Chris Lattner | 2010-10-30 | 2 | -22/+27 |
| | | | | | llvm-svn: 117819 | ||||
| * | move cmov aliases to .td file. | Chris Lattner | 2010-10-30 | 2 | -49/+25 |
| | | | | | llvm-svn: 117818 | ||||
| * | move setcc and jcc aliases from .cpp to .td | Chris Lattner | 2010-10-30 | 2 | -14/+28 |
| | | | | | llvm-svn: 117817 | ||||
| * | move some code. | Chris Lattner | 2010-10-30 | 1 | -33/+35 |
| | | | | | llvm-svn: 117816 | ||||
| * | implement (and document!) the first kind of MC assembler alias, which | Chris Lattner | 2010-10-30 | 5 | -22/+120 |
| | | | | | | | | just remaps one mnemonic to another. Convert a few of the X86 aliases from .cpp to .td code. llvm-svn: 117815 | ||||
| * | add a test for the ud2a alias. | Chris Lattner | 2010-10-30 | 1 | -0/+4 |
| | | | | | llvm-svn: 117803 | ||||
| * | Now that the MallocInst no longer exists, this workaround for | Duncan Sands | 2010-10-30 | 1 | -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 subtarget | Jim Grosbach | 2010-10-30 | 1 | -1/+20 |
| | | | | | | | feature lists for instruction pattern predicates. llvm-svn: 117788 | ||||
| * | Add FIXME. | Jim Grosbach | 2010-10-30 | 1 | -0/+2 |
| | | | | | llvm-svn: 117787 | ||||
| * | Clean up comments. | Jim Grosbach | 2010-10-30 | 1 | -1/+5 |
| | | | | | llvm-svn: 117785 | ||||
| * | 80 columns. | Jim Grosbach | 2010-10-30 | 1 | -5/+5 |
| | | | | | llvm-svn: 117784 | ||||
| * | If a function does a volatile load from a global constant, do not | Duncan Sands | 2010-10-30 | 2 | -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 Grosbach | 2010-10-30 | 1 | -1/+1 |
| | | | | | llvm-svn: 117782 | ||||
| * | Rename alignof -> alignOf to avoid irritating C++'0x compilers, | Chris Lattner | 2010-10-30 | 4 | -6/+6 |
| | | | | | | | PR8423, patch by nobled. llvm-svn: 117774 | ||||
| * | stay out of the reserved namespace | Chris Lattner | 2010-10-30 | 1 | -6/+6 |
| | | | | | llvm-svn: 117773 | ||||
| * | simplify this code. | Chris Lattner | 2010-10-30 | 1 | -8/+4 |
| | | | | | llvm-svn: 117771 | ||||
| * | split MaybeParseRegister into its two logical uses, eliminating malloc+free ↵ | Chris Lattner | 2010-10-30 | 1 | -35/+38 |
| | | | | | | | traffic. llvm-svn: 117769 | ||||
| * | Avoid re-evaluating MI.getNumOperands() every iteration of the loop. | Jim Grosbach | 2010-10-30 | 1 | -1/+1 |
| | | | | | llvm-svn: 117766 | ||||
| * | Include MachineBasicBlock numbers in viewCFG() output. | Jakob Stoklund Olesen | 2010-10-30 | 1 | -8/+6 |
| | | | | | llvm-svn: 117765 | ||||
| * | Make sure copies are inserted after any exception handling labels at the top of | Jakob Stoklund Olesen | 2010-10-30 | 1 | -1/+1 |
| | | | | | | | a basic block. llvm-svn: 117764 | ||||
| * | Add SkipPHIsAndLabels from PHIElimination to MachineBasicBlock. It is needed | Jakob Stoklund Olesen | 2010-10-30 | 2 | -0/+12 |
| | | | | | | | elsewhere. llvm-svn: 117763 | ||||

