Fariborz Jahanian
be7bf7285b
Objective-C modernization. Convert -initWithUTF8String messaging
...
with auto-boxing syntax for literals. rdar://18080352
llvm-svn: 216405
2014-08-25 20:22:25 +00:00
Alexey Samsonov
a5bf76bdf3
Pass actual CallExpr instead of CallExpr-specific iterators
...
into EmitCXXMemberOrOperatorCall methods. In the end we want
to make declaration visible in EmitCallArgs() method, that
would allow us to alter CodeGen depending on function/parameter
attributes.
No functionality change.
llvm-svn: 216404
2014-08-25 20:17:35 +00:00
Juergen Ributzka
1912e24898
[FastISel][AArch64] Refactor float zero materialization. NFCI.
...
llvm-svn: 216403
2014-08-25 19:58:05 +00:00
Rui Ueyama
768cc6d31d
Use LLD naming style.
...
llvm-svn: 216402
2014-08-25 19:38:57 +00:00
Lang Hames
86b08f02c0
[MCJIT] Make RuntimeDyld dump section contents in -debug mode.
...
llvm-svn: 216400
2014-08-25 18:37:38 +00:00
Greg Clayton
21405a86d9
Added a test case to ensure lldb::SBHostOS::GetLLDBPath() doesn't return lldb::SBFileSpec objects with the filename filled in for directory paths.
...
llvm-svn: 216399
2014-08-25 18:30:00 +00:00
Greg Clayton
0d8400c89c
Change back all paths returns for lldb::PathType enumerations from HostInfo::GetLLDBPath() to return the directories in the FileSpec.m_directory field to match previous implementations. This change previously broke some path stuff in upstream branches.
...
llvm-svn: 216398
2014-08-25 18:21:06 +00:00
Rafael Espindola
dae941a6c8
Update for llvm api change.
...
llvm-svn: 216397
2014-08-25 18:17:04 +00:00
Rafael Espindola
b14bd53e6d
Update for LLVM api change
...
llvm-svn: 216396
2014-08-25 18:17:00 +00:00
Rafael Espindola
0941b568ce
Update for LLVM api change
...
llvm-svn: 216395
2014-08-25 18:16:56 +00:00
Rafael Espindola
ac27f730d7
Update for LLVM api change
...
llvm-svn: 216394
2014-08-25 18:16:52 +00:00
Rafael Espindola
3fd1e9933f
Modernize raw_fd_ostream's constructor a bit.
...
Take a StringRef instead of a "const char *".
Take a "std::error_code &" instead of a "std::string &" for error.
A create static method would be even better, but this patch is already a bit too
big.
llvm-svn: 216393
2014-08-25 18:16:47 +00:00
Deepak Panickal
b709222b8a
Fix the Windows build by removing the unused lldb_python_module.cmake inclusion from CMakeLists.
...
llvm-svn: 216392
2014-08-25 18:16:22 +00:00
Chandler Carruth
70f81a98ca
[x86] Fix a bug in r216319 where I was missing a 'break'.
...
This actually was caught by existing tests but those tests were disabled
with an XFAIL because of PR20736. While working on fixing that,
I noticed the test failure, and tracked it down to this.
We even have a really nice Clang warning that would have caught this but
it isn't enabled in LLVM! =[ I may look at enabling it.
llvm-svn: 216391
2014-08-25 18:06:11 +00:00
Bruno Cardoso Lopes
e2a1fa35df
Remove dangling initializers in GlobalDCE
...
GlobalDCE deletes global vars and updates their initializers to nullptr
while leaving underlying constants to be cleaned up later by its uses.
The clean up may never happen, fix this by forcing it every time it's
safe to destroy constants.
Final patch by Rafael Espindola
http://reviews.llvm.org/D4931
<rdar://problem/17523868>
llvm-svn: 216390
2014-08-25 17:51:14 +00:00
Bruno Cardoso Lopes
356c4ac88b
Rise from the dead and update personal info
...
llvm-svn: 216389
2014-08-25 17:51:04 +00:00
Chad Rosier
e62f365458
[AArch32] Add patterns for VCVT{A,N,P,M}.
...
Patterns for lowering libm calls to VCVT{A,N,P,M} are also included.
Phabricator Revision: http://reviews.llvm.org/D5033
llvm-svn: 216388
2014-08-25 16:56:33 +00:00
Timur Iskhodzhanov
dc8caada51
[ASan/Win] Add /DEBUG to the MD RTL link flags
...
llvm-svn: 216387
2014-08-25 16:45:53 +00:00
Timur Iskhodzhanov
2311f4dfaa
[ASan] Replace CMake if/APPEND/endif with append_if
...
llvm-svn: 216386
2014-08-25 16:40:39 +00:00
Will Dietz
dff50cbe26
ASTVector: Fix return value of various insert() methods.
...
Error caught using -fsanitize=pointer-overflow.
Expand ASTVectorTest to verify basic behavior,
test fails without functionality in this patch.
llvm-svn: 216385
2014-08-25 16:09:51 +00:00
Marshall Clow
d08f0d9c05
Replace 'noexcept' with '_NOEXCEPT' in <shared_mutex>. This allows us to build the dylib with MSVC, which doesn't support noexcept (sheesh\!). Thanks to K-ballo for the report.
...
llvm-svn: 216384
2014-08-25 14:53:16 +00:00
Robert Khasanov
2ea081d4d1
[SKX] avx512_icmp_packed multiclass extension
...
Extended avx512_icmp_packed multiclass by masking versions.
Added avx512_icmp_packed_rmb multiclass for embedded broadcast versions.
Added corresponding _vl multiclasses.
Added encoding tests for CPCMP{EQ|GT}* instructions.
Add more fields for X86VectorVTInfo.
Added AVX512VLVectorVTInfo that include X86VectorVTInfo for 512/256/128-bit versions
Differential Revision: http://reviews.llvm.org/D5024
llvm-svn: 216383
2014-08-25 14:49:34 +00:00
Timur Iskhodzhanov
0a88b25c43
[ASan/Win] Intercept memory allocation functions in the MD CRT
...
llvm-svn: 216382
2014-08-25 13:19:05 +00:00
Timur Iskhodzhanov
664dff4db7
Follow-up to r216380: update test expectations
...
llvm-svn: 216381
2014-08-25 12:19:12 +00:00
Timur Iskhodzhanov
ea3ce790dc
[ASan] Rename the ASan dynamic RT
...
Reviewed at http://reviews.llvm.org/D5026
llvm-svn: 216380
2014-08-25 11:44:06 +00:00
Manuel Klimek
3fe8a38110
Add hasAttr matcher for declarations.
...
Delete special-case CUDA attribute matchers.
Patch by Jacques Pienaar.
llvm-svn: 216379
2014-08-25 11:23:50 +00:00
Daniel Jasper
4b3ba214d0
clang-format: Understand sequenced casts.
...
This fixed llvm.org/PR20712.
Before:
int i = (int)(int) -2;
After:
int i = (int)(int)-2;
llvm-svn: 216378
2014-08-25 09:36:07 +00:00
Daniel Jasper
7189fb2cf9
clang-format: Improve formatting of nested builder-type calls.
...
Before:
f(FirstToken->WhitespaceRange.getBegin().getLocWithOffset(
First->LastNewlineOffset));
After:
f(FirstToken->WhitespaceRange.getBegin()
.getLocWithOffset(First->LastNewlineOffset));
llvm-svn: 216377
2014-08-25 08:48:17 +00:00
Stepan Dyatkovskiy
c90308bf83
MergeFunctions, tiny refactoring:
...
cmpAPFloat has been renamed to cmpAPFloats (multiple form).
llvm-svn: 216376
2014-08-25 08:22:46 +00:00
Stepan Dyatkovskiy
7f895c1184
MergeFunctions, tiny refactoring:
...
cmpAPInt has been renamed to cmpAPInts (multiple form).
llvm-svn: 216375
2014-08-25 08:19:50 +00:00
Stepan Dyatkovskiy
0b765dee6e
MergeFunctions, tiny refactoring:
...
cmpType has been renamed to cmpTypes (multiple form).
llvm-svn: 216374
2014-08-25 08:16:39 +00:00
Stepan Dyatkovskiy
016daddc52
MergeFunctions, tiny refactoring:
...
cmpGEP has been renamed to cmpGEPs (multiple form).
llvm-svn: 216373
2014-08-25 08:12:45 +00:00
Jason Molenda
8cd95a3b2c
Add a little documentation for the register kinds
...
and the method to convert between them.
llvm-svn: 216372
2014-08-25 08:03:10 +00:00
Karthik Bhat
7f33ff7dea
Allow vectorization of division by uniform power of 2.
...
This patch adds support to recognize division by uniform power of 2 and modifies the cost table to vectorize division by uniform power of 2 whenever possible.
Updates Cost model for Loop and SLP Vectorizer.The cost table is currently only updated for X86 backend.
Thanks to Hal, Andrea, Sanjay for the review. (http://reviews.llvm.org/D4971 )
llvm-svn: 216371
2014-08-25 04:56:54 +00:00
Craig Topper
c6914d068f
Use range based for loops to avoid needing to re-mention SmallPtrSet size.
...
llvm-svn: 216370
2014-08-25 04:15:02 +00:00
Richard Smith
88126a25eb
[modules] Fix false report of an ODR violation when merging friend
...
declarations. We can't expect to find them in the canonical definition
of the class, because that's not where they live.
This means we no longer reject real ODR violations with friend declarations,
but we weren't consistently doing so anyway.
llvm-svn: 216369
2014-08-25 02:10:01 +00:00
Dylan Noblesmith
6e69927d03
CodeGen/LiveVariables: hoist out code in nested loops
...
This makes runOnMachineFunction vastly more readable.
llvm-svn: 216368
2014-08-25 01:59:49 +00:00
Dylan Noblesmith
46a922c191
CodeGen/LiveVariables: switch to std::vector
...
No functionality change.
llvm-svn: 216367
2014-08-25 01:59:42 +00:00
Dylan Noblesmith
b899464f5b
AArch64: unique_ptr-ify map structures
...
llvm-svn: 216366
2014-08-25 01:59:38 +00:00
Dylan Noblesmith
6076debd98
AArch64: use std::vector for temp array
...
llvm-svn: 216365
2014-08-25 01:59:36 +00:00
Dylan Noblesmith
130589f804
NVPTX: remove another raw delete call
...
llvm-svn: 216364
2014-08-25 01:59:32 +00:00
Dylan Noblesmith
802b6ce8de
NVPTX: remove raw delete call
...
Also make members that are never accessed outside the class
private.
llvm-svn: 216363
2014-08-25 01:59:29 +00:00
Dylan Noblesmith
c4a9942a68
ExecutionEngine: unique_ptr-ify
...
NFC.
llvm-svn: 216362
2014-08-25 00:58:18 +00:00
Dylan Noblesmith
2b9b93e6f1
EE/JIT: unique_ptr-ify
...
llvm-svn: 216361
2014-08-25 00:58:15 +00:00
Dylan Noblesmith
0b59924d60
Support/Path: remove raw delete
...
llvm-svn: 216360
2014-08-25 00:58:13 +00:00
Dylan Noblesmith
49c758b769
Support/APFloat: unique_ptr-ify temp arrays
...
llvm-svn: 216359
2014-08-25 00:58:10 +00:00
Dylan Noblesmith
3ecd22fcf5
Analysis: unique_ptr-ify DependenceAnalysis::collectCoeffInfo
...
llvm-svn: 216358
2014-08-25 00:28:43 +00:00
Dylan Noblesmith
2cae60e730
Analysis: unique_ptr-ify DependenceAnalysis::depends
...
llvm-svn: 216357
2014-08-25 00:28:39 +00:00
Dylan Noblesmith
d96ce66cb1
Analysis: take a reference instead of pointer
...
This parameter is never null.
llvm-svn: 216356
2014-08-25 00:28:35 +00:00
Dylan Noblesmith
688fa5e15b
CodeGen: switch raw array to std::vector
...
llvm-svn: 216355
2014-08-25 00:28:31 +00:00