Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Do not use getNamedValue() to lookup NamedMDNode. NamedMDNode is not a ↵ | Devang Patel | 2009-07-30 | 1 | -1/+1 | |
| | | | | | | | | GlobalValue. Thanks Benjamin Kramer! llvm-svn: 77619 | |||||
* | Fix MetadataBase::classof(). | Devang Patel | 2009-07-30 | 1 | -1/+1 | |
| | | | | | | Thanks Benjamin Kramer! llvm-svn: 77618 | |||||
* | Twine: Use raw_ostream::write_hex, remove unused itohexstr method. | Daniel Dunbar | 2009-07-30 | 3 | -11/+2 | |
| | | | | llvm-svn: 77617 | |||||
* | Remove unintended changes. | Daniel Dunbar | 2009-07-30 | 1 | -51/+0 | |
| | | | | llvm-svn: 77616 | |||||
* | s/DebugInfoEnumerator/DebugInfoFinder/g | Devang Patel | 2009-07-30 | 2 | -47/+46 | |
| | | | | llvm-svn: 77615 | |||||
* | Add raw_ostream::write_hex | Daniel Dunbar | 2009-07-30 | 2 | -4/+10 | |
| | | | | llvm-svn: 77614 | |||||
* | Remove itohexstr, which only had one user. | Daniel Dunbar | 2009-07-30 | 2 | -5/+2 | |
| | | | | llvm-svn: 77613 | |||||
* | Update based upon comments. Explain why we have an assert. | Mike Stump | 2009-07-30 | 1 | -2/+2 | |
| | | | | llvm-svn: 77612 | |||||
* | Add missing D* register clobbers for Thumb-2 call. | David Goodwin | 2009-07-30 | 1 | -0/+1 | |
| | | | | llvm-svn: 77611 | |||||
* | We'll also need a vtable pointer if we have virtual bases. | Mike Stump | 2009-07-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 77610 | |||||
* | What luck! Clang obtains support for refering to members of the | Douglas Gregor | 2009-07-30 | 2 | -1/+75 | |
| | | | | | | | current instantiation when that current instantiation is a class template partial specialization. llvm-svn: 77609 | |||||
* | Patch for future ir-gen for destructor calls. | Fariborz Jahanian | 2009-07-30 | 4 | -3/+50 | |
| | | | | llvm-svn: 77608 | |||||
* | Lexically order files. | Ted Kremenek | 2009-07-30 | 1 | -2/+2 | |
| | | | | llvm-svn: 77607 | |||||
* | Support out-of-line definitions of the members of class template | Douglas Gregor | 2009-07-30 | 8 | -18/+132 | |
| | | | | | | partial specializations. llvm-svn: 77606 | |||||
* | Twines: Don't allow implicit conversion from integers, this is too tricky. | Daniel Dunbar | 2009-07-30 | 6 | -17/+68 | |
| | | | | llvm-svn: 77605 | |||||
* | walk DbgRegionStartInst and DbgRegionEndInst | Devang Patel | 2009-07-30 | 2 | -2/+26 | |
| | | | | llvm-svn: 77604 | |||||
* | Fix comment. | Devang Patel | 2009-07-30 | 1 | -2/+2 | |
| | | | | llvm-svn: 77603 | |||||
* | Minor whitespace tidiness. | Dan Gohman | 2009-07-30 | 1 | -3/+0 | |
| | | | | llvm-svn: 77602 | |||||
* | Rename GRAD to GR32_AD, to follow the naming convention of other | Dan Gohman | 2009-07-30 | 2 | -2/+4 | |
| | | | | | | classes. And define its SubRegClassList. llvm-svn: 77601 | |||||
* | Initialize an otherwise-wild pointer. Fixes a crashy analyzer | Douglas Gregor | 2009-07-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 77599 | |||||
* | add a random codegen deficiency. | Chris Lattner | 2009-07-30 | 1 | -0/+46 | |
| | | | | llvm-svn: 77598 | |||||
* | fix a unitialized pointer in NamedMDNode (and reenable unittest) | Benjamin Kramer | 2009-07-30 | 2 | -4/+1 | |
| | | | | llvm-svn: 77597 | |||||
* | fix cmake build | Benjamin Kramer | 2009-07-30 | 1 | -0/+1 | |
| | | | | llvm-svn: 77589 | |||||
* | simple fixes. | Zhongxing Xu | 2009-07-30 | 1 | -4/+2 | |
| | | | | llvm-svn: 77587 | |||||
* | Allow targets to define libcall names for mem(cpy,set,move) intrinsics, ↵ | Sanjiv Gupta | 2009-07-30 | 3 | -3/+14 | |
| | | | | | | rather than hardcoding them in DAG lowering. llvm-svn: 77586 | |||||
* | Make AnalysisManager into its own source file and a pure data management class. | Zhongxing Xu | 2009-07-30 | 3 | -169/+242 | |
| | | | | | | Move all components creation code into AnalysisConsumer::DigestAnalyzerOptions(). llvm-svn: 77585 | |||||
* | Add a note. | Evan Cheng | 2009-07-30 | 1 | -0/+20 | |
| | | | | llvm-svn: 77584 | |||||
* | I've changed the semantics of MERGE_VALUES a bit. It's now allowed to live ↵ | Evan Cheng | 2009-07-30 | 1 | -3/+3 | |
| | | | | | | | | until scheduling. It's deleted when the scheduler translate DAG nodes to machine instructions. This is currently used by X86 to handle atomic_load_add when the output of the node is not used. I believe there is a better solution. But I find MERGE_VALUES useful for selecting multi-output node when the dead output can be selected as a IMPLICIT_DEF. llvm-svn: 77583 | |||||
* | Optimize some common usage patterns of atomic built-ins ↵ | Evan Cheng | 2009-07-30 | 8 | -15/+502 | |
| | | | | | | | | | | | | __sync_add_and_fetch() and __sync_sub_and_fetch. When the return value is not used (i.e. only care about the value in the memory), x86 does not have to use add to implement these. Instead, it can use add, sub, inc, dec instructions with the "lock" prefix. This is currently implemented using a bit of instruction selection trick. The issue is the target independent pattern produces one output and a chain and we want to map it into one that just output a chain. The current trick is to select it into a merge_values with the first definition being an implicit_def. The proper solution is to add new ISD opcodes for the no-output variant. DAG combiner can then transform the node before it gets to target node selection. Problem #2 is we are adding a whole bunch of x86 atomic instructions when in fact these instructions are identical to the non-lock versions. We need a way to add target specific information to target nodes and have this information carried over to machine instructions. Asm printer (or JIT) can use this information to add the "lock" prefix. llvm-svn: 77582 | |||||
* | Switch obvious clients to Twine instead of utostr (when they were already using | Daniel Dunbar | 2009-07-30 | 5 | -20/+15 | |
| | | | | | | | | | a Twine, e.g., for names). - I am a little ambivalent about this; we don't want the string conversion of utostr, but using overload '+' mixed with string and integer arguments is sketchy. On the other hand, this particular usage is something of an idiom. llvm-svn: 77579 | |||||
* | Keep track of references to mem(cpy,move,set) and then print only one extern | Sanjiv Gupta | 2009-07-30 | 2 | -2/+41 | |
| | | | | | | declaration for them. llvm-svn: 77578 | |||||
* | Update CMakeLists.txt | Daniel Dunbar | 2009-07-30 | 1 | -0/+1 | |
| | | | | llvm-svn: 77577 | |||||
* | Twine: Provide [u]int{32,64} conversions via implicit constructors instead of | Daniel Dunbar | 2009-07-30 | 3 | -26/+56 | |
| | | | | | | explicitly. llvm-svn: 77576 | |||||
* | Fix Selector <-> GlobalSelector conversion. | Argyrios Kyrtzidis | 2009-07-30 | 1 | -2/+3 | |
| | | | | llvm-svn: 77575 | |||||
* | PR3679 - handle #pragma weak | Ryan Flynn | 2009-07-30 | 6 | -12/+97 | |
| | | | | llvm-svn: 77573 | |||||
* | Add -fblocks. | Daniel Dunbar | 2009-07-30 | 3 | -6/+6 | |
| | | | | llvm-svn: 77571 | |||||
* | Equal SCEVs of a subscript give rise to dependence. | Andreas Bolka | 2009-07-30 | 1 | -1/+11 | |
| | | | | llvm-svn: 77570 | |||||
* | Disable the NamedMDNodeTest, it is failing everywhere. | Daniel Dunbar | 2009-07-30 | 1 | -0/+3 | |
| | | | | llvm-svn: 77569 | |||||
* | Typo | Nate Begeman | 2009-07-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 77568 | |||||
* | MultiTestRunner: Stop printing XFAILs on every run, this doesn't really have any | Daniel Dunbar | 2009-07-30 | 1 | -2/+1 | |
| | | | | | | value. llvm-svn: 77566 | |||||
* | Add a new register class to describe operands that can't be SP, | Dan Gohman | 2009-07-30 | 6 | -38/+225 | |
| | | | | | | | due to x86 encoding restrictions. This is currently off by default because it may cause code quality regressions. This is for PR4572. llvm-svn: 77565 | |||||
* | Minor whitespace tidiness. | Dan Gohman | 2009-07-30 | 1 | -4/+4 | |
| | | | | llvm-svn: 77564 | |||||
* | This patch collects all analysis context data into a new class | Zhongxing Xu | 2009-07-30 | 3 | -31/+153 | |
| | | | | | | AnalysisContext. llvm-svn: 77563 | |||||
* | Remove bogus "unsupported" case for vectors (which shouldn't | Eli Friedman | 2009-07-30 | 1 | -2/+1 | |
| | | | | | | | | | | ever trigger). Add an "unsupported" case that triggers for C++ code. It would be nice if someone would implement this properly... it shouldn't be too hard, but I haven't looked closely at the relevant code. llvm-svn: 77562 | |||||
* | Fix type to be consistent with the rest of the code. | Mike Stump | 2009-07-30 | 2 | -2/+2 | |
| | | | | llvm-svn: 77560 | |||||
* | Check null NameMDNode elements. | Devang Patel | 2009-07-30 | 2 | -5/+9 | |
| | | | | llvm-svn: 77559 | |||||
* | Eliminate a bunch of redundant tables. | Dan Gohman | 2009-07-30 | 1 | -167/+61 | |
| | | | | llvm-svn: 77558 | |||||
* | Lower a 128-bit BUILD_VECTOR with 2 elements to a pair of INSERT_VECTOR_ELTs. | Bob Wilson | 2009-07-30 | 1 | -1/+19 | |
| | | | | llvm-svn: 77557 | |||||
* | Add ability to layout the vtable pointer in trivial cases. I noticed | Mike Stump | 2009-07-30 | 4 | -8/+29 | |
| | | | | | | | | that we would silently do bad things with virtual bases in the layout code, so, we just turn them off. When people do better things with them, we can turn them back on. llvm-svn: 77556 | |||||
* | Fix gcc warning. | Eli Friedman | 2009-07-30 | 1 | -2/+2 | |
| | | | | llvm-svn: 77555 |