summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Adding support for printing operands symbolically to llvm's public 'C'Kevin Enderby2011-04-118-9/+212
| | | | | | | | | | | | | disassembler API. Hooked this up to the ARM target so such tools as Darwin's otool(1) can now print things like branch targets for example this: blx _puts instead of this: blx #-36 And even print the expression encoded in the Mach-O relocation entried for things like this: movt r0, :upper16:((_foo-_bar)+1234) llvm-svn: 129284
* Don't add live ranges for sub-registers when clobbering a physical register.Jakob Stoklund Olesen2011-04-112-15/+7
| | | | | | | | | Both coalescing and register allocation already check aliases for interference, so these extra segments are only slowing us down. This speeds up both linear scan and the greedy register allocator. llvm-svn: 129283
* Speed up LiveIntervalUnion::unify by handling end insertion specially.Jakob Stoklund Olesen2011-04-111-1/+9
| | | | | | This particularly helps with the initial transfer of fixed intervals. llvm-svn: 129277
* Time the initial seeding of live registersJakob Stoklund Olesen2011-04-111-0/+1
| | | | llvm-svn: 129276
* Don't shrink live ranges after dead code elimination unless it is going to help.Jakob Stoklund Olesen2011-04-111-4/+10
| | | | | | In particular, don't repeatedly recompute the PIC base live range after rematerialization. llvm-svn: 129275
* CMake: remove some unnecesary code and ToDos.Oscar Fuentes2011-04-112-9/+1
| | | | | | Patch by arrowdodger! llvm-svn: 129274
* Fix or remove code which seemed to think that the operand of a ConstantJay Foad2011-04-112-14/+1
| | | | | | was always a User. llvm-svn: 129272
* Don't include Operator.h from InstrTypes.h.Jay Foad2011-04-1124-1/+23
| | | | llvm-svn: 129271
* Phi nodes always use an even number of operands, so don't ever allocateJay Foad2011-04-111-1/+2
| | | | | | an odd number. llvm-svn: 129270
* docs/CommandGuide/index.html: Fix CSS url to relative.NAKAMURA Takumi2011-04-111-1/+1
| | | | llvm-svn: 129268
* docs/CommandLine.html: "ize.NAKAMURA Takumi2011-04-111-5/+5
| | | | llvm-svn: 129267
* Revert r129235 pending a vetting of the EH rewrite.Bill Wendling2011-04-1010-87/+16
| | | | | | | | | | | | | | | | --- Reverse-merging r129235 into '.': D test/Feature/bb_attrs.ll U include/llvm/BasicBlock.h U include/llvm/Bitcode/LLVMBitCodes.h U lib/VMCore/AsmWriter.cpp U lib/VMCore/BasicBlock.cpp U lib/AsmParser/LLParser.cpp U lib/AsmParser/LLLexer.cpp U lib/AsmParser/LLToken.h U lib/Bitcode/Reader/BitcodeReader.cpp U lib/Bitcode/Writer/BitcodeWriter.cpp llvm-svn: 129259
* Bugfix in the Cpp backend after API change on PHINode::Create.Nicolas Geoffray2011-04-101-1/+1
| | | | llvm-svn: 129248
* CMake: support for using LLVM from client projects with find_package.Oscar Fuentes2011-04-104-6/+42
| | | | | | Patch by arrowdodger! llvm-svn: 129247
* Fixed more best practices, and explicit/implicit style guide issues.Garrison Venn2011-04-101-131/+128
| | | | llvm-svn: 129245
* Reword instructions for running tests on Visual Studio.Oscar Fuentes2011-04-101-1/+3
| | | | | | Suggested by Maël Hörz. llvm-svn: 129237
* Beginning of the Great Exception Handling Rewrite.Bill Wendling2011-04-1010-16/+87
| | | | | | | | | | | | | * Add a "landing pad" attribute to the BasicBlock. * Modify the bitcode reader and writer to handle said attribute. Later: The verifier will ensure that the landing pad attribute is used in the appropriate manner. I.e., not applied to the entry block, and applied only to basic blocks that are branched to via a `dispatch' instruction. (This is a work-in-progress.) llvm-svn: 129235
* drive by bug fix: DenseMapInfo::isEqual should be determined according toChris Lattner2011-04-091-1/+4
| | | | | | isEqual of its members, not operator==. llvm-svn: 129233
* LLVMCC_EMITIR_FLAG is already either -emit-llvm or ↵Chris Lattner2011-04-091-10/+10
| | | | | | -fplugin-arg-dragonegg-emit-ir, so don't add an extra leading -. Clang doesn't accept --emit-llvm. llvm-svn: 129232
* make stuff work when LLVMCC_OPTION is something like installed-clang, not ↵Chris Lattner2011-04-091-2/+2
| | | | | | just clang. llvm-svn: 129229
* fix rdar://8735979 - "int 3" doesn't match to "int3". Unfortunately,Chris Lattner2011-04-093-0/+23
| | | | | | | InstAlias doesn't allow matching immediate operands, so we have to write C++ code to do this. llvm-svn: 129223
* look for the verboten argument slot access in any order, thanks to FritsChris Lattner2011-04-091-0/+1
| | | | | | for pointing this out llvm-svn: 129217
* Fix potential buffer overflow on win32.Benjamin Kramer2011-04-091-12/+9
| | | | llvm-svn: 129214
* Don't store Twine temporaries, it's not safe.Benjamin Kramer2011-04-092-9/+11
| | | | | | And don't append the name over and over again in the loop. llvm-svn: 129210
* Make error message more useful.Benjamin Kramer2011-04-091-2/+2
| | | | llvm-svn: 129209
* docs/*.html: Make W3C HTML 4.01 Strict more compliant.NAKAMURA Takumi2011-04-0915-36/+38
| | | | | FIXME: The logo handling in ReleaseNotes.html llvm-svn: 129208
* Add back a couple checks removed by r129128; the fact that an intitializerEli Friedman2011-04-092-4/+11
| | | | | | | is an array of structures doesn't imply it's a ConstantArray of ConstantStruct. llvm-svn: 129207
* fix PR9523, a crash in looprotate on a non-canonical loop made out of ↵Chris Lattner2011-04-092-1/+21
| | | | | | indirectbr. llvm-svn: 129203
* Fix a bug where RecursivelyDeleteTriviallyDeadInstructions couldChris Lattner2011-04-092-3/+46
| | | | | | | delete the instruction pointed to by CGP's current instruction iterator, leading to a crash on the testcase. This fixes PR9578. llvm-svn: 129200
* Avoid excess precision issues that lead to generating host-compiler-specific ↵Chris Lattner2011-04-091-2/+6
| | | | | | | | code. Switch lowering probably shouldn't be using FP for this. This resolves PR9581. llvm-svn: 129199
* PR9604; try to deal with RAUW updates correctly in the AST. I'm not convincedEli Friedman2011-04-093-0/+54
| | | | | | | it's completely safe to cache the AST across LICM runs even with this fix, but this fix can't hurt. llvm-svn: 129198
* Test for r129190.Eli Friedman2011-04-091-0/+32
| | | | llvm-svn: 129197
* fix PR9629 - We were lowering regexes like a{{b|c}}d into ab|cd, whichChris Lattner2011-04-091-0/+8
| | | | | | | is substantially different than a(b|c)d. Form the latter regex instead. This found a few problems in the testsuite, which serves as its test. llvm-svn: 129196
* fix two completely broken tests, which were matching due to PR9629.Chris Lattner2011-04-092-4/+4
| | | | llvm-svn: 129195
* remove a bunch of CHECK lines that aren't checking whatChris Lattner2011-04-091-5/+0
| | | | | | | they thought they were, because alternation was expanding wrong in {{}}'s. llvm-svn: 129194
* regexes are allowed to match empty things, e.g. {{.*}} in filecheck.Chris Lattner2011-04-091-1/+1
| | | | llvm-svn: 129193
* various cleanups, no functionality change.Chris Lattner2011-04-091-10/+6
| | | | llvm-svn: 129192
* revert accidental commit.Chris Lattner2011-04-091-11/+11
| | | | llvm-svn: 129191
* fix a potentially serious bug in AliasSet::removeCallSite Chris Lattner2011-04-092-11/+12
| | | | | | | where we shrunk the list without updating the end iterator. By inspection, from PR9639. llvm-svn: 129190
* Build the Hopfield network incrementally when splitting global live ranges.Jakob Stoklund Olesen2011-04-097-84/+183
| | | | | | | | | It is common for large live ranges to have few basic blocks with register uses and many live-through blocks without any uses. This approach grows the Hopfield network incrementally around the use blocks, completely avoiding checking interference for some through blocks. llvm-svn: 129188
* Precompute interference for neighbor blocks as long as there is no interference.Jakob Stoklund Olesen2011-04-092-22/+37
| | | | | | This doesn't require seeking in the live interval union, so it is very cheap. llvm-svn: 129187
* fix doc comment bug, noticed by JochenChris Lattner2011-04-091-2/+2
| | | | llvm-svn: 129186
* have dag combine zap "store undef", which can be formed during call loweringChris Lattner2011-04-092-2/+23
| | | | | | with undef arguments. llvm-svn: 129185
* don't test for codegen of 'store undef'Chris Lattner2011-04-092-7/+11
| | | | llvm-svn: 129184
* docs/tutorial/OCamlLangImpl7.html: Fix a href to missing Chapter 8.NAKAMURA Takumi2011-04-091-1/+1
| | | | llvm-svn: 129183
* docs: Fix some in-package URLs.NAKAMURA Takumi2011-04-093-12/+12
| | | | | | (eg. trim http://llvm.org/docs/foo -> foo) llvm-svn: 129182
* docs: Canonicalize URLs.NAKAMURA Takumi2011-04-0981-96/+96
| | | | llvm-svn: 129181
* Redirected errors from the AsmParser to the properSean Callanan2011-04-091-0/+10
| | | | | | | | | error stream, in cases where the AsmParser is being invoked by EDDisassembler. Before, they were being sent to errs() because no error handler was installed in the SourceMgr. llvm-svn: 129177
* Moved an access to an object past a NULL check,Sean Callanan2011-04-091-2/+2
| | | | | | making the MC disassembler tester more robust. llvm-svn: 129175
* Add radar number for future reference.Devang Patel2011-04-081-1/+1
| | | | llvm-svn: 129172
OpenPOWER on IntegriCloud