Skip to content
  1. Jul 30, 2011
    • Alexis Hunt's avatar
      Include an "implementation" if SGI's slist. This was quickly hacked · 1e846797
      Alexis Hunt authored
      together to get it working with code, and is neither optimal
      (erase(Iterator, Iterator) calculates the previous iterator twice,
      rather than calculating the previous iterator of the first one, then
      advancing it until the second is found) nor complete (splice() was not
      implemented). Most of the implementation is borrowed from forward_list
      via using-declarations.
      
      llvm-svn: 136542
      1e846797
    • Jakob Stoklund Olesen's avatar
      Don't check liveness of unallocatable registers. · 95cc5440
      Jakob Stoklund Olesen authored
      This includes registers like EFLAGS and ST0-ST7. We don't check for
      liveness issues in the verifier and scavenger because registers will
      never be allocated from these classes.
      
      While in SSA form, we do care about the liveness of unallocatable
      unreserved registers. Liveness of EFLAGS and ST0 neds to be correct for
      MachineDCE and MachineSinking.
      
      llvm-svn: 136541
      95cc5440
    • Alexis Hunt's avatar
      Explicitly invoke the size_type specialization of max and min. This · 83243781
      Alexis Hunt authored
      avoids bugs where, when the allocator's size_type was smaller than int,
      the multiplication or division would cause integral promotions and, with
      two different integer types as arguments, deduction of the template
      arguments would fail.
      
      llvm-svn: 136540
      83243781
    • Alexis Hunt's avatar
      Add a new hash class in __gnu_ext for the extension containers. There · 8d2ed566
      Alexis Hunt authored
      are two motivations for this.
      
      First, this allows users who are specializing __gnu_ext::hash to
      continue doing so without changing their code.
      
      Second, SGI specifies hash overloads for char* and const char* that
      perform a hash of the string, not of the pointer.
      
      In order to support this, the hashing code for string is factored out.
      
      llvm-svn: 136539
      8d2ed566
    • Alexis Hunt's avatar
      Add two missing members from the extension hash containers. The first is · fe473ae2
      Alexis Hunt authored
      the type name 'data_type', which is specified by the SGI spec as being
      the correct type name for the mapped type. The second is an overload of
      insert found in standard containers, taking an iterator as a 'hint'
      (which we ignore in the standard containers as well). libstdc++'s
      implementation includes these overloads, and they are needed to make
      insert_iterator work (which I suspect is the real motivation for
      including them in the standard containers).
      
      The motivation for including these overloads of insert and leaving the
      mapped_type typedef is to make it easier for clients to migrate to the
      standard containers.
      
      llvm-svn: 136538
      fe473ae2
    • Douglas Gregor's avatar
      Teach the ASTImporter to cope with cases where we have already · d451ea9c
      Douglas Gregor authored
      imported a forward declaration, but later the full definition of the
      same entity becomes available. When this happens, import the definition.
      
      llvm-svn: 136537
      d451ea9c
    • Greg Clayton's avatar
      Moved some functionality from ValueObject to ClangASTType. · 92eac7f5
      Greg Clayton authored
      llvm-svn: 136536
      92eac7f5
    • Jakob Stoklund Olesen's avatar
      Check for multiple defs in the machine code verifier. · 9dd18415
      Jakob Stoklund Olesen authored
      llvm-svn: 136535
      9dd18415
    • Owen Anderson's avatar
    • Johnny Chen's avatar
      Add a redo.py script which takes a session directory name as arg and digs into the directory · 4a57d122
      Johnny Chen authored
      to find out the tests which failed/errored and need re-running.  The dotest.py test driver
      script is modified to allow specifying multiple -f testclass.testmethod in the command line
      to accommodate the redo functionality.
      
      An example,
      
       $ ./redo.py -n 2011-07-29-11_50_14
      adding filterspec: TargetAPITestCase.test_find_global_variables_with_dwarf
      adding filterspec: DisasmAPITestCase.test_with_dsym
      Running ./dotest.py -v  -f TargetAPITestCase.test_find_global_variables_with_dwarf -f DisasmAPITestCase.test_with_dsym
      
      ...
      
      ----------------------------------------------------------------------
      Collected 2 tests
      
      1: test_with_dsym (TestDisasmAPI.DisasmAPITestCase)
         Exercise getting SBAddress objects, disassembly, and SBAddress APIs. ... ok
      2: test_find_global_variables_with_dwarf (TestTargetAPI.TargetAPITestCase)
         Exercise SBTarget.FindGlobalVariables() API. ... ok
      
      ----------------------------------------------------------------------
      Ran 2 tests in 15.328s
      
      OK
      
      llvm-svn: 136533
      4a57d122
    • Jakob Stoklund Olesen's avatar
      Add an isSSA() flag to MachineRegisterInfo. · 9760f04e
      Jakob Stoklund Olesen authored
      This flag is true from isel to register allocation when the machine
      function is required to be in SSA form.  The TwoAddressInstructionPass
      and PHIElimination passes clear the flag.
      
      The SSA flag wil be used by the machine code verifier to check for SSA
      form, and eventually an assertion can enforce it in +Asserts builds.
      This will catch the common target error of creating machine code with
      multiple defs of a virtual register.
      
      llvm-svn: 136532
      9760f04e
    • David Greene's avatar
      Unconstify Inits · af8ee2cd
      David Greene authored
      Remove const qualifiers from Init references, per Chris' request.
      
      llvm-svn: 136531
      af8ee2cd
    • Greg Clayton's avatar
      Logging and return code fixes. · 5b442374
      Greg Clayton authored
      llvm-svn: 136530
      5b442374
    • Jakub Staszak's avatar
      Do not lose branch weights when lowering SwitchInst. · 0480a8fb
      Jakub Staszak authored
      llvm-svn: 136529
      0480a8fb
    • Jakob Stoklund Olesen's avatar
      Enable compact region splitting by default. · b5c2d321
      Jakob Stoklund Olesen authored
      This helps generate better code in functions with high register
      pressure.
      
      llvm-svn: 136528
      b5c2d321
  2. Jul 29, 2011
Loading