Lines Matching refs:res

91 def OpUndef: Op<1, (outs ID:$res), (ins TYPE:$type), "$res = OpUndef $type">;
92 def OpSizeOf: Op<321, (outs ID:$res), (ins TYPE:$ty, ID:$ptr), "$res = OpSizeOf $ty $ptr">;
96 def OpExpectKHR: Op<5631, (outs ID:$res), (ins TYPE:$ty, ID:$val, ID:$expected), "$res = OpExpectKH…
136 def OpExtInstImport: Op<11, (outs ID:$res), (ins StringImm:$extInstsName, variable_ops),
137 "$res = OpExtInstImport $extInstsName">;
138 def OpExtInst: Op<12, (outs ID:$res), (ins TYPE:$ty, ID:$set, Extension:$inst, variable_ops),
139 "$res = OpExtInst $ty $set $inst">;
166 def OpTypeImage: Op<25, (outs TYPE:$res), (ins TYPE:$sampTy, Dim:$dim, i32imm:$depth,
168 "$res = OpTypeImage $sampTy $dim $depth $arrayed $MS $sampled $imFormat">;
169 def OpTypeSampler: Op<26, (outs TYPE:$res), (ins), "$res = OpTypeSampler">;
170 def OpTypeSampledImage: Op<27, (outs TYPE:$res), (ins TYPE:$imageType),
171 "$res = OpTypeSampledImage $imageType">;
176 def OpTypeStruct: Op<30, (outs TYPE:$res), (ins variable_ops), "$res = OpTypeStruct">;
177 def OpTypeOpaque: Op<31, (outs TYPE:$res), (ins StringImm:$name, variable_ops),
178 "$res = OpTypeOpaque $name">;
179 def OpTypePointer: Op<32, (outs TYPE:$res), (ins StorageClass:$storage, TYPE:$type),
180 "$res = OpTypePointer $storage $type">;
183 def OpTypeEvent: Op<34, (outs TYPE:$res), (ins), "$res = OpTypeEvent">;
184 def OpTypeDeviceEvent: Op<35, (outs TYPE:$res), (ins), "$res = OpTypeDeviceEvent">;
185 def OpTypeReserveId: Op<36, (outs TYPE:$res), (ins), "$res = OpTypeReserveId">;
186 def OpTypeQueue: Op<37, (outs TYPE:$res), (ins), "$res = OpTypeQueue">;
187 def OpTypePipe: Op<38, (outs TYPE:$res), (ins AccessQualifier:$a), "$res = OpTypePipe $a">;
190 def OpTypePipeStorage: Op<322, (outs TYPE:$res), (ins), "$res = OpTypePipeStorage">;
191 def OpTypeNamedBarrier: Op<327, (outs TYPE:$res), (ins), "$res = OpTypeNamedBarrier">;
192 def OpTypeAccelerationStructureNV: Op<5341, (outs TYPE:$res), (ins),
193 "$res = OpTypeAccelerationStructureNV">;
194 def OpTypeCooperativeMatrixNV: Op<5358, (outs TYPE:$res),
196 "$res = OpTypeCooperativeMatrixNV $compType $scope $rows $cols">;
236 def OpConstantComposite: Op<44, (outs ID:$res), (ins TYPE:$type, variable_ops),
237 "$res = OpConstantComposite $type">;
238 def OpConstantSampler: Op<45, (outs ID:$res),
240 "$res = OpConstantSampler $t $s $p $f">;
246 def OpSpecConstant: Op<50, (outs ID:$res), (ins TYPE:$type, i32imm:$imm, variable_ops),
247 "$res = OpSpecConstant $type $imm">;
248 def OpSpecConstantComposite: Op<51, (outs ID:$res), (ins TYPE:$type, variable_ops),
249 "$res = OpSpecConstantComposite $type">;
250 def OpSpecConstantOp: Op<52, (outs ID:$res), (ins TYPE:$t, i32imm:$c, ID:$o, variable_ops),
251 "$res = OpSpecConstantOp $t $c $o">;
255 def OpVariable: Op<59, (outs ID:$res), (ins TYPE:$type, StorageClass:$sc, variable_ops),
256 "$res = OpVariable $type $sc">;
257 def OpImageTexelPointer: Op<60, (outs ID:$res),
259 "$res = OpImageTexelPointer $resType $image $coord $sample">;
260 def OpLoad: Op<61, (outs ID:$res), (ins TYPE:$resType, ID:$pointer, variable_ops),
261 "$res = OpLoad $resType $pointer">;
268 def OpAccessChain: Op<65, (outs ID:$res), (ins TYPE:$type, ID:$base, variable_ops),
269 "$res = OpAccessChain $type $base">;
270 def OpInBoundsAccessChain: Op<66, (outs ID:$res),
272 "$res = OpInBoundsAccessChain $type $base">;
273 def OpPtrAccessChain: Op<67, (outs ID:$res),
275 "$res = OpPtrAccessChain $type $base $element">;
276 def OpArrayLength: Op<68, (outs ID:$res), (ins TYPE:$resTy, ID:$struct, i32imm:$arrayMember),
277 "$res = OpArrayLength $resTy $struct $arrayMember">;
278 def OpGenericPtrMemSemantics: Op<69, (outs ID:$res), (ins TYPE:$resType, ID:$pointer),
279 "$res = OpGenericPtrMemSemantics $resType $pointer">;
280 def OpInBoundsPtrAccessChain: Op<70, (outs ID:$res),
282 "$res = OpInBoundsPtrAccessChain $type $base $element">;
283 def OpPtrEqual: Op<401, (outs ID:$res), (ins TYPE:$resType, ID:$a, ID:$b),
284 "$res = OpPtrEqual $resType $a $b">;
285 def OpPtrNotEqual: Op<402, (outs ID:$res), (ins TYPE:$resType, ID:$a, ID:$b),
286 "$res = OpPtrNotEqual $resType $a $b">;
287 def OpPtrDiff: Op<403, (outs ID:$res), (ins TYPE:$resType, ID:$a, ID:$b),
288 "$res = OpPtrDiff $resType $a $b">;
300 def OpFunctionCall: Op<57, (outs ID:$res), (ins TYPE:$resType, ID:$function, variable_ops),
301 "$res = OpFunctionCall $resType $function">;
307 def OpImageSampleImplicitLod: Op<87, (outs ID:$res),
309 "$res = OpImageSampleImplicitLod $type $sampledImage $coord">;
310 def OpImageSampleExplicitLod: Op<88, (outs ID:$res),
312 "$res = OpImageSampleExplicitLod $ty $sImage $uv $op $i">;
314 def OpImageSampleDrefImplicitLod: Op<89, (outs ID:$res),
316 "$res = OpImageSampleDrefImplicitLod $type $sampledImage $dref $coord">;
317 def OpImageSampleDrefExplicitLod: Op<90, (outs ID:$res),
319 "$res = OpImageSampleDrefExplicitLod $ty $im $uv $d $op $i">;
321 def OpImageSampleProjImplicitLod: Op<91, (outs ID:$res),
323 "$res = OpImageSampleProjImplicitLod $type $sampledImage $coord">;
324 def OpImageSampleProjExplicitLod: Op<92, (outs ID:$res),
326 "$res = OpImageSampleProjExplicitLod $ty $im $uv $op $i">;
328 def OpImageSampleProjDrefImplicitLod: Op<93, (outs ID:$res),
330 "$res = OpImageSampleProjDrefImplicitLod $type $sampledImage $dref $coord">;
331 def OpImageSampleProjDrefExplicitLod: Op<94, (outs ID:$res),
333 "$res = OpImageSampleProjDrefExplicitLod $ty $im $uv $d $op $i">;
335 def OpImageFetch: Op<95, (outs ID:$res),
337 "$res = OpImageFetch $type $image $coord">;
338 def OpImageGather: Op<96, (outs ID:$res),
340 "$res = OpImageGather $type $sampledImage $coord $component">;
341 def OpImageDrefGather: Op<97, (outs ID:$res),
343 "$res = OpImageDrefGather $type $sampledImage $coord $dref">;
345 def OpImageRead: Op<98, (outs ID:$res),
347 "$res = OpImageRead $type $image $coord">;
360 def OpImageSparseSampleImplicitLod: Op<305, (outs ID:$res),
362 "$res = OpImageSparseSampleImplicitLod $type $sampledImage $coord">;
363 def OpImageSparseSampleExplicitLod: Op<306, (outs ID:$res),
365 "$res = OpImageSparseSampleExplicitLod $ty $sImage $uv $op $i">;
367 def OpImageSparseSampleDrefImplicitLod: Op<307, (outs ID:$res),
369 "$res = OpImageSparseSampleDrefImplicitLod $type $sampledImg $dref $coord">;
370 def OpImageSparseSampleDrefExplicitLod: Op<308, (outs ID:$res),
372 "$res = OpImageSparseSampleDrefExplicitLod $ty $im $uv $d $op $i">;
374 def OpImageSparseSampleProjImplicitLod: Op<309, (outs ID:$res),
376 "$res = OpImageSparseSampleProjImplicitLod $type $sampledImage $coord">;
377 def OpImageSparseSampleProjExplicitLod: Op<310, (outs ID:$res),
379 "$res = OpImageSparseSampleProjExplicitLod $ty $im $uv $op $i">;
381 def OpImageSparseSampleProjDrefImplicitLod: Op<311, (outs ID:$res),
383 "$res = OpImageSparseSampleProjDrefImplicitLod $type $sImage $dref $coord">;
384 def OpImageSparseSampleProjDrefExplicitLod: Op<312, (outs ID:$res),
386 "$res = OpImageSparseSampleProjDrefExplicitLod $ty $im $uv $d $op $i">;
388 def OpImageSparseFetch: Op<313, (outs ID:$res),
390 "$res = OpImageSparseFetch $type $image $coord">;
391 def OpImageSparseGather: Op<314, (outs ID:$res),
393 "$res = OpImageSparseGather $type $sampledImage $coord $component">;
394 def OpImageSparseDrefGather: Op<315, (outs ID:$res),
396 "$res = OpImageSparseDrefGather $type $sampledImage $coord $dref">;
400 def OpImageSparseRead: Op<320, (outs ID:$res),
402 "$res = OpImageSparseRead $type $image $coord">;
404 def OpImageSampleFootprintNV: Op<5283, (outs ID:$res),
406 "$res = OpImageSampleFootprintNV $ty $sImg $uv $granularity $coarse">;
435 def OpVectorExtractDynamic: Op<77, (outs ID:$res), (ins TYPE:$type, vID:$vec, ID:$idx),
436 …"$res = OpVectorExtractDynamic $type $vec $idx", [(set ID:$res, (assigntype (extractelt vID:$vec, …
438 def OpVectorInsertDynamic: Op<78, (outs ID:$res), (ins TYPE:$ty, ID:$vec, ID:$comp, ID:$idx),
439 "$res = OpVectorInsertDynamic $ty $vec $comp $idx">;
440 def OpVectorShuffle: Op<79, (outs ID:$res), (ins TYPE:$ty, ID:$v1, ID:$v2, variable_ops),
441 "$res = OpVectorShuffle $ty $v1 $v2">;
442 def OpCompositeConstruct: Op<80, (outs ID:$res), (ins TYPE:$type, variable_ops),
443 "$res = OpCompositeConstruct $type">;
444 def OpCompositeExtract: Op<81, (outs ID:$res), (ins TYPE:$type, ID:$base, variable_ops),
445 "$res = OpCompositeExtract $type $base">;
503 def OpBitFieldInsert: Op<201, (outs ID:$res),
505 "$res = OpBitFieldInsert $ty $base $insert $offset $count">;
506 def OpBitFieldSExtract: Op<202, (outs ID:$res),
508 "$res = OpBitFieldSExtract $ty $base $offset $count">;
509 def OpBitFieldUExtract: Op<203, (outs ID:$res),
511 "$res = OpBitFieldUExtract $ty $base $offset $count">;
517 def OpAny: Op<154, (outs ID:$res), (ins TYPE:$ty, ID:$vec),
518 "$res = OpAny $ty $vec">;
519 def OpAll: Op<155, (outs ID:$res), (ins TYPE:$ty, ID:$vec),
520 "$res = OpAll $ty $vec">;
583 def OpPhi: Op<245, (outs ID:$res), (ins TYPE:$type, ID:$var0, ID:$block0, variable_ops),
584 "$res = OpPhi $type $var0 $block0">;
607 class AtomicOp<string name, bits<16> opCode>: Op<opCode, (outs ID:$res),
609 "$res = "#name#" $ty $ptr $sc $sem">;
611 class AtomicOpVal<string name, bits<16> opCode>: Op<opCode, (outs ID:$res),
613 "$res = "#name#" $ty $ptr $sc $sem $val">;
619 def OpAtomicExchange: Op<229, (outs ID:$res),
621 "$res = OpAtomicExchange $ty $ptr $sc $sem $val">;
622 def OpAtomicCompareExchange: Op<230, (outs ID:$res),
625 "$res = OpAtomicCompareExchange $ty $ptr $sc $eq $neq $val $cmp">;
626 def OpAtomicCompareExchangeWeak: Op<231, (outs ID:$res),
629 "$res = OpAtomicCompareExchangeWeak $ty $ptr $sc $eq $neq $val $cmp">;
670 def OpGroupAsyncCopy: Op<259, (outs ID:$res), (ins TYPE:$ty, ID:$scope,
672 "$res = OpGroupAsyncCopy $ty $scope $dst $src $nelts $stride $event">;
675 def OpGroupAll: Op<261, (outs ID:$res), (ins TYPE:$ty, ID:$scope, ID:$pr),
676 "$res = OpGroupAll $ty $scope $pr">;
677 def OpGroupAny: Op<262, (outs ID:$res), (ins TYPE:$ty, ID:$scope, ID:$pr),
678 "$res = OpGroupAny $ty $scope $pr">;
679 def OpGroupBroadcast: Op<263, (outs ID:$res), (ins TYPE:$ty, ID:$scope,
681 "$res = OpGroupBroadcast $ty $scope $val $id">;
682 class OpGroup<string name, bits<16> opCode>: Op<opCode, (outs ID:$res),
684 "$res = OpGroup"#name#" $ty $scope $groupOp $x">;
695 def OpEnqueueKernel: Op<292, (outs ID:$res), (ins TYPE:$type, ID:$queue, ID:$flags, ID:$NDR, ID:$ne…
697 …"$res = OpEnqueueKernel $type $queue $flags $NDR $nevents $wevents $revent $invoke $param $psize $…
700 def OpCreateUserEvent: Op<299, (outs ID:$res), (ins TYPE:$type),
701 "$res = OpCreateUserEvent $type">;
702 def OpIsValidEvent: Op<300, (outs ID:$res), (ins TYPE:$type, ID:$event),
703 "$res = OpIsValidEvent $type $event ">;
709 def OpGetDefaultQueue: Op<303, (outs ID:$res), (ins TYPE:$type),
710 "$res = OpGetDefaultQueue $type">;
711 def OpBuildNDRange: Op<304, (outs ID:$res), (ins TYPE:$type, ID:$GWS, ID:$LWS, ID:$GWO),
712 "$res = OpBuildNDRange $type $GWS $LWS $GWO">;
718 def OpGroupNonUniformElect: Op<333, (outs ID:$res), (ins TYPE:$ty, ID:$scope),
719 "$res = OpGroupNonUniformElect $ty $scope">;
721 (outs ID:$res), (ins TYPE:$ty, ID:$scope, ID:$pred),
722 "$res = OpGroupNonUniform"#name#" $ty $scope $pred">;
724 (outs ID:$res), (ins TYPE:$ty, ID:$scope, ID:$val, ID:$id),
725 "$res = OpGroupNonUniform"#name#" $ty $scope $val $id">;
734 def OpGroupNonUniformBallotBitCount: Op<342, (outs ID:$res),
736 "$res = OpGroupNonUniformBallotBitCount "
744 class OpGroupNUGroup<string name, bits<16> opCode>: Op<opCode, (outs ID:$res),
747 "$res = OpGroupNonUniform"#name#" $ty $scope $groupOp $val">;