Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/lib/Dialect/Quant/Transforms/
H A DConvertSimQuant.cpp92 fqOp.getMax().convertToFloat(), fqOp.getNarrowRange(), expressedType, in convertFakeQuantAttrsToType()
111 max.reserve(fqOp.getMax().size()); in convertFakeQuantAttrsToType()
114 for (auto m : fqOp.getMax()) in convertFakeQuantAttrsToType()
/llvm-project-15.0.7/llvm/lib/Support/
H A DAPFixedPoint.cpp115 APFixedPoint APFixedPoint::getMax(const FixedPointSemantics &Sema) { in getMax() function in llvm::APFixedPoint
138 APSInt MaxInt = APFixedPoint::getMax(*this).getValue(); in fitsInFloatSemantics()
262 APSInt Max = APFixedPoint::getMax(CommonFXSema).getValue() in mul()
317 APSInt Max = APFixedPoint::getMax(CommonFXSema).getValue() in div()
354 APSInt Max = APFixedPoint::getMax(Sema).getValue().extOrTrunc(Wide); in shl()
410 return Val.isMinSignedValue() ? getMax(Sema) : APFixedPoint(-Val, Sema); in negate()
557 APFloat FloatMax = getMax(DstFXSema).convertToFloat(*OpSema); in getFromFloatValue()
562 Res = getMax(DstFXSema).getValue(); in getFromFloatValue()
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DAPFixedPointTest.cpp136 ASSERT_EQ(APFixedPoint::getMax(Sema).getValue(), in CheckUnpaddedMax()
141 ASSERT_EQ(APFixedPoint::getMax(Sema).getValue(), in CheckPaddedMax()
150 TEST(FixedPointTest, getMax) { in TEST() argument
228 EXPECT_TRUE(APSInt::compareValues(APFixedPoint::getMax(Sema).getIntPart(), in CheckIntPartMax()
401 ASSERT_EQ(Fixed.convert(Dst), APFixedPoint::getMax(Dst)); in CheckSaturatedConversionMax()
670 : APFixedPoint::getMax(Sema)) in CheckFloatToFixedConversion()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp991 return InstructionCost::getMax(); in getArithmeticInstrCost()
1013 return InstructionCost::getMax(); in getShuffleCost()
1044 return InstructionCost::getMax(); in getCastInstrCost()
1063 return InstructionCost::getMax(); in getCmpSelInstrCost()
1082 return InstructionCost::getMax(); in getVectorInstrCost()
1152 return InstructionCost::getMax(); in getMemoryOpCost()
1237 return InstructionCost::getMax(); in getInterleavedMemoryOpCost()
1435 return InstructionCost::getMax(); in getVPMemoryOpCost()
/llvm-project-15.0.7/llvm/unittests/Support/
H A DInstructionCostTest.cpp81 auto Max = InstructionCost::getMax(); in TEST_F()
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DAPFixedPoint.h199 static APFixedPoint getMax(const FixedPointSemantics &Sema);
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Quant/
H A DQuantTypes.h405 double getMax() const;
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DInstructionCost.h71 static InstructionCost getMax() { return getMaxValue(); } in getMax() function
/llvm-project-15.0.7/mlir/lib/CAPI/Dialect/
H A DQuant.cpp223 return unwrap(type).cast<quant::CalibratedQuantizedType>().getMax(); in mlirCalibratedQuantizedTypeGetMax()
/llvm-project-15.0.7/mlir/lib/Dialect/Quant/IR/
H A DTypeParser.cpp418 out << "<" << type.getMin() << ":" << type.getMax() << ">"; in printCalibratedQuantizedType()
H A DQuantTypes.cpp398 double CalibratedQuantizedType::getMax() const { return getImpl()->max; } in getMax() function in CalibratedQuantizedType
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DFixedPointBuilder.h88 APFixedPoint::getMax(DstSema).getValue().extOrTrunc(ResultWidth)); in Convert()
/llvm-project-15.0.7/openmp/runtime/src/
H A Dkmp_stats.h425 double getMax() const { return maxVal; } in getMax() function
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp542 Result = S.SubstExpr(Attr.getMax(), TemplateArgs); in instantiateDependentAMDGPUFlatWorkGroupSizeAttr()
586 if (auto Max = Attr.getMax()) { in instantiateDependentAMDGPUWavesPerEUAttr()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DTargetInfo.cpp9369 Max = FlatWGS->getMax() in setFunctionDeclAttributes()
9398 unsigned Max = Attr->getMax() ? Attr->getMax() in setFunctionDeclAttributes()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp5283 ChosenFactor.Cost = InstructionCost::getMax(); in selectVectorizationFactor()
/llvm-project-15.0.7/clang/lib/AST/
H A DASTContext.cpp12265 return llvm::APFixedPoint::getMax(getFixedPointSemantics(Ty)); in getFixedPointMax()