Avatar
-emit-ir までいくと完全に同等に。 ; Function Attrs: norecurse nounwind readnone define hidden swiftcc { i8*, %swift.refcounted* } @"$S4test13DEFAULT_CONST1xySSyXK_tFfA_"() local_unnamed_addr #0 { entry: ret { i8*, %swift.refcounted* } { i8* bitcast ({ %swift.bridge*, i64 } ()* @"$S4test13DEFAULT_CONST1xySSyXK_tFfA_SSyXAfu_" to i8*), %swift.refcounted* null } } define linkonce_odr hidden swiftcc { %swift.bridge*, i64 } @"$S4test13DEFAULT_CONST1xySSyXK_tFfA_SSyXAfu_"() #1 { entry: %0 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* inttoptr (i64 -2305843009213693952 to %swift.bridge*)) #2 ret { %swift.bridge*, i64 } { %swift.bridge* inttoptr (i64 -2305843009213693952 to %swift.bridge*), i64 0 } } ; Function Attrs: norecurse nounwind readnone define hidden swiftcc { i8*, %swift.refcounted* } @"$S4test13EMPTY_LITERAL1xySSyXK_tFfA_"() local_unnamed_addr #0 { entry: ret { i8*, %swift.refcounted* } { i8* bitcast ({ %swift.bridge*, i64 } ()* @"$S4test13EMPTY_LITERAL1xySSyXK_tFfA_SSyXAfu_" to i8*), %swift.refcounted* null } } define linkonce_odr hidden swiftcc { %swift.bridge*, i64 } @"$S4test13EMPTY_LITERAL1xySSyXK_tFfA_SSyXAfu_"() #1 { entry: %0 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* inttoptr (i64 -2305843009213693952 to %swift.bridge*)) #2 ret { %swift.bridge*, i64 } { %swift.bridge* inttoptr (i64 -2305843009213693952 to %swift.bridge*), i64 0 } }