| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add comment that MDNode::getFunction() is not to be used by ↵ | Victor Hernandez | 2010-01-18 | 1 | -1/+2 |
| | | | | | | | performance-critical code (currently only used by AsmWriter) llvm-svn: 93802 | ||||
| * | Simplify MDNode::getFunction() and assertLocalFunction() by avoiding extra ↵ | Victor Hernandez | 2010-01-18 | 1 | -46/+39 |
| | | | | | | | Function* variable and smallptrset since function-local metadata cannot be cyclic llvm-svn: 93762 | ||||
| * | reject some invalid IR. We already assert and reject this from the | Chris Lattner | 2010-01-18 | 1 | -0/+2 |
| | | | | | | | .ll parser, but PR6070 wants it in the verifier too. llvm-svn: 93756 | ||||
| * | Make printing of metadata more robust when function is not found (which is ↵ | Victor Hernandez | 2010-01-18 | 1 | -1/+1 |
| | | | | | | | the normal situation for non function-local metadata) llvm-svn: 93748 | ||||
| * | Update CMake files for Mangler move. | Benjamin Kramer | 2010-01-16 | 1 | -1/+0 |
| | | | | | llvm-svn: 93665 | ||||
| * | move the mangler into libtarget from vmcore. | Chris Lattner | 2010-01-16 | 1 | -104/+0 |
| | | | | | llvm-svn: 93664 | ||||
| * | reapply the mangler gutting patch. | Chris Lattner | 2010-01-16 | 1 | -183/+4 |
| | | | | | llvm-svn: 93656 | ||||
| * | Revert 93648. | Rafael Espindola | 2010-01-16 | 1 | -4/+183 |
| | | | | | | | | | Mangler::getMangledName is used from lto Mangler::setUseQuotes is used in the AsmPrinter Mangler::setSymbolsCanStartWithDigit is used in the AsmPrinter llvm-svn: 93652 | ||||
| * | Mangler::getMangledName is now dead, remove it and all the other stuff in ↵ | Chris Lattner | 2010-01-16 | 1 | -183/+4 |
| | | | | | | | Mangler that is now transitively dead. woo. llvm-svn: 93648 | ||||
| * | add an inefficient version of getNameWithPrefix that returns an std::string. | Chris Lattner | 2010-01-16 | 1 | -0/+10 |
| | | | | | llvm-svn: 93641 | ||||
| * | Remove the InlineHint attribute. There are no current or planned | Eric Christopher | 2010-01-15 | 1 | -2/+0 |
| | | | | | | | users. llvm-svn: 93558 | ||||
| * | Improve llvm.dbg.declare intrinsic by referring directly to the storage in ↵ | Victor Hernandez | 2010-01-15 | 3 | -4/+16 |
| | | | | | | | | | | its first argument, via function-local metadata (instead of via a bitcast). This patch also cleans up code that expects there to be a bitcast in the first argument and testcases that call llvm.dbg.declare. It also strips old llvm.dbg.declare intrinsics that did not pass metadata as the first argument. llvm-svn: 93531 | ||||
| * | Revert r93504 because older uses of llvm.dbg.declare intrinsics need to be ↵ | Victor Hernandez | 2010-01-15 | 1 | -4/+3 |
| | | | | | | | auto-upgraded llvm-svn: 93515 | ||||
| * | Improve llvm.dbg.declare intrinsic by referring directly to the storage in ↵ | Victor Hernandez | 2010-01-15 | 1 | -3/+4 |
| | | | | | | | | | its first argument, via function-local metadata (instead of via a bitcast). This patch also cleans up code that expects there to be a bitcast in the first argument and testcases that call llvm.dbg.declare. llvm-svn: 93504 | ||||
| * | In debug builds, assert that function-local metadata has only 1 parent function | Victor Hernandez | 2010-01-14 | 1 | -1/+30 |
| | | | | | llvm-svn: 93449 | ||||
| * | Fix printing of function-local metadata in AsmWriter | Victor Hernandez | 2010-01-14 | 1 | -2/+3 |
| | | | | | llvm-svn: 93402 | ||||
| * | Add MDNode::getFunction(), which figures out the metadata's function, if it ↵ | Victor Hernandez | 2010-01-14 | 1 | -0/+34 |
| | | | | | | | has function that it is local to. llvm-svn: 93400 | ||||
| * | Introduce Twine::toStringRef, a variant of toVector which avoids the copy if the | Benjamin Kramer | 2010-01-13 | 3 | -23/+9 |
| | | | | | | | | twine can be represented as a single StringRef. Use the new methode to simplify some twine users. llvm-svn: 93317 | ||||
| * | don't add the \1 to the name. | Chris Lattner | 2010-01-13 | 1 | -1/+1 |
| | | | | | llvm-svn: 93304 | ||||
| * | add new isSingleStringRef()/getSingleStringRef() methods to twine, | Chris Lattner | 2010-01-13 | 1 | -2/+7 |
| | | | | | | | | | and use them to avoid a copy of a string in getNameWithPrefix in the common case. It seems like Value::setName and other places should use this as well? llvm-svn: 93301 | ||||
| * | ugh, my last patch just sped up a method and changed all the clients | Chris Lattner | 2010-01-13 | 1 | -19/+51 |
| | | | | | | | | | that I want to completely eliminate. Add fixme's so I remember this in the future, and add the missing helper that they should be upgraded to use instead. llvm-svn: 93300 | ||||
| * | change Mangler::makeNameProper to return its result in a SmallVector | Chris Lattner | 2010-01-13 | 1 | -53/+66 |
| | | | | | | | | | | | | | instead of returning it in an std::string. Based on this change: 1. Change TargetLoweringObjectFileCOFF::getCOFFSection to take a StringRef 2. Change a bunch of targets to call makeNameProper with a smallstring, making several of them *much* more efficient. 3. Rewrite Mangler::makeNameProper to not build names and then prepend prefixes, not use temporary std::strings, and to avoid other crimes. llvm-svn: 93298 | ||||
| * | my mistake, Mangler::makeNameProper wants to take a twine, not a stringref! | Chris Lattner | 2010-01-13 | 1 | -2/+5 |
| | | | | | llvm-svn: 93296 | ||||
| * | change makeNameProper to take a stringref instead of std::string. | Chris Lattner | 2010-01-13 | 1 | -8/+8 |
| | | | | | llvm-svn: 93295 | ||||
| * | Further progration of metadata operands. The | Dale Johannesen | 2010-01-13 | 1 | -0/+5 |
| | | | | | | | | dumper doesn't really do what I want yet, but at least it doesn't crash now. llvm-svn: 93272 | ||||
| * | Use Twine, instead of StringRef, for consistency. | Devang Patel | 2010-01-12 | 1 | -5/+18 |
| | | | | | llvm-svn: 93249 | ||||
| * | Use ilist_tratis to autoinsert and remove NamedMDNode from MDSymbolTable. | Devang Patel | 2010-01-12 | 2 | -12/+25 |
| | | | | | llvm-svn: 93247 | ||||
| * | Reimplement getToken and SplitString as "StringRef helper functions" | Benjamin Kramer | 2010-01-11 | 1 | -7/+10 |
| | | | | | | | | | | - getToken is modeled after StringRef::split but it can split on multiple separator chars and skips leading seperators. - SplitString is a StringRef::split variant for more than 2 elements with the same behaviour as getToken. llvm-svn: 93161 | ||||
| * | Respond to Chris' review: | Victor Hernandez | 2010-01-11 | 1 | -1/+5 |
| | | | | | | | | Make InsertDbgValueIntrinsic() and get Offset take and recieve a uint64_t. Get constness correct for getVariable() and getValue(). llvm-svn: 93149 | ||||
| * | fix a buggy assertion, CreateIntegerCast should allow | Chris Lattner | 2010-01-10 | 1 | -1/+2 |
| | | | | | | | integer vectors as well as just integers. llvm-svn: 93126 | ||||
| * | Suppress a warning on gcc 4.4. | Mikhail Glushenkov | 2010-01-10 | 1 | -26/+26 |
| | | | | | | warning: suggest parentheses around ‘&&’ within ‘||’. llvm-svn: 93121 | ||||
| * | Compute isFunctionLocal in MDNode ctor or via argument in new function ↵ | Victor Hernandez | 2010-01-10 | 1 | -3/+32 |
| | | | | | | | | | getWhenValsUnresolved(). Document PFS argument to ParseValID() and ConvertGlobalOrMetadataValIDToValue(). llvm-svn: 93108 | ||||
| * | "In order to ease automatic bindings generation, it would be helpful if ↵ | Chris Lattner | 2010-01-09 | 2 | -36/+40 |
| | | | | | | | | | boolean values were distinguishable from integers. The attached patch introduces "typedef int LLVMBool;", and uses LLVMBool instead of int throughout the C API, wherever a boolean value is called for." Patch by James Y Knight! llvm-svn: 93079 | ||||
| * | Delete NamedMDSymTable while destrucing Module. | Devang Patel | 2010-01-09 | 2 | -0/+3 |
| | | | | | | | Disable copy ctor and operator= for NamedMDSymTable. Hide typedef that should be public. llvm-svn: 93041 | ||||
| * | Derive NamedMDNode from Value. | Devang Patel | 2010-01-09 | 1 | -1/+1 |
| | | | | | llvm-svn: 93032 | ||||
| * | Use separate namespace for named metadata. | Devang Patel | 2010-01-07 | 2 | -6/+24 |
| | | | | | llvm-svn: 92931 | ||||
| * | Allow null to be an element of NamedMDNode. e.g. !llvm.stuff = !{!0, !1, null} | Devang Patel | 2010-01-05 | 1 | -6/+5 |
| | | | | | llvm-svn: 92783 | ||||
| * | Fix comment for CheckDebugInfoIntrinsics | Victor Hernandez | 2010-01-05 | 1 | -2/+3 |
| | | | | | llvm-svn: 92774 | ||||
| * | Move remaining stuff to the isInteger predicate. | Benjamin Kramer | 2010-01-05 | 3 | -10/+9 |
| | | | | | llvm-svn: 92771 | ||||
| * | NamedMDNode is a collection MDNodes. | Devang Patel | 2010-01-05 | 1 | -11/+11 |
| | | | | | llvm-svn: 92761 | ||||
| * | Convert a ton of simple integer type equality tests to the new predicate. | Benjamin Kramer | 2010-01-05 | 5 | -8/+8 |
| | | | | | llvm-svn: 92760 | ||||
| * | Add a new predicate for integer type equality tests. | Benjamin Kramer | 2010-01-05 | 1 | -0/+5 |
| | | | | | llvm-svn: 92759 | ||||
| * | Avoid going through the LLVMContext for type equality where it's safe to ↵ | Benjamin Kramer | 2010-01-05 | 4 | -17/+13 |
| | | | | | | | dereference the type pointer. llvm-svn: 92726 | ||||
| * | Fix a build error and change errs() to dbgs(). | David Greene | 2010-01-05 | 1 | -1/+2 |
| | | | | | llvm-svn: 92669 | ||||
| * | Change errs() to dbgs(). | David Greene | 2010-01-05 | 1 | -2/+3 |
| | | | | | llvm-svn: 92665 | ||||
| * | Change errs() to dbgs(). | David Greene | 2010-01-05 | 1 | -10/+11 |
| | | | | | llvm-svn: 92664 | ||||
| * | Change errs() to dbgs(). | David Greene | 2010-01-05 | 1 | -3/+3 |
| | | | | | llvm-svn: 92663 | ||||
| * | Change errs() to dbgs(). | David Greene | 2010-01-05 | 1 | -9/+9 |
| | | | | | llvm-svn: 92662 | ||||
| * | Change errs() to dbgs(). | David Greene | 2010-01-05 | 1 | -2/+3 |
| | | | | | llvm-svn: 92661 | ||||
| * | Change errs() to dbgs(). | David Greene | 2010-01-05 | 1 | -29/+30 |
| | | | | | llvm-svn: 92660 | ||||

