summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* eliminate redundant argument to EmitJumpTableInfoChris Lattner2010-01-2510-12/+13
| | | | llvm-svn: 94464
* Driver: Fix fallback to gcc to -c instead of -S if trying to generate an LLVM bcDaniel Dunbar2010-01-252-13/+28
| | | | | | file. llvm-svn: 94463
* Pull functions that translate from CXSourceLocation to SourceLocation (and ↵Ted Kremenek2010-01-252-47/+78
| | | | | | back) to a separate header file. llvm-svn: 94462
* Warn on top-level 'asm volatile' (instead of misparsing it).John McCall2010-01-253-0/+10
| | | | | | "Fixes" rdar://problem/7574870 llvm-svn: 94458
* Implemented ARMInstPrinter::printThumbS4ImmOperand().Johnny Chen2010-01-251-2/+1
| | | | llvm-svn: 94457
* Implemented the dialect decision logic for the X86Sean Callanan2010-01-251-2/+20
| | | | | | | | TargetAsmLexer. Dialect-specific lexing code will be placed in the functions LexTokenATT() and LexTokenIntel(). llvm-svn: 94456
* Fixed the order of GPR RegisterClass regs to be: ..., R10, R11, R12, ...Johnny Chen2010-01-251-1/+1
| | | | llvm-svn: 94455
* Fix the bitcode reader to deserialize nuw/nsw/etc. bits properly in the caseDan Gohman2010-01-252-3/+30
| | | | | | of a forward-reference, which doesn't use an "abbrev" encoding. llvm-svn: 94454
* global variable that binds reference to a non-lvalue reprotedFariborz Jahanian2010-01-251-2/+7
| | | | | | as NYI now. llvm-svn: 94453
* mcstreamerize gprel32 emission.Chris Lattner2010-01-255-14/+24
| | | | llvm-svn: 94452
* Remove check for an impossible condition: the condition of the while loop hasBob Wilson2010-01-251-2/+0
| | | | | | already checked that TmpBB->getSinglePredecessor() is non-null. llvm-svn: 94451
* mcize the non-gprel cases of AsmPrinter::printPICJumpTableEntryChris Lattner2010-01-251-13/+13
| | | | llvm-svn: 94450
* handle the _set_ symbol with an MCSymbol.Chris Lattner2010-01-253-7/+17
| | | | llvm-svn: 94449
* rename MAI::PICJumpTableDirective to MAI::GPRel32Directive toChris Lattner2010-01-255-22/+16
| | | | | | make it clear what it is, instead of how it is used. llvm-svn: 94448
* Fix include guard.Ted Kremenek2010-01-251-1/+1
| | | | llvm-svn: 94447
* pull the non-pic jump table case out of printPICJumpTableEntryChris Lattner2010-01-252-11/+15
| | | | | | | and MCize the non-pic case. Now printPICJumpTableEntry really is just about printing PIC entries. llvm-svn: 94446
* remove JumpTableDirective, it is always null.Chris Lattner2010-01-254-7/+6
| | | | llvm-svn: 94445
* Fixes a rewriting bug of access ivar of a variable castFariborz Jahanian2010-01-252-1/+34
| | | | | | to subclass. (Fixes radar 7575882). llvm-svn: 94444
* no need to implement these.Chris Lattner2010-01-251-6/+0
| | | | llvm-svn: 94443
* mcize jump table symbol manipulation.Chris Lattner2010-01-251-33/+38
| | | | llvm-svn: 94441
* sink an arm specific method out of asmprinter into the ARMAsmPrinter andChris Lattner2010-01-254-20/+17
| | | | | | rename it to avoid shadowing. llvm-svn: 94440
* remove dead code: the x86 target never sets usesGlobalOffsetTable, Chris Lattner2010-01-251-2/+0
| | | | | | even on x86-32/elf which uses a GOT. llvm-svn: 94439
* wirte up .file and .file to the mc asmparser.Chris Lattner2010-01-252-5/+12
| | | | llvm-svn: 94438
* mcstreamerize .file and .file. This also fixes an issue where theChris Lattner2010-01-258-82/+87
| | | | | | | normal form of .file would fail if the filename had a weird character in it. llvm-svn: 94437
* emit ELF .type directives through MCStreamer instead of doing it textually.Chris Lattner2010-01-253-9/+4
| | | | llvm-svn: 94436
* add symbol attribute support for the ELF .type directive.Chris Lattner2010-01-253-14/+48
| | | | llvm-svn: 94435
* Fix a code gen. bug involving compiling global references.Fariborz Jahanian2010-01-252-2/+7
| | | | | | (fixes radar 7574896). llvm-svn: 94434
* Change Value::getUnderlyingObject to have the MaxLookup value specified as aBob Wilson2010-01-253-11/+11
| | | | | | | | | | | | parameter with a default value, instead of just hardcoding it in the implementation. The limit of MaxLookup = 6 was introduced in r69151 to fix a performance problem with O(n^2) behavior in instcombine, but the scalarrepl pass is relying on getUnderlyingObject to go all the way back to an AllocaInst. Making the limit part of the method signature makes it clear that by default the result is limited and should help avoid similar problems in the future. This fixes pr6126. llvm-svn: 94433
* Revert r94260 until findDbgDeclare() is made more efficientVictor Hernandez2010-01-252-69/+3
| | | | llvm-svn: 94432
* Add test case for ? : crasherDouglas Gregor2010-01-252-1/+4
| | | | llvm-svn: 94429
* Move BugReporter.h, PathDiagnostic.h, and BugType.h to ↵Ted Kremenek2010-01-2533-42/+41
| | | | | | 'include/Checker/BugReporter' llvm-svn: 94428
* Code simplification; this should have no visible effects.Eli Friedman2010-01-251-33/+2
| | | | llvm-svn: 94427
* Loosen preconditions for clang_getCursorSpelling(), returning an emptyDouglas Gregor2010-01-256-33/+36
| | | | | | | string when given a cursor that does not have a name. Also, don't give silly names for statements and non-reference expressions. llvm-svn: 94426
* Expect the impossibleDouglas Gregor2010-01-251-1/+1
| | | | llvm-svn: 94425
* Move the type specifier location for elaborated-type-specifiers fromDouglas Gregor2010-01-254-5/+12
| | | | | | | the tag kind (union, struct, class, enum) over to the name of the tag, if there is a name, since most clients want to point at the name. llvm-svn: 94424
* Visit the condition variables of while and for loops; also, visit theDouglas Gregor2010-01-252-5/+92
| | | | | | | condition even when we've visited the condition variable, so that we'll see implicit conversions there. llvm-svn: 94423
* Update test for darwin.Rafael Espindola2010-01-251-2/+1
| | | | llvm-svn: 94421
* Update C++ include paths for Exherbo, by Ingmar Vanhassel.Benjamin Kramer2010-01-251-3/+3
| | | | llvm-svn: 94420
* cindex/Python: Move translation unit load functions to Index, there isn't a ↵Daniel Dunbar2010-01-251-35/+22
| | | | | | good reason to have separate static methods for this. llvm-svn: 94419
* cindex/Python: Support file objects as unsaved_files, albeit inefficiently.Daniel Dunbar2010-01-252-2/+15
| | | | llvm-svn: 94418
* add a commentChris Lattner2010-01-251-0/+1
| | | | llvm-svn: 94417
* emit the .size directive for global variables on ELF throughChris Lattner2010-01-255-2/+19
| | | | | | mcstreamer. llvm-svn: 94416
* we removed support for darwin8 tools.Chris Lattner2010-01-251-3/+1
| | | | llvm-svn: 94414
* all supported target now have aligned common support.Chris Lattner2010-01-253-9/+1
| | | | llvm-svn: 94413
* Remove support for i386 tiger tools for aligned common symbols.Chris Lattner2010-01-251-3/+0
| | | | | | | | | Previously we would just silently miscompile code that used aligned common's, now at least you'll get a build error. tiger-ppc already triggered the build error because it didn't have a version of this logic. llvm-svn: 94412
* don't set value to its default.Chris Lattner2010-01-252-2/+0
| | | | llvm-svn: 94411
* coff targets support alignment on .commChris Lattner2010-01-251-1/+0
| | | | llvm-svn: 94410
* Add missing header.Ted Kremenek2010-01-251-0/+260
| | | | llvm-svn: 94409
* ARM does accept the .comm directive alignment.Jim Grosbach2010-01-251-1/+0
| | | | llvm-svn: 94408
* Add missing file.Ted Kremenek2010-01-251-0/+21
| | | | llvm-svn: 94407
OpenPOWER on IntegriCloud