14#include "llvm/IR/IntrinsicsDirectX.h"
19 unsigned ScalarOpdIdx) {
21 case Intrinsic::dx_wave_readlane:
22 return ScalarOpdIdx == 1;
31 case Intrinsic::dx_asdouble:
41 case Intrinsic::dx_frac:
42 case Intrinsic::dx_rsqrt:
43 case Intrinsic::dx_wave_readlane:
44 case Intrinsic::dx_asdouble:
45 case Intrinsic::dx_splitdouble:
46 case Intrinsic::dx_firstbituhigh:
47 case Intrinsic::dx_firstbitshigh:
bool isTargetIntrinsicWithScalarOpAtArg(Intrinsic::ID ID, unsigned ScalarOpdIdx)
bool isTargetIntrinsicTriviallyScalarizable(Intrinsic::ID ID) const
bool isTargetIntrinsicWithOverloadTypeAtArg(Intrinsic::ID ID, int OpdIdx)
This is an optimization pass for GlobalISel generic memory operations.