mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
PGO: add support for checked_cast_addr_br
This commit is contained in:
@@ -78,10 +78,10 @@ bool canUseScalarCheckedCastInstructions(SILModule &M,
|
||||
/// using a scalar cast operation.
|
||||
void emitIndirectConditionalCastWithScalar(
|
||||
SILBuilder &B, ModuleDecl *M, SILLocation loc,
|
||||
CastConsumptionKind consumption,
|
||||
SILValue src, CanType sourceType,
|
||||
SILValue dest, CanType targetType,
|
||||
SILBasicBlock *trueBB, SILBasicBlock *falseBB);
|
||||
CastConsumptionKind consumption, SILValue src, CanType sourceType,
|
||||
SILValue dest, CanType targetType, SILBasicBlock *trueBB,
|
||||
SILBasicBlock *falseBB, Optional<uint64_t> TrueCount = None,
|
||||
Optional<uint64_t> FalseCount = None);
|
||||
|
||||
/// \brief Does the type conform to the _ObjectiveCBridgeable protocol.
|
||||
bool isObjectiveCBridgeable(ModuleDecl *M, CanType Ty);
|
||||
|
||||
Reference in New Issue
Block a user