| /llvm-project-15.0.7/polly/lib/External/isl/imath/ |
| H A D | imath.c | 353 CLAMP(Z); in UMUL() 363 CLAMP(Z); in USQR() 585 CLAMP(c); in mp_int_add() 648 CLAMP(c); in mp_int_sub() 1544 CLAMP(z); in mp_int_read_cstring() 2143 CLAMP(a); in s_ddiv() 2184 CLAMP(z); in s_qdiv() 2198 CLAMP(z); in s_qmod() 2254 CLAMP(z); in s_qmul() 2282 CLAMP(z); in s_qsub() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | R600Instructions.td | 56 def CLAMP : InstFlag <"printClamp">; 104 (ins WRITE:$write, OMOD:$omod, REL:$dst_rel, CLAMP:$clamp, 146 OMOD:$omod, REL:$dst_rel, CLAMP:$clamp, 186 (ins REL:$dst_rel, CLAMP:$clamp, 1032 OMOD:$omod_X, REL:$dst_rel_X, CLAMP:$clamp_X, 1038 OMOD:$omod_Y, REL:$dst_rel_Y, CLAMP:$clamp_Y, 1044 OMOD:$omod_Z, REL:$dst_rel_Z, CLAMP:$clamp_Z, 1050 OMOD:$omod_W, REL:$dst_rel_W, CLAMP:$clamp_W,
|
| H A D | AMDGPUISelLowering.h | 376 CLAMP, enumerator
|
| H A D | SIISelLowering.cpp | 10066 case AMDGPUISD::CLAMP: in isCanonicalized() 10420 return DAG.getNode(AMDGPUISD::CLAMP, SL, VT, Op0.getOperand(0)); in performFPMed3ImmCombine() 10546 return DAG.getNode(AMDGPUISD::CLAMP, SL, VT, Src2); in performFMed3Combine() 10567 return DAG.getNode(AMDGPUISD::CLAMP, SL, VT, Src0); in performFMed3Combine() 11509 case AMDGPUISD::CLAMP: in PerformDAGCombine() 12696 if (Op.getOpcode() == AMDGPUISD::CLAMP) { in isKnownNeverNaNForTargetNode()
|
| H A D | AMDGPUISelDAGToDAG.cpp | 172 case AMDGPUISD::CLAMP: in fp16SrcZerosHighBits()
|
| H A D | SIInstrInfo.td | 41 def AMDGPUclamp : SDNode<"AMDGPUISD::CLAMP", SDTFPUnaryOp>;
|
| H A D | AMDGPUISelLowering.cpp | 4292 NODE_NAME_CASE(CLAMP) in getTargetNodeName()
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/AMDGPU/ |
| H A D | amdgcn-intrinsics.ll | 2970 … @llvm.amdgcn.image.sample.cl.1d.v4f32.f16(i32 15, half [[S:%.*]], half [[CLAMP:%.*]], <8 x i32> [… 2983 …age.sample.cl.2d.v4f32.f16(i32 15, half [[S:%.*]], half [[T:%.*]], half [[CLAMP:%.*]], <8 x i32> [… 2997 ….c.cl.1d.v4f32.f16(i32 15, float [[ZCOMPARE:%.*]], half [[S:%.*]], half [[CLAMP:%.*]], <8 x i32> [… 3134 …e.b.cl.1d.v4f32.f16.f16(i32 15, half [[BIAS:%.*]], half [[S:%.*]], half [[CLAMP:%.*]], <8 x i32> [… 3149 ; CHECK-NEXT: [[CLAMP32:%.*]] = fpext half [[CLAMP:%.*]] to float 3180 ; CHECK-NEXT: [[CLAMP32:%.*]] = fpext half [[CLAMP:%.*]] to float 3210 ; CHECK-NEXT: [[CLAMP32:%.*]] = fpext half [[CLAMP:%.*]] to float 3241 ; CHECK-NEXT: [[CLAMP32:%.*]] = fpext half [[CLAMP:%.*]] to float 4791 …llvm.amdgcn.image.sample.cl.1d.v4f32.f32(i32 15, float [[S:%.*]], float [[CLAMP:%.*]], <8 x i32> [… 4804 ….sample.cl.2d.v4f32.f32(i32 15, float [[S:%.*]], float [[T:%.*]], float [[CLAMP:%.*]], <8 x i32> [… [all …]
|
| H A D | amdgcn-demanded-vector-elts-inseltpoison.ll | 3135 …f32(i32 2, float [[S:%.*]], float [[T:%.*]], float [[SLICE:%.*]], float [[CLAMP:%.*]], <8 x i32> [… 3167 …2(i32 8, float [[DSDH:%.*]], float [[DSDV:%.*]], float [[S:%.*]], float [[CLAMP:%.*]], <8 x i32> [… 3215 ….cl.1d.v2f32.f32.f32(i32 12, float [[BIAS:%.*]], float [[S:%.*]], float [[CLAMP:%.*]], <8 x i32> [… 3263 …2(i32 8, float [[DSDH:%.*]], float [[DSDV:%.*]], float [[S:%.*]], float [[CLAMP:%.*]], <8 x i32> [… 3273 …2(i32 4, float [[DSDH:%.*]], float [[DSDV:%.*]], float [[S:%.*]], float [[CLAMP:%.*]], <8 x i32> [… 3283 …2(i32 2, float [[DSDH:%.*]], float [[DSDV:%.*]], float [[S:%.*]], float [[CLAMP:%.*]], <8 x i32> [… 3315 …2(i32 1, float [[DSDH:%.*]], float [[DSDV:%.*]], float [[S:%.*]], float [[CLAMP:%.*]], <8 x i32> [… 3326 …2(i32 1, float [[DSDH:%.*]], float [[DSDV:%.*]], float [[S:%.*]], float [[CLAMP:%.*]], <8 x i32> [… 3358 …e.c.cl.1d.f32.f32(i32 1, float [[ZCOMPARE:%.*]], float [[S:%.*]], float [[CLAMP:%.*]], <8 x i32> [… 3518 …ample.cl.o.1d.f32.f32(i32 1, i32 [[OFFSET:%.*]], float [[S:%.*]], float [[CLAMP:%.*]], <8 x i32> [… [all …]
|
| H A D | amdgcn-demanded-vector-elts.ll | 3135 …f32(i32 2, float [[S:%.*]], float [[T:%.*]], float [[SLICE:%.*]], float [[CLAMP:%.*]], <8 x i32> [… 3167 …2(i32 8, float [[DSDH:%.*]], float [[DSDV:%.*]], float [[S:%.*]], float [[CLAMP:%.*]], <8 x i32> [… 3215 ….cl.1d.v2f32.f32.f32(i32 12, float [[BIAS:%.*]], float [[S:%.*]], float [[CLAMP:%.*]], <8 x i32> [… 3263 …2(i32 8, float [[DSDH:%.*]], float [[DSDV:%.*]], float [[S:%.*]], float [[CLAMP:%.*]], <8 x i32> [… 3273 …2(i32 4, float [[DSDH:%.*]], float [[DSDV:%.*]], float [[S:%.*]], float [[CLAMP:%.*]], <8 x i32> [… 3283 …2(i32 2, float [[DSDH:%.*]], float [[DSDV:%.*]], float [[S:%.*]], float [[CLAMP:%.*]], <8 x i32> [… 3315 …2(i32 1, float [[DSDH:%.*]], float [[DSDV:%.*]], float [[S:%.*]], float [[CLAMP:%.*]], <8 x i32> [… 3326 …2(i32 1, float [[DSDH:%.*]], float [[DSDV:%.*]], float [[S:%.*]], float [[CLAMP:%.*]], <8 x i32> [… 3358 …e.c.cl.1d.f32.f32(i32 1, float [[ZCOMPARE:%.*]], float [[S:%.*]], float [[CLAMP:%.*]], <8 x i32> [… 3518 …ample.cl.o.1d.f32.f32(i32 1, i32 [[OFFSET:%.*]], float [[S:%.*]], float [[CLAMP:%.*]], <8 x i32> [… [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/ |
| H A D | clamp-modifier.ll | 296 ; GFX9: v_pk_max_f16 [[CLAMP:v[0-9]+]], [[ADD]], [[ADD]] clamp{{$}} 314 ; GFX9: v_max_f32_e64 [[CLAMP:v[0-9]+]], [[ADD]], [[ADD]] clamp{{$}} 333 ; GFX9: v_pk_max_f16 [[CLAMP:v[0-9]+]], [[ADD]], [[ADD]] clamp{{$}}
|
| /llvm-project-15.0.7/mlir/test/Conversion/GPUToNVVM/ |
| H A D | gpu-to-nvvm.mlir | 132 // CHECK: %[[#CLAMP:]] = llvm.sub %[[#WIDTH]], %[[#ONE]] : i32 133 …// CHECK: %[[#SHFL:]] = nvvm.shfl.sync bfly %[[#MASK]], %[[#VALUE]], %[[#OFFSET]], %[[#CLAMP]] {re…
|
| /llvm-project-15.0.7/llvm/test/Transforms/LowerSwitch/ |
| H A D | do-not-handle-impossible-values.ll | 807 ; CHECK-NEXT: [[CLAMP:%.*]] = select i1 [[COND_RIGHT]], i64 3, i64 [[CLAMP_LEFT]] 810 ; CHECK-NEXT: [[SWITCHLEAF:%.*]] = icmp sge i64 [[CLAMP]], 2
|