summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Teach libclang to visit the default arguments of template parameters.Douglas Gregor2010-09-012-1/+50
| | | | llvm-svn: 112734
* update the tutorial to use CreateFAdd to create fp operations.Chris Lattner2010-09-014-9/+9
| | | | llvm-svn: 112733
* Changed the test case class names to be noun-like instead of verb-like.Johnny Chen2010-09-0119-19/+19
| | | | llvm-svn: 112732
* Stream::Printf doesn't add a newline, so it needs to be added to all the ↵Jim Ingham2010-09-011-4/+4
| | | | | | error messages in CommandObjectExpression::EvaluateExpression. llvm-svn: 112731
* Implement libclang support for using declarations. Clang actually usesDouglas Gregor2010-09-019-22/+99
| | | | | | | | | | | | | | | | three different kinds of AST nodes to represent using declarations: UsingDecl, UnresolvedUsingValueDecl, and UnresolvedUsingTypenameDecl. These three are collapsed into a single cursor kind for using declarations, since libclang clients don't need the distinction. Several related changes here: - Cursor visitation of the three AST nodes for using declarations - Proper source-range computation for these AST nodes - Using declarations have no USRs, since they don't actually declare any entities. llvm-svn: 112730
* Fix IRGen when property-dot syntax used to accessFariborz Jahanian2010-09-013-9/+31
| | | | | | a c++ class object 'ivar'. Fixes radar 8366604. llvm-svn: 112729
* The register allocator shouldn't consider allocating reserved registers.Jim Grosbach2010-09-011-3/+7
| | | | llvm-svn: 112728
* Disable CorrelatedValuePropagation while I track down selfhost failures.Owen Anderson2010-09-011-1/+0
| | | | llvm-svn: 112727
* tidy up a few 80-column and trailing whitespace bits.Jim Grosbach2010-09-011-16/+19
| | | | llvm-svn: 112726
* Fixed a comment.Sean Callanan2010-09-011-2/+2
| | | | llvm-svn: 112725
* The output of opt -stats must be sent to stderr. Patch by NAKAMURA Takumi!Bill Wendling2010-09-011-1/+1
| | | | llvm-svn: 112724
* Tentatively add correlated value propagation to the set of standard passes.Owen Anderson2010-09-011-0/+1
| | | | llvm-svn: 112723
* JumpThreading keeps LazyValueInfo up to date, so we don't need to rerun itOwen Anderson2010-09-011-1/+3
| | | | | | if we schedule another LVI-using pass afterwards. llvm-svn: 112722
* Add some more load types in.Eric Christopher2010-09-011-2/+22
| | | | llvm-svn: 112721
* Improve libclang indexing support for class template specializationsDouglas Gregor2010-09-013-7/+82
| | | | | | | | | | | | | in a few related ways: - Don't recurse into instantiations of templates. - Recurse into explicit specializations. - Visit the template arguments of an explicit specialization or explicit instantiation. - Include template specialization arguments in the USRs for class template specializations. llvm-svn: 112720
* Speculatively revert 112699 and 112702, they seem to be causingEric Christopher2010-09-018-105/+107
| | | | | | self host errors on clang-x86-64. llvm-svn: 112719
* StringRefize.Benjamin Kramer2010-09-011-6/+5
| | | | llvm-svn: 112718
* Make it clear that libclang does not modify the command-line argumentsDouglas Gregor2010-09-013-8/+8
| | | | | | it is given. llvm-svn: 112717
* Add test for nothing... i.e., the contents of a USR for using directivesDouglas Gregor2010-09-011-0/+4
| | | | llvm-svn: 112716
* Transfer calling-convention attributes down to member function pointers.Douglas Gregor2010-09-013-2/+32
| | | | llvm-svn: 112715
* have the makefiles check the llvm-config error code instead of chargingChris Lattner2010-09-012-4/+17
| | | | | | on an producing weird link errors. Patch by Yuri Gribov! llvm-svn: 112714
* dead code patrolChris Lattner2010-09-011-9/+0
| | | | llvm-svn: 112713
* zap dead code.Chris Lattner2010-09-011-2/+2
| | | | llvm-svn: 112712
* temporarily revert r112664, it is causing a decoding conflict, and Chris Lattner2010-09-015-142/+0
| | | | | | the testcases should be merged. llvm-svn: 112711
* add a new version of mingw, patch by İsmail "cartman" DönmezChris Lattner2010-09-011-0/+4
| | | | | | in PR8049 llvm-svn: 112710
* when emitting an error about a missing } in a compound statement, emitChris Lattner2010-09-014-7/+11
| | | | | | a "to match this {" note, pointing out the opener. llvm-svn: 112709
* zap dead code.Chris Lattner2010-09-011-1/+0
| | | | llvm-svn: 112708
* remove dead code.Chris Lattner2010-09-011-37/+0
| | | | llvm-svn: 112707
* Make tool_output_file's raw_ostream instance a member variable insteadDan Gohman2010-09-0119-208/+198
| | | | | | | | | | of a base class. This makes it possible to unregister the file from FilesToRemove when the file is done. Also, this eliminates the need for formatted_tool_output_file. llvm-svn: 112706
* Add an interface for unregistering a file from the FilesToRemove list.Dan Gohman2010-09-013-0/+28
| | | | llvm-svn: 112705
* COFF: Update tests to reflect changes in last commit.Michael J. Spencer2010-09-012-4/+4
| | | | llvm-svn: 112704
* COFF: Fix incorrect SCT_COMPLEX_TYPE_SHIFT. Add a few constants.Michael J. Spencer2010-09-011-1/+7
| | | | llvm-svn: 112703
* Use the SSAUpdator to turn calls to eh.exception that are not in aDuncan Sands2010-09-011-82/+80
| | | | | | | | landing pad into uses of registers rather than loads from a stack slot. Doesn't touch the 'orrible hack code - Bill needs to persuade me harder :) llvm-svn: 112702
* Make the iterator form of erase return void, since it always succeeds,Dan Gohman2010-09-013-5/+4
| | | | | | and since this is what std::map and std::set do. llvm-svn: 112701
* Define LLVM_GLOBAL_VISIBILITY to be __declspec(dllexport) onDuncan Sands2010-09-011-1/+4
| | | | | | windows systems. llvm-svn: 112700
* If PrototypeValue is erased in the middle of using the SSAUpdatorDuncan Sands2010-09-017-25/+25
| | | | | | | then the SSAUpdator may access freed memory. Instead, simply pass in the type and name explicitly, which is all that was used anyway. llvm-svn: 112699
* Add convenience class for working with eh.exception calls.Duncan Sands2010-09-011-0/+14
| | | | llvm-svn: 112698
* Attempt to fix buildbot.Dale Johannesen2010-09-011-1/+1
| | | | llvm-svn: 112697
* add a gross hack to work around a problem that Argiris reportedChris Lattner2010-09-012-6/+39
| | | | | | | | | | | | | on llvmdev: SRoA is introducing MMX datatypes like <1 x i64>, which then cause random problems because the X86 backend is producing mmx stuff without inserting proper emms calls. In the short term, force off MMX datatypes. In the long term, the X86 backend should not select generic vector types to MMX registers. This is being worked on, but won't be done in time for 2.8. rdar://8380055 llvm-svn: 112696
* filecheckizeChris Lattner2010-09-011-3/+25
| | | | llvm-svn: 112695
* Use movlps, movlpd, movss and movsd specific nodes instead of pattern ↵Bruno Cardoso Lopes2010-09-014-14/+107
| | | | | | matching with movlp pattern fragment llvm-svn: 112694
* Implement libclang support for using directives (cursor + visitation +Douglas Gregor2010-09-0110-54/+54
| | | | | | | | suppressing USRs). Also, fix up the source location information for using directives so that the declaration location refers to the namespace name. llvm-svn: 112693
* Revert 112442 and 112440 until the compile time problems introducedDan Gohman2010-09-014-204/+134
| | | | | | by 112440 are resolved. llvm-svn: 112692
* Split ObjCInterfaceDecl::ReferencedProtocols into two lists: ↵Ted Kremenek2010-09-0112-59/+140
| | | | | | | | | | | | | ReferencedProtocols and AllReferencedProtocols. ReferencedProtocols (and thus protocol_begin(), protocol_end()) now only contains the list of protocols that were directly referenced in an @interface declaration. 'all_referenced_protocol_[begin,end]()' now returns the set of protocols that were referenced in both the @interface and class extensions. The latter is needed for semantic analysis/codegen, while the former is needed to maintain the lexical information of the original source. Fixes <rdar://problem/8380046>. llvm-svn: 112691
* Added support for dynamic sanity checking inSean Callanan2010-09-017-3/+320
| | | | | | | | | | | | | | | | | | | expressions. Values used by the expression are checked by validation functions which cause the program to crash if the values are unsafe. Major changes: - Added IRDynamicChecks.[ch], which contains the core code related to this feature - Modified CommandObjectExpression to install the validator functions into the target process. - Added an accessor to Process that gets/sets the helper functions llvm-svn: 112690
* minor change, simplify some logicBruno Cardoso Lopes2010-09-011-4/+4
| | | | llvm-svn: 112689
* Updated to add plugins directory to PYTHONPATH.Johnny Chen2010-09-011-2/+3
| | | | llvm-svn: 112688
* Move some functions around so they can be used for some other to come functionBruno Cardoso Lopes2010-09-011-8/+8
| | | | llvm-svn: 112687
* fix rdar://8360877 a really nasty miscompilation in Boost.XpressiveChris Lattner2010-09-012-3/+62
| | | | | | | | | | | | | | | caused by my ABI work. Passing: struct outer { int x; struct epsilon_matcher {} e; int f; }; as {i32,i32} isn't safe, because the offset of the second element needs to be at 8 when it is interpreted as a memory value. llvm-svn: 112686
* Add some MMX intrinsics that duplicate functionalityDale Johannesen2010-09-011-0/+74
| | | | | | | | available in normal llvm operators. We aren't going to use those for MMX any more because it's unsafe for the optimizers to synthesize new MMX instructions. llvm-svn: 112685
OpenPOWER on IntegriCloud