summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Provide rewriting suppport for use of __typeof__Fariborz Jahanian2010-02-102-1/+59
| | | | | | in a declaration statement. Fixes radar 7628153. llvm-svn: 95788
* Switch to using -fsjlj-exceptions instead of hard-coding it. Notably, this fixesDaniel Dunbar2010-02-109-9/+33
| | | | | | | calls to the UnwindResumeOrRethrow function for C++/Obj-C exception handling, for Darwin ARM. llvm-svn: 95787
* Refactor code that generates debug info for variables that has BlocksAttr.Devang Patel2010-02-102-245/+129
| | | | llvm-svn: 95786
* clang -cc1: Add -fsjlj-exceptions, which requires far too much button pushing.Daniel Dunbar2010-02-106-1/+13
| | | | llvm-svn: 95785
* Added NOP, DBG, SVC to the instruction table for disassembly purpose.Johnny Chen2010-02-101-0/+20
| | | | llvm-svn: 95784
* Implement AST importing and merging for typedefs. As part of this, provide a ↵Douglas Gregor2010-02-105-14/+100
| | | | | | lame implementation for importing TypeSourceInfos. llvm-svn: 95783
* Teach AST merging that variables with incomplete array types can beDouglas Gregor2010-02-105-2/+41
| | | | | | | | merged with variables of constant array types. Also, make sure that we call DiagnosticClient's BeginSourceFile/EndSourceFile, so that it has a LangOptions to work with. llvm-svn: 95782
* Fix "the the" and similar typos.Dan Gohman2010-02-1059-67/+67
| | | | llvm-svn: 95781
* Minor code simplification.Dan Gohman2010-02-101-2/+1
| | | | llvm-svn: 95780
* Silence GCC warnings.Benjamin Kramer2010-02-102-12/+12
| | | | llvm-svn: 95779
* Improve access control diagnostics. Perform access control on member-pointerJohn McCall2010-02-1020-376/+655
| | | | | | | conversions. Fix an access-control bug where privileges were not considered at intermediate points along the inheritance path. Prepare for friends. llvm-svn: 95775
* MC/AsmMatcher: Add support for creating tied operands when constructing MCInsts.Daniel Dunbar2010-02-101-9/+67
| | | | | | | - Pretty messy, but we need to rework how we handle tied operands in MCInst anyway. llvm-svn: 95774
* emit some simple (and probably incorrect) fixups for symbolicChris Lattner2010-02-101-34/+32
| | | | | | displacement values. llvm-svn: 95773
* Don't display border around images (in Firefox).Ted Kremenek2010-02-101-2/+2
| | | | llvm-svn: 95772
* keep track of what the current byte being emitted isChris Lattner2010-02-101-74/+87
| | | | | | throughout the X86 encoder. llvm-svn: 95771
* simplify displacement handling, emit displacements by-operandChris Lattner2010-02-101-50/+19
| | | | | | even for the immediate case. No functionality change. llvm-svn: 95770
* Canonicalize sizeof and alignof on pointer types to a canonicalDan Gohman2010-02-102-7/+70
| | | | | | pointer type. llvm-svn: 95769
* Implement operators |=, &=, and ^= for SmallBitVector, and remove theDan Gohman2010-02-104-7/+124
| | | | | | | restriction in BitVector for |= and ^= that the operand must be the same length. llvm-svn: 95768
* MC: Switch MCFixup to just hold an MCExpr pointer instead of index into theDaniel Dunbar2010-02-103-18/+23
| | | | | | MCInst it came from. llvm-svn: 95767
* Fix a signed comparison warning.Daniel Dunbar2010-02-101-3/+3
| | | | llvm-svn: 95766
* Remove stray DOS newline.Daniel Dunbar2010-02-101-1/+1
| | | | llvm-svn: 95765
* Add a ReleaseNotes FIXME.Daniel Dunbar2010-02-101-0/+3
| | | | llvm-svn: 95764
* Prevented build on WINDOWS using default make system. Stopped WINDOWS buildGarrison Venn2010-02-101-2/+5
| | | | | | at eh llvm/examples level using if check on LLVM_ON_UNIX. llvm-svn: 95763
* Updated the enhanced disassembly library's TableGenSean Callanan2010-02-101-8/+1
| | | | | | | backend to not use exceptions at all except in cases of actual error. llvm-svn: 95762
* Prevented ExceptionDemo example being built on WINDOWS via if( NOT WIN32 )Garrison Venn2010-02-101-1/+4
| | | | | | check in examples cmake list file. This has NOT been tested. llvm-svn: 95761
* Updated the TableGen emitter for the EnhancedSean Callanan2010-02-101-209/+24
| | | | | | | Disassembler to take advantage of the refactored AsmWriterInst.h. Note removed parser code. llvm-svn: 95760
* Changed AsmWriterOperand to also include the index of theSean Callanan2010-02-102-4/+15
| | | | | | | operand into the CodeGenInstruction's list of operands, which is useful for EDEmitter. (Still working on PR6219) llvm-svn: 95759
* Now that ShrinkDemandedOps() is separated out from DAG combine. It sometimes ↵Evan Cheng2010-02-102-1/+31
| | | | | | leave some obvious nops which dag combine used to clean up afterwards e.g. (trunk (ext n)) -> n. Look for them and squash them. llvm-svn: 95757
* Convert tabs to spaces.Ted Kremenek2010-02-101-12/+12
| | | | llvm-svn: 95756
* Add comment.Zhongxing Xu2010-02-101-1/+2
| | | | llvm-svn: 95755
* "fixup" a comment.Chris Lattner2010-02-101-1/+1
| | | | llvm-svn: 95754
* Introduce a new CodeGenInstruction::ConstraintInfo classChris Lattner2010-02-104-25/+57
| | | | | | | | | for representing constraint info semantically instead of as a c expression that will be blatted out to the .inc file. Fix X86RecognizableInstr to use this instead of parsing C code :). llvm-svn: 95753
* llvm-mc: Remove --show-fixups and always show as part of --show-encoding.Daniel Dunbar2010-02-103-27/+8
| | | | | | Also, fix a silly memory leak. llvm-svn: 95752
* Add missing header fileDouglas Gregor2010-02-101-0/+1
| | | | llvm-svn: 95751
* Rewrite loop to suit Chris' preference.Dale Johannesen2010-02-101-16/+19
| | | | llvm-svn: 95749
* fix a layering violation: VirtRegRewriter.cpp shouldn't use AsmPrinter.h.Chris Lattner2010-02-104-15/+15
| | | | llvm-svn: 95748
* Remove duplicated #include.Evan Cheng2010-02-101-1/+0
| | | | llvm-svn: 95747
* Emit an error for illegal inline asm constraint (which uses illegal type) ↵Evan Cheng2010-02-102-1/+14
| | | | | | rather than asserting. llvm-svn: 95746
* fix missing #includes.Chris Lattner2010-02-103-1/+3
| | | | llvm-svn: 95745
* Comment out category's property decls. in rewrite.Fariborz Jahanian2010-02-102-0/+19
| | | | | | Fixes radar 7630636. llvm-svn: 95744
* Use current location as the location of compiler generated arguments, e.g. ↵Devang Patel2010-02-102-8/+24
| | | | | | self, _cmd etc. llvm-svn: 95743
* daniel *really* likes fixups!Chris Lattner2010-02-101-0/+1
| | | | llvm-svn: 95742
* Stop MachineInstr.h from #including AsmPrinter.hChris Lattner2010-02-103-2/+5
| | | | llvm-svn: 95741
* Improve comments a even more.Bill Wendling2010-02-101-3/+3
| | | | llvm-svn: 95740
* Skip DBG_VALUE many places in live intervals andDale Johannesen2010-02-102-38/+57
| | | | | | | | | register coalescing. This fixes many crashes and places where debug info affects codegen (when dbg.value is lowered to machine instructions, which it isn't yet in TOT). llvm-svn: 95739
* Move verbose asm instruction comments to using MCStreamer.Chris Lattner2010-02-102-77/+61
| | | | | | | | | | | | The major win of this is that the code is simpler and they print on the same line as the instruction again: movl %eax, 96(%esp) ## 4-byte Spill movl 96(%esp), %eax ## 4-byte Reload cmpl 92(%esp), %eax ## 4-byte Folded Reload jl LBB7_86 llvm-svn: 95738
* Improve comments a bit more.Bill Wendling2010-02-101-4/+4
| | | | llvm-svn: 95737
* more comment updatesDale Johannesen2010-02-102-3/+3
| | | | llvm-svn: 95736
* Add isDebug argument to ChangeToRegister; this preventsDale Johannesen2010-02-102-2/+4
| | | | | | the field from being used uninitialized later in some cases. llvm-svn: 95735
* print all the newlines at the end of instructions withChris Lattner2010-02-1012-23/+27
| | | | | | OutStreamer.AddBlankLine instead of textually. llvm-svn: 95734
OpenPOWER on IntegriCloud