Simon Gladman
8f9c475939
Swift Overlays to vDSP Linear Interpolation Operations
2019-03-17 07:24:20 +00:00
Simon Gladman
171f6e27de
vDSP Swift Overlays to Complex Vector Operations
...
Swift overlays for calculating phase, copying, conjugating, and general arithmetic against `DSPSplitComplex`.
2019-03-17 06:30:16 +00:00
swift-ci
cf632b903d
Merge pull request #23342 from compnerd/who-has-the-time
2019-03-16 21:18:52 -07:00
Saleem Abdulrasool
59fb469ae9
SwiftOnoneSupport: create the import library always
...
This needs to be added to the release mode builds as well which stopped
generating exported interfaces.
2019-03-16 19:34:35 -07:00
Harlan Haskins
76dd00beb6
[Demangle] Check for old-style mangling in getObjCClassByMangledName
...
This caused an issue where the runtime was unable to find subclasses of
resilient subclasses of NSObject until they were first registered by their
sugared name with NSClassFromString or were instantiated directly.
rdar://48892003
2019-03-15 19:03:39 -07:00
Saleem Abdulrasool
4473b7464c
WinSDK: add convenience conversions for FILETIME/time_t
...
This conversion is error prone and pretty common. Provide a helper
initializer and conversion through a getter.
2019-03-15 16:16:56 -07:00
swift-ci
497e94e89d
Merge pull request #23235 from mikeash/remove-stable-abi-bit-configuration
2019-03-15 15:31:58 -07:00
swift-ci
6e7202e0f6
Merge pull request #23174 from lorentey/tacoma-narrows
2019-03-15 14:48:33 -07:00
Karoy Lorentey
300595eed4
[Foundation] Collapse as AnyObject as! Foo cast sequences
2019-03-15 13:26:58 -07:00
Karoy Lorentey
1162ed6cba
[runtime] Report an error for casting failure in _bridgeNonVerbatimFromObjectiveC
2019-03-14 18:20:41 -07:00
iliaskarim
c8cfb2d6eb
Update FixedArray.swift.gyb
...
Fix typo
2019-03-14 14:40:35 -04:00
simon gladman
0ab30574eb
vDSP Swift Overlays to Vector-Vector Extrema and Single-Vector Operations
...
A suite of Swift overlays to vDSP operations for vector-vector extrema, absolute and negation, in-place reversing and sorting, and single-vector arithmetic.
2019-03-14 16:41:27 +00:00
eeckstein
ece36345b9
Merge pull request #23249 from eeckstein/runtime-malloc-removal2
...
Avoid malloc allocations in the runtime, part 2
2019-03-14 08:47:41 -07:00
simon gladman
6fad0cf948
Code review changes - better parameter naming for downsample, and rename differenceEquation to twoPoleTwoZeroFilter.
2019-03-14 14:13:24 +00:00
simon gladman
e6e3d424f2
Swift overlays to Accelerate.vDSP 1D and 2D convolution operations.
2019-03-14 13:45:18 +00:00
simon gladman
f3bdb4b835
Swift overlays to vDSP dot product, hypotenuse, and distance squared operations.
2019-03-14 10:50:00 +00:00
Mike Ash
48f9ac9de5
[Stdlib] Reconstitute the documentation part of the comment on AnyKeyPath.
2019-03-13 15:56:00 -04:00
Erik Eckstein
3c73685b93
runtime: avoid memory allocations in checkTransitiveCompleteness
...
Use SmallVector instead of std::vector and a SmallPtrSet-like implementation for the set.
2019-03-13 11:49:58 -07:00
Erik Eckstein
abccbd8c8c
runtime: make the old remangler allocation free.
...
Extract common code from the old and new remangler into a common base class.
This lets the old remangler benefit from the changes I did recently in the new remangler.
2019-03-13 11:49:58 -07:00
Erik Eckstein
4186c69103
runtime: Fix a compiler warning in release the build
2019-03-13 11:49:58 -07:00
Mike Ash
c38f613aec
[Stdlib] Remove a / from the comment describing the ObjC runtime name for AnyKeyPath.
...
With three /'s, it got interpreted as documentation, which it definitely is not meant to be.
2019-03-13 13:59:53 -04:00
simon gladman
d069a1e063
Rename vDSP reduction functions to disambiguate at every use site.
2019-03-13 16:49:54 +00:00
simon gladman
99d8e573c6
vDSP - Swift overlays to vDSP_desamp and vDSP_deq22.
2019-03-13 15:34:11 +00:00
simon gladman
34e8b1afbe
Add missing operations: vDSP_sve_svesq and vDSP_sve_svesqD.
2019-03-13 14:57:27 +00:00
simon gladman
92dc74330a
vDSP Vector Reduction Functions
...
Swift overlays to functions for summing, averaging, and finding extrema in collections.
Note current guidance is to not abbreviate "minimum" and "maximum" in new APIs, hence me avoiding `min` and `max` function names.
2019-03-13 13:40:47 +00:00
Mike Ash
597dcd8f3f
[Stdlib][Frontend][CMake] Remove SWIFT_DARWIN_ENABLE_STABLE_ABI_BIT option, make it permanently on.
2019-03-13 09:31:50 -04:00
simon gladman
49246470f8
vDSP Elementwise Vector-Vector and Vector-Scalar Arithmetic
...
A suite of Swift overlays to the vDSP elementwise arithmetic operations.
2019-03-13 10:53:45 +00:00
simon gladman
c64f42a763
Replace using single element arrays to pass scalar values with withUnsafePointer.
2019-03-13 10:08:10 +00:00
Itai Ferber
0235a81cd5
Merge pull request #23244 from itaiferber/data-underestimated-sequence-initializer-fix
...
Fix off-by-one when initializing Data with discontiguous, underestimated Sequences
2019-03-12 19:25:06 -07:00
Itai Ferber
7ce6f840d1
Fix off-by-one when initializing Data with discontiguous, underestimated sequences
2019-03-12 14:26:58 -07:00
simon gladman
c2d286bbf5
vDSP Miscellaneous Conversions
...
This commit contains operations for:
* Split complex to/from interleaved complex conversion.
* Polar to/from rectangular coordinate conversion.
* Power and amplitude to decibel conversion.
2019-03-12 15:27:36 +00:00
simon gladman
12374f3a49
Swift Overlays to Accelerate vDSP Polynomial Evaluation Functions
2019-03-12 11:54:40 +00:00
simon gladman
d80065d5c6
Swift overlays to Accelerate.vDSP clipping, limit, and threshold operations.
2019-03-12 11:06:09 +00:00
Saleem Abdulrasool
8ed5c1a4bc
build: introduce and switch to GYB_SOURCES
...
This avoids us having to pattern match every source file which should
help speed up the CMake generation. A secondary optimization is
possible with CMake 3.14 which has the ability to remove the last
extension component without having to resort to regular expressions. It
also helps easily identify the GYB'ed sources.
2019-03-11 13:48:54 -07:00
Stephen Canon
20a1781842
Minor improvement for the documentation of ulp and ulpOfOne. ( #23211 )
...
1. Move discussion of `DBL_EPSILON` etc. onto `ulpOfOne` instead of `ulp`.
2. Add text explaining that `ulpOfOne` is a poor value to use for approximate comparison.
2019-03-11 13:06:41 -04:00
simon gladman
6b7d7f6702
Merge remote-tracking branch 'refs/remotes/origin/accelerate-vDSP-conversion'
2019-03-11 16:57:27 +00:00
simon gladman
be81f917ee
fix version numbers
2019-03-11 16:51:58 +00:00
simon gladman
5d63ddea51
Fix version numbers
2019-03-11 16:50:38 +00:00
simon gladman
6e502046c5
version number fix.
2019-03-11 16:47:24 +00:00
simon gladman
3cf79534b6
Accelerate vDSP Fill, Clear, and Generation Operations
...
A suite of Swift overlays to vDSP's fill, clear, window, and ramp generation operations.
2019-03-11 16:32:17 +00:00
simon gladman
6b2467337e
Reorder parameters in comments.
2019-03-11 13:47:57 +00:00
simon gladman
f7360adac4
Swift Overlays to Accelerate.vDSP Integration Operations
2019-03-11 13:46:41 +00:00
USAMI Kosuke
aa9a0d4b16
Fix document : Numeric -> AdditiveArithmetic
2019-03-11 21:58:43 +09:00
Saleem Abdulrasool
14d771436c
WinSDK: add some constants from CommCtrl
...
This exposes the common control window class name constants to the Swift
side enabling the use of these constants to create Windows.
2019-03-10 21:23:59 -07:00
Saleem Abdulrasool
0e7ff6582a
WinSDK: add CW_USEDEFAULT to the SDK overlay
2019-03-10 18:34:24 -07:00
Simon Gladman
d840cd9a21
Code Review Fixes
...
* Correct copyright year from 2017 to 2019
* `towardsZero` -> `towardZero`
* `towardsNearestInteger` -> `towardNearestInteger`
2019-03-09 15:26:59 +00:00
swift-ci
70a0d4a5a1
Merge pull request #23182 from davezarzycki/latest_clang_build_fix
2019-03-08 11:02:18 -08:00
simon gladman
e9e9b4eac7
Fix availability check in tests.
2019-03-08 17:39:11 +00:00
David Zarzycki
b032d0b38f
[Runtime] NFC: Move LLVM_ATTRIBUTE_USED from declaration to definition
...
This is both more correct and now required to keep building with
top-of-tree clang.
2019-03-08 12:35:53 -05:00
Saleem Abdulrasool
fbd456b84d
SwiftRemoteMirror: repair the windows build
...
This symbol is meant to be exposed to users of the SwiftRemoteMirror
library which requires that it is explicitly marked with the appropriate
DLL storage on Windows. This should repair the Windows build.
2019-03-08 07:59:21 -08:00