summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* [asan/tsan] rename FunctionBlackList* to BlackList* as this class is not ↵Kostya Serebryany2012-08-245-17/+17
| | | | | | limited to functions any more llvm-svn: 162566
* [asan/tsan] extend the functionality of FunctionBlackList to globals and ↵Kostya Serebryany2012-08-242-55/+89
| | | | | | modules. Patch by Reid Watson. llvm-svn: 162565
* Lower constant pools and jump tables via TOC on PPC64/SVR4.Roman Divacky2012-08-246-9/+111
| | | | | | In collaboration with Adhemerval Zanella. llvm-svn: 162562
* GVN: Fix quadratic runtime on the number of switch cases.Benjamin Kramer2012-08-241-2/+10
| | | | | | | | No intended behavior change. This was introduced in r162023. With the fixed algorithm a Release build of ARMInstPrinter.cpp goes from 16s to 10s on a 2011 MBP. llvm-svn: 162559
* Fix load/store SDNode flags.Jakob Stoklund Olesen2012-08-241-2/+2
| | | | llvm-svn: 162558
* Add missing SDNPSideEffect flags.Jakob Stoklund Olesen2012-08-243-11/+17
| | | | llvm-svn: 162557
* Remove more mayLoad workarounds.Jakob Stoklund Olesen2012-08-241-7/+7
| | | | llvm-svn: 162556
* Try to appease MSVC even more elaborately in the alignment hacking space.Chandler Carruth2012-08-241-5/+33
| | | | | | | | | | | | | | | | | | | | MSVC doesn't support passing by-value parameters with alignment of 16-bytes or higher apparantly. What is deeply confusing is that it seems to *sometimes* (but not always) apply this to any type whose alignment is set using __declspec(align(...)). This caused lots of errors when we switch SmallVector over to use the automatically aligned character array utilities as they used __declspec(align(...)) heavily. As a pretty horrible but effective work-around, we instead cherry pick the smallest alignment sizes with specific types that happen to have the correct alignment, and then fall back to the attribute solution past them. This should resolve the MSVC build errors folks have been hitting. Sorry for that. In good news, it will do this without introducing other UB I hope. =] Thanks to Timur Iskhodzhanov for helping me test this! llvm-svn: 162549
* Custom lower FMA intrinsics to target specific nodes and remove the patterns.Craig Topper2012-08-243-132/+73
| | | | llvm-svn: 162534
* Use DW_FORM_flag_present to save space in debug information if we'reEric Christopher2012-08-246-30/+46
| | | | | | | | not in darwin gdb compat mode. Fixes rdar://10975088 llvm-svn: 162526
* Add support for some missing DW_FORM_*.Eric Christopher2012-08-242-0/+77
| | | | | TODO: Fix code duplication and coding style. llvm-svn: 162525
* Formatting.Eric Christopher2012-08-241-1/+1
| | | | llvm-svn: 162524
* Fix undefined behavior (negation of INT_MIN) in ARM backend.Richard Smith2012-08-242-2/+2
| | | | llvm-svn: 162520
* Fix floating-point divide by zero, in a case where the value was not going ↵Richard Smith2012-08-241-1/+1
| | | | | | to be used anyway. llvm-svn: 162518
* Remove some spurious mayLoad = 0 flags.Jakob Stoklund Olesen2012-08-241-14/+8
| | | | | | | They were inserted to silence TableGen's warning about redundant properties. That warning is now gone. llvm-svn: 162517
* Heed guessInstructionProperties, and stop warning on redundant flags.Jakob Stoklund Olesen2012-08-243-93/+92
| | | | | | | | | | | | Emit TableGen errors if guessInstructionProperties is 0 and instruction properties can't be inferred from patterns. Allow explicit instruction properties even when they can be inferred. This patch doesn't change the TableGen output. Redundant properties are not yet verified because the tree has errors. llvm-svn: 162516
* Add missing SDNP properties on the flushw node.Jakob Stoklund Olesen2012-08-241-1/+1
| | | | llvm-svn: 162515
* X86MemBarrier has unmodeled side effects.Jakob Stoklund Olesen2012-08-241-1/+1
| | | | llvm-svn: 162514
* Fix undefined behavior (signed integer overflow) when Clang parses a ↵Richard Smith2012-08-241-1/+3
| | | | | | hexfloat with an enormous exponent. Caught by an existing unit test + -ftrapv. llvm-svn: 162505
* Formatting cleanup.Eric Christopher2012-08-231-7/+7
| | | | llvm-svn: 162499
* Add an assert here in case parsing gave us a NULL compile unit.Eric Christopher2012-08-231-1/+3
| | | | llvm-svn: 162498
* Remove the DW_AT_MIPS_linkage name attribute when we don't need itEric Christopher2012-08-233-5/+67
| | | | | | | | | | | output (we're emitting a specification already and the information isn't changing) and we're not in old gdb compat mode. Saves 1% on the debug information for a build of llvm. Fixes rdar://11043421 llvm-svn: 162493
* Turn these two options in to trinary state so that they can beEric Christopher2012-08-233-16/+43
| | | | | | turned on and off separate from the platform if you're on darwin. llvm-svn: 162487
* Add a flag to DwarfDebug to allow it to communicate whether or notEric Christopher2012-08-232-0/+9
| | | | | | we're using the darwin old gdb compat mode for emitting dwarf. llvm-svn: 162486
* Preserve operand flags in convertToThreeAddress() by copying operands.Jakob Stoklund Olesen2012-08-231-67/+52
| | | | | | No test case, this is a generalization of r160260. llvm-svn: 162485
* Tristate mayLoad, mayStore, and hasSideEffects.Jakob Stoklund Olesen2012-08-235-7/+37
| | | | | | | Keep track of the set/unset state of these bits along with their true/false values, but treat '?' as '0' for now. llvm-svn: 162461
* Add CodeGenTarget::guessInstructionProperties.Jakob Stoklund Olesen2012-08-233-0/+24
| | | | | | | | | | | | Currently, TableGen just guesses instruction properties when it can't infer them form patterns. This adds a guessInstructionProperties flag to the instruction set definition that will be used to disable guessing. The flag is intended as a migration aid. It will be removed again when no more targets need their properties guessed. llvm-svn: 162460
* Fix attributes on X86 store intrinsics.Jakob Stoklund Olesen2012-08-231-11/+11
| | | | | | | These intrinsics don't have unmodeled side effects, they are just stores. llvm-svn: 162459
* Fix a stub signature. HeuristicReduce should return a bool.Lang Hames2012-08-231-1/+2
| | | | | | This should fix a -Wdocumentation warning. llvm-svn: 162458
* Favor FMA3 over FMA4 if both are enabled.Craig Topper2012-08-231-1/+2
| | | | llvm-svn: 162454
* Fix a bunch of -Wdocumentation warnings.Dmitri Gribenko2012-08-2316-52/+49
| | | | llvm-svn: 162446
* Typo.Eric Christopher2012-08-231-1/+1
| | | | llvm-svn: 162438
* Only emit the __debug_inlined section if we're trying to be compatibleEric Christopher2012-08-231-1/+5
| | | | | | | | with older gdbs on darwin. rdar://10975874 llvm-svn: 162436
* Make this darwin specific to try to silence the bots.Eric Christopher2012-08-231-1/+1
| | | | llvm-svn: 162435
* Emit pubtypes only when going for darwin gdb compatibility.Eric Christopher2012-08-232-2/+5
| | | | | | rdar://10393214 llvm-svn: 162434
* Filecheck-ize.Eric Christopher2012-08-231-3/+3
| | | | llvm-svn: 162433
* Add an option for darwin gdb compatibility.Eric Christopher2012-08-231-2/+9
| | | | llvm-svn: 162432
* Make the setInst method take its MCInst parameter by reference, a la Jim'sLang Hames2012-08-231-1/+1
| | | | | | change in r162404. llvm-svn: 162431
* Use a switch statement instead of a bunch of if-else checks and pull out the ↵Craig Topper2012-08-231-8/+10
| | | | | | common function call. llvm-svn: 162428
* Remove unused private field to silence build warning.Craig Topper2012-08-233-7/+4
| | | | llvm-svn: 162426
* 80-col.Eric Christopher2012-08-231-1/+1
| | | | llvm-svn: 162422
* Tidy.Eric Christopher2012-08-231-3/+3
| | | | llvm-svn: 162421
* Simplify the computeOperandLatency API.Andrew Trick2012-08-236-143/+83
| | | | | | | | | The logic for recomputing latency based on a ScheduleDAG edge was shady. This bypasses the problem by requiring the client to provide operand indices. This ensures consistent use of the machine model's API. llvm-svn: 162420
* Make function loadImmediate a member of MipsSEInstrInfo and change it to returnAkira Hatanaka2012-08-235-65/+54
| | | | | | | | | | the temporary register that was used to load the immediate. Currently, it always returns register $at, but this will change if, in the future, we decide to use another register. No changes in functionality. llvm-svn: 162417
* Add a member of type Mips16InstrInfo/MipsSEInstrInfo to classAkira Hatanaka2012-08-226-13/+15
| | | | | | | | Mips16RegisterInfo/MipsSERegisterInfo. No changes in functionality. llvm-svn: 162413
* Fix an assortment of doxygen comment mistakes found by -Wdocumentation.Ted Kremenek2012-08-224-14/+16
| | | | llvm-svn: 162411
* Print out the location of expanded multiclass defs in TableGen errors.Jakob Stoklund Olesen2012-08-228-22/+41
| | | | | | | | | | | | | | | | | | | When reporting an error for a defm, we would previously only report the location of the outer defm, which is not always where the error is. Now we also print the location of the expanded multiclass defs: lib/Target/X86/X86InstrSSE.td:2902:12: error: foo defm ADD : basic_sse12_fp_binop_s<0x58, "add", fadd, SSE_ALU_ITINS_S>, ^ lib/Target/X86/X86InstrSSE.td:2801:11: note: instantiated from multiclass defm PD : sse12_fp_packed<opc, !strconcat(OpcodeStr, "pd"), OpNode, VR128, ^ lib/Target/X86/X86InstrSSE.td:194:5: note: instantiated from multiclass def rm : PI<opc, MRMSrcMem, (outs RC:$dst), (ins RC:$src1, x86memop:$src2), ^ llvm-svn: 162409
* MCInstFragment constructor should take by-reference MCInst.Jim Grosbach2012-08-221-1/+1
| | | | | | | The MCInst is immediately passed to the copy-constructor for local storage, so there's no need for the parameter itself to be by-value. llvm-svn: 162404
* darwin/cross-build: Unset SDKROOT when building BuildTools.Daniel Dunbar2012-08-221-0/+1
| | | | llvm-svn: 162402
* SimplifyLibCalls: Give all safely-shrinkable libcalls the same treatment.Benjamin Kramer2012-08-222-5/+184
| | | | llvm-svn: 162383
OpenPOWER on IntegriCloud