Skip to content
  1. Oct 03, 2013
  2. Oct 02, 2013
    • Chandler Carruth's avatar
      Remove the very substantial, largely unmaintained legacy PGO · ea564946
      Chandler Carruth authored
      infrastructure.
      
      This was essentially work toward PGO based on a design that had several
      flaws, partially dating from a time when LLVM had a different
      architecture, and with an effort to modernize it abandoned without being
      completed. Since then, it has bitrotted for several years further. The
      result is nearly unusable, and isn't helping any of the modern PGO
      efforts. Instead, it is getting in the way, adding confusion about PGO
      in LLVM and distracting everyone with maintenance on essentially dead
      code. Removing it paves the way for modern efforts around PGO.
      
      Among other effects, this removes the last of the runtime libraries from
      LLVM. Those are being developed in the separate 'compiler-rt' project
      now, with somewhat different licensing specifically more approriate for
      runtimes.
      
      llvm-svn: 191835
      ea564946
    • Rafael Espindola's avatar
      Fix option parsing in the gold plugin. · efa02d53
      Rafael Espindola authored
      This was broken when options were moved up in r191680. No test because this is
      specific LLVMgold.so/libLTO.so.
      
      Patch by Tom Roeder!
      
      llvm-svn: 191829
      efa02d53
    • NAKAMURA Takumi's avatar
      Program.h: Fix \Note into \note. [-Wdocumentation] · 9fe6a3b9
      NAKAMURA Takumi authored
      llvm-svn: 191815
      9fe6a3b9
    • Filip Pizlo's avatar
      This threads SectionName through the allocateCodeSection/allocateDataSection... · 7aa695e0
      Filip Pizlo authored
      This threads SectionName through the allocateCodeSection/allocateDataSection APIs, both in C++ and C land.  
      It's useful for the memory managers that are allocating a section to know what the name of the section is.  
      At a minimum, this is useful for low-level debugging - it's customary for JITs to be able to tell you what 
      memory they allocated, and as part of any such dump, they should be able to tell you some meta-data about 
      what each allocation is for.  This allows clients that supply their own memory managers to do this.  
      Additionally, we also envision the SectionName being useful for passing meta-data from within LLVM to an LLVM 
      client.
      
      This changes both the C and C++ APIs, and all of the clients of those APIs within LLVM.  I'm assuming that 
      it's safe to change the C++ API because that API is allowed to change.  I'm assuming that it's safe to change 
      the C API because we haven't shipped the API in a release yet (LLVM 3.3 doesn't include the MCJIT memory 
      management C API).
      
      llvm-svn: 191804
      7aa695e0
    • Manman Ren's avatar
      Debug Info: In DIBuilder, the derived-from field of a DW_TAG_pointer_type · 9a0a6703
      Manman Ren authored
      is updated to use DITypeRef.
      
      Move isUnsignedDIType and getOriginalTypeSize from DebugInfo.h to be static
      helper functions in DwarfCompileUnit. We already have a static helper function
      "isTypeSigned" in DwarfCompileUnit, and a pointer to DwarfDebug is added to
      resolve the derived-from field. All three functions need to go across link
      for derived-from fields, so we need to get hold of a type identifier map.
      
      A pointer to DwarfDebug is also added to DbgVariable in order to resolve the
      derived-from field.
      
      Debug info verifier is updated to check a derived-from field is a TypeRef.
      Verifier will not go across link for derived-from fields, in debug info finder,
      we go across the link to add derived-from fields to types.
      
      Function getDICompositeType is only used by dragonegg and since dragonegg does
      not generate identifier for types, we use an empty map to resolve the
      derived-from field.
      
      When printing a derived-from field, we use DITypeRef::getName to either return
      the type identifier or getName of the DIType.
      
      A paired commit at clang is required due to changes to DIBuilder.
      
      llvm-svn: 191800
      9a0a6703
    • Quentin Colombet's avatar
      [llvm-c][Disassembler] Add an option to reproduce in disassembled output the · 93a98aac
      Quentin Colombet authored
      comments issued with verbose assembly.
      E.g., on a vector shuffle operation, disassembled output are:
      * Without the option:
      vpshufd $-0x79, (%rsp), %xmm0
      
      * With the option:
      vpshufd $-0x79, (%rsp), %xmm0   ## xmm0 = mem[3,1,0,2]
      
      This part of <rdar://problem/14687488>.
      
      llvm-svn: 191799
      93a98aac
  3. Oct 01, 2013
    • Tareq A. Siraj's avatar
      Add non-blocking Wait() for launched processes · d88b9832
      Tareq A. Siraj authored
      - New ProcessInfo class to encapsulate information about child processes.
      - Generalized the Wait() to support non-blocking wait on child processes.
      - ExecuteNoWait() now returns a ProcessInfo object with information about
        the launched child. Users will be able to use this object to
        perform non-blocking wait.
      - ExecuteNoWait() now accepts an ExecutionFailed param that tells if execution
        failed or not.
      
      These changes will allow users to implement basic process parallel
      tools.
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D1728
      
      llvm-svn: 191763
      d88b9832
    • Joey Gouly's avatar
      [ARM] Introduce the 'sevl' instruction in ARMv8. · ad98f167
      Joey Gouly authored
      This also removes the restriction on the immediate field of the 'hint'
      instruction.
      
      llvm-svn: 191744
      ad98f167
    • Andrew Kaylor's avatar
      Adding multiple module support for MCJIT. · ea395924
      Andrew Kaylor authored
      Tests to follow.
      
      PIC with small code model and  EH frame handling will not work with multiple modules.  There are also some rough edges to be smoothed out for remote target support.
      
      llvm-svn: 191722
      ea395924
  4. Sep 30, 2013
  5. Sep 29, 2013
  6. Sep 28, 2013
  7. Sep 27, 2013
  8. Sep 26, 2013
  9. Sep 25, 2013
    • Andrew Trick's avatar
      Mark the x86 machine model as incomplete. PR17367. · b6854d80
      Andrew Trick authored
      Ideally, the machinel model is added at the time the instructions are
      defined. But many instructions in X86InstrSSE.td still need a model.
      
      Without this workaround the scheduler asserts because x86 already has
      itinerary classes for these instructions, indicating they should be
      modeled by the scheduler. Since we use the new machine model for other
      instructions, it expects a new machine model for these too.
      
      llvm-svn: 191391
      b6854d80
    • Joerg Sonnenberger's avatar
      Undefine NetBSD, it may have been defined by an earlier include of · 7278edc5
      Joerg Sonnenberger authored
      sys/param.h.
      
      llvm-svn: 191384
      7278edc5
    • David Majnemer's avatar
      MC: Add support for treating $ as a reference to the PC · 0c58bc64
      David Majnemer authored
      The binutils assembler supports a mode called DOLLAR_DOT which treats
      the dollar sign token as a reference to the current program counter if
      the dollar sign doesn't precede a constant or identifier.
      
      This commit adds a new MCAsmInfo flag stating whether or not a given
      target supports this interpretation of the dollar sign token; by
      default, this flag is not enabled.
      
      Further, enable this flag for PPC. The system assembler for AIX and
      binutils both support using the dollar sign in this manner.
      
      This fixes PR17353.
      
      llvm-svn: 191368
      0c58bc64
Loading