| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | TargetInfo no longer includes a reference to SourceManager. | Ted Kremenek | 2007-12-12 | 30 | -187/+291 | |
| | | | | | | | | | | | | | | | | Moved all clients of Diagnostics to use FullSourceLoc instead of SourceLocation. Added many utility methods to FullSourceLoc to provide shorthand for: FullLoc.getManager().someMethod(FullLoc.getLocation()); instead we have: FullLoc.someMethod(); Modified TextDiagnostics (and related classes) to use this short-hand. llvm-svn: 44957 | |||||
| * | Encode enumeral types. | Steve Naroff | 2007-12-12 | 2 | -1/+4 | |
| | | | | | llvm-svn: 44956 | |||||
| * | Remove a forward-declaration for a non-existant class. | Dan Gohman | 2007-12-12 | 1 | -1/+0 | |
| | | | | | llvm-svn: 44955 | |||||
| * | Allow vector integer constants to be created with | Dan Gohman | 2007-12-12 | 3 | -9/+46 | |
| | | | | | | | | | SelectionDAG::getConstant, in the same way as vector floating-point constants. This allows the legalize expansion code for @llvm.ctpop and friends to be usable with vector types. llvm-svn: 44954 | |||||
| * | Removed "NULL" from default construction of FullSourceLoc (compilation errors on | Ted Kremenek | 2007-12-12 | 1 | -1/+2 | |
| | | | | | | | some systems). llvm-svn: 44953 | |||||
| * | Use vector for child storage instead of map. This will also make | Anton Korobeynikov | 2007-12-12 | 1 | -19/+61 | |
| | | | | | | | our life during future GraphTraits'ing slightly easier. llvm-svn: 44952 | |||||
| * | constified getFullLoc(). | Ted Kremenek | 2007-12-12 | 1 | -1/+1 | |
| | | | | | llvm-svn: 44951 | |||||
| * | Changes to FullSourceLoc: | Ted Kremenek | 2007-12-12 | 1 | -16/+8 | |
| | | | | | | | | | | - Added cstor that takes no arguments to create an "invalid" location. - Removed non-const version of getSourceManager(). - Renamed getSourceManager() to getManager. - Remover operator SourceLocatio(). llvm-svn: 44950 | |||||
| * | Renamed getFullSourceLoc() -> getFullLoc(). | Ted Kremenek | 2007-12-12 | 1 | -1/+1 | |
| | | | | | llvm-svn: 44949 | |||||
| * | Added method: Preprocessor::getFullSourceLoc. Used by clients of Preprocessor | Ted Kremenek | 2007-12-12 | 1 | -0/+4 | |
| | | | | | | | to get a FullSourceLoc from a SourceLocation. llvm-svn: 44948 | |||||
| * | Renamed FullContextSourceLocation to FullSourceLoc. | Ted Kremenek | 2007-12-12 | 1 | -6/+6 | |
| | | | | | llvm-svn: 44947 | |||||
| * | Added utility static method to FullContextSourceLocation | Ted Kremenek | 2007-12-12 | 1 | -0/+4 | |
| | | | | | | | for creating "invalid" location objects. llvm-svn: 44946 | |||||
| * | make it a bit more clear in what way the ivar is consistent. | Chris Lattner | 2007-12-12 | 2 | -4/+4 | |
| | | | | | llvm-svn: 44945 | |||||
| * | add an ivar_size() method that never returns -1. | Chris Lattner | 2007-12-12 | 1 | -1/+2 | |
| | | | | | llvm-svn: 44944 | |||||
| * | Constified a predicate method. | Ted Kremenek | 2007-12-12 | 1 | -1/+1 | |
| | | | | | llvm-svn: 44943 | |||||
| * | Added class FullContextSourceLocation: a tuple class that | Ted Kremenek | 2007-12-12 | 1 | -0/+31 | |
| | | | | | | | | | contains both a SourceLocation and its associated SourceManager. This class is useful for argument passing to functions that expect both objects. llvm-svn: 44942 | |||||
| * | simplify some code, bump j. This fixes the remaining test failures. | Chris Lattner | 2007-12-12 | 1 | -8/+7 | |
| | | | | | llvm-svn: 44941 | |||||
| * | Moved construction of TargetInfo objects out of the Driver | Ted Kremenek | 2007-12-12 | 5 | -29/+40 | |
| | | | | | | | | | and into the "Basic" library. TargetInfo objects are now constructed from triples by calling the static method TargetInfo::CreateTargetInfo. llvm-svn: 44940 | |||||
| * | handle the -1'ness of undefined lists | Chris Lattner | 2007-12-12 | 1 | -3/+3 | |
| | | | | | llvm-svn: 44939 | |||||
| * | unbreak the build. I'm still working on test failures. | Chris Lattner | 2007-12-12 | 3 | -32/+44 | |
| | | | | | llvm-svn: 44938 | |||||
| * | Revert r44626, which turned off the use of readonly | Duncan Sands | 2007-12-12 | 2 | -15/+4 | |
| | | | | | | | | | | | and readnone for functions with bodies because it broke llvm-gcc-4.2 bootstrap. It turns out that, because of LLVM's array_ref hack, gcc was computing pure/const attributes wrong (now fixed by turning off the gcc ipa-pure-const pass). llvm-svn: 44937 | |||||
| * | 1. "Upgrage" comments. | Wojciech Matyjewicz | 2007-12-12 | 2 | -15/+26 | |
| | | | | | | | | | | | | | | | 2. Using zero-extended value of Scale and unsigned division is safe provided that Scale doesn't have the sign bit set. Previously these 2 instructions: %p = bitcast [100 x {i8,i8,i8}]* %x to i8* %q = getelementptr i8* %p, i32 -4 were combined into: %q = getelementptr [100 x { i8, i8, i8 }]* %x, i32 0, i32 1431655764, i32 0 what was incorrect. llvm-svn: 44936 | |||||
| * | Regenerate. | Christopher Lamb | 2007-12-12 | 2 | -1215/+1197 | |
| | | | | | llvm-svn: 44934 | |||||
| * | Implement part of review feedback for address spaces. | Christopher Lamb | 2007-12-12 | 5 | -36/+23 | |
| | | | | | llvm-svn: 44933 | |||||
| * | fix typo | Chris Lattner | 2007-12-12 | 1 | -2/+2 | |
| | | | | | llvm-svn: 44932 | |||||
| * | more cleanups changing things like getInstanceVariables to iterators. | Chris Lattner | 2007-12-12 | 4 | -29/+33 | |
| | | | | | llvm-svn: 44930 | |||||
| * | Use shuffles to implement insert_vector_elt for i32, i64, f32, and f64. | Evan Cheng | 2007-12-12 | 5 | -64/+58 | |
| | | | | | llvm-svn: 44929 | |||||
| * | Add a test case for -optimize-ext-uses. | Evan Cheng | 2007-12-12 | 1 | -0/+19 | |
| | | | | | llvm-svn: 44928 | |||||
| * | resolve some fixmes and clean up some code by eliminating the get*Vars apis ↵ | Chris Lattner | 2007-12-12 | 4 | -122/+90 | |
| | | | | | | | to some classes and use iterators instead. llvm-svn: 44927 | |||||
| * | start cleaning up interfaces for objc bits and pieces by switching to an | Chris Lattner | 2007-12-12 | 2 | -21/+39 | |
| | | | | | | | iterator interface. llvm-svn: 44926 | |||||
| * | split objc pieces of SemaDecl.cpp out into SemaDeclObjC.cpp | Chris Lattner | 2007-12-12 | 3 | -896/+919 | |
| | | | | | llvm-svn: 44925 | |||||
| * | Added back VisitDeclStmt() to the StmtDumper, essentially reverting r44920: | Ted Kremenek | 2007-12-12 | 1 | -9/+28 | |
| | | | | | | | | | | | | | | http://llvm.org/viewvc/llvm-project?rev=44920&view=rev Putting VisitDeclStmt() was motivated because it called DumpDeclarator(), which printed out a little bit more information than just using the child_iterator interface to visit the subexpressions of DeclStmt. To avoid printing the initializers twice, DumpSubTree() now specially checks for DeclStmts; in such cases it calls VisitDeclStmt() without using the child_iterators to visit the subexpressions. llvm-svn: 44924 | |||||
| * | move function to a more logical location, add its grammar productions. | Chris Lattner | 2007-12-12 | 2 | -37/+38 | |
| | | | | | llvm-svn: 44923 | |||||
| * | remove todo | Chris Lattner | 2007-12-12 | 1 | -1/+0 | |
| | | | | | llvm-svn: 44922 | |||||
| * | Lower a build_vector with all constants into a constpool load unless it can ↵ | Evan Cheng | 2007-12-12 | 2 | -17/+26 | |
| | | | | | | | be done with a move to low part. llvm-svn: 44921 | |||||
| * | Removed VisitDeclStmt(). The initializers of a DeclStmt are now automatically | Ted Kremenek | 2007-12-12 | 1 | -15/+0 | |
| | | | | | | | | printed out by DumpSubTree() via the child_iterator interface. This fixes a bug where the initializers were being dumped twice. llvm-svn: 44920 | |||||
| * | Unbreak -stats on cocoa.h | Chris Lattner | 2007-12-12 | 3 | -3/+8 | |
| | | | | | llvm-svn: 44919 | |||||
| * | add run lines. | Chris Lattner | 2007-12-12 | 2 | -0/+3 | |
| | | | | | llvm-svn: 44918 | |||||
| * | add run line | Chris Lattner | 2007-12-12 | 1 | -1/+1 | |
| | | | | | llvm-svn: 44917 | |||||
| * | add runline, make this test real. | Chris Lattner | 2007-12-12 | 1 | -1/+3 | |
| | | | | | llvm-svn: 44916 | |||||
| * | verify that tests contain RUN lines. | Chris Lattner | 2007-12-12 | 1 | -1/+7 | |
| | | | | | llvm-svn: 44915 | |||||
| * | Add a guard to cxxabi header as other platform may | Zhou Sheng | 2007-12-12 | 1 | -0/+12 | |
| | | | | | | | not support it. llvm-svn: 44914 | |||||
| * | simplify some code. | Chris Lattner | 2007-12-12 | 1 | -43/+25 | |
| | | | | | llvm-svn: 44913 | |||||
| * | implement correct semantic analysis for shifts. For: | Chris Lattner | 2007-12-12 | 2 | -26/+21 | |
| | | | | | | | | | | | | | int test(int x, long long y) { return x << y; } we now realize the type of the shift is int, not long long. This fixes a fixme from june. llvm-svn: 44912 | |||||
| * | Simplify some code, don't force the triple to a darwin triple if non-darwin. | Chris Lattner | 2007-12-12 | 1 | -21/+10 | |
| | | | | | llvm-svn: 44911 | |||||
| * | Fixed PR1629. | Zhou Sheng | 2007-12-12 | 2 | -0/+94 | |
| | | | | | | | | Make lli interpreter correctly call external functions sin()/cos(), __cxa_guard_acquire() and __cxa_guard_release(). llvm-svn: 44910 | |||||
| * | typo reported by Gabor Greif | Chris Lattner | 2007-12-12 | 1 | -1/+1 | |
| | | | | | llvm-svn: 44909 | |||||
| * | Fix a codegen crash on test/CodeGen/cast.c, reported by Keith. | Chris Lattner | 2007-12-12 | 3 | -1/+18 | |
| | | | | | llvm-svn: 44908 | |||||
| * | Fix a bug in my previous patch, thanks to Jay Foad for | Chris Lattner | 2007-12-12 | 1 | -2/+2 | |
| | | | | | | | pointing this out and correcting the patch! llvm-svn: 44907 | |||||
| * | fix typo pointed out by gordon | Chris Lattner | 2007-12-12 | 1 | -1/+1 | |
| | | | | | llvm-svn: 44906 | |||||

