David Zarzycki
33300640ae
[SIL] NFC: Migrate BindMemoryInst to InstructionBaseWithTrailingOperands
2017-12-26 07:39:59 -05:00
David Zarzycki
d2552969f6
[SIL] NFC: Migrate StructInst to InstructionBaseWithTrailingOperands
2017-12-26 07:39:59 -05:00
David Zarzycki
65a31cf113
[SIL] NFC: Migrate TupleInst to InstructionBaseWithTrailingOperands
2017-12-26 07:39:59 -05:00
David Zarzycki
1321eceb0c
[SIL] NFC: Migrate MetatypeInst to InstructionBaseWithTrailingOperands
2017-12-26 07:39:58 -05:00
David Zarzycki
ee0550ecdf
[SIL] NFC: Migrate WitnessMethodInst to InstructionBaseWithTrailingOperands
2017-12-26 07:39:58 -05:00
David Zarzycki
09d541f758
[SIL] NFC: Refactor UnaryInstructionWithTypeDependentOperandsBase
...
Refactor UnaryInstructionWithTypeDependentOperandsBase into two template
classes, where the original template now subclasses a simpler template
called "InstructionBaseWithTrailingObjects".
2017-12-26 07:39:58 -05:00
swift-ci
d80084ea16
Merge remote-tracking branch 'origin/master' into master-next
2017-12-22 12:09:13 -08:00
David Zarzycki
ed85954275
[SIL] NFC: Migrate TupleInst to llvm::TrailingObjects
...
Also, repack the count variable into the misc object header bits.
2017-12-22 11:33:47 -05:00
David Zarzycki
83c1054034
[SIL] NFC: Migrate StructInst to llvm::TrailingObjects
...
Also, repack the count variable into the misc object header bits.
2017-12-22 11:16:33 -05:00
David Zarzycki
5012a80e39
[SIL] NFC: Repack misc StringLiteralInst bits
2017-12-22 10:58:21 -05:00
David Zarzycki
fcfdd4c8ca
[SIL] NFC: Migrate BuiltinInst to llvm::TrailingObjects
...
Also, repack the count variables into the misc object header bits.
2017-12-22 10:29:41 -05:00
swift-ci
8e75a2fbbd
Merge remote-tracking branch 'origin/master' into master-next
2017-12-18 13:28:54 -08:00
swift-ci
0302515cf0
Merge remote-tracking branch 'origin/master' into master-next
2017-12-18 12:48:55 -08:00
John McCall
94116347a2
Fix some warnings: extra semicolons, anonymous structs.
2017-12-18 15:31:47 -05:00
David Zarzycki
c75e8299f1
[SIL] NFC: Repack misc MetatypeInst bits
2017-12-17 21:35:27 -05:00
David Zarzycki
bc44e5a150
[SIL] NFC: Repack misc BeginAccessInst bits
2017-12-17 21:23:37 -05:00
David Zarzycki
931ea24f99
[SIL] NFC: Repack misc EndAccessInst bits
2017-12-17 21:14:49 -05:00
David Zarzycki
1cd19eae36
[SIL] NFC: Repack misc PointerToAddressInst bits
2017-12-17 20:58:45 -05:00
David Zarzycki
315cf677dd
[SIL] NFC: Repack misc SwitchValueInst bits
2017-12-17 20:54:01 -05:00
David Zarzycki
5443923a0c
[SIL] NFC: Repack misc SwitchEnumInstBase bits
2017-12-17 20:24:14 -05:00
David Zarzycki
f0bd535261
[SIL] NFC: Repack misc TupleElementAddrInst bits
2017-12-17 19:58:24 -05:00
David Zarzycki
cf443ecfcf
[SIL] NFC: Repack misc TupleExtractInst bits
2017-12-17 19:55:17 -05:00
David Zarzycki
b885daf032
[SIL] NFC: Repack misc WitnessMethodInst bits
2017-12-17 19:49:37 -05:00
David Zarzycki
224b8495bc
[SIL] NFC: Repack misc DeallocRefInst bits
2017-12-16 19:26:40 -05:00
David Zarzycki
83546faec8
[SIL] NFC: Repack misc IntegerLiteralInst and FloatLiteralInst bits
2017-12-16 19:12:01 -05:00
David Zarzycki
aef2e8c662
[SIL] NFC: Repack misc LoadInst bits
2017-12-16 18:53:08 -05:00
David Zarzycki
c4e90d6e4f
[SIL] NFC: Repack misc StoreInst bits
2017-12-16 18:41:14 -05:00
David Zarzycki
c8a458ed1d
[SIL] NFC: Repack misc CopyAddrInst bits
2017-12-16 18:31:46 -05:00
David Zarzycki
b5424c0c17
[SIL] NFC: Repack misc StrongPinInst bits
2017-12-16 18:22:52 -05:00
David Zarzycki
edcb0114c4
[SIL] NFC: Repack misc LoadReferenceInstBase bits
2017-12-16 18:04:49 -05:00
David Zarzycki
f6957eade8
[SIL] NFC: Repack misc StoreReferenceInstBase bits
2017-12-16 18:00:08 -05:00
David Zarzycki
a0a5ca5f14
[SIL] NFC: Repack misc RefCountingInst bits
2017-12-16 17:43:31 -05:00
David Zarzycki
7740d4d05d
[SIL] NFC: Repack misc UncheckedOwnershipConversionInst bits
2017-12-16 17:35:27 -05:00
David Zarzycki
c68d481d28
[SIL] NFC: Repack misc UnaryInstructionWithTypeDependentOperandsBase bits
2017-12-16 17:05:00 -05:00
David Zarzycki
f0d0c18be6
[SIL] NFC: Repack misc AllocRefInstBase bits
2017-12-16 11:53:29 -05:00
David Zarzycki
d197894a9d
[SIL] NFC: Repack misc AllocStackInst bits
2017-12-16 11:38:43 -05:00
David Zarzycki
54ea315586
[Basic] NFC: Stop using transparent unions
2017-12-16 10:43:49 -05:00
David Zarzycki
7368cc9a8b
[SIL] NFC: Convert SILNode to new inline bitfield macros
2017-12-16 09:31:21 -05:00
swift-ci
97ae383e6b
Merge remote-tracking branch 'origin/master' into master-next
2017-11-30 13:50:20 -08:00
Jordan Rose
8f8f00012a
Merge pull request #12834 from jrose-apple/restrict-cross-module-struct-initializers-2
...
Implementation of SE-0189 "Restrict cross-module struct initializers to be delegating"
rdar://problem/34777878
2017-11-30 13:32:45 -08:00
swift-ci
17dce98db7
Merge remote-tracking branch 'origin/master' into master-next
2017-11-29 17:30:29 -08:00
Slava Pestov
1f79af7504
SIL: Use objc_method instruction for Objective-C protocol method calls
...
Fixes <rdar://problem/15933365>.
2017-11-29 16:26:43 -08:00
swift-ci
516b6200ce
Merge remote-tracking branch 'origin/master' into master-next
2017-11-29 12:29:54 -08:00
Arnold Schwaighofer
ea9907ae15
Revert "SIL: Use objc_method instruction for Objective-C protocol method calls"
2017-11-29 11:19:46 -08:00
swift-ci
3b7e0d5de0
Merge remote-tracking branch 'origin/master' into master-next
2017-11-29 02:32:33 -08:00
Slava Pestov
1ee0970934
SIL: Use objc_method instruction for Objective-C protocol method calls
...
Fixes <rdar://problem/15933365>.
2017-11-29 01:22:05 -08:00
Bob Wilson
92d9a35d40
Merge pull request #12961 from bob-wilson/rdar35514140
...
master-next: fix build for mapped_iterator change in LLVM r317902
2017-11-15 22:48:48 -08:00
Bob Wilson
6de5c01d83
master-next: fix build for mapped_iterator change in LLVM r317902
...
The default template parameter assumes that the iterator type is a pointer,
which it is not for SILInstructionResultArray. Just specify the return
type directly instead of using the default.
2017-11-15 22:44:09 -08:00
Michael Gottesman
3226921b70
[sil] Add reverse iterator and reverse range support to SILInstructionResultArray.
...
I also used this as an opportunity to make SILInstructionResultArray::iterator
not inherit from std::iterator given that std::iterator is now deprecated.
Just slicing code off a larger commit.
rdar://31521023
2017-11-14 09:55:12 -08:00
John McCall
045998544f
Add begin_apply, abort_apply, and end_apply instructions to allow
...
yield_once coroutines to be executed.
2017-11-13 04:03:54 -05:00