Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Driver/Darwin: Stuff iPhoneOS into environment portion of the (llvm/clang) ↵ | Daniel Dunbar | 2010-01-26 | 3 | -74/+73 | |
| | | | | | | triple instead of keying off architecture. Also, fix version define to properly include the revision/micro component of the version number. llvm-svn: 94487 | |||||
* | Pass access specifiers around in overload resolution. | John McCall | 2010-01-26 | 7 | -54/+107 | |
| | | | | llvm-svn: 94485 | |||||
* | Re-enable unit tests disabled in r94164 by telling GTest about the | Jeffrey Yasskin | 2010-01-26 | 4 | -22/+5 | |
| | | | | | | lack of RTTI. llvm-svn: 94484 | |||||
* | Added the implementation of the Intel-specific | Sean Callanan | 2010-01-26 | 1 | -1/+27 | |
| | | | | | | TargetAsmLexer. llvm-svn: 94482 | |||||
* | Fix a regression caused by my rewriting of cast of ivar | Fariborz Jahanian | 2010-01-26 | 2 | -9/+17 | |
| | | | | | | access (was radar 7575882). llvm-svn: 94481 | |||||
* | Generate DEBUG_VALUE comments on x86. The (limited) | Dale Johannesen | 2010-01-26 | 3 | -0/+68 | |
| | | | | | | | dbg.declare's we currently generate go through both register allocators without perturbing the results. llvm-svn: 94480 | |||||
* | Added the TargetAsmLexer implementation for AT&T syntax. | Sean Callanan | 2010-01-26 | 1 | -5/+70 | |
| | | | | llvm-svn: 94479 | |||||
* | Fixup a missing vcall entry. WIP. | Mike Stump | 2010-01-26 | 2 | -37/+282 | |
| | | | | llvm-svn: 94478 | |||||
* | use findDebugLoc in more places. | Dale Johannesen | 2010-01-26 | 1 | -10/+5 | |
| | | | | llvm-svn: 94477 | |||||
* | Minor jump table cleanup. | Jim Grosbach | 2010-01-25 | 1 | -2/+2 | |
| | | | | llvm-svn: 94475 | |||||
* | in 32-bit pic mode for targets with a GOT, x86 emits jump table | Chris Lattner | 2010-01-25 | 2 | -0/+17 | |
| | | | | | | entries with @GOTOFF whih is EK_GPRel32BlockAddress. llvm-svn: 94474 | |||||
* | First cut at emitting inheritance info. | Devang Patel | 2010-01-25 | 2 | -1/+43 | |
| | | | | llvm-svn: 94473 | |||||
* | fix quoting problem jim noticed! | Chris Lattner | 2010-01-25 | 1 | -1/+1 | |
| | | | | llvm-svn: 94472 | |||||
* | Rearrange handling of jump tables. Highlights: | Chris Lattner | 2010-01-25 | 11 | -99/+202 | |
| | | | | | | | | | | | | | | | | | | 1. MachineJumpTableInfo is now created lazily for a function the first time it actually makes a jump table instead of for every function. 2. The encoding of jump table entries is now described by the MachineJumpTableInfo::JTEntryKind enum. This enum is determined by the TLI::getJumpTableEncoding() hook, instead of by lots of code scattered throughout the compiler that "knows" that jump table entries are always 32-bits in pic mode (for example). 3. The size and alignment of jump table entries is now calculated based on their kind, instead of at machinefunction creation time. Future work includes using the EntryKind in more places in the compiler, eliminating other logic that "knows" the layout of jump tables in various situations. llvm-svn: 94470 | |||||
* | prep work to support a future where getJumpTableInfo will return | Chris Lattner | 2010-01-25 | 4 | -4/+11 | |
| | | | | | | | a null pointer for functions with no jump tables. No functionality change. llvm-svn: 94469 | |||||
* | add a method to get the alignment of an integer type even | Chris Lattner | 2010-01-25 | 2 | -0/+12 | |
| | | | | | | | when we don't have one laying around. Useful if you don't have an llvmcontext handy. llvm-svn: 94468 | |||||
* | Emit debug info for virtual functions. | Devang Patel | 2010-01-25 | 1 | -2/+12 | |
| | | | | llvm-svn: 94467 | |||||
* | Fixit to remove 'volatile' in file-scope 'asm volatile'. | John McCall | 2010-01-25 | 1 | -1/+6 | |
| | | | | llvm-svn: 94466 | |||||
* | Make it SP, LR, PC for GPR Register Class instead of LR, SP, PC. | Johnny Chen | 2010-01-25 | 1 | -1/+1 | |
| | | | | llvm-svn: 94465 | |||||
* | eliminate redundant argument to EmitJumpTableInfo | Chris Lattner | 2010-01-25 | 10 | -12/+13 | |
| | | | | llvm-svn: 94464 | |||||
* | Driver: Fix fallback to gcc to -c instead of -S if trying to generate an LLVM bc | Daniel Dunbar | 2010-01-25 | 2 | -13/+28 | |
| | | | | | | file. llvm-svn: 94463 | |||||
* | Pull functions that translate from CXSourceLocation to SourceLocation (and ↵ | Ted Kremenek | 2010-01-25 | 2 | -47/+78 | |
| | | | | | | back) to a separate header file. llvm-svn: 94462 | |||||
* | Warn on top-level 'asm volatile' (instead of misparsing it). | John McCall | 2010-01-25 | 3 | -0/+10 | |
| | | | | | | "Fixes" rdar://problem/7574870 llvm-svn: 94458 | |||||
* | Implemented ARMInstPrinter::printThumbS4ImmOperand(). | Johnny Chen | 2010-01-25 | 1 | -2/+1 | |
| | | | | llvm-svn: 94457 | |||||
* | Implemented the dialect decision logic for the X86 | Sean Callanan | 2010-01-25 | 1 | -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 Chen | 2010-01-25 | 1 | -1/+1 | |
| | | | | llvm-svn: 94455 | |||||
* | Fix the bitcode reader to deserialize nuw/nsw/etc. bits properly in the case | Dan Gohman | 2010-01-25 | 2 | -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 reproted | Fariborz Jahanian | 2010-01-25 | 1 | -2/+7 | |
| | | | | | | as NYI now. llvm-svn: 94453 | |||||
* | mcstreamerize gprel32 emission. | Chris Lattner | 2010-01-25 | 5 | -14/+24 | |
| | | | | llvm-svn: 94452 | |||||
* | Remove check for an impossible condition: the condition of the while loop has | Bob Wilson | 2010-01-25 | 1 | -2/+0 | |
| | | | | | | already checked that TmpBB->getSinglePredecessor() is non-null. llvm-svn: 94451 | |||||
* | mcize the non-gprel cases of AsmPrinter::printPICJumpTableEntry | Chris Lattner | 2010-01-25 | 1 | -13/+13 | |
| | | | | llvm-svn: 94450 | |||||
* | handle the _set_ symbol with an MCSymbol. | Chris Lattner | 2010-01-25 | 3 | -7/+17 | |
| | | | | llvm-svn: 94449 | |||||
* | rename MAI::PICJumpTableDirective to MAI::GPRel32Directive to | Chris Lattner | 2010-01-25 | 5 | -22/+16 | |
| | | | | | | make it clear what it is, instead of how it is used. llvm-svn: 94448 | |||||
* | Fix include guard. | Ted Kremenek | 2010-01-25 | 1 | -1/+1 | |
| | | | | llvm-svn: 94447 | |||||
* | pull the non-pic jump table case out of printPICJumpTableEntry | Chris Lattner | 2010-01-25 | 2 | -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 Lattner | 2010-01-25 | 4 | -7/+6 | |
| | | | | llvm-svn: 94445 | |||||
* | Fixes a rewriting bug of access ivar of a variable cast | Fariborz Jahanian | 2010-01-25 | 2 | -1/+34 | |
| | | | | | | to subclass. (Fixes radar 7575882). llvm-svn: 94444 | |||||
* | no need to implement these. | Chris Lattner | 2010-01-25 | 1 | -6/+0 | |
| | | | | llvm-svn: 94443 | |||||
* | mcize jump table symbol manipulation. | Chris Lattner | 2010-01-25 | 1 | -33/+38 | |
| | | | | llvm-svn: 94441 | |||||
* | sink an arm specific method out of asmprinter into the ARMAsmPrinter and | Chris Lattner | 2010-01-25 | 4 | -20/+17 | |
| | | | | | | rename it to avoid shadowing. llvm-svn: 94440 | |||||
* | remove dead code: the x86 target never sets usesGlobalOffsetTable, | Chris Lattner | 2010-01-25 | 1 | -2/+0 | |
| | | | | | | even on x86-32/elf which uses a GOT. llvm-svn: 94439 | |||||
* | wirte up .file and .file to the mc asmparser. | Chris Lattner | 2010-01-25 | 2 | -5/+12 | |
| | | | | llvm-svn: 94438 | |||||
* | mcstreamerize .file and .file. This also fixes an issue where the | Chris Lattner | 2010-01-25 | 8 | -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 Lattner | 2010-01-25 | 3 | -9/+4 | |
| | | | | llvm-svn: 94436 | |||||
* | add symbol attribute support for the ELF .type directive. | Chris Lattner | 2010-01-25 | 3 | -14/+48 | |
| | | | | llvm-svn: 94435 | |||||
* | Fix a code gen. bug involving compiling global references. | Fariborz Jahanian | 2010-01-25 | 2 | -2/+7 | |
| | | | | | | (fixes radar 7574896). llvm-svn: 94434 | |||||
* | Change Value::getUnderlyingObject to have the MaxLookup value specified as a | Bob Wilson | 2010-01-25 | 3 | -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 efficient | Victor Hernandez | 2010-01-25 | 2 | -69/+3 | |
| | | | | llvm-svn: 94432 | |||||
* | Add test case for ? : crasher | Douglas Gregor | 2010-01-25 | 2 | -1/+4 | |
| | | | | llvm-svn: 94429 | |||||
* | Move BugReporter.h, PathDiagnostic.h, and BugType.h to ↵ | Ted Kremenek | 2010-01-25 | 33 | -42/+41 | |
| | | | | | | 'include/Checker/BugReporter' llvm-svn: 94428 |