- Dec 30, 2011
-
-
Craig Topper authored
llvm-svn: 147368
-
Craig Topper authored
llvm-svn: 147367
-
- Dec 22, 2011
-
-
Jim Grosbach authored
rdar://10558523 llvm-svn: 147189
-
- Dec 21, 2011
-
-
Jim Grosbach authored
llvm-svn: 147025
-
- Dec 20, 2011
-
-
Chandler Carruth authored
likely to stay either way that discussion ends up resolving itself. llvm-svn: 146966
-
David Blaikie authored
Revert pragma clang suppressions that confuse GCC. (I'll worry about how to suppress/fix these problems properly when we figure out how to keep LLVM -Wweak-vtables clean) llvm-svn: 146965
-
-
Dan Gohman authored
llvm-svn: 146927
-
- Dec 19, 2011
-
-
Jakob Stoklund Olesen authored
Use information computed while inferring new register classes to emit accurate, table-driven implementations of getMatchingSuperRegClass(). Delete the old manual, error-prone implementations in the targets. llvm-svn: 146873
-
Jakob Stoklund Olesen authored
Teach TableGen to create the missing register classes needed for getMatchingSuperRegClass() to return maximal results. The function is still not auto-generated, so it still returns inexact results. This produces these new register classes: ARM: QQPR_with_dsub_0_in_DPR_8 QQQQPR_with_dsub_0_in_DPR_8 X86: GR64_with_sub_32bit_in_GR32_NOAX GR64_with_sub_32bit_in_GR32_NOAX_and_GR32_NOSP GR64_with_sub_16bit_in_GR16_NOREX GR64_with_sub_32bit_in_GR32_NOAX_and_GR32_NOREX GR64_TC_and_GR64_with_sub_32bit_in_GR32_NOAX GR64_with_sub_32bit_in_GR32_NOAX_and_GR32_NOREX_NOSP GR64_TCW64_and_GR64_with_sub_32bit_in_GR32_NOAX GR64_TC_and_GR64_with_sub_32bit_in_GR32_NOAX_and_GR32_NOREX GR64_with_sub_32bit_in_GR32_TC GR64_with_sub_32bit_in_GR32_ABCD_and_GR32_NOAX GR64_with_sub_32bit_in_GR32_NOAX_and_GR32_TC GR64_with_sub_32bit_in_GR32_AD GR64_with_sub_32bit_in_GR32_AD_and_GR32_NOAX The other targets in the tree are not weird enough to be affected. llvm-svn: 146872
-
- Dec 16, 2011
-
-
Jakob Stoklund Olesen authored
llvm-svn: 146713
-
- Dec 15, 2011
-
-
Jakob Stoklund Olesen authored
llvm-svn: 146674
-
Jakob Stoklund Olesen authored
The function TRI::getCommonSubClass(A, B) returns the largest common sub-class of the register classes A and B. This patch teaches TableGen to synthesize sub-classes such that the answer is always maximal. In other words, every register that is in both A and B will also be present in getCommonSubClass(A, B). This introduces these synthetic register classes: ARM: GPRnopc_and_hGPR GPRnopc_and_hGPR hGPR_and_rGPR GPRnopc_and_hGPR GPRnopc_and_hGPR hGPR_and_rGPR tGPR_and_tcGPR hGPR_and_tcGPR X86: GR32_NOAX_and_GR32_NOSP GR32_NOAX_and_GR32_NOREX GR64_NOSP_and_GR64_TC GR64_NOSP_and_GR64_TC GR64_NOREX_and_GR64_TC GR32_NOAX_and_GR32_NOSP GR32_NOAX_and_GR32_NOREX GR32_NOAX_and_GR32_NOREX_NOSP GR64_NOSP_and_GR64_TC GR64_NOREX_and_GR64_TC GR64_NOREX_NOSP_and_GR64_TC GR32_NOAX_and_GR32_NOSP GR32_NOAX_and_GR32_NOREX GR32_NOAX_and_GR32_NOREX_NOSP GR32_ABCD_and_GR32_NOAX GR32_NOAX_and_GR32_NOSP GR32_NOAX_and_GR32_NOREX GR32_NOAX_and_GR32_NOREX_NOSP GR32_ABCD_and_GR32_NOAX GR32_NOAX_and_GR32_TC GR32_NOAX_and_GR32_NOSP GR64_NOSP_and_GR64_TC GR32_NOAX_and_GR32_NOREX GR32_NOAX_and_GR32_NOREX_NOSP GR64_NOREX_and_GR64_TC GR64_NOREX_NOSP_and_GR64_TC GR32_ABCD_and_GR32_NOAX GR64_ABCD_and_GR64_TC GR32_NOAX_and_GR32_TC GR32_AD_and_GR32_NOAX Other targets are unaffected. llvm-svn: 146657
-
- Dec 12, 2011
-
-
Daniel Dunbar authored
llvm-svn: 146409
-
Jakob Stoklund Olesen authored
llvm-svn: 146374
-
- Dec 07, 2011
-
-
Jim Grosbach authored
llvm-svn: 146003
-
Jim Grosbach authored
For example, ARM allows: vmov.u32 s4, #0 -> vmov.i32, #0 'u32' is a more specific designator for the 32-bit integer type specifier and is legal for any instruction which accepts 'i32' as a datatype suffix. We want to say, def : TokenAlias<".u32", ".i32">; This works by marking the match class of 'From' as a subclass of the match class of 'To'. rdar://10435076 llvm-svn: 145992
-
- Dec 06, 2011
-
-
Evan Cheng authored
1. Added opcode BUNDLE 2. Taught MachineInstr class to deal with bundled MIs 3. Changed MachineBasicBlock iterator to skip over bundled MIs; added an iterator to walk all the MIs 4. Taught MachineBasicBlock methods about bundled MIs llvm-svn: 145975
-
Jim Grosbach authored
llvm-svn: 145974
-
Sebastian Pop authored
llvm-svn: 145944
-
Sebastian Pop authored
llvm-svn: 145943
-
- Dec 03, 2011
-
-
Jim Grosbach authored
llvm-svn: 145726
-
- Dec 01, 2011
-
-
Dylan Noblesmith authored
Oops, missed another missing file from r145629. llvm-svn: 145636
-
Anshuman Dasgupta authored
llvm-svn: 145629
-
Jim Grosbach authored
llvm-svn: 145535
-
- Nov 30, 2011
-
-
Jim Grosbach authored
llvm-svn: 145504
-
Jim Grosbach authored
llvm-svn: 145465
-
Jim Grosbach authored
llvm-svn: 145464
-
- Nov 19, 2011
-
-
Craig Topper authored
llvm-svn: 144986
-
- Nov 16, 2011
-
-
Owen Anderson authored
llvm-svn: 144747
-
- Nov 15, 2011
-
-
Evan Cheng authored
integer variants. rdar://10437054 llvm-svn: 144608
-
Jim Grosbach authored
rdar://10435076 llvm-svn: 144606
-
Jim Grosbach authored
llvm-svn: 144598
-
- Nov 11, 2011
-
-
Daniel Dunbar authored
llvm-svn: 144416
-
- Nov 10, 2011
-
-
Owen Anderson authored
llvm-svn: 144245
-
Owen Anderson authored
llvm-svn: 144243
-
- Nov 07, 2011
-
-
Craig Topper authored
llvm-svn: 143895
-
- Nov 03, 2011
-
-
Daniel Dunbar authored
llvm-svn: 143634
-
- Nov 02, 2011
-
-
Chandler Carruth authored
one aspect of them by having them use the (annoying, if not broken) proper library dependency model for adding the LLVMTableGen library as a dependency. This could manifest as a link order issue in the presence of separate LLVM / Clang source builds with CMake and a linker that really cares about such things. Also, add the Support dependency to llvm-tblgen itself so that it doesn't rely on TableGen's transitive Support dependency. A parallel change for clang-tblgen will be forthcoming. llvm-svn: 143531
-
- Oct 29, 2011
-
-
Jim Grosbach authored
For example, On ARM, "mov r3, #-3" is an alias for "mvn r3, #2", so we want to use a matcher pattern that handles the bitwise negation when mapping to t2MVNi. llvm-svn: 143233
-