summaryrefslogtreecommitdiffstats
path: root/llvm/test/Feature
Commit message (Collapse)AuthorAgeFilesLines
* remove unions from LLVM IR. They are severely buggy and notChris Lattner2010-08-281-14/+0
| | | | | | being actively maintained, improved, or extended. llvm-svn: 112356
* Extend function-local metadata to be usable as attachments.Dan Gohman2010-08-241-2/+4
| | | | llvm-svn: 111895
* Create the new linker type "linker_private_weak_def_auto".Bill Wendling2010-08-201-0/+1
| | | | | | | | | | | It's similar to "linker_private_weak", but it's known that the address of the object is not taken. For instance, functions that had an inline definition, but the compiler decided not to inline it. Note, unlike linker_private and linker_private_weak, linker_private_weak_def_auto may have only default visibility. The symbols are removed by the linker from the final linked image (executable or dynamic library). llvm-svn: 111684
* Disallow null as a named metadata operand.Dan Gohman2010-07-211-1/+1
| | | | | | | | | | | Make MDNode::destroy private. Fix the one thing that used MDNode::destroy, outside of MDNode itself. One should never delete or destroy an MDNode explicitly. MDNodes implicitly go away when there are no references to them (implementation details aside). llvm-svn: 109028
* Add support for empty named metadata too. This isn't particularlyDan Gohman2010-07-131-0/+1
| | | | | | useful, but it is nice for consistency. llvm-svn: 108262
* Add support for empty metadata nodes: !{}.Dan Gohman2010-07-131-1/+2
| | | | llvm-svn: 108259
* Implement the "linker_private_weak" linkage type. This will be used forBill Wendling2010-07-011-0/+6
| | | | | | | | | | | | | | | | | | | | | | | Objective-C metadata types which should be marked as "weak", but which the linker will remove upon final linkage. However, this linkage isn't specific to Objective-C. For example, the "objc_msgSend_fixup_alloc" symbol is defined like this: .globl l_objc_msgSend_fixup_alloc .weak_definition l_objc_msgSend_fixup_alloc .section __DATA, __objc_msgrefs, coalesced .align 3 l_objc_msgSend_fixup_alloc: .quad _objc_msgSend_fixup .quad L_OBJC_METH_VAR_NAME_1 This is different from the "linker_private" linkage type, because it can't have the metadata defined with ".weak_definition". Currently only supported on Darwin platforms. llvm-svn: 107433
* fix PR7105 by enumerating MDNodes on all @llvm.fooChris Lattner2010-05-101-0/+13
| | | | | | function calls, not just recognized intrinsics. llvm-svn: 103428
* add support for zero initialized unions, patch by Tim Northover!Chris Lattner2010-03-291-0/+2
| | | | llvm-svn: 99818
* Revert r98666 too; it's checkin-without-testing day!Daniel Dunbar2010-03-161-1/+1
| | | | llvm-svn: 98673
* temporarily xfailChris Lattner2010-03-161-1/+1
| | | | llvm-svn: 98666
* Add support for a union type in LLVM IR. Patch by Talin!Chris Lattner2010-02-121-0/+12
| | | | llvm-svn: 96011
* Add a new function attribute, 'alignstack'. It will indicate (when the backendsCharles Davis2010-02-121-0/+4
| | | | | | | implement support for it) that the stack should be forcibly realigned in the prologue (and the process reversed in the epilogue). llvm-svn: 95945
* fix bogus testChris Lattner2010-01-091-1/+1
| | | | llvm-svn: 93068
* Use separate namespace for named metadata.Devang Patel2010-01-071-0/+3
| | | | llvm-svn: 92931
* Allow null to be an element of NamedMDNode. e.g. !llvm.stuff = !{!0, !1, null}Devang Patel2010-01-051-1/+1
| | | | llvm-svn: 92783
* add bitcode reader support for blockaddress. We can now fullyChris Lattner2009-10-281-1/+7
| | | | | | | | | | round trip blockaddress through .ll and .bc files, so add a testcase. There are still a bunch of places in the optimizer and other places that need to be updated to work with these constructs, but at least the basics are in now. llvm-svn: 85377
* rename indbr -> indirectbr to appease the residents of #llvm.Chris Lattner2009-10-281-3/+3
| | | | llvm-svn: 85351
* add enough support for indirect branch for the feature test to passChris Lattner2009-10-271-0/+11
| | | | | | | (assembler,asmprinter, bc reader+writer) and document it. Codegen currently aborts on it. llvm-svn: 85274
* change of mind :)Chris Lattner2009-10-271-0/+0
| | | | llvm-svn: 85258
* rename test.Chris Lattner2009-10-271-0/+0
| | | | llvm-svn: 85256
* eliminate md_on_instruction.ll, md_on_instruction2.ll is a superset of it.Chris Lattner2009-10-192-24/+1
| | | | llvm-svn: 84464
* Add new "memory use marker" intrinsics. These indicate lifetimes and invariantNick Lewycky2009-10-131-0/+36
| | | | | | sections of memory objects. llvm-svn: 83953
* Parse custom metadata attached with an instruction.Devang Patel2009-09-292-9/+9
| | | | llvm-svn: 83033
* Write and read metadata attachments.Devang Patel2009-09-181-0/+22
| | | | llvm-svn: 82259
* A testcase!Devang Patel2009-09-171-0/+23
| | | | llvm-svn: 82176
* Change tests from "opt %s" to "opt < %s" so that opt doesn't see theDan Gohman2009-09-111-1/+1
| | | | | | | | input filename so that opt doesn't print the input filename in the output so that grep lines in the tests don't unintentionally match strings in the input filename. llvm-svn: 81537
* this test is using invalid "intrinsics".Chris Lattner2009-09-111-20/+0
| | | | llvm-svn: 81527
* Use "opt < %s" instead of "opt %s" so that opt doesn't print the testDan Gohman2009-09-081-1/+1
| | | | | | filename in the output, which interferes with the tests' grep lines. llvm-svn: 81263
* Use opt -S instead of piping bitcode output through llvm-dis.Dan Gohman2009-09-081-1/+1
| | | | llvm-svn: 81257
* Change these tests to feed the assembly files to opt directly, insteadDan Gohman2009-09-082-3/+3
| | | | | | of using llvm-as, now that opt supports this. llvm-svn: 81226
* Temporary test files should use %t.Daniel Dunbar2009-09-052-6/+6
| | | | llvm-svn: 81086
* Remove obsolete -f flags.Dan Gohman2009-08-252-2/+2
| | | | llvm-svn: 79992
* Do not use abbrev while writing NamedMDNode name.Devang Patel2009-07-301-0/+7
| | | | llvm-svn: 77637
* Read and write NamedMDNode.Devang Patel2009-07-291-0/+6
| | | | llvm-svn: 77517
* Derive MDNode from MetadataBase instead of Constant. Emit MDNodes into ↵Devang Patel2009-07-234-17/+7
| | | | | | METADATA_BLOCK in bitcode file. llvm-svn: 76834
* Remove empty test.Devang Patel2009-07-221-0/+0
| | | | llvm-svn: 76763
* Introduce MetadataBase, a base class for MDString and MDNode.Devang Patel2009-07-222-7/+5
| | | | | | | Derive MDString directly from MetadataBase. Introduce new bitcode block to hold metadata. llvm-svn: 76759
* Drop "constant" from Devang Patel2009-07-083-4/+5
| | | | | | !0 = constant metadata !{...} llvm-svn: 75057
* Update SLotTracker to handle MDNode slots.Devang Patel2009-07-081-3/+4
| | | | | | Simplify MDNode printing. llvm-svn: 75053
* Support MDNode forward reference.Devang Patel2009-07-081-0/+5
| | | | llvm-svn: 75031
* new test caseDevang Patel2009-07-011-0/+3
| | | | llvm-svn: 74633
* Support stand alone metadata syntax.Devang Patel2009-07-011-0/+7
| | | | | | | !0 = constant metadata !{i32 21, i32 22} @llvm.blah = constant metadata !{i32 1000, i16 200, metadata !0} llvm-svn: 74630
* Let's ignore MDStrings also!Devang Patel2009-06-261-1/+3
| | | | llvm-svn: 74255
* No need to code gen MDNodesDevang Patel2009-06-251-0/+2
| | | | llvm-svn: 74150
* Support vector casts in more places, fixing a variety of assertionDan Gohman2009-06-151-0/+37
| | | | | | | | | | | | | | | failures. To support this, add some utility functions to Type to help support vector/scalar-independent code. Change ConstantInt::get and ConstantFP::get to support vector types, and add an overload to ConstantInt::get that uses a static IntegerType type, for convenience. Introduce a new getConstant method for ScalarEvolution, to simplify common use cases. llvm-svn: 73431
* Split the Add, Sub, and Mul instruction opcodes into separateDan Gohman2009-06-043-3/+3
| | | | | | | | | | | | | | | integer and floating-point opcodes, introducing FAdd, FSub, and FMul. For now, the AsmParser, BitcodeReader, and IRBuilder all preserve backwards compatability, and the Core LLVM APIs preserve backwards compatibility for IR producers. Most front-ends won't need to change immediately. This implements the first step of the plan outlined here: http://nondot.org/sabre/LLVMNotes/IntegerOverflow.txt llvm-svn: 72897
* Give embedded metadata its own type instead of relying on EmptyStructTy.Nick Lewycky2009-05-301-3/+3
| | | | llvm-svn: 72610
* Make MDNode use CallbackVH. Also change MDNode to store Value* instead ofNick Lewycky2009-05-101-1/+1
| | | | | | | Constant* in preperation of a future change to support holding non-Constants in an MDNode. llvm-svn: 71407
* Add support for embedded metadata to LLVM. This introduces two new types ofNick Lewycky2009-04-041-0/+11
| | | | | | | | Constant, MDString and MDNode which can only be used by globals with a name that starts with "llvm." or as arguments to a function with the same naming restriction. llvm-svn: 68420
OpenPOWER on IntegriCloud