Commit dc27c2d
committed
[DirectX][ShaderFlags] Add analysis for
- Add emitDXILOpProperties to build boolean tables of which ops hold
which properties into `DXILEmitter.cpp`
- Check each call instruction to see if it invokes an intrinsic that is
marked as IsWave, and set the WaveOps flag if this is true for any
intrinsics. Done in DXILShaderFlags.cppWaveOps flag1 parent 77b5bf1 commit dc27c2d
File tree
2 files changed
+38
-0
lines changed- llvm
- lib/Target/DirectX
- utils/TableGen
2 files changed
+38
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
33 | 53 | | |
34 | 54 | | |
35 | 55 | | |
| |||
92 | 112 | | |
93 | 113 | | |
94 | 114 | | |
| 115 | + | |
| 116 | + | |
95 | 117 | | |
96 | 118 | | |
97 | 119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
440 | 455 | | |
441 | 456 | | |
442 | 457 | | |
| |||
641 | 656 | | |
642 | 657 | | |
643 | 658 | | |
| 659 | + | |
644 | 660 | | |
645 | 661 | | |
646 | 662 | | |
| |||
0 commit comments