Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Rename msasm to alignstack per review. | Dale Johannesen | 2009-10-21 | 1 | -4/+4 | |
| | | | | llvm-svn: 84795 | |||||
* | Make changes to rev 84292 as requested by Chris Lattner. | Victor Hernandez | 2009-10-21 | 1 | -23/+18 | |
| | | | | | | | Most changes are cleanup, but there is 1 correctness fix: I fixed InstCombine so that the icmp is removed only if the malloc call is removed (which requires explicit removal because the Worklist won't DCE any calls since they can have side-effects). llvm-svn: 84772 | |||||
* | Cosmetic changes. | Devang Patel | 2009-10-20 | 1 | -1/+1 | |
| | | | | | | | | s/validName/isValidName/g s/with an Instruction/to an Instruction/g s/RegisterMDKind/registerMDKind/g llvm-svn: 84689 | |||||
* | clean up after metadata changes. | Chris Lattner | 2009-10-19 | 1 | -10/+4 | |
| | | | | llvm-svn: 84463 | |||||
* | remove some nonascii weird stuff | Chris Lattner | 2009-10-18 | 1 | -1/+1 | |
| | | | | llvm-svn: 84410 | |||||
* | add some fixme's | Chris Lattner | 2009-10-18 | 1 | -0/+1 | |
| | | | | llvm-svn: 84408 | |||||
* | Remove MallocInst from LLVM Instructions. | Victor Hernandez | 2009-10-17 | 1 | -1/+1 | |
| | | | | llvm-svn: 84299 | |||||
* | Autoupgrade malloc insts to malloc calls. | Victor Hernandez | 2009-10-17 | 1 | -6/+38 | |
| | | | | | | | | Update testcases that rely on malloc insts being present. Also prematurely remove MallocInst handling from IndMemRemoval and RaiseAllocations to help pass tests in this incremental step. llvm-svn: 84292 | |||||
* | Parse PHI instruction with attached metadata. | Devang Patel | 2009-10-16 | 1 | -0/+6 | |
| | | | | llvm-svn: 84264 | |||||
* | Add an "msasm" flag to inline asm as suggested in PR 5125. | Dale Johannesen | 2009-10-13 | 1 | -4/+5 | |
| | | | | | | | A little ugliness is accepted to keep the binary file format compatible. No functional change yet. llvm-svn: 84020 | |||||
* | Parse GEP with attached custom metadata. This happens during ↵ | Devang Patel | 2009-10-13 | 1 | -0/+4 | |
| | | | | | | libprofile_rt.bca build. llvm-svn: 84002 | |||||
* | strength reduce a ton of type equality tests to check the typeid (Through | Chris Lattner | 2009-10-05 | 1 | -20/+20 | |
| | | | | | | | | the new predicates I added) instead of going through a context and doing a pointer comparison. Besides being cheaper, this allows a smart compiler to turn the if sequence into a switch. llvm-svn: 83297 | |||||
* | Only one custom meadata of each kind can be attached with an instruction. | Devang Patel | 2009-09-29 | 1 | -1/+1 | |
| | | | | llvm-svn: 83105 | |||||
* | Parse custom metadata attached with an instruction. | Devang Patel | 2009-09-29 | 1 | -24/+32 | |
| | | | | llvm-svn: 83033 | |||||
* | s/class Metadata/class MetadataContext/g | Devang Patel | 2009-09-28 | 1 | -2/+2 | |
| | | | | llvm-svn: 83019 | |||||
* | Do not use global typedef for MDKindID. | Devang Patel | 2009-09-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 83016 | |||||
* | Revert 82694 "Auto-upgrade malloc instructions to malloc calls." because it ↵ | Victor Hernandez | 2009-09-25 | 1 | -39/+7 | |
| | | | | | | causes regressions in the nightly tests. llvm-svn: 82784 | |||||
* | Auto-upgrade malloc instructions to malloc calls. | Victor Hernandez | 2009-09-24 | 1 | -7/+39 | |
| | | | | | | Reviewed by Devang Patel. llvm-svn: 82694 | |||||
* | Tabs -> spaces, and remove trailing whitespace. | Daniel Dunbar | 2009-09-20 | 1 | -284/+284 | |
| | | | | llvm-svn: 82355 | |||||
* | Fix parsing of optional metadata for 'load', 'store' and 'alloc' instructions. | Devang Patel | 2009-09-17 | 1 | -63/+102 | |
| | | | | llvm-svn: 82175 | |||||
* | Parse debug info attached with an instruction. | Devang Patel | 2009-09-16 | 1 | -0/+17 | |
| | | | | llvm-svn: 82063 | |||||
* | Reappy r80998, now that the GlobalOpt bug that it exposed on MiniSAT is fixed. | Dan Gohman | 2009-09-07 | 1 | -15/+15 | |
| | | | | llvm-svn: 81172 | |||||
* | Revert "Include optional subclass flags, such as inbounds, nsw, etc., ...", this | Daniel Dunbar | 2009-09-06 | 1 | -15/+15 | |
| | | | | | | breaks MiniSAT on x86_64. llvm-svn: 81098 | |||||
* | Include optional subclass flags, such as inbounds, nsw, etc., in the | Dan Gohman | 2009-09-04 | 1 | -15/+15 | |
| | | | | | | | | | | | | | | | | | Constant uniquing tables. This allows distinct ConstantExpr objects with the same operation and different flags. Even though a ConstantExpr "a + b" is either always overflowing or never overflowing (due to being a ConstantExpr), it's still necessary to be able to represent it both with and without overflow flags at the same time within the IR, because the safety of the flag may depend on the context of the use. If the constant really does overflow, it wouldn't ever be safe to use with the flag set, however the use may be in code that is never actually executed. This also makes it possible to merge all the flags tests into a single test. llvm-svn: 80998 | |||||
* | plug another leak in LLParser::PerFunctionState::SetInstName() | Nuno Lopes | 2009-09-02 | 1 | -0/+1 | |
| | | | | llvm-svn: 80792 | |||||
* | plug memory leak in LLParser::PerFunctionState::SetInstName() by deleting a ↵ | Nuno Lopes | 2009-09-02 | 1 | -0/+1 | |
| | | | | | | value after replacing it llvm-svn: 80790 | |||||
* | Retype from unsigned to CallingConv::ID accordingly. Approved by Bob Wilson. | Sandeep Patel | 2009-09-02 | 1 | -5/+18 | |
| | | | | llvm-svn: 80773 | |||||
* | Minor logic simplification. | Dan Gohman | 2009-08-29 | 1 | -1/+1 | |
| | | | | llvm-svn: 80453 | |||||
* | Reapply 79977. | Devang Patel | 2009-08-28 | 1 | -0/+2 | |
| | | | | | | Use MDNodes to encode debug info in llvm IR. llvm-svn: 80406 | |||||
* | Revert 79977. It causes llvm-gcc bootstrap failures on some platforms. | Devang Patel | 2009-08-26 | 1 | -2/+0 | |
| | | | | llvm-svn: 80073 | |||||
* | Add an 'inline hint' attribute to represent source | Dale Johannesen | 2009-08-26 | 1 | -0/+1 | |
| | | | | | | | | code hints that it would be a good idea to inline a function ("inline" keyword). No functional change yet; FEs do not emit this and inliner does not use it. llvm-svn: 80063 | |||||
* | Eliminate the unused Context argument on one of the ICmpInst and FCmpInst | Dan Gohman | 2009-08-25 | 1 | -2/+2 | |
| | | | | | | constructors. llvm-svn: 80049 | |||||
* | Update DebugInfo interface to use metadata, instead of special named ↵ | Devang Patel | 2009-08-25 | 1 | -0/+2 | |
| | | | | | | | | llvm.dbg.... global variables, to encode debugging information in llvm IR. This is mostly a mechanical change that tests metadata support very well. This change speeds up llvm-gcc by more then 6% at "-O0 -g" (measured by compiling InstructionCombining.cpp!) llvm-svn: 79977 | |||||
* | Rename hasNoUnsignedOverflow and hasNoSignedOverflow to hasNoUnsignedWrap | Dan Gohman | 2009-08-20 | 1 | -4/+4 | |
| | | | | | | and hasNoSignedWrap, for consistency with the nuw and nsw properties. llvm-svn: 79539 | |||||
* | Actually privatize a IntegerTypes, and fix a few bugs exposed by this. | Owen Anderson | 2009-08-13 | 1 | -4/+4 | |
| | | | | llvm-svn: 78955 | |||||
* | Push LLVMContexts through the IntegerType APIs. | Owen Anderson | 2009-08-13 | 1 | -56/+60 | |
| | | | | llvm-svn: 78948 | |||||
* | Extend the AsmWriter to print unnamed numbered types as "%0 = type ..." | Dan Gohman | 2009-08-12 | 1 | -3/+49 | |
| | | | | | | | and unnamed numbered global variables as "@0 = global ...". Extend the AsmParser to recognize these forms. llvm-svn: 78859 | |||||
* | Privatize the StructType table, which unfortunately involves routing ↵ | Owen Anderson | 2009-08-05 | 1 | -4/+5 | |
| | | | | | | contexts through a number of APIs. llvm-svn: 78258 | |||||
* | Move the metadata constructors back to 2.5 syntax. | Owen Anderson | 2009-07-31 | 1 | -5/+5 | |
| | | | | llvm-svn: 77733 | |||||
* | Move a few more APIs back to 2.5 forms. The only remaining ones left to ↵ | Owen Anderson | 2009-07-31 | 1 | -1/+1 | |
| | | | | | | | | change back are metadata related, which I'm waiting on to avoid conflicting with Devang. llvm-svn: 77721 | |||||
* | Move getTrue() and getFalse() to 2.5-like APIs. | Owen Anderson | 2009-07-31 | 1 | -2/+2 | |
| | | | | llvm-svn: 77685 | |||||
* | Move more code back to 2.5 APIs. | Owen Anderson | 2009-07-30 | 1 | -6/+6 | |
| | | | | llvm-svn: 77635 | |||||
* | Move types back to the 2.5 API. | Owen Anderson | 2009-07-29 | 1 | -18/+18 | |
| | | | | llvm-svn: 77516 | |||||
* | There is no need to keep name ref in NamedMDNode. | Devang Patel | 2009-07-29 | 1 | -2/+1 | |
| | | | | llvm-svn: 77511 | |||||
* | Move ConstantExpr to 2.5 API. | Owen Anderson | 2009-07-29 | 1 | -12/+12 | |
| | | | | llvm-svn: 77494 | |||||
* | Minor code simplification. | Dan Gohman | 2009-07-29 | 1 | -5/+2 | |
| | | | | llvm-svn: 77459 | |||||
* | Parse named metadata. | Devang Patel | 2009-07-29 | 1 | -0/+36 | |
| | | | | llvm-svn: 77410 | |||||
* | Rename MDNode.h header. It defines MDnode and other metadata classes. | Devang Patel | 2009-07-28 | 1 | -1/+1 | |
| | | | | | | New name is Metadata.h. llvm-svn: 77370 | |||||
* | Return ConstantVector to 2.5 API. | Owen Anderson | 2009-07-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 77366 | |||||
* | Change ConstantArray to 2.5 API. | Owen Anderson | 2009-07-28 | 1 | -2/+2 | |
| | | | | llvm-svn: 77347 |