- Apr 13, 2009
-
-
Dan Gohman authored
This will be used to replace things like X86's MOV32to32_. Enhance ScheduleDAGSDNodesEmit to be more flexible and robust in the presense of subregister superclasses and subclasses. It can now cope with the definition of a virtual register being in a subclass of a use. Re-introduce the code for recording register superreg classes and subreg classes. This is needed because when subreg extracts and inserts get coalesced away, the virtual registers are left in the correct subclass. llvm-svn: 68961
-
Dan Gohman authored
in multiple classes in the case that the classes are all in subset/superset relations. This function is used by the fast-isel emitter, which always wants the super-most set. llvm-svn: 68957
-
- Apr 10, 2009
-
-
Bill Wendling authored
llvm-svn: 68807
-
Bill Wendling authored
llvm-svn: 68795
-
Owen Anderson authored
llvm-svn: 68730
-
- Apr 09, 2009
-
-
Owen Anderson authored
Convert TargetRegisterInfo's super-register checking to use a pre-computed hash table just like subregister checking does. llvm-svn: 68669
-
- Apr 03, 2009
-
-
Chris Lattner authored
This makes debugging register classes a bit easier." Patch by Jakob Stoklund Olesen! llvm-svn: 68400
-
Dan Gohman authored
Note that these are distinct from TargetInstrInfo::INSERT_SUBREG and TargetInstrInfo::EXTRACT_SUBREG, which are used. llvm-svn: 68355
-
- Apr 01, 2009
-
-
Ted Kremenek authored
llvm-svn: 68222
-
- Mar 31, 2009
-
-
Dan Gohman authored
llvm-svn: 68112
-
Dan Gohman authored
llvm-svn: 68111
-
- Mar 30, 2009
-
-
Dan Gohman authored
valid argument attributes (zeroext and signext are). llvm-svn: 68053
-
- Mar 26, 2009
-
-
Jim Grosbach authored
llvm-svn: 67758
-
Jim Grosbach authored
llvm-svn: 67750
-
Jim Grosbach authored
register classes. Before, MVT::Other would be returned anytime a reg was in multiple register classes. Now, MVT::Other is only returned if the types for those register classes differ. llvm-svn: 67714
-
- Mar 23, 2009
-
-
Ted Kremenek authored
llvm-svn: 67565
-
- Mar 20, 2009
-
-
Sebastian Redl authored
- Make type declarations match the struct/class keyword of the definition. - Move AddSignalHandler into the namespace where it belongs. - Correctly call functions from template base. - Some other small changes. With this patch, LLVM and Clang should build properly and with far less noise under VS2008. llvm-svn: 67347
-
- Mar 19, 2009
-
-
Ted Kremenek authored
Fix regression in 'tblgen -gen-clang-diags-defs': Emit the diagnostic kind instead of "DIAGNOSTICCONTROLLED". llvm-svn: 67305
-
Nate Begeman authored
in selectiondag patterns. This is required for the upcoming shuffle_vector rewrite, and as it turns out, cleans up a hack in the Alpha instruction info. llvm-svn: 67286
-
- Mar 18, 2009
-
-
Ted Kremenek authored
order. llvm-svn: 67244
-
Ted Kremenek authored
static const WarningOption OptionTable[] = { {"unused-macros", DIAGS(UnusedMacrosDiags)} ... }; This table is not yet properly sorted. llvm-svn: 67242
-
Ted Kremenek authored
declarations for controlling groups of warnings. Currently this transforms: def UnusedMacrosDiags : Option<"unused-macros", [pp_macro_not_used]>; into: static const diag::kind UnusedMacrosDiags[] = { diag::pp_macro_not_used }; llvm-svn: 67239
-
Chris Lattner authored
This allows tblgen to handle include "foo.td" when the quote is exactly the last character in a file. rdar://6695728 llvm-svn: 67232
-
- Mar 16, 2009
-
-
Douglas Gregor authored
llvm-svn: 67042
-
- Mar 14, 2009
-
-
Sebastian Redl authored
llvm-svn: 67005
-
- Mar 13, 2009
-
-
Ted Kremenek authored
component's warnings to process for '-gen-clang-diags-defs'. Also, when the component is specified, generate a '#if' prologue at the top of the generated .def file (to match the current files). llvm-svn: 66975
-
Ted Kremenek authored
tablegen files to the original .def preprocessor include files. This is my first TableGen backend; I don't claim that it is awesome. llvm-svn: 66971
-
Ted Kremenek authored
llvm-svn: 66970
-
Chris Lattner authored
them, then the asmprinter emitter reescape them. llvm-svn: 66958
-
Chris Lattner authored
llvm-svn: 66957
-
Chris Lattner authored
llvm-svn: 66949
-
Chris Lattner authored
errors when thrown. This gets us nice errors like this from tblgen: CMOVL32rr: (set GR32:i32:$dst, (X86cmov GR32:$src1, GR32:$src2)) /Users/sabre/llvm/Debug/bin/tblgen: error: Included from X86.td:116: Parsing X86InstrInfo.td:922: In CMOVL32rr: X86cmov node requires exactly 4 operands! def CMOVL32rr : I<0x4C, MRMSrcReg, // if <s, GR32 = GR32 ^ instead of just: CMOVL32rr: (set GR32:i32:$dst, (X86cmov GR32:$src1, GR32:$src2)) /Users/sabre/llvm/Debug/bin/tblgen: In CMOVL32rr: X86cmov node requires exactly 4 operands! This is all I plan to do with this, but it should be easy enough to improve if anyone cares (e.g. keeping more loc info in "dag" expr records in tblgen. llvm-svn: 66898
-
Chris Lattner authored
llvm-svn: 66897
-
Chris Lattner authored
llvm-svn: 66895
-
Argyrios Kyrtzidis authored
llvm-svn: 66876
-
Evan Cheng authored
llvm-svn: 66874
-
Chris Lattner authored
lexer into its own TGSourceMgr class. llvm-svn: 66873
-
- Mar 12, 2009
-
-
Bob Wilson authored
refers to the "prefix" directory, i.e., one level above "bin". LLVMGCCPATH is used as the directory containing the llvm-gcc executable, so add a "/bin" suffix to get from LLVMGCCDIR to LLVMGCCPATH. llvm-svn: 66823
-
- Mar 11, 2009
-
-
Duncan Sands authored
linkage, so remove it. llvm-svn: 66690
-
Chris Lattner authored
llvm-svn: 66663
-