summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* struct -> class, to silence a Clang warningDouglas Gregor2010-03-191-1/+1
| | | | llvm-svn: 98961
* Try to improve computation of the main file name for debugDouglas Gregor2010-03-191-7/+10
| | | | | | information, to address recent gdb failures. llvm-svn: 98959
* back out r98957, it broke ↵Gabor Greif2010-03-1911-60/+34
| | | | | | http://smooshlab.apple.com:8010/builders/clang-x86_64-darwin10-fnt/builds/703 in the nightly test suite llvm-svn: 98958
* Recommit r80858 again (which has been backed out in r80871).Gabor Greif2010-03-1911-34/+60
| | | | | | | | | | | This time I did a self-hosted bootstrap on Linux x86-64, with no problems. Let's see how darwin 64-bit self-hosting goes. At the first sign of failure I'll back this out. Maybe the valgrind bots give me a hint of what may be wrong (it at all). llvm-svn: 98957
* MC: Add TargetAsmBackend::createObjectWriter.Daniel Dunbar2010-03-193-7/+26
| | | | | | - MCAssembler is now object-file independent, although we will surely need more work to fully support ELF/COFF. llvm-svn: 98955
* MCCodeEmitter: Add target independent fixup flag for is-pc-relative.Daniel Dunbar2010-03-194-20/+21
| | | | llvm-svn: 98954
* MC: Sink code emitter into MCAssembler.Daniel Dunbar2010-03-193-9/+12
| | | | llvm-svn: 98953
* MC/Mach-O: Move to MachObjectWriter.{h,cpp}.Daniel Dunbar2010-03-195-821/+943
| | | | llvm-svn: 98952
* MC: Add TargetAsmBackend::isVirtualSection hook.Daniel Dunbar2010-03-193-17/+34
| | | | llvm-svn: 98950
* MC: Split MCObjectWriter out of MCAssembler.cpp.Daniel Dunbar2010-03-195-148/+230
| | | | llvm-svn: 98949
* MCAssembler: Pull out MCObjectWriter class.Daniel Dunbar2010-03-191-82/+126
| | | | llvm-svn: 98948
* MCAssembler: Move ApplyFixup to the TargetAsmBackend, this is a target ↵Daniel Dunbar2010-03-193-12/+37
| | | | | | specific not object writer specific task. llvm-svn: 98947
* Pretty-print anonymous types using their kind and presumed location.John McCall2010-03-195-19/+38
| | | | | | Fixes PR6643. Patch by Mike M! llvm-svn: 98946
* Remember the "found declaration" for an overload candidate, which is theJohn McCall2010-03-1910-201/+225
| | | | | | | | | | | | | | | | entity (if applicable) which was actually looked up. If a candidate was found via a using declaration, this is the UsingShadowDecl; otherwise, if the candidate is template specialization, this is the template; otherwise, this is the function. The point of this exercise is that "found declarations" are the entities we do access control for, not their underlying declarations. Broadly speaking, this patch fixes access control for using declarations. There is a *lot* of redundant code calling into the overload-resolution APIs; we really ought to clean that up. llvm-svn: 98945
* MC/Mach-O: Lift the fixup evaluation and application up (to the same place), ↵Daniel Dunbar2010-03-192-41/+32
| | | | | | and eliminate MCAsmFixup::FixedValue. llvm-svn: 98944
* MC/Mach-O: Factor out ExecutePostLayoutBinding, to separate the post-layout ↵Daniel Dunbar2010-03-192-31/+41
| | | | | | changes the object writer may need to make to the assembler from the actual .o writing. llvm-svn: 98943
* MC/Mach-O: Lift relocation emission logic a bit higher to separate ↵Daniel Dunbar2010-03-191-56/+77
| | | | | | evaluation / relocation handling from the actual .o writing. llvm-svn: 98942
* Remove a memory leak from the CBackend.Jeffrey Yasskin2010-03-191-1/+4
| | | | llvm-svn: 98941
* Fix a longstanding (but previously unknown) bug in the lazyDouglas Gregor2010-03-192-1/+7
| | | | | | | | | | | | | deserialization of precompiled headers, where the deserialization of the source location entry for a buffer (e.g., macro instantiation scratch space) would overwrite a one-element FileID cache in the source manager. When tickled at the wrong time, we would return the wrong decomposed source location and eventually cause c-index-test to crash. Found by dumb luck. It's amazing this hasn't shown up before. llvm-svn: 98940
* fix an MCInstPrinter leak that jyasskin pointed out:Chris Lattner2010-03-193-6/+7
| | | | | | createAsmStreamer now takes ownership of the instprinter. llvm-svn: 98939
* resolve fixme: we now infer the instruction-level 'isvariadic' bitChris Lattner2010-03-192-12/+21
| | | | | | from the pattern if present, and we use it instead of the bit. llvm-svn: 98938
* set SDNPVariadic on nodes throughout the rest of the targets thatChris Lattner2010-03-198-15/+27
| | | | | | need them. llvm-svn: 98937
* Remove a memory leak from ThumbTargetMachine.Jeffrey Yasskin2010-03-191-2/+6
| | | | llvm-svn: 98936
* Visit preprocessing elements (macro instantiations and macroDouglas Gregor2010-03-192-106/+66
| | | | | | | | definitions) as part of the translation unit, so that normal visitation, token-annotation, and cursor-at retrieval all see preprocessing elements. llvm-svn: 98935
* add a new SDNPVariadic SDNP node flag, and use it inChris Lattner2010-03-196-6/+14
| | | | | | | | dag isel gen instead of instruction properties. This allows the oh-so-useful behavior of matching a variadic non-root node. llvm-svn: 98934
* rewrite EnforceSmallerThan to be less bone headed.Chris Lattner2010-03-192-64/+80
| | | | llvm-svn: 98933
* remove some damaged sign extend patterns that can never match.Chris Lattner2010-03-191-8/+6
| | | | llvm-svn: 98932
* disable some illegal blackfin patterns. sext from i32 to i32 can neverChris Lattner2010-03-191-5/+5
| | | | | | match. Jakob, please take a look when you get a chance. llvm-svn: 98931
* comment out a bunch of parallel store patterns that apparentlyChris Lattner2010-03-192-14/+44
| | | | | | | can't match or just have no testcases. Will remove after confirmation from dan that they really are dead. llvm-svn: 98930
* Revert 98907 since it is breaking buildbots.Bob Wilson2010-03-192-63/+106
| | | | | | | | --- Reverse-merging r98907 into '.': D test/Index/c-index-getCursor-pp.c U tools/CIndex/CIndex.cpp llvm-svn: 98929
* Fix -Asserts warnings.Daniel Dunbar2010-03-191-5/+4
| | | | llvm-svn: 98928
* Fix -Asserts warning.Daniel Dunbar2010-03-191-2/+1
| | | | llvm-svn: 98927
* MC/Mach-O: Add isScatteredFixupFullyResolved, which implements the correct ↵Daniel Dunbar2010-03-191-1/+59
| | | | | | | | algorithm (used on x86_64) for determining whether an evaluated fixup is fully resolved (doesn't need relocation). - Test cases will follow, once we have x86_64 relocation support. llvm-svn: 98926
* MC/Mach-O/x86_64: Add getAtom[ForAddress].Daniel Dunbar2010-03-192-0/+49
| | | | | | - These find the defining symbol which identifies the containing atom for a symbol or address. They are currently very slow, but will be eliminated eventually. llvm-svn: 98925
* MC/Mach-O: Factor out isScatteredFixupFullyResolvedSimple predicate, and fix ↵Daniel Dunbar2010-03-192-60/+125
| | | | | | some corner cases. llvm-svn: 98924
* MC/Mach-O: Factor out isSymbolLinkerVisible method; "linker visible" is a ↵Daniel Dunbar2010-03-192-10/+24
| | | | | | made up term to refer to non-temporary labels + temporary labels in sections-which-require symbols. For Darwin, it corresponds to symbols which effectively define an atom. llvm-svn: 98923
* Drop KLEE blurb, we don't have anything new.Daniel Dunbar2010-03-191-18/+0
| | | | llvm-svn: 98922
* Fixed a widening bug where we were not using the correct size for the loadMon P Wang2010-03-192-2/+26
| | | | llvm-svn: 98920
* X86: Fix encoding for TEST64rr.Daniel Dunbar2010-03-192-1/+5
| | | | llvm-svn: 98919
* eliminate the last use of EEVT::isUnknownChris Lattner2010-03-193-18/+9
| | | | llvm-svn: 98918
* Remove `ignore` from LLVMC/TestWarnings.td. This avoidsJeffrey Yasskin2010-03-191-1/+1
| | | | | | | https://bugs.kde.org/show_bug.cgi?id=231257 and seems not to have been needed in the first place. llvm-svn: 98917
* Finally change the instruction looking map to be a densemap fromChris Lattner2010-03-194-43/+45
| | | | | | | | | record* -> instrinfo instead of std::string -> instrinfo. This speeds up tblgen on cellcpu from 7.28 -> 5.98s with a debug build (20%). llvm-svn: 98916
* make inst_begin/inst_end iterate over InstructionsByEnumValue.Chris Lattner2010-03-195-45/+39
| | | | | | Use CodeGenTarget::getInstNamespace in one place and fix it. llvm-svn: 98915
* revert 98912Chris Lattner2010-03-195-31/+31
| | | | llvm-svn: 98914
* make inst_begin/inst_end iterate over InstructionsByEnumValue.Chris Lattner2010-03-195-31/+31
| | | | llvm-svn: 98912
* FP16 constfoldingAnton Korobeynikov2010-03-191-0/+25
| | | | llvm-svn: 98911
* change Target.getInstructionsByEnumValue to return a referenceChris Lattner2010-03-1910-37/+41
| | | | | | | to a vector that CGT stores instead of synthesizing it on every call. llvm-svn: 98910
* Revert r98892. BSD systems may not have bash installed at all.Jeffrey Yasskin2010-03-191-1/+1
| | | | llvm-svn: 98909
* factor copy and paste code.Chris Lattner2010-03-191-53/+27
| | | | llvm-svn: 98908
* Visit preprocessing elements (macro instantiations and macroDouglas Gregor2010-03-192-106/+63
| | | | | | | | definitions) as part of the translation unit, so that normal visitation, token-annotation, and cursor-at retrieval all see preprocessing elements. llvm-svn: 98907
OpenPOWER on IntegriCloud