summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [asan] fix windows buildKostya Serebryany2012-12-131-1/+1
| | | | llvm-svn: 170101
* Simplify. No functionality change.Richard Smith2012-12-131-12/+7
| | | | llvm-svn: 170100
* [sanitizer] introduce MmapFixedOrDie and use it in SizeClassAllocator64Kostya Serebryany2012-12-134-1/+23
| | | | llvm-svn: 170099
* [asan] fix the Android build (pread64 interceptor again)Kostya Serebryany2012-12-132-4/+9
| | | | llvm-svn: 170098
* [sanitizer] change the way SizeClassAllocator64 allocated memory from the ↵Kostya Serebryany2012-12-132-4/+26
| | | | | | system: instead of one huge mmap(NORESERVE) it does one huge mprotect and then does small on-demand mmaps. This allows us to call OnMap callbacks which are required to poison newly allocated memory in asan llvm-svn: 170097
* Initial support for FreeBSD on ARM.Rafael Espindola2012-12-136-1/+53
| | | | | | Patch by Andrew Turner. llvm-svn: 170096
* 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
* [analyzer] Generalize ObjCMissingSuperCallChecker.Jordan Rose2012-12-132-47/+200
| | | | | | | | We now check a few methods for UIResponder, NSResponder, and NSDocument. Patch by Julian Mayer! llvm-svn: 170089
* 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
* <rdar://problem/12831670> Jason Molenda2012-12-131-0/+13
| | | | | | | | | | For iOS native lldb, don't initialize the ModuleList notifier callback. See the added comment for details on how this is a problem in that environment. We'll need to restructure how the ModuleDidLoad notification is called vrs. when the DynamicLoader pluging has had a chance to set the Sectino load addresses. llvm-svn: 170082
* Using CanQualType::getAs<ArrayType> is unsafe; fix the code currently using it,Eli Friedman2012-12-135-65/+30
| | | | | | and make sure additional uses don't get introduced. <rdar://problem/12858424>. llvm-svn: 170081
* [mips] Modify definitions of floating point conditional move instructions.Akira Hatanaka2012-12-132-24/+110
| | | | | | No functionality change. llvm-svn: 170080
* Made "target modules add" flush the process toSean Callanan2012-12-131-0/+16
| | | | | | | | reset stack frames etc. <rdar://problem/12842024> llvm-svn: 170079
* 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
* Marking test_lldb_iter_frame in TestLLDBIterator.py as expectedFailureLinux ↵Andrew Kaylor2012-12-131-0/+1
| | | | | | (due to lack of multi-threaded debugging support). llvm-svn: 170074
* [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
* Remove insufficient linkedit address check; the problemJason Molenda2012-12-131-1/+1
| | | | | | | | is deeper than that and avoiding the crash in this one part of code won't solve anything. I know where the real problem is now. llvm-svn: 170068
* docs: More reST conversion.Sean Silva2012-12-1323-3425/+3249
| | | | | | Sorry for the large commit, but it is much faster to convert in batches. llvm-svn: 170067
* [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
* Updated CREDITS.TXTHoward Hinnant2012-12-131-0/+4
| | | | llvm-svn: 170062
* [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
* [analyzer] Fix a self-init checker false positive.Anna Zaks2012-12-132-2/+32
| | | | | | | | | | | This is a Band-Aid fix to a false positive, where we complain about not initializing self to [super init], where self is not coming from the init method, but is coming from the caller to init. The proper solution would be to associate the self and it's state with the enclosing init. llvm-svn: 170059
* objc: DOn't complain if a (SEL) expression is typecastFariborz Jahanian2012-12-132-0/+5
| | | | | | to (SEL). Fixes // rdar://12859590 llvm-svn: 170058
* [mips] Remove fmt from the parameter list of classes FMADDSUB and FNMADDSUB.Akira Hatanaka2012-12-131-16/+16
| | | | llvm-svn: 170057
* Add missing check for error return from DefaultLvalueConversion. Fixes ↵Eli Friedman2012-12-132-0/+13
| | | | | | <rdar://problem/12857416>. llvm-svn: 170056
* [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
OpenPOWER on IntegriCloud