summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Do not use getNamedValue() to lookup NamedMDNode. NamedMDNode is not a ↵Devang Patel2009-07-301-1/+1
| | | | | | | | GlobalValue. Thanks Benjamin Kramer! llvm-svn: 77619
* Fix MetadataBase::classof().Devang Patel2009-07-301-1/+1
| | | | | | Thanks Benjamin Kramer! llvm-svn: 77618
* Twine: Use raw_ostream::write_hex, remove unused itohexstr method.Daniel Dunbar2009-07-303-11/+2
| | | | llvm-svn: 77617
* Remove unintended changes.Daniel Dunbar2009-07-301-51/+0
| | | | llvm-svn: 77616
* s/DebugInfoEnumerator/DebugInfoFinder/gDevang Patel2009-07-302-47/+46
| | | | llvm-svn: 77615
* Add raw_ostream::write_hexDaniel Dunbar2009-07-302-4/+10
| | | | llvm-svn: 77614
* Remove itohexstr, which only had one user.Daniel Dunbar2009-07-302-5/+2
| | | | llvm-svn: 77613
* Update based upon comments. Explain why we have an assert.Mike Stump2009-07-301-2/+2
| | | | llvm-svn: 77612
* Add missing D* register clobbers for Thumb-2 call.David Goodwin2009-07-301-0/+1
| | | | llvm-svn: 77611
* We'll also need a vtable pointer if we have virtual bases.Mike Stump2009-07-301-1/+1
| | | | llvm-svn: 77610
* What luck! Clang obtains support for refering to members of theDouglas Gregor2009-07-302-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 Jahanian2009-07-304-3/+50
| | | | llvm-svn: 77608
* Lexically order files.Ted Kremenek2009-07-301-2/+2
| | | | llvm-svn: 77607
* Support out-of-line definitions of the members of class templateDouglas Gregor2009-07-308-18/+132
| | | | | | partial specializations. llvm-svn: 77606
* Twines: Don't allow implicit conversion from integers, this is too tricky.Daniel Dunbar2009-07-306-17/+68
| | | | llvm-svn: 77605
* walk DbgRegionStartInst and DbgRegionEndInstDevang Patel2009-07-302-2/+26
| | | | llvm-svn: 77604
* Fix comment.Devang Patel2009-07-301-2/+2
| | | | llvm-svn: 77603
* Minor whitespace tidiness.Dan Gohman2009-07-301-3/+0
| | | | llvm-svn: 77602
* Rename GRAD to GR32_AD, to follow the naming convention of otherDan Gohman2009-07-302-2/+4
| | | | | | classes. And define its SubRegClassList. llvm-svn: 77601
* Initialize an otherwise-wild pointer. Fixes a crashy analyzerDouglas Gregor2009-07-301-1/+1
| | | | llvm-svn: 77599
* add a random codegen deficiency.Chris Lattner2009-07-301-0/+46
| | | | llvm-svn: 77598
* fix a unitialized pointer in NamedMDNode (and reenable unittest)Benjamin Kramer2009-07-302-4/+1
| | | | llvm-svn: 77597
* fix cmake buildBenjamin Kramer2009-07-301-0/+1
| | | | llvm-svn: 77589
* simple fixes.Zhongxing Xu2009-07-301-4/+2
| | | | llvm-svn: 77587
* Allow targets to define libcall names for mem(cpy,set,move) intrinsics, ↵Sanjiv Gupta2009-07-303-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 Xu2009-07-303-169/+242
| | | | | | Move all components creation code into AnalysisConsumer::DigestAnalyzerOptions(). llvm-svn: 77585
* Add a note.Evan Cheng2009-07-301-0/+20
| | | | llvm-svn: 77584
* I've changed the semantics of MERGE_VALUES a bit. It's now allowed to live ↵Evan Cheng2009-07-301-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 Cheng2009-07-308-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 usingDaniel Dunbar2009-07-305-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 externSanjiv Gupta2009-07-302-2/+41
| | | | | | declaration for them. llvm-svn: 77578
* Update CMakeLists.txtDaniel Dunbar2009-07-301-0/+1
| | | | llvm-svn: 77577
* Twine: Provide [u]int{32,64} conversions via implicit constructors instead ofDaniel Dunbar2009-07-303-26/+56
| | | | | | explicitly. llvm-svn: 77576
* Fix Selector <-> GlobalSelector conversion.Argyrios Kyrtzidis2009-07-301-2/+3
| | | | llvm-svn: 77575
* PR3679 - handle #pragma weakRyan Flynn2009-07-306-12/+97
| | | | llvm-svn: 77573
* Add -fblocks.Daniel Dunbar2009-07-303-6/+6
| | | | llvm-svn: 77571
* Equal SCEVs of a subscript give rise to dependence.Andreas Bolka2009-07-301-1/+11
| | | | llvm-svn: 77570
* Disable the NamedMDNodeTest, it is failing everywhere.Daniel Dunbar2009-07-301-0/+3
| | | | llvm-svn: 77569
* TypoNate Begeman2009-07-301-1/+1
| | | | llvm-svn: 77568
* MultiTestRunner: Stop printing XFAILs on every run, this doesn't really have anyDaniel Dunbar2009-07-301-2/+1
| | | | | | value. llvm-svn: 77566
* Add a new register class to describe operands that can't be SP,Dan Gohman2009-07-306-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 Gohman2009-07-301-4/+4
| | | | llvm-svn: 77564
* This patch collects all analysis context data into a new class Zhongxing Xu2009-07-303-31/+153
| | | | | | AnalysisContext. llvm-svn: 77563
* Remove bogus "unsupported" case for vectors (which shouldn't Eli Friedman2009-07-301-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 Stump2009-07-302-2/+2
| | | | llvm-svn: 77560
* Check null NameMDNode elements.Devang Patel2009-07-302-5/+9
| | | | llvm-svn: 77559
* Eliminate a bunch of redundant tables.Dan Gohman2009-07-301-167/+61
| | | | llvm-svn: 77558
* Lower a 128-bit BUILD_VECTOR with 2 elements to a pair of INSERT_VECTOR_ELTs.Bob Wilson2009-07-301-1/+19
| | | | llvm-svn: 77557
* Add ability to layout the vtable pointer in trivial cases. I noticedMike Stump2009-07-304-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 Friedman2009-07-301-2/+2
| | | | llvm-svn: 77555
OpenPOWER on IntegriCloud