summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Restore the PHI optimization I accidently removed" temporarily sinceEric Christopher2012-12-131-4/+0
| | | | | | | | it seems to be breaking self-host for a few people and is PR14592. This reverts commit r170024. llvm-svn: 170106
* Revert "Add a funciton to get the segment name of a section."Eric Christopher2012-12-134-48/+14
| | | | | | This reverts commit r170095 since it appears to be breaking the bots. llvm-svn: 170105
* Change TargetLowering::getRegClassFor to take an MVT, instead of EVT.Patrik Hagglund2012-12-1313-81/+89
| | | | | | | | | | | | Accordingly, add helper funtions getSimpleValueType (in parallel to getValueType) in SDValue, SDNode, and TargetLowering. This is the first, in a series of patches. This is the second attempt. In the first attempt (r169837), a few getSimpleVT() were hoisted too far, detected by bootstrap failures. llvm-svn: 170104
* Add a funciton to get the segment name of a section.Rafael Espindola2012-12-134-14/+48
| | | | | | | | | | | | | | | On MachO, sections also have segment names. When a tool looking at a .o file prints a segment name, this is what they mean. In reality, a .o has only one, anonymous, segment. This patch adds a MachO only function to fetch that segment name. I named it getSectionFinalSegmentName since the main use for the name seems to be informing the linker with segment this section should go to. The patch also changes MachOObjectFile::getSectionName to return just the section name instead of computing SegmentName,SectionName. llvm-svn: 170095
* Missed these calls from the previous rename somehow.Rafael Espindola2012-12-131-2/+2
| | | | llvm-svn: 170094
* Rename isPowerOfTwo to isKnownToBeAPowerOfTwo.Rafael Espindola2012-12-134-21/+21
| | | | | | | | In a previous thread it was pointed out that isPowerOfTwo is not a very precise name since it can return false for powers of two if it is unable to show that they are powers of two. llvm-svn: 170093
* [mips] Do not copy GOT address to register $gp if the function being called hasAkira Hatanaka2012-12-132-4/+36
| | | | | | internal linkage. llvm-svn: 170092
* Pattern matching code for intrinsics.Michael Ilseman2012-12-132-15/+115
| | | | | | Provides m_Argument that allows matching against a CallSite's specified argument. Provides m_Intrinsic pattern that can be templatized over the intrinsic id and bind/match arguments similarly to other pattern matchers. Implementations provided for 0 to 4 arguments, though it's very simple to extend for more. Also provides example template specialization for bswap (m_BSwap) and example of code cleanup for its use. llvm-svn: 170091
* Remove extraneous debugging code.Eric Christopher2012-12-131-2/+0
| | | | llvm-svn: 170090
* Use default label name for a section in emitting abbreviationEric Christopher2012-12-131-5/+8
| | | | | | section to help prep some code to be split about. llvm-svn: 170088
* Add a way of printing out an arbitrary label name for a sectionEric Christopher2012-12-135-0/+31
| | | | | | given the section. llvm-svn: 170087
* m_CombineOr and m_CombineAnd pattern combinatorsMichael Ilseman2012-12-131-10/+49
| | | | llvm-svn: 170086
* Define getHostCPUFeatures for ARM Linux platformHao Liu2012-12-131-0/+58
| | | | llvm-svn: 170085
* [mips] Delete all floating point instruction classes that are no longer used.Akira Hatanaka2012-12-133-279/+2
| | | | | | No functionality change. llvm-svn: 170084
* Make this Lit config file a bit slimmerEli Bendersky2012-12-131-8/+1
| | | | llvm-svn: 170083
* [mips] Modify definitions of floating point conditional move instructions.Akira Hatanaka2012-12-132-24/+110
| | | | | | No functionality change. llvm-svn: 170080
* Fix a bug in DAGCombiner::MatchBSwapHWord. Make sure the node has operands ↵Evan Cheng2012-12-132-1/+48
| | | | | | before referencing them. rdar://12868039 llvm-svn: 170078
* [mips] Modify definitions of floating point comparison instructions.Akira Hatanaka2012-12-132-9/+30
| | | | | | No functionality change. llvm-svn: 170077
* [mips] Modify definitions of floating point branch instructions.Akira Hatanaka2012-12-132-2/+26
| | | | | | No functionality change. llvm-svn: 170076
* [mips] Modify definitions of floating point indexed load and store instructions.Akira Hatanaka2012-12-132-14/+59
| | | | | | No functionality change. llvm-svn: 170075
* [mips] Modify definitions of floating point multiply-add/sub instructions.Akira Hatanaka2012-12-132-12/+46
| | | | | | No functionality change. llvm-svn: 170073
* [mips] Modify definitions of floating point load and store instructions.Akira Hatanaka2012-12-132-10/+35
| | | | | | No functionality change. llvm-svn: 170072
* [mips] Modify definitions of move from/to coprocessor instructions.Akira Hatanaka2012-12-132-21/+30
| | | | | | No functionality change. llvm-svn: 170071
* [mips] Modify definitions of two register operand floating point instructions.Akira Hatanaka2012-12-132-41/+87
| | | | | | No functionality change. llvm-svn: 170069
* [mips] Modify definitions of three register operand floating point instructionsAkira Hatanaka2012-12-132-8/+41
| | | | | | and separate encoding information from the rest. llvm-svn: 170066
* Take into account minimize size attribute in the inliner.Quentin Colombet2012-12-132-2/+236
| | | | | | | | | Better controls the inlining of functions when the caller function has MinSize attribute. Basically, when the caller function has this attribute, we do not "force" the inlining of callee functions carrying the InlineHint attribute (i.e., functions defined with inline keyword) llvm-svn: 170065
* Avoid setIsInsideBundle in Target/R600.Jakob Stoklund Olesen2012-12-132-10/+11
| | | | | | This function is going to be removed. llvm-svn: 170064
* Express prepend and append in terms of a more generic insert().Jakob Stoklund Olesen2012-12-131-11/+36
| | | | | | | | Also add an MIBundleBuilder constructor that takes an existing bundle. Together these functions make it possible to add instructions to existing bundles. llvm-svn: 170063
* [mips] Move classes that do not belong in MipsInstrFormats.td intoAkira Hatanaka2012-12-132-23/+23
| | | | | | | MipsInstrFPU.td. llvm-svn: 170061
* [mips] Set isCommutable flag in a more explicit way.Akira Hatanaka2012-12-131-5/+3
| | | | llvm-svn: 170060
* [mips] Remove fmt from the parameter list of classes FMADDSUB and FNMADDSUB.Akira Hatanaka2012-12-131-16/+16
| | | | llvm-svn: 170057
* [mips] Remove single-precision floating point instruction from multiclassAkira Hatanaka2012-12-132-10/+13
| | | | | | | FFR2P_M. llvm-svn: 170055
* [mips] Move class IsCommutable into MipsInstrInfo.td.Akira Hatanaka2012-12-132-4/+4
| | | | llvm-svn: 170054
* [mips] Remove single-precision floating point instructions from multiclassesAkira Hatanaka2012-12-132-47/+54
| | | | | | | | FFR1_W_M and FFR1P_M. The new instruction definitions have one-to-one correspondence with the instructions in the ISA manual. llvm-svn: 170053
* Fix a bogus commentEli Bendersky2012-12-131-3/+3
| | | | llvm-svn: 170052
* Teach the cost model about the optimization in r169904: Truncation of ↵Nadav Rotem2012-12-133-3/+21
| | | | | | induction variables costs the same as scalar trunc. llvm-svn: 170051
* Typo.Chad Rosier2012-12-131-1/+1
| | | | llvm-svn: 170050
* Make the MCStreamer have a reset method and call that after finalization of ↵Pedro Artigas2012-12-1210-31/+68
| | | | | | | | the asm printer, also changed MCContext to a single reset only method for simplicity as requested on the list llvm-svn: 170041
* [ms-inline asm] Make sure we fail gracefully on parse errors. Parse errorsChad Rosier2012-12-121-2/+9
| | | | | | | | should only occur on invalid input. Instruction matching errors aren't unexpected, so we can't rely on the AsmParsers HadError variable directly. rdar://12840278 llvm-svn: 170037
* YAMLIO: Remove all of the template instantiation hacks, I don't see why ↵Benjamin Kramer2012-12-122-423/+326
| | | | | | | | they're necessary and it breaks linking of the unit tests. Also comes with a clang-format run on the cpp file, it had major style violations. llvm-svn: 170036
* Temporarily disable test cases until they compile with g++ too.Nick Kledzik2012-12-121-0/+4
| | | | llvm-svn: 170035
* Unbreak the build. Fallout from r170019.David Blaikie2012-12-121-1/+1
| | | | llvm-svn: 170033
* AlignedCharArrayUnion is erroring with non-clang compilersNick Kledzik2012-12-121-6/+6
| | | | llvm-svn: 170031
* Fix calls to getAsSignedInteger() to use long long - not int64_tNick Kledzik2012-12-121-21/+25
| | | | llvm-svn: 170030
* Makefile.sphinx: reST conversion is complete!Dmitri Gribenko2012-12-121-4/+0
| | | | | | No need to copy HTML files anymore. llvm-svn: 170029
* Documentation: use paths relative to document root in links.Dmitri Gribenko2012-12-121-1/+1
| | | | llvm-svn: 170027
* Fix typo, which prevent test from being check.Jakub Staszak2012-12-121-3/+3
| | | | llvm-svn: 170025
* Restore the PHI optimization I accidently removedMichael Ilseman2012-12-121-0/+4
| | | | llvm-svn: 170024
* unHECKify test fixed by Jacob in r159003.Jakub Staszak2012-12-121-8/+6
| | | | llvm-svn: 170023
* Remove trailing whitespaceMichael Ilseman2012-12-121-39/+39
| | | | llvm-svn: 170022
OpenPOWER on IntegriCloud