Home
last modified time | relevance | path

Searched refs:INF (Results 1 – 17 of 17) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/tools/llvm-exegesis/
H A DRegisterValueTest.cpp29 CHECK("7C00", INF); in TEST()
45 CHECK("7F800000", INF); in TEST()
61 CHECK("7FF0000000000000", INF); in TEST()
/llvm-project-15.0.7/mlir/test/Conversion/ComplexToStandard/
H A Dconvert-to-standard.mlir111 // CHECK: %[[INF:.*]] = arith.constant 0x7F800000 : f32
117 // CHECK: %[[RHS_REAL_FINITE:.*]] = arith.cmpf one, %[[RHS_REAL_ABS]], %[[INF]] : f32
118 // CHECK: %[[RHS_IMAG_FINITE:.*]] = arith.cmpf one, %[[RHS_IMAG_ABS]], %[[INF]] : f32
134 // CHECK: %[[RESULT_REAL_3:.*]] = arith.mulf %[[INF]], %[[INF_MULTIPLICATOR_1]] : f32
138 // CHECK: %[[RESULT_IMAG_3:.*]] = arith.mulf %[[INF]], %[[INF_MULTIPLICATOR_2]] : f32
141 // CHECK: %[[LHS_REAL_FINITE:.*]] = arith.cmpf one, %[[LHS_REAL_ABS]], %[[INF]] : f32
142 // CHECK: %[[LHS_IMAG_FINITE:.*]] = arith.cmpf one, %[[LHS_IMAG_ABS]], %[[INF]] : f32
316 // CHECK: %[[INF:.*]] = arith.constant 0x7F800000 : f32
390 // CHECK: %[[NEW_REAL_TIMES_INF:.*]] = arith.mulf %[[INF]], %[[NEW_REAL]] : f32
397 // CHECK: %[[NEW_IMAG_TIMES_INF:.*]] = arith.mulf %[[INF]], %[[NEW_IMAG]] : f32
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dpow-sqrt.ll6 ; The transform to sqrt is not allowed if we risk setting errno due to -INF.
17 ; The transform to (non-errno setting) sqrt is allowed as long as we deal with -0.0 and -INF.
33 ; (As above) the transform to sqrt may generate EDOM due to -INF. Generally, EDOM implies
48 ; and -INF.
105 ; If we can disregard -0.0, no need for fabs, but still (because of -INF) cannot use library sqrt.
218 ; Use 'select' to handle -INF correctly.
235 ; Use 'select' to handle -INF correctly.
274 ; If we can disregard -0.0, no need for fabs, but still (because of -INF) cannot use library sqrt.
H A Dfneg.ll88 ; Try a vector. Use special constants (NaN, INF, undef) because they don't change anything.
182 ; Try a vector. Use special constants (NaN, INF, undef) because they don't change anything.
336 ; Try a vector. Use special constants (NaN, INF, undef) because they don't change anything.
/llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/
H A DRegisterValue.h37 INF, // Infinity enumerator
H A DRegisterValue.cpp27 case PredefinedValues::INF: in getFloatValue()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSampleProfileInference.cpp61 static constexpr int64_t INF = ((int64_t)1) << 50; variable
144 addEdge(Src, Dst, INF, Cost); in addEdge()
209 uint64_t PathCapacity = INF; in computeAugmentingPathCapacity()
228 Node.Distance = INF; in findAugmentingPath()
282 return Nodes[Target].Distance != INF; in findAugmentingPath()
408 uint64_t MaxFlowAmount = INF; in augmentFlowAlongDAG()
418 if (Edge->Capacity == INF) in augmentFlowAlongDAG()
679 auto Distance = std::vector<int64_t>(NumBlocks(), INF); in findShortestPath()
/llvm-project-15.0.7/llvm/test/Transforms/InstSimplify/
H A Dfminmax-folds.ll715 ; minnum(X, -INF) --> -INF
809 ; maxnum(X, INF) --> INF
1149 ; negative test - minimum(X, -INF) != -INF because X could be NaN
1160 ; negative test - minimum(-INF, X) != -INF because X could be NaN
1171 ; TODO: minimum(INF, X) --> X
1181 ; negative test - maximum(X, INF) != INF because X could be NaN
1192 ; negative test - maximum(INF, X) != INF because X could be NaN
H A Dfast-math.ll176 ; that X is not INF or -INF (adding opposite INFs would be NaN).
H A Dfast-math-strictfp.ll186 ; that X is not INF or -INF (adding opposite INFs would be NaN).
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Dknown-never-nan.ll26 ; If f1 is 0, fmul is NaN because 0.0 * -INF = NaN
/llvm-project-15.0.7/llvm/lib/Support/
H A Dregcomp.c1120 # define INF 3 in repeat() macro
1122 # define MAP(n) (((n) <= 1) ? (n) : ((n) == INFINITY) ? INF : N) in repeat()
1136 case REP(0, INF): /* as x{1,}? */ in repeat()
1161 case REP(1, INF): /* as x+ */ in repeat()
1169 case REP(N, INF): /* as xx{n-1,INF} */ in repeat()
/llvm-project-15.0.7/llvm/test/Transforms/InstSimplify/ConstProp/
H A Dsse.ll62 ; INF should not fold
159 ; INF should not fold
H A Davx512.ll100 ; INF should not fold
197 ; INF should not fold
336 ; INF should not fold
433 ; INF should not fold
/llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/
H A DSPIRVNonUniformOps.td279 The identity I for Operation is -INF. If Operation is ClusteredReduce,
339 The identity I for Operation is +INF. If Operation is ClusteredReduce,
/llvm-project-15.0.7/llvm/lib/Target/
H A DREADME.txt2039 not an INF. The CannotBeNegativeZero predicate in value tracking should be
/llvm-project-15.0.7/llvm/docs/
H A DAMDGPUUsage.rst4246 +/-INF values.
4248 result of an +/-INF input value
4249 or divide by 0 produces a +/-INF,