Searched refs:ClampIntrinsic (Results 1 – 1 of 1) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
H A D | DXILIntrinsicExpansion.cpp | 221 Intrinsic::ID ClampIntrinsic) { in getMaxForClamp() argument 222 if (ClampIntrinsic == Intrinsic::dx_uclamp) in getMaxForClamp() 224 assert(ClampIntrinsic == Intrinsic::dx_clamp); in getMaxForClamp() 234 Intrinsic::ID ClampIntrinsic) { in getMinForClamp() argument 235 if (ClampIntrinsic == Intrinsic::dx_uclamp) in getMinForClamp() 237 assert(ClampIntrinsic == Intrinsic::dx_clamp); in getMinForClamp() 246 static bool expandClampIntrinsic(CallInst *Orig, Intrinsic::ID ClampIntrinsic) { in expandClampIntrinsic() argument 254 Ty, getMaxForClamp(Ty, ClampIntrinsic), {X, Min}, nullptr, "dx.max"); in expandClampIntrinsic() 256 Builder.CreateIntrinsic(Ty, getMinForClamp(Ty, ClampIntrinsic), in expandClampIntrinsic()
|