summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* SETEND is not allowed in an IT block.Owen Anderson2011-10-131-0/+1
| | | | llvm-svn: 141874
* Revert r141870. The test case crashes on linux with data corruption. A ↵Andrew Trick2011-10-132-125/+2
| | | | | | deeper issue was exposed. llvm-svn: 141873
* docs/CMake.html: Clarify LLVM_LIT_TOOLS_DIR as :PATH.NAKAMURA Takumi2011-10-131-1/+1
| | | | llvm-svn: 141872
* Fix incorrect ELF typedefs.Michael J. Spencer2011-10-131-21/+19
| | | | llvm-svn: 141871
* LSR: Reuse the post-inc expansion of expressions.Andrew Trick2011-10-132-2/+125
| | | | | | | | This avoids unnecessary expansion of expressions and allows the SCEV expander to work on expression DAGs, not just trees. Fixes PR11090. llvm-svn: 141870
* build: Remove some stray LLVMC configure variables.Daniel Dunbar2011-10-131-11/+0
| | | | llvm-svn: 141869
* SCEV: Rewrite TrandformForPostIncUse to handle expression DAGs, notAndrew Trick2011-10-131-30/+70
| | | | | | | | just expression trees. Partially fixes PR11090. Test case will be with the full fix. llvm-svn: 141868
* Slightly more useful tracing.Andrew Trick2011-10-131-1/+2
| | | | llvm-svn: 141867
* Removed namespace qualification from symbol queries.Sean Callanan2011-10-138-29/+11
| | | | llvm-svn: 141866
* TCE target: conversion of OpenCL reqd_work_group_size attr to metadataPeter Collingbourne2011-10-131-2/+73
| | | | | | Patch by Pekka Jääskeläinen! llvm-svn: 141865
* Force CPU type on test so it doesn't accidentally emit movbe instead of ↵Benjamin Kramer2011-10-131-1/+1
| | | | | | bswap on Intel Atom CPUs. llvm-svn: 141863
* Mark 'branch indirect' instruction as an indirect branch.Kalle Raiskila2011-10-132-8/+10
| | | | | | Not having it confused assembly printing of jumptables. llvm-svn: 141862
* Allow for annotate attributes after access specifiers. When suchErik Verbruggen2011-10-1313-27/+131
| | | | | | attributes are found, propagate them to subsequent declarations. llvm-svn: 141861
* More closely follow libgcc, which has code after the `ret' instruction toBill Wendling2011-10-132-6/+25
| | | | | | | release the stack segment and reset the stack pointer. Place the code in its own MBB to make the verifier happy. llvm-svn: 141859
* Revert r141854 because it was causing failures:Bill Wendling2011-10-137-105/+5
| | | | | | | | | | | | | | | http://lab.llvm.org:8011/builders/llvm-x86_64-linux/builds/101 --- Reverse-merging r141854 into '.': U test/MC/Disassembler/X86/x86-32.txt U test/MC/Disassembler/X86/simple-tests.txt D test/CodeGen/X86/bmi.ll U lib/Target/X86/X86InstrInfo.td U lib/Target/X86/X86ISelLowering.cpp U lib/Target/X86/X86.td U lib/Target/X86/X86Subtarget.h llvm-svn: 141857
* Should not add instructions to a BB after a return instruction. The machine ↵Bill Wendling2011-10-132-2/+3
| | | | | | instruction verifier doesn't like this, nor do I. llvm-svn: 141856
* Use an existing method.Cameron Zwarich2011-10-131-1/+1
| | | | llvm-svn: 141855
* Add X86 TZCNT instruction and patterns to select it. Also added core-avx2 ↵Craig Topper2011-10-137-5/+105
| | | | | | processor which is gcc's name for Haswell. llvm-svn: 141854
* Add 'implicit EFLAGS' to patterns for popcnt and lzcntCraig Topper2011-10-132-12/+23
| | | | llvm-svn: 141853
* Fix crash-on-invalid, improve error recovery, and test coverage for missing ↵David Blaikie2011-10-132-5/+33
| | | | | | colon after access specifiers in C++ llvm-svn: 141852
* Elf_Word is not POD! Stop using it in a DenseMap.Nick Lewycky2011-10-131-7/+4
| | | | llvm-svn: 141851
* If MI is deleted then remove it from the set. If a new MI is created, it couldNick Lewycky2011-10-131-0/+2
| | | | | | | have the same address as the one we deleted, and we don't want that in the set yet. Noticed by inspection. llvm-svn: 141849
* Completed the glue that passes a ClangNamespaceDecl *Sean Callanan2011-10-1313-55/+112
| | | | | | | | down through Module and SymbolVendor into SymbolFile. Added checks to SymbolFileDWARF that restrict symbol searches when a namespace is passed in. llvm-svn: 141847
* Add 'cd -' feature to change to the previous working directory.Johnny Chen2011-10-131-6/+30
| | | | llvm-svn: 141846
* Always use the full variable name when dumping globals since they mightGreg Clayton2011-10-131-1/+1
| | | | | | be in namespaces. llvm-svn: 141845
* Tabs to spaces.Nick Lewycky2011-10-131-2/+2
| | | | llvm-svn: 141844
* Add a version of ResolveFunction that takes a "const DWARFDebugInfoEntry *"Greg Clayton2011-10-132-70/+85
| | | | | | | and a "DWARFCompileUnit *" to avoid doing a DIE lookup twice and to prepare for using namespaces in the lookups. llvm-svn: 141843
* Add missing braces to pacify GCC's -Wparentheses.Nick Lewycky2011-10-131-1/+2
| | | | llvm-svn: 141842
* Add missing ELF constants.Michael J. Spencer2011-10-131-18/+216
| | | | llvm-svn: 141840
* Now that we know the values are going to stick around,Sean Callanan2011-10-132-49/+10
| | | | | | | | | | | we don't need to look them up again when materializing. Switched over the materialization mechanism (for JIT expressions) and the lookup mechanism (for interpreted expressions) to use the VariableSP/Symbol that were found during parsing. llvm-svn: 141839
* Added a function to test if a ClangNamespaceDecl matches the current symbolGreg Clayton2011-10-132-1/+29
| | | | | | | file. This will help us to minimize lookups that can't possibly match anything in the current symbol file. llvm-svn: 141838
* Fix MSVC build.Rafael Espindola2011-10-121-0/+3
| | | | llvm-svn: 141837
* Also inflate register classes around inline asm.Jakob Stoklund Olesen2011-10-122-4/+28
| | | | | | | | | | Now that MI->getRegClassConstraint() can also handle inline assembly, don't bail when recomputing the register class of a virtual register used by inline asm. This fixes PR11078. llvm-svn: 141836
* Add MachineInstr::getRegClassConstraint().Jakob Stoklund Olesen2011-10-122-0/+46
| | | | | | | | | Most instructions have some requirements for their register operands. Usually, this is expressed as register class constraints in the MCInstrDesc, but for inline assembly the constraints are encoded in the flag words. llvm-svn: 141835
* Extract a method for finding the inline asm flag operand.Jakob Stoklund Olesen2011-10-122-30/+50
| | | | llvm-svn: 141834
* Encode register class constreaints in inline asm instructions.Jakob Stoklund Olesen2011-10-123-8/+58
| | | | | | | | | | | | | The inline asm operand constraint is initially encoded in the virtual register for the operand, but that register class may change during coalescing, and the original constraint is lost. Encode the original register class as part of the flag word for each inline asm operand. This makes it possible to recover the actual constraint required by inline asm, just like we can for normal instructions. llvm-svn: 141833
* Added the ability to see if a DIE is contained in a namespace.Greg Clayton2011-10-122-0/+40
| | | | llvm-svn: 141832
* Attempt to fix MSVC build.Eli Friedman2011-10-121-2/+2
| | | | llvm-svn: 141831
* We need to verify that the machine instruction we're using as a replacement forBill Wendling2011-10-122-0/+127
| | | | | | | | | | our current machine instruction defines a register with the same register class as what's being replaced. This showed up in the SPEC 403.gcc benchmark, where it would ICE because a tail call was expecting one register class but was given another. (The machine instruction verifier catches this situation.) <rdar://problem/10270968> llvm-svn: 141830
* Use a utility from MathExtras to clarify a check and avoid undefined ↵Eli Friedman2011-10-121-1/+1
| | | | | | behavior. Based on patch by Ahmed Charles. llvm-svn: 141829
* The VMAs stored in the symbol table of a MachO file are absolute addresses, ↵Owen Anderson2011-10-121-9/+9
| | | | | | not offsets from the section. llvm-svn: 141828
* Use unsigned multiply to hash integers, so we don't end up with undefined ↵Eli Friedman2011-10-121-5/+5
| | | | | | behavior for large signed integers. Based on patch by Ahmed Charles. llvm-svn: 141827
* Minor fix.Johnny Chen2011-10-121-2/+2
| | | | llvm-svn: 141826
* Removed colons from some target datalayout strings in test, since they don't ↵Lang Hames2011-10-1217-17/+17
| | | | | | match the required format. llvm-svn: 141825
* Don't label a STAB debugging symbol as a function symbol.Owen Anderson2011-10-121-0/+5
| | | | llvm-svn: 141824
* Add pointer to the examples/customization directory for examples of lldb ↵Johnny Chen2011-10-122-0/+34
| | | | | | customizations. llvm-svn: 141823
* sectionContainsSymbol needs to be based on VMA's rather than section indices ↵Owen Anderson2011-10-121-2/+17
| | | | | | to properly account for files with segment load commands that contain no sections. llvm-svn: 141822
* Extended the lifetime of Clang parser objects to theSean Callanan2011-10-122-4/+11
| | | | | | | | | | | | | lifetime of ClangExpressionDeclMap. This allows ClangExpressionVariables found during parsing to be queried for their containing namespaces during expression execution. Other clients (like ClangFunction) explicitly delete this state, so they should not result in any memory leaks. llvm-svn: 141821
* Fix a couple hash functions so that they do not depend on undefined shifts. ↵Eli Friedman2011-10-121-2/+2
| | | | | | Based on patch by Ahmed Charles. llvm-svn: 141820
* ARM addrmode5 represents the 'U' bit of the encoding backwards.Jim Grosbach2011-10-121-14/+17
| | | | | | | The disassembler needs to use the AM5 factory methods instead of just building up the immediate directly. llvm-svn: 141819
OpenPOWER on IntegriCloud