Home
last modified time | relevance | path

Searched refs:getScale (Results 1 – 24 of 24) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DFixedPointBuilder.h39 unsigned SrcScale = SrcSema.getScale(); in Convert()
40 unsigned DstScale = DstSema.getScale(); in Convert()
121 C.getWidth() + (unsigned)(BothPadded && C.isSaturated()), C.getScale(), in getCommonBinopSemantic()
185 ConstantFP::get(OpTy, std::pow(2, -(int)SrcSema.getScale()))); in CreateFixedToFloating()
200 ConstantFP::get(OpTy, std::pow(2, DstSema.getScale()))); in CreateFloatingToFixed()
304 {WideLHS, WideRHS, B.getInt32(CommonSema.getScale())}); in CreateMul()
332 {WideLHS, WideRHS, B.getInt32(CommonSema.getScale())}); in CreateDiv()
/freebsd/contrib/llvm-project/clang/lib/Support/
H A DRISCVVIntrinsicUtils.cpp48 VScaleVal LMULType::getScale(unsigned ElementBitwidth) const { in getScale() function in clang::RISCV::LMULType
679 Scale = LMUL.getScale(ElementBitwidth); in applyModifier()
709 Scale = LMUL.getScale(ElementBitwidth); in applyModifier()
714 Scale = LMUL.getScale(ElementBitwidth); in applyModifier()
719 Scale = LMUL.getScale(ElementBitwidth); in applyModifier()
723 Scale = LMUL.getScale(ElementBitwidth); in applyModifier()
866 Scale = LMUL.getScale(ElementBitwidth); in applyModifier()
880 Scale = LMUL.getScale(ElementBitwidth); in applyLog2EEW()
891 Scale = LMUL.getScale(ElementBitwidth); in applyFixedSEW()
918 Scale = LMUL.getScale(ElementBitwidth); in applyFixedLog2LMUL()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFixedPoint.h63 unsigned getScale() const { assert(isValidLegacySema()); return -LsbWeight; } in getScale() function
170 inline unsigned getScale() const { return Sema.getScale(); }
/freebsd/contrib/llvm-project/clang/include/clang/Support/
H A DRISCVVIntrinsicUtils.h241 std::optional<unsigned> getScale(unsigned ElementBitwidth) const;
322 VScaleVal getScale() const { return Scale; } in getScale() function
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaRISCVVectorLookup.cpp138 QT = Context.getScalableVectorType(QT, *Type->getScale(), Type->getNF()); in RVVType2Qual()
140 QT = Context.getScalableVectorType(QT, *Type->getScale()); in RVVType2Qual()
H A DSemaTemplate.cpp8155 Val.getFixedPoint().getScale()); in BuildExpressionFromNonTypeTemplateArgumentValue()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DAbstractBasicWriter.h167 asImpl().writeUInt32(sema.getScale()); in writeFixedPointSemantics()
H A DExpr.h1554 unsigned getScale() const { return Scale; } in getScale() function
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVECustomDAG.cpp326 return N->getScale(); in getGatherScatterScale()
328 return N->getScale(); in getGatherScatterScale()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h2775 return !cast<ConstantSDNode>(getScale())->isOne();
2789 const SDValue &getScale() const {
2859 return !cast<ConstantSDNode>(getScale())->isOne();
2870 const SDValue &getScale() const { return getOperand(5); }
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp24 OS << "scale=" << getScale() << ", "; in print()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DScaledNumber.h534 int16_t getScale() const { return Scale; } in getScale() function
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp2188 return {MSC->getMask(), MSC->getIndex(), MSC->getScale()}; in SplitVecRes_Gather()
2191 return {VPSC->getMask(), VPSC->getIndex(), VPSC->getScale()}; in SplitVecRes_Gather()
3680 return {MSC->getMask(), MSC->getIndex(), MSC->getScale(), in SplitVecOp_Scatter()
3684 return {VPSC->getMask(), VPSC->getIndex(), VPSC->getScale(), in SplitVecOp_Scatter()
5498 SDValue Scale = N->getScale(); in WidenVecRes_MGATHER()
5533 SDValue Scale = N->getScale(); in WidenVecRes_VP_GATHER()
6633 SDValue Scale = MG->getScale(); in WidenVecOp_MGATHER()
6654 SDValue Scale = MSC->getScale(); in WidenVecOp_MSCATTER()
6694 SDValue Scale = VPSC->getScale(); in WidenVecOp_VP_SCATTER()
H A DSelectionDAG.cpp9286 assert(isa<ConstantSDNode>(N->getScale()) && in getGatherVP()
9287 N->getScale()->getAsAPIntVal().isPowerOf2() && in getGatherVP()
9330 assert(isa<ConstantSDNode>(N->getScale()) && in getScatterVP()
9331 N->getScale()->getAsAPIntVal().isPowerOf2() && in getScatterVP()
9472 assert(isa<ConstantSDNode>(N->getScale()) && in getMaskedGather()
9473 N->getScale()->getAsAPIntVal().isPowerOf2() && in getMaskedGather()
9518 assert(isa<ConstantSDNode>(N->getScale()) && in getMaskedScatter()
9519 N->getScale()->getAsAPIntVal().isPowerOf2() && in getMaskedScatter()
H A DDAGCombiner.cpp7224 GN0->getBasePtr(), GN0->getIndex(), GN0->getScale()}; in visitAND()
11830 SDValue Scale = MSC->getScale(); in visitVPSCATTER()
11861 SDValue Scale = MSC->getScale(); in visitMSCATTER()
11990 SDValue Scale = MGT->getScale(); in visitVPGATHER()
12018 SDValue Scale = MGT->getScale(); in visitMGATHER()
14565 GN0->getBasePtr(), GN0->getIndex(), GN0->getScale()}; in visitSIGN_EXTEND_INREG()
H A DLegalizeIntegerTypes.cpp901 N->getIndex(), N->getScale() }; in PromoteIntRes_MGATHER()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.h1844 const SDValue &getScale() const { return getOperand(5); } in getScale() function
H A DX86ISelDAGToDAG.cpp6262 if (!selectVectorAddr(Mgt, Mgt->getBasePtr(), IndexOp, Mgt->getScale(), in Select()
6335 if (!selectVectorAddr(Sc, Sc->getBasePtr(), IndexOp, Sc->getScale(), in Select()
H A DX86ISelLowering.cpp31518 SDValue Scale = N->getScale(); in LowerMSCATTER()
31722 N->getScale() }; in LowerMGATHER()
33050 Gather->getBasePtr(), Index, Gather->getScale() }; in ReplaceNodeResults()
53330 SDValue Scale = GorS->getScale(); in combineGatherScatter()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp467 unsigned getScale() const { return Scale; } in getScale() function in __anon3fa02a340111::X86AsmParser::IntelExprStateMachine
2210 IntelExpr Expr(BaseRegStr, IndexRegStr, SM.getScale(), OffsetNameStr, in RewriteIntelExpression()
2592 unsigned Scale = SM.getScale(); in parseIntelOperand()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FrameLowering.cpp2763 unsigned getScale() const { in getScale() function
2899 int Scale = RPI.getScale(); in computeCalleeSaveRegisterPairs()
H A DAArch64ISelLowering.cpp5612 SDValue Scale = MGT->getScale(); in LowerMGATHER()
5711 SDValue Scale = MSC->getScale(); in LowerMSCATTER()
21649 while (foldIndexIntoBase(BasePtr, Index, N->getScale(), SDLoc(N), DAG)) in findMoreOptimalIndexType()
21723 SDValue Scale = MGS->getScale(); in performMaskedGatherScatterCombine()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterStmt.cpp730 Record.push_back(E->getScale()); in VisitFixedPointLiteral()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp15545 SDValue ScaleOp = MGN->getScale(); in PerformDAGCombine()
15644 SDValue ScaleOp = MSN->getScale(); in PerformDAGCombine()
15680 SDValue ScaleOp = VPGN->getScale(); in PerformDAGCombine()
15705 SDValue ScaleOp = VPSN->getScale(); in PerformDAGCombine()