summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Reverse a partial fix patch for radar 7214820. It broke some code andFariborz Jahanian2010-02-103-35/+5
| | | | | | I don't have time to refix it for now. llvm-svn: 95733
* Implement basic support for importing source locations from one ASTDouglas Gregor2010-02-106-12/+99
| | | | | | | | | | | | | | | | | | | | | | | | | into another AST, including their include history. Here's an example error that involves a conflict merging a variable with different types in two translation units (diagnosed in the third AST context into which everything is merged). /Volumes/Data/dgregor/Projects/llvm/tools/clang/test/ASTMerge/Inputs/var2.c:3:5: error: external variable 'x2' declared with incompatible types in different translation units ('int' vs. 'double') int x2; ^ In file included from /Volumes/Data/dgregor/Projects/llvm/tools/clang/test/ASTMerge/Inputs/var1.c:3: /Volumes/Data/dgregor/Projects/llvm/tools/clang/test/ASTMerge/Inputs/var1.h:1:8: note: declared here with type 'double' double x2; ^ Although we maintain include history, we do not maintain macro instantiation history across a merge. Instead, we map down to the spelling location (for now!). llvm-svn: 95732
* IntegerValType holds a uint32_t, so its constructor should take a uint32_t. ↵Kenneth Uildriks2010-02-101-1/+1
| | | | | | This allows it to be properly initialized with bit widths > 65535 llvm-svn: 95731
* Fix comments to reflect renaming elsewhere.Dale Johannesen2010-02-103-4/+4
| | | | llvm-svn: 95730
* Fix the encoding of the movntdqa X86 instruction. It was missing the 0x66Kevin Enderby2010-02-102-1/+4
| | | | | | prefix which is part of the opcode encoding. llvm-svn: 95729
* Add ability for MCInstPrinters to add comments for instructions.Chris Lattner2010-02-104-3/+21
| | | | | | | | | Enhance the x86 backend to show the hex values of immediates in comments when they are large. For example: movl $1072693248, 4(%esp) ## imm = 0x3FF00000 llvm-svn: 95728
OpenPOWER on IntegriCloud