Akira Hatanaka
1babeaa44c
MIPS DSP: add support for extract-word instructions.
...
llvm-svn: 164749
2012-09-27 02:05:42 +00:00
Akira Hatanaka
ecabd1a5d2
MIPS DSP: add functions which decode DSP and accumulator registers.
...
llvm-svn: 164748
2012-09-27 02:01:10 +00:00
Akira Hatanaka
42a352485b
MIPS DSP: add code necessary for pseudo instruction lowering.
...
llvm-svn: 164747
2012-09-27 01:59:07 +00:00
Akira Hatanaka
de8231eada
MIPS DSP: add bitcast patterns between vectors and int.
...
No test cases. These patterns will get tested along with dsp intrinsics.
llvm-svn: 164746
2012-09-27 01:56:38 +00:00
NAKAMURA Takumi
453807fffe
IvarInvalidationChecker.cpp: Remove an unused member, InterfD. [-Wunused-private-field]
...
llvm-svn: 164745
2012-09-27 01:52:00 +00:00
Akira Hatanaka
5eeac4f813
MIPS DSP: add vector load/store patterns.
...
llvm-svn: 164744
2012-09-27 01:50:59 +00:00
Argyrios Kyrtzidis
4fcd2885de
Per discussion in http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20120917/064551.html
...
have PPCallbacks::InclusionDirective pass the character range for the filename quotes or brackets.
rdar://11113134 & http://llvm.org/PR13880
llvm-svn: 164743
2012-09-27 01:42:07 +00:00
Jordan Rose
8ba0fba28a
Use %clang_cc1 so that the test works even if the target isn't available.
...
Xcode-style clang builds only support Xcode's architectures, so mips
isn't available and the driver tries to use gcc instead. cc1 will go
ahead and do -fsyntax-only for any platform it knows about even if it
can't actually compile.
llvm-svn: 164742
2012-09-27 01:40:12 +00:00
Jim Ingham
1f51e60b74
Implement returning integer values in "thread return" for arm, x86_64 and i386. Also returns
...
floats & doubles on x86_64.
<rdar://problem/8356523>
llvm-svn: 164741
2012-09-27 01:15:29 +00:00
Argyrios Kyrtzidis
5c8b1cd220
[libclang] Always report a CXCursor_MacroDefinition for code-completion
...
results for a macro name, not CXCursor_NotImplemented.
llvm-svn: 164740
2012-09-27 00:24:09 +00:00
Bill Wendling
3af41e6c5f
Use a variable to stop us from building clang testing tools.
...
<rdar://problem/11202465>
llvm-svn: 164739
2012-09-27 00:11:09 +00:00
Greg Clayton
91e407ea07
If we are attached to a platform, then make sure that we can verify that a process exists when attaching by "pid" before we try and do a lengthy command that could take a while to timeout.
...
llvm-svn: 164738
2012-09-27 00:03:39 +00:00
Greg Clayton
e86fd74901
Added "k" as an alias to "process kill" since the new "kdb-remote" will now conflict with it.
...
llvm-svn: 164737
2012-09-27 00:02:27 +00:00
Andrew Kaylor
c091ea33f0
Fix of hang during Intel JIT profiling
...
Committed on behalf of Kirill Uhanov
llvm-svn: 164736
2012-09-26 23:43:56 +00:00
Bill Wendling
76b65ea942
Buildbot Fix.
...
This method can be called with a '0' argument which checks the return
value. However, the method it calls doesn't expect '0' as a valid value. Call the
correct method when it's 0.
llvm-svn: 164735
2012-09-26 23:38:00 +00:00
Nick Lewycky
2099bbb24b
Turn off this test, as the new and old SROA cause it produce different output.
...
Left in a note that we need to turn it back on once the SROA fallout is cleared
up.
llvm-svn: 164733
2012-09-26 22:48:46 +00:00
Sid Manning
d3a7e7e164
Add case for typeConstant in SectionChunk
...
llvm-svn: 164732
2012-09-26 22:46:17 +00:00
Nick Lewycky
2e646236fb
Disable the new SROA pass to get the tree back in working order. We don't yet
...
have testcases for the current problems.
llvm-svn: 164731
2012-09-26 22:43:04 +00:00
Jason Molenda
e5b55eadda
Add examples of using the kdp-remote and gdb-remote commands to connect to
...
gdb-remote protocol and kdp protocol systems.
llvm-svn: 164730
2012-09-26 22:42:25 +00:00
Greg Clayton
30c0a1cf94
Add convenience aliases to allow easy attaching to a remote gdb server or kdp (darwin kernel) server with the new "gdb-remote" regex alias and "kdp-remote" regex alias commands.
...
llvm-svn: 164729
2012-09-26 22:26:47 +00:00
Dan Gohman
099727fa4c
Add IRBuilder code for adding !tbaa.struct metadata tags to llvm.memcpy calls.
...
llvm-svn: 164728
2012-09-26 22:17:14 +00:00
Bill Wendling
e2ce1bb172
Query the parameter attributes directly instead of using the Attribute symbols.
...
llvm-svn: 164727
2012-09-26 22:15:19 +00:00
Bill Wendling
6fe7b78db4
Update to new function attribute querying syntax.
...
llvm-svn: 164726
2012-09-26 21:59:46 +00:00
Bill Wendling
863bab689a
Remove the `hasFnAttr' method from Function.
...
The hasFnAttr method has been replaced by querying the Attributes explicitly. No
intended functionality change.
llvm-svn: 164725
2012-09-26 21:48:26 +00:00
Jim Grosbach
c03a0c241e
X86_32: Large Symbol+Offset relocations.
...
If the offset is more than 24-bits, it won't fit in a scattered
relocation offset field, so we fall back to using a non-scattered
relocation.
rdar://12358909
llvm-svn: 164724
2012-09-26 21:27:45 +00:00
Sean Callanan
4ca7389925
Added support for the DebugClang configuration to the
...
testsuite.
llvm-svn: 164723
2012-09-26 21:16:15 +00:00
Bill Wendling
e38b804d07
Initial commit for the AttributesImpl class.
...
This opaque class will contain all of the attributes. All attribute queries will
go through this object. This object will also be uniqued in the LLVMContext.
Currently not used, so no implementation change.
llvm-svn: 164722
2012-09-26 21:07:29 +00:00
Akira Hatanaka
7fc726539f
Add case clauses for returning dsp accumulator encoding values in function
...
getMipsRegisterNumbering.
llvm-svn: 164720
2012-09-26 19:27:24 +00:00
Akira Hatanaka
e3f79e5505
Add DSP accumulator registers and register class. Remove hi/lo registers.
...
llvm-svn: 164719
2012-09-26 19:25:21 +00:00
Akira Hatanaka
8a69b892da
Delete member MipsFunctionInfo::OutArgFIRange and code that accesses it.
...
llvm-svn: 164718
2012-09-26 19:18:19 +00:00
Benjamin Kramer
2715fce524
Allow -MF to be used in combination with -E -M or -E -MM.
...
Fixes PR13851. Patch by Dimitry Andric!
llvm-svn: 164717
2012-09-26 19:01:49 +00:00
Anna Zaks
9802f9fb2a
[analyzer] Add experimental ObjC invalidation method checker.
...
This checker is annotation driven. It checks that the annotated
invalidation method accesses all ivars of the enclosing objects that are
objects of type, which in turn contains an invalidation method.
This is driven by
__attribute((annotation("objc_instance_variable_invalidator")).
llvm-svn: 164716
2012-09-26 18:55:16 +00:00
Anna Zaks
a3683dd69e
[analyzer] Commit a test case for r164579.
...
llvm-svn: 164715
2012-09-26 18:55:09 +00:00
Benjamin Kramer
9d6063ab55
Add support for detecting some corei7-class Xeons.
...
llvm-svn: 164714
2012-09-26 18:21:47 +00:00
Ted Kremenek
f81b0e387a
Have set-xcode-analyer report an error if no xcspec file could be found.
...
llvm-svn: 164713
2012-09-26 18:19:55 +00:00
Ted Kremenek
66dfa34404
Make set-xcode-analyzer more tolerant of the naming differenes reported by xcode-select.
...
llvm-svn: 164712
2012-09-26 18:13:03 +00:00
Ted Kremenek
8971b028e7
Revert "Use sep instead of ' '."
...
This isn't correct, as Jordan correctly points out.
llvm-svn: 164711
2012-09-26 18:06:08 +00:00
DeLesley Hutchins
f39c0c2487
Fix template instantiation of attributes. More specifically, fix the case
...
where an attribute is attached to a forward declaration of a template function,
and refers to parameters of that declaration, but is then inherited by the
definition of that function. When the definition is instantiated, the
parameter references need to be remapped.
llvm-svn: 164710
2012-09-26 17:57:31 +00:00
Ted Kremenek
2de0a9919b
Use sep instead of ' '.
...
llvm-svn: 164709
2012-09-26 17:23:31 +00:00
Duncan Sands
8598a0ec80
Now that invoke of an intrinsic is possible (for the llvm.do.nothing intrinsic)
...
teach the callgraph logic to not create callgraph edges to intrinsics for invoke
instructions; it already skips this for call instructions. Fixes PR13903.
llvm-svn: 164707
2012-09-26 17:16:01 +00:00
Jordan Rose
17df40d484
Make our mini-stdint.h platform-independent by using predefined macros.
...
This also adds a definition for uint64_t, which was causing build failures
on some platforms. (I'm actually surprised this didn't happen on more
builders, but maybe the search paths are different.)
llvm-svn: 164706
2012-09-26 16:41:11 +00:00
Argyrios Kyrtzidis
9ae3956f22
[libclang] Remove the ParentKind cursor kind from code-completion results.
...
This is to reduce dependency to cursors for the code-completion results.
llvm-svn: 164705
2012-09-26 16:39:56 +00:00
Argyrios Kyrtzidis
39a76387e0
Have ASTUnit::Save() return a bool to indicate save error.
...
Removes a dependency of ASTUnit to clang-c/Index.h.
llvm-svn: 164704
2012-09-26 16:39:46 +00:00
Filipe Cabecinhas
df461db533
Patch by Matt, to get lldb to build with the updated llvm+clang versions (via Makefiles).
...
llvm-svn: 164703
2012-09-26 16:27:06 +00:00
Filipe Cabecinhas
563a9521e4
Make lldb more C++11 friendly.
...
llvm-svn: 164702
2012-09-26 16:27:04 +00:00
Benjamin Kramer
8fb58f6bf0
YAMLParser: Fix invalid reads when encountering incorrectly quoted scalar.
...
Fixes PR12632.
llvm-svn: 164701
2012-09-26 15:52:15 +00:00
Howard Hinnant
324c084654
Bump _LIBCPP_VERSION to 1002
...
llvm-svn: 164700
2012-09-26 15:38:09 +00:00
Benjamin Kramer
576f5a10e6
Remove unneeded and invalid SetInsertPoint calls from unittest.
...
BB->end() returns a sentinel value that is not a legal insert point.
llvm-svn: 164699
2012-09-26 15:16:05 +00:00
Benjamin Kramer
c38fab2013
APFloat::roundToIntegral: Special values don't keep the exponent value up to date, don't rely on it.
...
Add a couple of unit tests for special floats. Fixes 13929, found by MemorySanitizer.
llvm-svn: 164698
2012-09-26 14:06:58 +00:00
Hans Wennborg
cd3a11f725
Address Duncan's comments on r164684:
...
- Put statistics in alphabetical order
- Don't use getZextValue when building TableInt, just use APInts
- Introduce Create{Z,S}ExtOrTrunc in IRBuilder.
llvm-svn: 164696
2012-09-26 14:01:53 +00:00