Skip to content
  1. Jun 04, 2011
    • Jakob Stoklund Olesen's avatar
      Silence compiler warnings. · a4615a6f
      Jakob Stoklund Olesen authored
      llvm-svn: 132624
      a4615a6f
    • Jakob Stoklund Olesen's avatar
      Teach TableGen to evaluate DAG expressions as set operations. · fc205a56
      Jakob Stoklund Olesen authored
      A TableGen backend can define how certain classes can be expanded into
      ordered sets of defs, typically by evaluating a specific field in the
      record. The SetTheory class can then evaluate DAG expressions that refer
      to these named sets.
      
      A number of standard set and list operations are predefined, and the
      backend can add more specialized operators if needed. The -print-sets
      backend is used by SetTheory.td to provide examples.
      
      This is intended to simplify how register classes are defined:
      
        def GR32_NOSP : RegisterClass<"X86", [i32], 32, (sub GR32, ESP)>;
      
      llvm-svn: 132621
      fc205a56
Loading