@@ -483,8 +483,8 @@ static Type* _struct_IGC__RayDispatchGlobalData__RT__Xe(Module &M)
483
483
IntegerType ::get (M .getContext (), 64 ),
484
484
IntegerType ::get (M .getContext (), 64 ),
485
485
_igc_auto_union_anon_20 (M ),
486
- _igc_auto_union_anon_21 (M ),
487
486
_igc_auto_union_anon_22 (M ),
487
+ _igc_auto_union_anon_24 (M ),
488
488
[& ] {
489
489
auto * EltTy =
490
490
IntegerType ::get (M .getContext (), 32 );
@@ -508,11 +508,11 @@ static Type* _igc_auto_union_anon_20(Module &M)
508
508
return StructType ::create (M .getContext (), Tys , StructName , false);
509
509
}( );
510
510
}
511
- static Type * _igc_auto_union_anon_21 (Module & M )
511
+ static Type * _igc_auto_union_anon_22 (Module & M )
512
512
{
513
513
return
514
514
[& ] {
515
- StringRef StructName = "igc.auto.union.anon.21 " ;
515
+ StringRef StructName = "igc.auto.union.anon.22 " ;
516
516
if (auto * Ty = IGCLLVM ::getTypeByName (M , StructName ))
517
517
return Ty ;
518
518
Type * Tys [] = {
@@ -521,11 +521,11 @@ static Type* _igc_auto_union_anon_21(Module &M)
521
521
return StructType ::create (M .getContext (), Tys , StructName , false);
522
522
}( );
523
523
}
524
- static Type * _igc_auto_union_anon_22 (Module & M )
524
+ static Type * _igc_auto_union_anon_24 (Module & M )
525
525
{
526
526
return
527
527
[& ] {
528
- StringRef StructName = "igc.auto.union.anon.22 " ;
528
+ StringRef StructName = "igc.auto.union.anon.24 " ;
529
529
if (auto * Ty = IGCLLVM ::getTypeByName (M , StructName ))
530
530
return Ty ;
531
531
Type * Tys [] = {
@@ -544,18 +544,18 @@ static Type* _struct_IGC__RayDispatchGlobalData__RayDispatchGlobalDataCommon(Mod
544
544
Type * Tys [] = {
545
545
IntegerType ::get (M .getContext (), 64 ),
546
546
IntegerType ::get (M .getContext (), 64 ),
547
- _igc_auto_union_anon_23 (M ),
548
- _igc_auto_union_anon_24 (M ),
547
+ _igc_auto_union_anon_26 (M ),
548
+ _igc_auto_union_anon_27 (M ),
549
549
IntegerType ::get (M .getContext (), 64 ),
550
550
IntegerType ::get (M .getContext (), 32 ),
551
551
IntegerType ::get (M .getContext (), 32 ),
552
- _igc_auto_union_anon_25 (M ),
552
+ _igc_auto_union_anon_28 (M ),
553
553
IntegerType ::get (M .getContext (), 64 ),
554
554
IntegerType ::get (M .getContext (), 64 ),
555
555
IntegerType ::get (M .getContext (), 32 ),
556
556
IntegerType ::get (M .getContext (), 32 ),
557
557
IntegerType ::get (M .getContext (), 64 ),
558
- _igc_auto_union_anon_26 (M ),
558
+ _igc_auto_union_anon_29 (M ),
559
559
IntegerType ::get (M .getContext (), 64 ),
560
560
IntegerType ::get (M .getContext (), 32 ),
561
561
IntegerType ::get (M .getContext (), 32 ),
@@ -569,11 +569,11 @@ static Type* _struct_IGC__RayDispatchGlobalData__RayDispatchGlobalDataCommon(Mod
569
569
return StructType ::create (M .getContext (), Tys , StructName , false);
570
570
}( );
571
571
}
572
- static Type * _igc_auto_union_anon_23 (Module & M )
572
+ static Type * _igc_auto_union_anon_26 (Module & M )
573
573
{
574
574
return
575
575
[& ] {
576
- StringRef StructName = "igc.auto.union.anon.23 " ;
576
+ StringRef StructName = "igc.auto.union.anon.26 " ;
577
577
if (auto * Ty = IGCLLVM ::getTypeByName (M , StructName ))
578
578
return Ty ;
579
579
Type * Tys [] = {
@@ -582,11 +582,11 @@ static Type* _igc_auto_union_anon_23(Module &M)
582
582
return StructType ::create (M .getContext (), Tys , StructName , false);
583
583
}( );
584
584
}
585
- static Type * _igc_auto_union_anon_24 (Module & M )
585
+ static Type * _igc_auto_union_anon_27 (Module & M )
586
586
{
587
587
return
588
588
[& ] {
589
- StringRef StructName = "igc.auto.union.anon.24 " ;
589
+ StringRef StructName = "igc.auto.union.anon.27 " ;
590
590
if (auto * Ty = IGCLLVM ::getTypeByName (M , StructName ))
591
591
return Ty ;
592
592
Type * Tys [] = {
@@ -595,11 +595,11 @@ static Type* _igc_auto_union_anon_24(Module &M)
595
595
return StructType ::create (M .getContext (), Tys , StructName , false);
596
596
}( );
597
597
}
598
- static Type * _igc_auto_union_anon_25 (Module & M )
598
+ static Type * _igc_auto_union_anon_28 (Module & M )
599
599
{
600
600
return
601
601
[& ] {
602
- StringRef StructName = "igc.auto.union.anon.25 " ;
602
+ StringRef StructName = "igc.auto.union.anon.28 " ;
603
603
if (auto * Ty = IGCLLVM ::getTypeByName (M , StructName ))
604
604
return Ty ;
605
605
Type * Tys [] = {
@@ -608,24 +608,24 @@ static Type* _igc_auto_union_anon_25(Module &M)
608
608
return StructType ::create (M .getContext (), Tys , StructName , false);
609
609
}( );
610
610
}
611
- static Type * _igc_auto_union_anon_26 (Module & M )
611
+ static Type * _igc_auto_union_anon_29 (Module & M )
612
612
{
613
613
return
614
614
[& ] {
615
- StringRef StructName = "igc.auto.union.anon.26 " ;
615
+ StringRef StructName = "igc.auto.union.anon.29 " ;
616
616
if (auto * Ty = IGCLLVM ::getTypeByName (M , StructName ))
617
617
return Ty ;
618
618
Type * Tys [] = {
619
- _igc_auto_struct_anon_27 (M ),
619
+ _igc_auto_struct_anon_30 (M ),
620
620
};
621
621
return StructType ::create (M .getContext (), Tys , StructName , false);
622
622
}( );
623
623
}
624
- static Type * _igc_auto_struct_anon_27 (Module & M )
624
+ static Type * _igc_auto_struct_anon_30 (Module & M )
625
625
{
626
626
return
627
627
[& ] {
628
- StringRef StructName = "igc.auto.struct.anon.27 " ;
628
+ StringRef StructName = "igc.auto.struct.anon.30 " ;
629
629
if (auto * Ty = IGCLLVM ::getTypeByName (M , StructName ))
630
630
return Ty ;
631
631
Type * Tys [] = {
@@ -959,11 +959,11 @@ static Type* _igc_auto_struct_anon(Module &M)
959
959
return StructType ::create (M .getContext (), Tys , StructName , false);
960
960
}( );
961
961
}
962
- static Type * _struct_RTStackFormat__InstanceLeaf_31 (Module & M )
962
+ static Type * _struct_RTStackFormat__InstanceLeaf_36 (Module & M )
963
963
{
964
964
return
965
965
[& ] {
966
- StringRef StructName = "struct.RTStackFormat::InstanceLeaf.31 " ;
966
+ StringRef StructName = "struct.RTStackFormat::InstanceLeaf.36 " ;
967
967
if (auto * Ty = IGCLLVM ::getTypeByName (M , StructName ))
968
968
return Ty ;
969
969
Type * Tys [] = {
@@ -1043,15 +1043,15 @@ static Type* _struct_RTStackFormat__InstanceLeaf_RTStackFormat__Xe3___Part1(Modu
1043
1043
return StructType ::create (M .getContext (), Tys , StructName , false);
1044
1044
}( );
1045
1045
}
1046
- static Type * _struct_RTStackFormat__ProceduralLeaf_50 (Module & M )
1046
+ static Type * _struct_RTStackFormat__ProceduralLeaf_55 (Module & M )
1047
1047
{
1048
1048
return
1049
1049
[& ] {
1050
- StringRef StructName = "struct.RTStackFormat::ProceduralLeaf.50 " ;
1050
+ StringRef StructName = "struct.RTStackFormat::ProceduralLeaf.55 " ;
1051
1051
if (auto * Ty = IGCLLVM ::getTypeByName (M , StructName ))
1052
1052
return Ty ;
1053
1053
Type * Tys [] = {
1054
- _struct_RTStackFormat__PrimLeafDesc_51 (M ),
1054
+ _struct_RTStackFormat__PrimLeafDesc_56 (M ),
1055
1055
IntegerType ::get (M .getContext (), 32 ),
1056
1056
[& ] {
1057
1057
auto * EltTy =
@@ -1062,11 +1062,11 @@ static Type* _struct_RTStackFormat__ProceduralLeaf_50(Module &M)
1062
1062
return StructType ::create (M .getContext (), Tys , StructName , false);
1063
1063
}( );
1064
1064
}
1065
- static Type * _struct_RTStackFormat__PrimLeafDesc_51 (Module & M )
1065
+ static Type * _struct_RTStackFormat__PrimLeafDesc_56 (Module & M )
1066
1066
{
1067
1067
return
1068
1068
[& ] {
1069
- StringRef StructName = "struct.RTStackFormat::PrimLeafDesc.51 " ;
1069
+ StringRef StructName = "struct.RTStackFormat::PrimLeafDesc.56 " ;
1070
1070
if (auto * Ty = IGCLLVM ::getTypeByName (M , StructName ))
1071
1071
return Ty ;
1072
1072
Type * Tys [] = {
@@ -1076,15 +1076,15 @@ static Type* _struct_RTStackFormat__PrimLeafDesc_51(Module &M)
1076
1076
return StructType ::create (M .getContext (), Tys , StructName , false);
1077
1077
}( );
1078
1078
}
1079
- static Type * _struct_RTStackFormat__QuadLeaf_52 (Module & M )
1079
+ static Type * _struct_RTStackFormat__QuadLeaf_57 (Module & M )
1080
1080
{
1081
1081
return
1082
1082
[& ] {
1083
- StringRef StructName = "struct.RTStackFormat::QuadLeaf.52 " ;
1083
+ StringRef StructName = "struct.RTStackFormat::QuadLeaf.57 " ;
1084
1084
if (auto * Ty = IGCLLVM ::getTypeByName (M , StructName ))
1085
1085
return Ty ;
1086
1086
Type * Tys [] = {
1087
- _struct_RTStackFormat__PrimLeafDesc_51 (M ),
1087
+ _struct_RTStackFormat__PrimLeafDesc_56 (M ),
1088
1088
IntegerType ::get (M .getContext (), 32 ),
1089
1089
IntegerType ::get (M .getContext (), 32 ),
1090
1090
[& ] {
@@ -1537,7 +1537,7 @@ auto* _getInstanceLeaf_Xe3(Value* arg_0, Value* arg_1, const Twine& _ReturnName
1537
1537
auto* V_5 = CreateSelect (V_3 , V_4 , V_2 );
1538
1538
auto* V_6 = CreateLoad (getInt64Ty (), V_5 );
1539
1539
auto* V_7 = CreateAnd (V_6 , getInt64 (18446744073709551552u ));
1540
- auto* V_8 = CreateIntToPtr (V_7 , PointerType ::get (_struct_RTStackFormat__InstanceLeaf_31 (* Ctx .getModule ()), 1 ), _ReturnName );
1540
+ auto* V_8 = CreateIntToPtr (V_7 , PointerType ::get (_struct_RTStackFormat__InstanceLeaf_36 (* Ctx .getModule ()), 1 ), _ReturnName );
1541
1541
return V_8 ;
1542
1542
}
1543
1543
@@ -1566,8 +1566,8 @@ auto* _getInstanceContributionToHitGroupIndex_Xe3(Value* arg_0, Value* arg_1, co
1566
1566
auto* V_5 = CreateSelect (V_3 , V_4 , V_2 );
1567
1567
auto* V_6 = CreateLoad (getInt64Ty (), V_5 );
1568
1568
auto* V_7 = CreateAnd (V_6 , getInt64 (18446744073709551552u ));
1569
- auto* V_8 = CreateIntToPtr (V_7 , PointerType ::get (_struct_RTStackFormat__InstanceLeaf_31 (* Ctx .getModule ()), 1 ));
1570
- auto* V_9 = CreateInBoundsGEP (_struct_RTStackFormat__InstanceLeaf_31 (* Ctx .getModule ()), V_8 , { getInt64 (0 ), getInt32 (0 ), getInt32 (0 ) });
1569
+ auto* V_8 = CreateIntToPtr (V_7 , PointerType ::get (_struct_RTStackFormat__InstanceLeaf_36 (* Ctx .getModule ()), 1 ));
1570
+ auto* V_9 = CreateInBoundsGEP (_struct_RTStackFormat__InstanceLeaf_36 (* Ctx .getModule ()), V_8 , { getInt64 (0 ), getInt32 (0 ), getInt32 (0 ) });
1571
1571
auto* V_10 = CreateLoad (getInt32Ty (), V_9 );
1572
1572
auto* V_11 = CreateAnd (V_10 , getInt32 (16777215 ), _ReturnName );
1573
1573
return V_11 ;
@@ -1895,34 +1895,34 @@ auto* _TransformWorldToObject_Xe3(Value* arg_0, Value* arg_1, Value* arg_2, Valu
1895
1895
auto* V_10 = CreateSelect (V_8 , V_9 , V_7 );
1896
1896
auto* V_11 = CreateLoad (getInt64Ty (), V_10 );
1897
1897
auto* V_12 = CreateAnd (V_11 , getInt64 (18446744073709551552u ));
1898
- auto* V_13 = CreateIntToPtr (V_12 , PointerType ::get (_struct_RTStackFormat__InstanceLeaf_31 (* Ctx .getModule ()), 1 ));
1898
+ auto* V_13 = CreateIntToPtr (V_12 , PointerType ::get (_struct_RTStackFormat__InstanceLeaf_36 (* Ctx .getModule ()), 1 ));
1899
1899
auto* V_14 = CreateZExt (arg_1 , getInt64Ty ());
1900
1900
CreateCondBr (arg_2 , BB_5 , BB_6 );
1901
1901
SetInsertPoint (BB_5 );
1902
- auto* V_15 = CreateInBoundsGEP (_struct_RTStackFormat__InstanceLeaf_31 (* Ctx .getModule ()), V_13 , { getInt64 (0 ), getInt32 (1 ), getInt32 (6 ), V_14 });
1902
+ auto* V_15 = CreateInBoundsGEP (_struct_RTStackFormat__InstanceLeaf_36 (* Ctx .getModule ()), V_13 , { getInt64 (0 ), getInt32 (1 ), getInt32 (6 ), V_14 });
1903
1903
auto* V_16 = CreateLoad (getFloatTy (), V_15 );
1904
1904
CreateBr (BB_6 );
1905
1905
SetInsertPoint (BB_6 );
1906
1906
auto* V_17 = CreatePHI (getFloatTy (), 2 );
1907
1907
auto* V_18 = CreateInBoundsGEP (_struct_RTStackFormat__RTStack_8 (* Ctx .getModule ()), arg_0 , { getInt64 (0 ), getInt32 (2 ), getInt32 (0 ), getInt64 (0 ) });
1908
1908
auto* V_19 = CreateInBoundsGEP (_struct_RTStackFormat__RTStack_8 (* Ctx .getModule ()), arg_0 , { getInt64 (0 ), getInt32 (2 ), getInt32 (1 ), getInt64 (0 ) });
1909
1909
auto* V_20 = CreateSelect (arg_2 , V_18 , V_19 );
1910
- auto* V_21 = CreateInBoundsGEP (_struct_RTStackFormat__InstanceLeaf_31 (* Ctx .getModule ()), V_13 , { getInt64 (0 ), getInt32 (0 ), getInt32 (3 ), V_14 });
1910
+ auto* V_21 = CreateInBoundsGEP (_struct_RTStackFormat__InstanceLeaf_36 (* Ctx .getModule ()), V_13 , { getInt64 (0 ), getInt32 (0 ), getInt32 (3 ), V_14 });
1911
1911
auto* V_22 = CreateLoad (getFloatTy (), V_21 );
1912
1912
auto* V_23 = CreateLoad (getFloatTy (), V_20 );
1913
1913
auto* V_24 = CreateFMul (V_22 , V_23 );
1914
1914
auto* V_25 = CreateFAdd (V_17 , V_24 );
1915
1915
auto* V_26 = CreateAdd (arg_1 , getInt32 (3 ));
1916
1916
auto* V_27 = CreateZExt (V_26 , getInt64Ty ());
1917
- auto* V_28 = CreateInBoundsGEP (_struct_RTStackFormat__InstanceLeaf_31 (* Ctx .getModule ()), V_13 , { getInt64 (0 ), getInt32 (0 ), getInt32 (3 ), V_27 });
1917
+ auto* V_28 = CreateInBoundsGEP (_struct_RTStackFormat__InstanceLeaf_36 (* Ctx .getModule ()), V_13 , { getInt64 (0 ), getInt32 (0 ), getInt32 (3 ), V_27 });
1918
1918
auto* V_29 = CreateLoad (getFloatTy (), V_28 );
1919
1919
auto* V_30 = CreateInBoundsGEP (getFloatTy (), V_20 , getInt64 (1 ));
1920
1920
auto* V_31 = CreateLoad (getFloatTy (), V_30 );
1921
1921
auto* V_32 = CreateFMul (V_29 , V_31 );
1922
1922
auto* V_33 = CreateFAdd (V_25 , V_32 );
1923
1923
auto* V_34 = CreateAdd (arg_1 , getInt32 (6 ));
1924
1924
auto* V_35 = CreateZExt (V_34 , getInt64Ty ());
1925
- auto* V_36 = CreateInBoundsGEP (_struct_RTStackFormat__InstanceLeaf_31 (* Ctx .getModule ()), V_13 , { getInt64 (0 ), getInt32 (0 ), getInt32 (3 ), V_35 });
1925
+ auto* V_36 = CreateInBoundsGEP (_struct_RTStackFormat__InstanceLeaf_36 (* Ctx .getModule ()), V_13 , { getInt64 (0 ), getInt32 (0 ), getInt32 (3 ), V_35 });
1926
1926
auto* V_37 = CreateLoad (getFloatTy (), V_36 );
1927
1927
auto* V_38 = CreateInBoundsGEP (getFloatTy (), V_20 , getInt64 (2 ));
1928
1928
auto* V_39 = CreateLoad (getFloatTy (), V_38 );
@@ -1969,16 +1969,16 @@ auto* _getObjWorldAndWorldObj_Xe3(Value* arg_0, Value* arg_1, Value* arg_2, Valu
1969
1969
auto* V_7 = CreateSelect (V_5 , V_6 , V_4 );
1970
1970
auto* V_8 = CreateLoad (getInt64Ty (), V_7 );
1971
1971
auto* V_9 = CreateAnd (V_8 , getInt64 (18446744073709551552u ));
1972
- auto* V_10 = CreateIntToPtr (V_9 , PointerType ::get (_struct_RTStackFormat__InstanceLeaf_31 (* Ctx .getModule ()), 1 ));
1972
+ auto* V_10 = CreateIntToPtr (V_9 , PointerType ::get (_struct_RTStackFormat__InstanceLeaf_36 (* Ctx .getModule ()), 1 ));
1973
1973
auto* V_11 = CreateZExt (arg_1 , getInt64Ty ());
1974
- auto* V_12 = CreateInBoundsGEP (_struct_RTStackFormat__InstanceLeaf_31 (* Ctx .getModule ()), V_10 , { getInt64 (0 ), getInt32 (1 ), getInt32 (3 ), V_11 });
1975
- auto* V_13 = CreateInBoundsGEP (_struct_RTStackFormat__InstanceLeaf_31 (* Ctx .getModule ()), V_10 , { getInt64 (0 ), getInt32 (0 ), getInt32 (3 ), V_11 });
1974
+ auto* V_12 = CreateInBoundsGEP (_struct_RTStackFormat__InstanceLeaf_36 (* Ctx .getModule ()), V_10 , { getInt64 (0 ), getInt32 (1 ), getInt32 (3 ), V_11 });
1975
+ auto* V_13 = CreateInBoundsGEP (_struct_RTStackFormat__InstanceLeaf_36 (* Ctx .getModule ()), V_10 , { getInt64 (0 ), getInt32 (0 ), getInt32 (3 ), V_11 });
1976
1976
auto* V_14 = CreateSelect (arg_2 , V_12 , V_13 );
1977
1977
auto* V_15 = CreateICmpUGT (arg_1 , getInt32 (8 ));
1978
1978
auto* V_16 = CreateAdd (arg_1 , getInt32 (4294967287 ));
1979
1979
auto* V_17 = CreateZExt (V_16 , getInt64Ty ());
1980
- auto* V_18 = CreateInBoundsGEP (_struct_RTStackFormat__InstanceLeaf_31 (* Ctx .getModule ()), V_10 , { getInt64 (0 ), getInt32 (0 ), getInt32 (6 ), V_17 });
1981
- auto* V_19 = CreateInBoundsGEP (_struct_RTStackFormat__InstanceLeaf_31 (* Ctx .getModule ()), V_10 , { getInt64 (0 ), getInt32 (1 ), getInt32 (6 ), V_17 });
1980
+ auto* V_18 = CreateInBoundsGEP (_struct_RTStackFormat__InstanceLeaf_36 (* Ctx .getModule ()), V_10 , { getInt64 (0 ), getInt32 (0 ), getInt32 (6 ), V_17 });
1981
+ auto* V_19 = CreateInBoundsGEP (_struct_RTStackFormat__InstanceLeaf_36 (* Ctx .getModule ()), V_10 , { getInt64 (0 ), getInt32 (1 ), getInt32 (6 ), V_17 });
1982
1982
auto* V_20 = CreateSelect (arg_2 , V_18 , V_19 );
1983
1983
auto* V_21 = CreateSelect (V_15 , V_20 , V_14 );
1984
1984
auto* V_22 = CreateLoad (getFloatTy (), V_21 , _ReturnName );
@@ -2071,8 +2071,8 @@ auto* _getInstanceIndex_Xe3(Value* arg_0, Value* arg_1, const Twine& _ReturnName
2071
2071
auto* V_5 = CreateSelect (V_3 , V_4 , V_2 );
2072
2072
auto* V_6 = CreateLoad (getInt64Ty (), V_5 );
2073
2073
auto* V_7 = CreateAnd (V_6 , getInt64 (18446744073709551552u ));
2074
- auto* V_8 = CreateIntToPtr (V_7 , PointerType ::get (_struct_RTStackFormat__InstanceLeaf_31 (* Ctx .getModule ()), 1 ));
2075
- auto* V_9 = CreateInBoundsGEP (_struct_RTStackFormat__InstanceLeaf_31 (* Ctx .getModule ()), V_8 , { getInt64 (0 ), getInt32 (1 ), getInt32 (2 ) });
2074
+ auto* V_8 = CreateIntToPtr (V_7 , PointerType ::get (_struct_RTStackFormat__InstanceLeaf_36 (* Ctx .getModule ()), 1 ));
2075
+ auto* V_9 = CreateInBoundsGEP (_struct_RTStackFormat__InstanceLeaf_36 (* Ctx .getModule ()), V_8 , { getInt64 (0 ), getInt32 (1 ), getInt32 (2 ) });
2076
2076
auto* V_10 = CreateLoad (getInt32Ty (), V_9 , _ReturnName );
2077
2077
return V_10 ;
2078
2078
}
@@ -2101,8 +2101,8 @@ auto* _getInstanceID_Xe3(Value* arg_0, Value* arg_1, const Twine& _ReturnName =
2101
2101
auto* V_5 = CreateSelect (V_3 , V_4 , V_2 );
2102
2102
auto* V_6 = CreateLoad (getInt64Ty (), V_5 );
2103
2103
auto* V_7 = CreateAnd (V_6 , getInt64 (18446744073709551552u ));
2104
- auto* V_8 = CreateIntToPtr (V_7 , PointerType ::get (_struct_RTStackFormat__InstanceLeaf_31 (* Ctx .getModule ()), 1 ));
2105
- auto* V_9 = CreateInBoundsGEP (_struct_RTStackFormat__InstanceLeaf_31 (* Ctx .getModule ()), V_8 , { getInt64 (0 ), getInt32 (1 ), getInt32 (1 ) });
2104
+ auto* V_8 = CreateIntToPtr (V_7 , PointerType ::get (_struct_RTStackFormat__InstanceLeaf_36 (* Ctx .getModule ()), 1 ));
2105
+ auto* V_9 = CreateInBoundsGEP (_struct_RTStackFormat__InstanceLeaf_36 (* Ctx .getModule ()), V_8 , { getInt64 (0 ), getInt32 (1 ), getInt32 (1 ) });
2106
2106
auto* V_10 = CreateLoad (getInt32Ty (), V_9 , _ReturnName );
2107
2107
return V_10 ;
2108
2108
}
@@ -2179,8 +2179,8 @@ auto* _getPrimitiveIndex_Xe3(Value* arg_0, Value* arg_1, Value* arg_2, const Twi
2179
2179
CreateCondBr (V_17 , BB_5 , BB_4 );
2180
2180
SetInsertPoint (BB_5 );
2181
2181
auto* V_18 = CreateAnd (V_15 , getInt32 (31 ));
2182
- auto* V_19 = CreateIntToPtr (V_11 , PointerType ::get (_struct_RTStackFormat__QuadLeaf_52 (* Ctx .getModule ()), 1 ));
2183
- auto* V_20 = CreateInBoundsGEP (_struct_RTStackFormat__QuadLeaf_52 (* Ctx .getModule ()), V_19 , { getInt64 (0 ), getInt32 (1 ) });
2182
+ auto* V_19 = CreateIntToPtr (V_11 , PointerType ::get (_struct_RTStackFormat__QuadLeaf_57 (* Ctx .getModule ()), 1 ));
2183
+ auto* V_20 = CreateInBoundsGEP (_struct_RTStackFormat__QuadLeaf_57 (* Ctx .getModule ()), V_19 , { getInt64 (0 ), getInt32 (1 ) });
2184
2184
auto* V_21 = CreateLoad (getInt32Ty (), V_20 );
2185
2185
auto* V_22 = CreateAdd (V_21 , V_18 );
2186
2186
CreateBr (BB_6 );
@@ -2190,9 +2190,9 @@ auto* _getPrimitiveIndex_Xe3(Value* arg_0, Value* arg_1, Value* arg_2, const Twi
2190
2190
SetInsertPoint (BB_4 );
2191
2191
auto* V_24 = CreateLShr (V_15 , getInt32 (20 ));
2192
2192
auto* V_25 = CreateAnd (V_24 , getInt32 (15 ));
2193
- auto* V_26 = CreateIntToPtr (V_11 , PointerType ::get (_struct_RTStackFormat__ProceduralLeaf_50 (* Ctx .getModule ()), 1 ));
2193
+ auto* V_26 = CreateIntToPtr (V_11 , PointerType ::get (_struct_RTStackFormat__ProceduralLeaf_55 (* Ctx .getModule ()), 1 ));
2194
2194
auto* V_27 = CreateZExt (V_25 , getInt64Ty ());
2195
- auto* V_28 = CreateInBoundsGEP (_struct_RTStackFormat__ProceduralLeaf_50 (* Ctx .getModule ()), V_26 , { getInt64 (0 ), getInt32 (2 ), V_27 });
2195
+ auto* V_28 = CreateInBoundsGEP (_struct_RTStackFormat__ProceduralLeaf_55 (* Ctx .getModule ()), V_26 , { getInt64 (0 ), getInt32 (2 ), V_27 });
2196
2196
auto* V_29 = CreateLoad (getInt32Ty (), V_28 );
2197
2197
CreateBr (BB_6 );
2198
2198
V_23 -> addIncoming (V_29 , BB_4 );
@@ -2231,10 +2231,10 @@ auto* _getGeometryIndex_Xe3(Value* arg_0, Value* arg_1, Value* arg_2, const Twin
2231
2231
auto* V_7 = CreateAnd (V_6 , getInt64 (18446744073709551552u ));
2232
2232
auto* V_8 = CreateAnd (arg_1 , getInt32 (1 ));
2233
2233
auto* V_9 = CreateICmpEQ (V_8 , getInt32 (0 ));
2234
- auto* V_10 = CreateIntToPtr (V_7 , PointerType ::get (_struct_RTStackFormat__ProceduralLeaf_50 (* Ctx .getModule ()), 1 ));
2235
- auto* V_11 = CreateInBoundsGEP (_struct_RTStackFormat__ProceduralLeaf_50 (* Ctx .getModule ()), V_10 , { getInt64 (0 ), getInt32 (0 ), getInt32 (1 ) });
2236
- auto* V_12 = CreateIntToPtr (V_7 , PointerType ::get (_struct_RTStackFormat__QuadLeaf_52 (* Ctx .getModule ()), 1 ));
2237
- auto* V_13 = CreateInBoundsGEP (_struct_RTStackFormat__QuadLeaf_52 (* Ctx .getModule ()), V_12 , { getInt64 (0 ), getInt32 (0 ), getInt32 (1 ) });
2234
+ auto* V_10 = CreateIntToPtr (V_7 , PointerType ::get (_struct_RTStackFormat__ProceduralLeaf_55 (* Ctx .getModule ()), 1 ));
2235
+ auto* V_11 = CreateInBoundsGEP (_struct_RTStackFormat__ProceduralLeaf_55 (* Ctx .getModule ()), V_10 , { getInt64 (0 ), getInt32 (0 ), getInt32 (1 ) });
2236
+ auto* V_12 = CreateIntToPtr (V_7 , PointerType ::get (_struct_RTStackFormat__QuadLeaf_57 (* Ctx .getModule ()), 1 ));
2237
+ auto* V_13 = CreateInBoundsGEP (_struct_RTStackFormat__QuadLeaf_57 (* Ctx .getModule ()), V_12 , { getInt64 (0 ), getInt32 (0 ), getInt32 (1 ) });
2238
2238
auto* V_14 = CreateSelect (V_9 , V_13 , V_11 );
2239
2239
auto* V_15 = CreateLoad (getInt32Ty (), V_14 );
2240
2240
auto* V_16 = CreateAnd (V_15 , getInt32 (16777215 ), _ReturnName );
0 commit comments