Home
last modified time | relevance | path

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

/src/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()
/src/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()
/src/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(); }
/src/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
/src/contrib/llvm-project/llvm/lib/Target/VE/
H A DVECustomDAG.cpp326 return N->getScale(); in getGatherScatterScale()
328 return N->getScale(); in getGatherScatterScale()
/src/contrib/llvm-project/clang/include/clang/AST/
H A DAbstractBasicWriter.h167 asImpl().writeUInt32(sema.getScale()); in writeFixedPointSemantics()
H A DExpr.h1571 unsigned getScale() const { return Scale; } in getScale() function
/src/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h2822 return !cast<ConstantSDNode>(getScale())->isOne();
2836 const SDValue &getScale() const {
2906 return !cast<ConstantSDNode>(getScale())->isOne();
2917 const SDValue &getScale() const { return getOperand(5); }
2995 const SDValue &getScale() const { return getOperand(5); }
/src/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp24 OS << "scale=" << getScale() << ", "; in print()
/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaRISCV.cpp144 QT = Context.getScalableVectorType(QT, *Type->getScale(), Type->getNF()); in RVVType2Qual()
146 QT = Context.getScalableVectorType(QT, *Type->getScale()); in RVVType2Qual()
H A DSemaTemplate.cpp7425 Val.getFixedPoint().getScale()); in BuildExpressionFromNonTypeTemplateArgumentValue()
/src/contrib/llvm-project/llvm/include/llvm/Support/
H A DScaledNumber.h534 int16_t getScale() const { return Scale; } in getScale() function
/src/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp2334 return {MSC->getMask(), MSC->getIndex(), MSC->getScale()}; in SplitVecRes_Gather()
2337 return {VPSC->getMask(), VPSC->getIndex(), VPSC->getScale()}; in SplitVecRes_Gather()
3866 return {MSC->getMask(), MSC->getIndex(), MSC->getScale(), in SplitVecOp_Scatter()
3870 return {VPSC->getMask(), VPSC->getIndex(), VPSC->getScale(), in SplitVecOp_Scatter()
5831 SDValue Scale = N->getScale(); in WidenVecRes_MGATHER()
5866 SDValue Scale = N->getScale(); in WidenVecRes_VP_GATHER()
7017 SDValue Scale = MG->getScale(); in WidenVecOp_MGATHER()
7038 SDValue Scale = MSC->getScale(); in WidenVecOp_MSCATTER()
7078 SDValue Scale = VPSC->getScale(); in WidenVecOp_VP_SCATTER()
H A DSelectionDAG.cpp9569 assert(isa<ConstantSDNode>(N->getScale()) && in getGatherVP()
9570 N->getScale()->getAsAPIntVal().isPowerOf2() && in getGatherVP()
9613 assert(isa<ConstantSDNode>(N->getScale()) && in getScatterVP()
9614 N->getScale()->getAsAPIntVal().isPowerOf2() && in getScatterVP()
9755 assert(isa<ConstantSDNode>(N->getScale()) && in getMaskedGather()
9756 N->getScale()->getAsAPIntVal().isPowerOf2() && in getMaskedGather()
9801 assert(isa<ConstantSDNode>(N->getScale()) && in getMaskedScatter()
9802 N->getScale()->getAsAPIntVal().isPowerOf2() && in getMaskedScatter()
9838 assert(isa<ConstantSDNode>(N->getScale()) && in getMaskedHistogram()
9839 N->getScale()->getAsAPIntVal().isPowerOf2() && in getMaskedHistogram()
H A DDAGCombiner.cpp7215 GN0->getBasePtr(), GN0->getIndex(), GN0->getScale()}; in visitAND()
11898 SDValue Scale = MSC->getScale(); in visitVPSCATTER()
11929 SDValue Scale = MSC->getScale(); in visitMSCATTER()
12107 SDValue Scale = MGT->getScale(); in visitVPGATHER()
12135 SDValue Scale = MGT->getScale(); in visitMGATHER()
14824 GN0->getBasePtr(), GN0->getIndex(), GN0->getScale()}; in visitSIGN_EXTEND_INREG()
H A DLegalizeIntegerTypes.cpp990 N->getIndex(), N->getScale() }; in PromoteIntRes_MGATHER()
/src/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.h1859 const SDValue &getScale() const { return getOperand(5); } in getScale() function
H A DX86ISelDAGToDAG.cpp6405 if (!selectVectorAddr(Mgt, Mgt->getBasePtr(), IndexOp, Mgt->getScale(), in Select()
6478 if (!selectVectorAddr(Sc, Sc->getBasePtr(), IndexOp, Sc->getScale(), in Select()
H A DX86ISelLowering.cpp31968 SDValue Scale = N->getScale(); in LowerMSCATTER()
32172 N->getScale() }; in LowerMGATHER()
33586 Gather->getBasePtr(), Index, Gather->getScale() }; in ReplaceNodeResults()
54674 SDValue Scale = GorS->getScale(); in combineGatherScatter()
/src/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp473 unsigned getScale() const { return Scale; } in getScale() function in __anonab35d7a10111::X86AsmParser::IntelExprStateMachine
2215 IntelExpr Expr(BaseRegStr, IndexRegStr, SM.getScale(), OffsetNameStr, in RewriteIntelExpression()
2658 unsigned Scale = SM.getScale(); in parseIntelOperand()
/src/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FrameLowering.cpp2923 unsigned getScale() const { in getScale() function
3075 int Scale = RPI.getScale(); in computeCalleeSaveRegisterPairs()
H A DAArch64ISelLowering.cpp6195 SDValue Scale = MGT->getScale(); in LowerMGATHER()
6294 SDValue Scale = MSC->getScale(); in LowerMSCATTER()
23083 while (foldIndexIntoBase(BasePtr, Index, N->getScale(), SDLoc(N), DAG)) in findMoreOptimalIndexType()
23157 SDValue Scale = MGS->getScale(); in performMaskedGatherScatterCombine()
27974 SDValue Scale = HG->getScale(); in LowerVECTOR_HISTOGRAM()
/src/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterStmt.cpp728 Record.push_back(E->getScale()); in VisitFixedPointLiteral()
/src/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp17066 SDValue ScaleOp = MGN->getScale(); in PerformDAGCombine()
17166 SDValue ScaleOp = MSN->getScale(); in PerformDAGCombine()
17202 SDValue ScaleOp = VPGN->getScale(); in PerformDAGCombine()
17227 SDValue ScaleOp = VPSN->getScale(); in PerformDAGCombine()