brintos

brintos / llvm-project-archived public Read only

0
0
Text · 24.4 KiB · d3c1e07 Raw
447 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_analyze_test_checks.py2; RUN: opt -passes="print<cost-model>" 2>&1 -disable-output -cost-kind=all -mtriple=aarch64 < %s | FileCheck %s3 4target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"5 6define void @i1() {7; CHECK-LABEL: 'i1'8; CHECK-NEXT:  Cost Model: Found costs of 1 for: %c = add i1 undef, undef9; CHECK-NEXT:  Cost Model: Found costs of 1 for: %d = sub i1 undef, undef10; CHECK-NEXT:  Cost Model: Found costs of 1 for: %e = mul i1 undef, undef11; CHECK-NEXT:  Cost Model: Found costs of 1 for: %f = ashr i1 undef, undef12; CHECK-NEXT:  Cost Model: Found costs of 1 for: %g = lshr i1 undef, undef13; CHECK-NEXT:  Cost Model: Found costs of 1 for: %h = shl i1 undef, undef14; CHECK-NEXT:  Cost Model: Found costs of 1 for: %i = and i1 undef, undef15; CHECK-NEXT:  Cost Model: Found costs of 1 for: %j = or i1 undef, undef16; CHECK-NEXT:  Cost Model: Found costs of 1 for: %k = xor i1 undef, undef17; CHECK-NEXT:  Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret void18;19  %c = add i1 undef, undef20  %d = sub i1 undef, undef21  %e = mul i1 undef, undef22  %f = ashr i1 undef, undef23  %g = lshr i1 undef, undef24  %h = shl i1 undef, undef25  %i = and i1 undef, undef26  %j = or i1 undef, undef27  %k = xor i1 undef, undef28  ret void29}30 31define void @i8() {32; CHECK-LABEL: 'i8'33; CHECK-NEXT:  Cost Model: Found costs of 1 for: %c = add i8 undef, undef34; CHECK-NEXT:  Cost Model: Found costs of 1 for: %d = sub i8 undef, undef35; CHECK-NEXT:  Cost Model: Found costs of 1 for: %e = mul i8 undef, undef36; CHECK-NEXT:  Cost Model: Found costs of 1 for: %f = ashr i8 undef, undef37; CHECK-NEXT:  Cost Model: Found costs of 1 for: %g = lshr i8 undef, undef38; CHECK-NEXT:  Cost Model: Found costs of 1 for: %h = shl i8 undef, undef39; CHECK-NEXT:  Cost Model: Found costs of 1 for: %i = and i8 undef, undef40; CHECK-NEXT:  Cost Model: Found costs of 1 for: %j = or i8 undef, undef41; CHECK-NEXT:  Cost Model: Found costs of 1 for: %k = xor i8 undef, undef42; CHECK-NEXT:  Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret void43;44  %c = add i8 undef, undef45  %d = sub i8 undef, undef46  %e = mul i8 undef, undef47  %f = ashr i8 undef, undef48  %g = lshr i8 undef, undef49  %h = shl i8 undef, undef50  %i = and i8 undef, undef51  %j = or i8 undef, undef52  %k = xor i8 undef, undef53  ret void54}55 56define void @i16() {57; CHECK-LABEL: 'i16'58; CHECK-NEXT:  Cost Model: Found costs of 1 for: %c = add i16 undef, undef59; CHECK-NEXT:  Cost Model: Found costs of 1 for: %d = sub i16 undef, undef60; CHECK-NEXT:  Cost Model: Found costs of 1 for: %e = mul i16 undef, undef61; CHECK-NEXT:  Cost Model: Found costs of 1 for: %f = ashr i16 undef, undef62; CHECK-NEXT:  Cost Model: Found costs of 1 for: %g = lshr i16 undef, undef63; CHECK-NEXT:  Cost Model: Found costs of 1 for: %h = shl i16 undef, undef64; CHECK-NEXT:  Cost Model: Found costs of 1 for: %i = and i16 undef, undef65; CHECK-NEXT:  Cost Model: Found costs of 1 for: %j = or i16 undef, undef66; CHECK-NEXT:  Cost Model: Found costs of 1 for: %k = xor i16 undef, undef67; CHECK-NEXT:  Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret void68;69  %c = add i16 undef, undef70  %d = sub i16 undef, undef71  %e = mul i16 undef, undef72  %f = ashr i16 undef, undef73  %g = lshr i16 undef, undef74  %h = shl i16 undef, undef75  %i = and i16 undef, undef76  %j = or i16 undef, undef77  %k = xor i16 undef, undef78  ret void79}80 81define void @i32() {82; CHECK-LABEL: 'i32'83; CHECK-NEXT:  Cost Model: Found costs of 1 for: %c = add i32 undef, undef84; CHECK-NEXT:  Cost Model: Found costs of 1 for: %d = sub i32 undef, undef85; CHECK-NEXT:  Cost Model: Found costs of 1 for: %e = mul i32 undef, undef86; CHECK-NEXT:  Cost Model: Found costs of 1 for: %f = ashr i32 undef, undef87; CHECK-NEXT:  Cost Model: Found costs of 1 for: %g = lshr i32 undef, undef88; CHECK-NEXT:  Cost Model: Found costs of 1 for: %h = shl i32 undef, undef89; CHECK-NEXT:  Cost Model: Found costs of 1 for: %i = and i32 undef, undef90; CHECK-NEXT:  Cost Model: Found costs of 1 for: %j = or i32 undef, undef91; CHECK-NEXT:  Cost Model: Found costs of 1 for: %k = xor i32 undef, undef92; CHECK-NEXT:  Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret void93;94  %c = add i32 undef, undef95  %d = sub i32 undef, undef96  %e = mul i32 undef, undef97  %f = ashr i32 undef, undef98  %g = lshr i32 undef, undef99  %h = shl i32 undef, undef100  %i = and i32 undef, undef101  %j = or i32 undef, undef102  %k = xor i32 undef, undef103  ret void104}105 106define void @i64() {107; CHECK-LABEL: 'i64'108; CHECK-NEXT:  Cost Model: Found costs of 1 for: %c = add i64 undef, undef109; CHECK-NEXT:  Cost Model: Found costs of 1 for: %d = sub i64 undef, undef110; CHECK-NEXT:  Cost Model: Found costs of 1 for: %e = mul i64 undef, undef111; CHECK-NEXT:  Cost Model: Found costs of 1 for: %f = ashr i64 undef, undef112; CHECK-NEXT:  Cost Model: Found costs of 1 for: %g = lshr i64 undef, undef113; CHECK-NEXT:  Cost Model: Found costs of 1 for: %h = shl i64 undef, undef114; CHECK-NEXT:  Cost Model: Found costs of 1 for: %i = and i64 undef, undef115; CHECK-NEXT:  Cost Model: Found costs of 1 for: %j = or i64 undef, undef116; CHECK-NEXT:  Cost Model: Found costs of 1 for: %k = xor i64 undef, undef117; CHECK-NEXT:  Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret void118;119  %c = add i64 undef, undef120  %d = sub i64 undef, undef121  %e = mul i64 undef, undef122  %f = ashr i64 undef, undef123  %g = lshr i64 undef, undef124  %h = shl i64 undef, undef125  %i = and i64 undef, undef126  %j = or i64 undef, undef127  %k = xor i64 undef, undef128  ret void129}130 131 132define void @vi8() {133; CHECK-LABEL: 'vi8'134; CHECK-NEXT:  Cost Model: Found costs of 1 for: %c2 = add <2 x i8> undef, undef135; CHECK-NEXT:  Cost Model: Found costs of 1 for: %d2 = sub <2 x i8> undef, undef136; CHECK-NEXT:  Cost Model: Found costs of 1 for: %e2 = mul <2 x i8> undef, undef137; CHECK-NEXT:  Cost Model: Found costs of 1 for: %f2 = ashr <2 x i8> undef, undef138; CHECK-NEXT:  Cost Model: Found costs of 1 for: %g2 = lshr <2 x i8> undef, undef139; CHECK-NEXT:  Cost Model: Found costs of 1 for: %h2 = shl <2 x i8> undef, undef140; CHECK-NEXT:  Cost Model: Found costs of 1 for: %i2 = and <2 x i8> undef, undef141; CHECK-NEXT:  Cost Model: Found costs of 1 for: %j2 = or <2 x i8> undef, undef142; CHECK-NEXT:  Cost Model: Found costs of 1 for: %k2 = xor <2 x i8> undef, undef143; CHECK-NEXT:  Cost Model: Found costs of 1 for: %c4 = add <4 x i8> undef, undef144; CHECK-NEXT:  Cost Model: Found costs of 1 for: %d4 = sub <4 x i8> undef, undef145; CHECK-NEXT:  Cost Model: Found costs of 1 for: %e4 = mul <4 x i8> undef, undef146; CHECK-NEXT:  Cost Model: Found costs of 1 for: %f4 = ashr <4 x i8> undef, undef147; CHECK-NEXT:  Cost Model: Found costs of 1 for: %g4 = lshr <4 x i8> undef, undef148; CHECK-NEXT:  Cost Model: Found costs of 1 for: %h4 = shl <4 x i8> undef, undef149; CHECK-NEXT:  Cost Model: Found costs of 1 for: %i4 = and <4 x i8> undef, undef150; CHECK-NEXT:  Cost Model: Found costs of 1 for: %j4 = or <4 x i8> undef, undef151; CHECK-NEXT:  Cost Model: Found costs of 1 for: %k4 = xor <4 x i8> undef, undef152; CHECK-NEXT:  Cost Model: Found costs of 1 for: %c8 = add <8 x i8> undef, undef153; CHECK-NEXT:  Cost Model: Found costs of 1 for: %d8 = sub <8 x i8> undef, undef154; CHECK-NEXT:  Cost Model: Found costs of 1 for: %e8 = mul <8 x i8> undef, undef155; CHECK-NEXT:  Cost Model: Found costs of 1 for: %f8 = ashr <8 x i8> undef, undef156; CHECK-NEXT:  Cost Model: Found costs of 1 for: %g8 = lshr <8 x i8> undef, undef157; CHECK-NEXT:  Cost Model: Found costs of 1 for: %h8 = shl <8 x i8> undef, undef158; CHECK-NEXT:  Cost Model: Found costs of 1 for: %i8 = and <8 x i8> undef, undef159; CHECK-NEXT:  Cost Model: Found costs of 1 for: %j8 = or <8 x i8> undef, undef160; CHECK-NEXT:  Cost Model: Found costs of 1 for: %k8 = xor <8 x i8> undef, undef161; CHECK-NEXT:  Cost Model: Found costs of 1 for: %c16 = add <16 x i8> undef, undef162; CHECK-NEXT:  Cost Model: Found costs of 1 for: %d16 = sub <16 x i8> undef, undef163; CHECK-NEXT:  Cost Model: Found costs of 1 for: %e16 = mul <16 x i8> undef, undef164; CHECK-NEXT:  Cost Model: Found costs of 1 for: %f16 = ashr <16 x i8> undef, undef165; CHECK-NEXT:  Cost Model: Found costs of 1 for: %g16 = lshr <16 x i8> undef, undef166; CHECK-NEXT:  Cost Model: Found costs of 1 for: %h16 = shl <16 x i8> undef, undef167; CHECK-NEXT:  Cost Model: Found costs of 1 for: %i16 = and <16 x i8> undef, undef168; CHECK-NEXT:  Cost Model: Found costs of 1 for: %j16 = or <16 x i8> undef, undef169; CHECK-NEXT:  Cost Model: Found costs of 1 for: %k16 = xor <16 x i8> undef, undef170; CHECK-NEXT:  Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret void171;172  %c2 = add <2 x i8> undef, undef173  %d2 = sub <2 x i8> undef, undef174  %e2 = mul <2 x i8> undef, undef175  %f2 = ashr <2 x i8> undef, undef176  %g2 = lshr <2 x i8> undef, undef177  %h2 = shl <2 x i8> undef, undef178  %i2 = and <2 x i8> undef, undef179  %j2 = or <2 x i8> undef, undef180  %k2 = xor <2 x i8> undef, undef181  %c4 = add <4 x i8> undef, undef182  %d4 = sub <4 x i8> undef, undef183  %e4 = mul <4 x i8> undef, undef184  %f4 = ashr <4 x i8> undef, undef185  %g4 = lshr <4 x i8> undef, undef186  %h4 = shl <4 x i8> undef, undef187  %i4 = and <4 x i8> undef, undef188  %j4 = or <4 x i8> undef, undef189  %k4 = xor <4 x i8> undef, undef190  %c8 = add <8 x i8> undef, undef191  %d8 = sub <8 x i8> undef, undef192  %e8 = mul <8 x i8> undef, undef193  %f8 = ashr <8 x i8> undef, undef194  %g8 = lshr <8 x i8> undef, undef195  %h8 = shl <8 x i8> undef, undef196  %i8 = and <8 x i8> undef, undef197  %j8 = or <8 x i8> undef, undef198  %k8 = xor <8 x i8> undef, undef199  %c16 = add <16 x i8> undef, undef200  %d16 = sub <16 x i8> undef, undef201  %e16 = mul <16 x i8> undef, undef202  %f16 = ashr <16 x i8> undef, undef203  %g16 = lshr <16 x i8> undef, undef204  %h16 = shl <16 x i8> undef, undef205  %i16 = and <16 x i8> undef, undef206  %j16 = or <16 x i8> undef, undef207  %k16 = xor <16 x i8> undef, undef208  ret void209}210 211define void @vi16() {212; CHECK-LABEL: 'vi16'213; CHECK-NEXT:  Cost Model: Found costs of 1 for: %c2 = add <2 x i16> undef, undef214; CHECK-NEXT:  Cost Model: Found costs of 1 for: %d2 = sub <2 x i16> undef, undef215; CHECK-NEXT:  Cost Model: Found costs of 1 for: %e2 = mul <2 x i16> undef, undef216; CHECK-NEXT:  Cost Model: Found costs of 1 for: %f2 = ashr <2 x i16> undef, undef217; CHECK-NEXT:  Cost Model: Found costs of 1 for: %g2 = lshr <2 x i16> undef, undef218; CHECK-NEXT:  Cost Model: Found costs of 1 for: %h2 = shl <2 x i16> undef, undef219; CHECK-NEXT:  Cost Model: Found costs of 1 for: %i2 = and <2 x i16> undef, undef220; CHECK-NEXT:  Cost Model: Found costs of 1 for: %j2 = or <2 x i16> undef, undef221; CHECK-NEXT:  Cost Model: Found costs of 1 for: %k2 = xor <2 x i16> undef, undef222; CHECK-NEXT:  Cost Model: Found costs of 1 for: %c4 = add <4 x i16> undef, undef223; CHECK-NEXT:  Cost Model: Found costs of 1 for: %d4 = sub <4 x i16> undef, undef224; CHECK-NEXT:  Cost Model: Found costs of 1 for: %e4 = mul <4 x i16> undef, undef225; CHECK-NEXT:  Cost Model: Found costs of 1 for: %f4 = ashr <4 x i16> undef, undef226; CHECK-NEXT:  Cost Model: Found costs of 1 for: %g4 = lshr <4 x i16> undef, undef227; CHECK-NEXT:  Cost Model: Found costs of 1 for: %h4 = shl <4 x i16> undef, undef228; CHECK-NEXT:  Cost Model: Found costs of 1 for: %i4 = and <4 x i16> undef, undef229; CHECK-NEXT:  Cost Model: Found costs of 1 for: %j4 = or <4 x i16> undef, undef230; CHECK-NEXT:  Cost Model: Found costs of 1 for: %k4 = xor <4 x i16> undef, undef231; CHECK-NEXT:  Cost Model: Found costs of 1 for: %c8 = add <8 x i16> undef, undef232; CHECK-NEXT:  Cost Model: Found costs of 1 for: %d8 = sub <8 x i16> undef, undef233; CHECK-NEXT:  Cost Model: Found costs of 1 for: %e8 = mul <8 x i16> undef, undef234; CHECK-NEXT:  Cost Model: Found costs of 1 for: %f8 = ashr <8 x i16> undef, undef235; CHECK-NEXT:  Cost Model: Found costs of 1 for: %g8 = lshr <8 x i16> undef, undef236; CHECK-NEXT:  Cost Model: Found costs of 1 for: %h8 = shl <8 x i16> undef, undef237; CHECK-NEXT:  Cost Model: Found costs of 1 for: %i8 = and <8 x i16> undef, undef238; CHECK-NEXT:  Cost Model: Found costs of 1 for: %j8 = or <8 x i16> undef, undef239; CHECK-NEXT:  Cost Model: Found costs of 1 for: %k8 = xor <8 x i16> undef, undef240; CHECK-NEXT:  Cost Model: Found costs of RThru:2 CodeSize:1 Lat:1 SizeLat:1 for: %c16 = add <16 x i16> undef, undef241; CHECK-NEXT:  Cost Model: Found costs of RThru:2 CodeSize:1 Lat:1 SizeLat:1 for: %d16 = sub <16 x i16> undef, undef242; CHECK-NEXT:  Cost Model: Found costs of RThru:2 CodeSize:1 Lat:1 SizeLat:1 for: %e16 = mul <16 x i16> undef, undef243; CHECK-NEXT:  Cost Model: Found costs of RThru:2 CodeSize:1 Lat:1 SizeLat:1 for: %f16 = ashr <16 x i16> undef, undef244; CHECK-NEXT:  Cost Model: Found costs of RThru:2 CodeSize:1 Lat:1 SizeLat:1 for: %g16 = lshr <16 x i16> undef, undef245; CHECK-NEXT:  Cost Model: Found costs of RThru:2 CodeSize:1 Lat:1 SizeLat:1 for: %h16 = shl <16 x i16> undef, undef246; CHECK-NEXT:  Cost Model: Found costs of RThru:2 CodeSize:1 Lat:1 SizeLat:1 for: %i16 = and <16 x i16> undef, undef247; CHECK-NEXT:  Cost Model: Found costs of RThru:2 CodeSize:1 Lat:1 SizeLat:1 for: %j16 = or <16 x i16> undef, undef248; CHECK-NEXT:  Cost Model: Found costs of RThru:2 CodeSize:1 Lat:1 SizeLat:1 for: %k16 = xor <16 x i16> undef, undef249; CHECK-NEXT:  Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret void250;251  %c2 = add <2 x i16> undef, undef252  %d2 = sub <2 x i16> undef, undef253  %e2 = mul <2 x i16> undef, undef254  %f2 = ashr <2 x i16> undef, undef255  %g2 = lshr <2 x i16> undef, undef256  %h2 = shl <2 x i16> undef, undef257  %i2 = and <2 x i16> undef, undef258  %j2 = or <2 x i16> undef, undef259  %k2 = xor <2 x i16> undef, undef260  %c4 = add <4 x i16> undef, undef261  %d4 = sub <4 x i16> undef, undef262  %e4 = mul <4 x i16> undef, undef263  %f4 = ashr <4 x i16> undef, undef264  %g4 = lshr <4 x i16> undef, undef265  %h4 = shl <4 x i16> undef, undef266  %i4 = and <4 x i16> undef, undef267  %j4 = or <4 x i16> undef, undef268  %k4 = xor <4 x i16> undef, undef269  %c8 = add <8 x i16> undef, undef270  %d8 = sub <8 x i16> undef, undef271  %e8 = mul <8 x i16> undef, undef272  %f8 = ashr <8 x i16> undef, undef273  %g8 = lshr <8 x i16> undef, undef274  %h8 = shl <8 x i16> undef, undef275  %i8 = and <8 x i16> undef, undef276  %j8 = or <8 x i16> undef, undef277  %k8 = xor <8 x i16> undef, undef278  %c16 = add <16 x i16> undef, undef279  %d16 = sub <16 x i16> undef, undef280  %e16 = mul <16 x i16> undef, undef281  %f16 = ashr <16 x i16> undef, undef282  %g16 = lshr <16 x i16> undef, undef283  %h16 = shl <16 x i16> undef, undef284  %i16 = and <16 x i16> undef, undef285  %j16 = or <16 x i16> undef, undef286  %k16 = xor <16 x i16> undef, undef287  ret void288}289 290define void @vi32() {291; CHECK-LABEL: 'vi32'292; CHECK-NEXT:  Cost Model: Found costs of 1 for: %c2 = add <2 x i32> undef, undef293; CHECK-NEXT:  Cost Model: Found costs of 1 for: %d2 = sub <2 x i32> undef, undef294; CHECK-NEXT:  Cost Model: Found costs of 1 for: %e2 = mul <2 x i32> undef, undef295; CHECK-NEXT:  Cost Model: Found costs of 1 for: %f2 = ashr <2 x i32> undef, undef296; CHECK-NEXT:  Cost Model: Found costs of 1 for: %g2 = lshr <2 x i32> undef, undef297; CHECK-NEXT:  Cost Model: Found costs of 1 for: %h2 = shl <2 x i32> undef, undef298; CHECK-NEXT:  Cost Model: Found costs of 1 for: %i2 = and <2 x i32> undef, undef299; CHECK-NEXT:  Cost Model: Found costs of 1 for: %j2 = or <2 x i32> undef, undef300; CHECK-NEXT:  Cost Model: Found costs of 1 for: %k2 = xor <2 x i32> undef, undef301; CHECK-NEXT:  Cost Model: Found costs of 1 for: %c4 = add <4 x i32> undef, undef302; CHECK-NEXT:  Cost Model: Found costs of 1 for: %d4 = sub <4 x i32> undef, undef303; CHECK-NEXT:  Cost Model: Found costs of 1 for: %e4 = mul <4 x i32> undef, undef304; CHECK-NEXT:  Cost Model: Found costs of 1 for: %f4 = ashr <4 x i32> undef, undef305; CHECK-NEXT:  Cost Model: Found costs of 1 for: %g4 = lshr <4 x i32> undef, undef306; CHECK-NEXT:  Cost Model: Found costs of 1 for: %h4 = shl <4 x i32> undef, undef307; CHECK-NEXT:  Cost Model: Found costs of 1 for: %i4 = and <4 x i32> undef, undef308; CHECK-NEXT:  Cost Model: Found costs of 1 for: %j4 = or <4 x i32> undef, undef309; CHECK-NEXT:  Cost Model: Found costs of 1 for: %k4 = xor <4 x i32> undef, undef310; CHECK-NEXT:  Cost Model: Found costs of RThru:2 CodeSize:1 Lat:1 SizeLat:1 for: %c8 = add <8 x i32> undef, undef311; CHECK-NEXT:  Cost Model: Found costs of RThru:2 CodeSize:1 Lat:1 SizeLat:1 for: %d8 = sub <8 x i32> undef, undef312; CHECK-NEXT:  Cost Model: Found costs of RThru:2 CodeSize:1 Lat:1 SizeLat:1 for: %e8 = mul <8 x i32> undef, undef313; CHECK-NEXT:  Cost Model: Found costs of RThru:2 CodeSize:1 Lat:1 SizeLat:1 for: %f8 = ashr <8 x i32> undef, undef314; CHECK-NEXT:  Cost Model: Found costs of RThru:2 CodeSize:1 Lat:1 SizeLat:1 for: %g8 = lshr <8 x i32> undef, undef315; CHECK-NEXT:  Cost Model: Found costs of RThru:2 CodeSize:1 Lat:1 SizeLat:1 for: %h8 = shl <8 x i32> undef, undef316; CHECK-NEXT:  Cost Model: Found costs of RThru:2 CodeSize:1 Lat:1 SizeLat:1 for: %i8 = and <8 x i32> undef, undef317; CHECK-NEXT:  Cost Model: Found costs of RThru:2 CodeSize:1 Lat:1 SizeLat:1 for: %j8 = or <8 x i32> undef, undef318; CHECK-NEXT:  Cost Model: Found costs of RThru:2 CodeSize:1 Lat:1 SizeLat:1 for: %k8 = xor <8 x i32> undef, undef319; CHECK-NEXT:  Cost Model: Found costs of RThru:4 CodeSize:1 Lat:1 SizeLat:1 for: %c16 = add <16 x i32> undef, undef320; CHECK-NEXT:  Cost Model: Found costs of RThru:4 CodeSize:1 Lat:1 SizeLat:1 for: %d16 = sub <16 x i32> undef, undef321; CHECK-NEXT:  Cost Model: Found costs of RThru:4 CodeSize:1 Lat:1 SizeLat:1 for: %e16 = mul <16 x i32> undef, undef322; CHECK-NEXT:  Cost Model: Found costs of RThru:4 CodeSize:1 Lat:1 SizeLat:1 for: %f16 = ashr <16 x i32> undef, undef323; CHECK-NEXT:  Cost Model: Found costs of RThru:4 CodeSize:1 Lat:1 SizeLat:1 for: %g16 = lshr <16 x i32> undef, undef324; CHECK-NEXT:  Cost Model: Found costs of RThru:4 CodeSize:1 Lat:1 SizeLat:1 for: %h16 = shl <16 x i32> undef, undef325; CHECK-NEXT:  Cost Model: Found costs of RThru:4 CodeSize:1 Lat:1 SizeLat:1 for: %i16 = and <16 x i32> undef, undef326; CHECK-NEXT:  Cost Model: Found costs of RThru:4 CodeSize:1 Lat:1 SizeLat:1 for: %j16 = or <16 x i32> undef, undef327; CHECK-NEXT:  Cost Model: Found costs of RThru:4 CodeSize:1 Lat:1 SizeLat:1 for: %k16 = xor <16 x i32> undef, undef328; CHECK-NEXT:  Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret void329;330  %c2 = add <2 x i32> undef, undef331  %d2 = sub <2 x i32> undef, undef332  %e2 = mul <2 x i32> undef, undef333  %f2 = ashr <2 x i32> undef, undef334  %g2 = lshr <2 x i32> undef, undef335  %h2 = shl <2 x i32> undef, undef336  %i2 = and <2 x i32> undef, undef337  %j2 = or <2 x i32> undef, undef338  %k2 = xor <2 x i32> undef, undef339  %c4 = add <4 x i32> undef, undef340  %d4 = sub <4 x i32> undef, undef341  %e4 = mul <4 x i32> undef, undef342  %f4 = ashr <4 x i32> undef, undef343  %g4 = lshr <4 x i32> undef, undef344  %h4 = shl <4 x i32> undef, undef345  %i4 = and <4 x i32> undef, undef346  %j4 = or <4 x i32> undef, undef347  %k4 = xor <4 x i32> undef, undef348  %c8 = add <8 x i32> undef, undef349  %d8 = sub <8 x i32> undef, undef350  %e8 = mul <8 x i32> undef, undef351  %f8 = ashr <8 x i32> undef, undef352  %g8 = lshr <8 x i32> undef, undef353  %h8 = shl <8 x i32> undef, undef354  %i8 = and <8 x i32> undef, undef355  %j8 = or <8 x i32> undef, undef356  %k8 = xor <8 x i32> undef, undef357  %c16 = add <16 x i32> undef, undef358  %d16 = sub <16 x i32> undef, undef359  %e16 = mul <16 x i32> undef, undef360  %f16 = ashr <16 x i32> undef, undef361  %g16 = lshr <16 x i32> undef, undef362  %h16 = shl <16 x i32> undef, undef363  %i16 = and <16 x i32> undef, undef364  %j16 = or <16 x i32> undef, undef365  %k16 = xor <16 x i32> undef, undef366  ret void367}368 369define void @vi64() {370; CHECK-LABEL: 'vi64'371; CHECK-NEXT:  Cost Model: Found costs of 1 for: %c2 = add <2 x i64> undef, undef372; CHECK-NEXT:  Cost Model: Found costs of 1 for: %d2 = sub <2 x i64> undef, undef373; CHECK-NEXT:  Cost Model: Found costs of RThru:14 CodeSize:1 Lat:1 SizeLat:1 for: %e2 = mul <2 x i64> undef, undef374; CHECK-NEXT:  Cost Model: Found costs of 1 for: %f2 = ashr <2 x i64> undef, undef375; CHECK-NEXT:  Cost Model: Found costs of 1 for: %g2 = lshr <2 x i64> undef, undef376; CHECK-NEXT:  Cost Model: Found costs of 1 for: %h2 = shl <2 x i64> undef, undef377; CHECK-NEXT:  Cost Model: Found costs of 1 for: %i2 = and <2 x i64> undef, undef378; CHECK-NEXT:  Cost Model: Found costs of 1 for: %j2 = or <2 x i64> undef, undef379; CHECK-NEXT:  Cost Model: Found costs of 1 for: %k2 = xor <2 x i64> undef, undef380; CHECK-NEXT:  Cost Model: Found costs of RThru:2 CodeSize:1 Lat:1 SizeLat:1 for: %c4 = add <4 x i64> undef, undef381; CHECK-NEXT:  Cost Model: Found costs of RThru:2 CodeSize:1 Lat:1 SizeLat:1 for: %d4 = sub <4 x i64> undef, undef382; CHECK-NEXT:  Cost Model: Found costs of RThru:28 CodeSize:1 Lat:1 SizeLat:1 for: %e4 = mul <4 x i64> undef, undef383; CHECK-NEXT:  Cost Model: Found costs of RThru:2 CodeSize:1 Lat:1 SizeLat:1 for: %f4 = ashr <4 x i64> undef, undef384; CHECK-NEXT:  Cost Model: Found costs of RThru:2 CodeSize:1 Lat:1 SizeLat:1 for: %g4 = lshr <4 x i64> undef, undef385; CHECK-NEXT:  Cost Model: Found costs of RThru:2 CodeSize:1 Lat:1 SizeLat:1 for: %h4 = shl <4 x i64> undef, undef386; CHECK-NEXT:  Cost Model: Found costs of RThru:2 CodeSize:1 Lat:1 SizeLat:1 for: %i4 = and <4 x i64> undef, undef387; CHECK-NEXT:  Cost Model: Found costs of RThru:2 CodeSize:1 Lat:1 SizeLat:1 for: %j4 = or <4 x i64> undef, undef388; CHECK-NEXT:  Cost Model: Found costs of RThru:2 CodeSize:1 Lat:1 SizeLat:1 for: %k4 = xor <4 x i64> undef, undef389; CHECK-NEXT:  Cost Model: Found costs of RThru:4 CodeSize:1 Lat:1 SizeLat:1 for: %c8 = add <8 x i64> undef, undef390; CHECK-NEXT:  Cost Model: Found costs of RThru:4 CodeSize:1 Lat:1 SizeLat:1 for: %d8 = sub <8 x i64> undef, undef391; CHECK-NEXT:  Cost Model: Found costs of RThru:56 CodeSize:1 Lat:1 SizeLat:1 for: %e8 = mul <8 x i64> undef, undef392; CHECK-NEXT:  Cost Model: Found costs of RThru:4 CodeSize:1 Lat:1 SizeLat:1 for: %f8 = ashr <8 x i64> undef, undef393; CHECK-NEXT:  Cost Model: Found costs of RThru:4 CodeSize:1 Lat:1 SizeLat:1 for: %g8 = lshr <8 x i64> undef, undef394; CHECK-NEXT:  Cost Model: Found costs of RThru:4 CodeSize:1 Lat:1 SizeLat:1 for: %h8 = shl <8 x i64> undef, undef395; CHECK-NEXT:  Cost Model: Found costs of RThru:4 CodeSize:1 Lat:1 SizeLat:1 for: %i8 = and <8 x i64> undef, undef396; CHECK-NEXT:  Cost Model: Found costs of RThru:4 CodeSize:1 Lat:1 SizeLat:1 for: %j8 = or <8 x i64> undef, undef397; CHECK-NEXT:  Cost Model: Found costs of RThru:4 CodeSize:1 Lat:1 SizeLat:1 for: %k8 = xor <8 x i64> undef, undef398; CHECK-NEXT:  Cost Model: Found costs of RThru:8 CodeSize:1 Lat:1 SizeLat:1 for: %c16 = add <16 x i64> undef, undef399; CHECK-NEXT:  Cost Model: Found costs of RThru:8 CodeSize:1 Lat:1 SizeLat:1 for: %d16 = sub <16 x i64> undef, undef400; CHECK-NEXT:  Cost Model: Found costs of RThru:112 CodeSize:1 Lat:1 SizeLat:1 for: %e16 = mul <16 x i64> undef, undef401; CHECK-NEXT:  Cost Model: Found costs of RThru:8 CodeSize:1 Lat:1 SizeLat:1 for: %f16 = ashr <16 x i64> undef, undef402; CHECK-NEXT:  Cost Model: Found costs of RThru:8 CodeSize:1 Lat:1 SizeLat:1 for: %g16 = lshr <16 x i64> undef, undef403; CHECK-NEXT:  Cost Model: Found costs of RThru:8 CodeSize:1 Lat:1 SizeLat:1 for: %h16 = shl <16 x i64> undef, undef404; CHECK-NEXT:  Cost Model: Found costs of RThru:8 CodeSize:1 Lat:1 SizeLat:1 for: %i16 = and <16 x i64> undef, undef405; CHECK-NEXT:  Cost Model: Found costs of RThru:8 CodeSize:1 Lat:1 SizeLat:1 for: %j16 = or <16 x i64> undef, undef406; CHECK-NEXT:  Cost Model: Found costs of RThru:8 CodeSize:1 Lat:1 SizeLat:1 for: %k16 = xor <16 x i64> undef, undef407; CHECK-NEXT:  Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret void408;409  %c2 = add <2 x i64> undef, undef410  %d2 = sub <2 x i64> undef, undef411  %e2 = mul <2 x i64> undef, undef412  %f2 = ashr <2 x i64> undef, undef413  %g2 = lshr <2 x i64> undef, undef414  %h2 = shl <2 x i64> undef, undef415  %i2 = and <2 x i64> undef, undef416  %j2 = or <2 x i64> undef, undef417  %k2 = xor <2 x i64> undef, undef418  %c4 = add <4 x i64> undef, undef419  %d4 = sub <4 x i64> undef, undef420  %e4 = mul <4 x i64> undef, undef421  %f4 = ashr <4 x i64> undef, undef422  %g4 = lshr <4 x i64> undef, undef423  %h4 = shl <4 x i64> undef, undef424  %i4 = and <4 x i64> undef, undef425  %j4 = or <4 x i64> undef, undef426  %k4 = xor <4 x i64> undef, undef427  %c8 = add <8 x i64> undef, undef428  %d8 = sub <8 x i64> undef, undef429  %e8 = mul <8 x i64> undef, undef430  %f8 = ashr <8 x i64> undef, undef431  %g8 = lshr <8 x i64> undef, undef432  %h8 = shl <8 x i64> undef, undef433  %i8 = and <8 x i64> undef, undef434  %j8 = or <8 x i64> undef, undef435  %k8 = xor <8 x i64> undef, undef436  %c16 = add <16 x i64> undef, undef437  %d16 = sub <16 x i64> undef, undef438  %e16 = mul <16 x i64> undef, undef439  %f16 = ashr <16 x i64> undef, undef440  %g16 = lshr <16 x i64> undef, undef441  %h16 = shl <16 x i64> undef, undef442  %i16 = and <16 x i64> undef, undef443  %j16 = or <16 x i64> undef, undef444  %k16 = xor <16 x i64> undef, undef445  ret void446}447