• Home
  • Raw
  • Download

Lines Matching refs:MIMG

1105 // MIMG Instructions
2524 class SampleRawPattern<SDPatternOperator name, MIMG opcode, ValueType vt> : Pat <
2533 def : SampleRawPattern<name, !cast<MIMG>(opcode # _V4_V1), i32>;
2534 def : SampleRawPattern<name, !cast<MIMG>(opcode # _V4_V2), v2i32>;
2535 def : SampleRawPattern<name, !cast<MIMG>(opcode # _V4_V4), v4i32>;
2536 def : SampleRawPattern<name, !cast<MIMG>(opcode # _V4_V8), v8i32>;
2537 def : SampleRawPattern<name, !cast<MIMG>(opcode # _V4_V16), v16i32>;
2541 class ImagePattern<SDPatternOperator name, MIMG opcode, ValueType vt> : Pat <
2550 def : ImagePattern<name, !cast<MIMG>(opcode # _V4_V1), i32>;
2551 def : ImagePattern<name, !cast<MIMG>(opcode # _V4_V2), v2i32>;
2552 def : ImagePattern<name, !cast<MIMG>(opcode # _V4_V4), v4i32>;
2555 class ImageLoadPattern<SDPatternOperator name, MIMG opcode, ValueType vt> : Pat <
2564 def : ImageLoadPattern<name, !cast<MIMG>(opcode # _V4_V1), i32>;
2565 def : ImageLoadPattern<name, !cast<MIMG>(opcode # _V4_V2), v2i32>;
2566 def : ImageLoadPattern<name, !cast<MIMG>(opcode # _V4_V4), v4i32>;
2569 class ImageStorePattern<SDPatternOperator name, MIMG opcode, ValueType vt> : Pat <
2578 def : ImageStorePattern<name, !cast<MIMG>(opcode # _V4_V1), i32>;
2579 def : ImageStorePattern<name, !cast<MIMG>(opcode # _V4_V2), v2i32>;
2580 def : ImageStorePattern<name, !cast<MIMG>(opcode # _V4_V4), v4i32>;
2583 class ImageAtomicPattern<SDPatternOperator name, MIMG opcode, ValueType vt> : Pat <
2589 def : ImageAtomicPattern<name, !cast<MIMG>(opcode # _V1), i32>;
2590 def : ImageAtomicPattern<name, !cast<MIMG>(opcode # _V2), v2i32>;
2591 def : ImageAtomicPattern<name, !cast<MIMG>(opcode # _V4), v4i32>;
2594 class ImageAtomicCmpSwapPattern<MIMG opcode, ValueType vt> : Pat <
2725 class SamplePattern<SDNode name, MIMG opcode, ValueType vt> : Pat <
2730 class SampleRectPattern<SDNode name, MIMG opcode, ValueType vt> : Pat <
2735 class SampleArrayPattern<SDNode name, MIMG opcode, ValueType vt> : Pat <
2740 class SampleShadowPattern<SDNode name, MIMG opcode,
2746 class SampleShadowArrayPattern<SDNode name, MIMG opcode,
2753 multiclass SamplePatterns<MIMG sample, MIMG sample_c, MIMG sample_l,
2754 MIMG sample_c_l, MIMG sample_b, MIMG sample_c_b,
2755 MIMG sample_d, MIMG sample_c_d, ValueType addr_type> {