Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp23 unsigned DstScale = DstSema.getScale(); in convert()
24 bool Upscaling = DstScale > getScale(); in convert()
30 NewVal <<= (DstScale - getScale()); in convert()
32 NewVal >>= (getScale() - DstScale); in convert()
69 unsigned OtherScale = Other.getScale(); in compare()
75 CommonWidth += getScale() >= OtherScale ? getScale() - OtherScale in compare()
82 ThisVal = ThisVal.shl(CommonScale - getScale()); in compare()
153 unsigned CommonScale = std::max(getScale(), Other.getScale()); in getCommonSemantics()
253 .ashr(CommonFXSema.getScale()); in mul()
302 ThisVal = ThisVal.shl(CommonFXSema.getScale()); in div()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFixedPoint.h45 unsigned getScale() const { return Scale; } in getScale() function
116 inline unsigned getScale() const { return Sema.getScale(); } in getScale() function
158 return -(-Val >> getScale()); in getIntPart()
160 return Val >> getScale(); in getIntPart()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DFixedPointBuilder.h37 unsigned SrcScale = SrcSema.getScale(); in Convert()
38 unsigned DstScale = DstSema.getScale(); in Convert()
119 C.getWidth() + (unsigned)(BothPadded && C.isSaturated()), C.getScale(), in getCommonBinopSemantic()
183 ConstantFP::get(OpTy, std::pow(2, -(int)SrcSema.getScale()))); in CreateFixedToFloating()
198 ConstantFP::get(OpTy, std::pow(2, DstSema.getScale()))); in CreateFloatingToFixed()
302 {WideLHS, WideRHS, B.getInt32(CommonSema.getScale())}); in CreateMul()
330 {WideLHS, WideRHS, B.getInt32(CommonSema.getScale())}); in CreateDiv()
/freebsd-13.1/contrib/llvm-project/clang/utils/TableGen/
H A DRISCVVEmitter.cpp39 Optional<unsigned> getScale(unsigned ElementBitwidth) const;
275 VScaleVal LMULType::getScale(unsigned ElementBitwidth) const { in getScale() function in LMULType
607 Scale = LMUL.getScale(ElementBitwidth); in applyModifier()
612 Scale = LMUL.getScale(ElementBitwidth); in applyModifier()
617 Scale = LMUL.getScale(ElementBitwidth); in applyModifier()
622 Scale = LMUL.getScale(ElementBitwidth); in applyModifier()
626 Scale = LMUL.getScale(ElementBitwidth); in applyModifier()
659 Scale = LMUL.getScale(ElementBitwidth); in applyModifier()
745 Scale = LMUL.getScale(ElementBitwidth); in applyModifier()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DAbstractBasicWriter.h170 asImpl().writeUInt32(sema.getScale()); in writeFixedPointSemantics()
H A DExpr.h1553 unsigned getScale() const { return Scale; } in getScale() function
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DScaledNumber.h533 int16_t getScale() const { return Scale; } in getScale() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.h1689 const SDValue &getScale() const { return getOperand(5); } in getScale() function
H A DX86ISelDAGToDAG.cpp5794 if (!selectVectorAddr(Mgt, Mgt->getBasePtr(), IndexOp, Mgt->getScale(), in Select()
5867 if (!selectVectorAddr(Sc, Sc->getBasePtr(), IndexOp, Sc->getScale(), in Select()
H A DX86ISelLowering.cpp30166 SDValue Scale = N->getScale(); in LowerMSCATTER()
30366 N->getScale() }; in LowerMGATHER()
31423 Gather->getBasePtr(), Index, Gather->getScale() }; in ReplaceNodeResults()
48934 SDValue Scale = GorS->getScale(); in combineGatherScatter()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp1827 SDValue Scale = MGT->getScale(); in SplitVecRes_MGATHER()
2518 SDValue Scale = MGT->getScale(); in SplitVecOp_MGATHER()
2662 SDValue Scale = N->getScale(); in SplitVecOp_MSCATTER()
4087 SDValue Scale = N->getScale(); in WidenVecRes_MGATHER()
4947 SDValue Scale = MG->getScale(); in WidenVecOp_MGATHER()
4968 SDValue Scale = MSC->getScale(); in WidenVecOp_MSCATTER()
H A DSelectionDAG.cpp7750 assert(isa<ConstantSDNode>(N->getScale()) && in getMaskedGather()
7751 cast<ConstantSDNode>(N->getScale())->getAPIntValue().isPowerOf2() && in getMaskedGather()
7796 assert(isa<ConstantSDNode>(N->getScale()) && in getMaskedScatter()
7797 cast<ConstantSDNode>(N->getScale())->getAPIntValue().isPowerOf2() && in getMaskedScatter()
H A DDAGCombiner.cpp5841 GN0->getBasePtr(), GN0->getIndex(), GN0->getScale()}; in visitAND()
9755 SDValue Scale = MSC->getScale(); in visitMSCATTER()
9811 SDValue Scale = MGT->getScale(); in visitMGATHER()
12158 GN0->getBasePtr(), GN0->getIndex(), GN0->getScale()}; in visitSIGN_EXTEND_INREG()
H A DLegalizeIntegerTypes.cpp728 N->getIndex(), N->getScale() }; in PromoteIntRes_MGATHER()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp461 unsigned getScale() const { return Scale; } in getScale() function in __anonac1ae4a00111::X86AsmParser::IntelExprStateMachine
2174 IntelExpr Expr(BaseRegStr, IndexRegStr, SM.getScale(), OffsetNameStr, in RewriteIntelExpression()
2554 unsigned Scale = SM.getScale(); in ParseIntelOperand()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FrameLowering.cpp2229 unsigned getScale() const { in getScale() function
2372 int Scale = RPI.getScale(); in computeCalleeSaveRegisterPairs()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h2464 const SDValue &getScale() const { return getOperand(5); }
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterStmt.cpp661 Record.push_back(E->getScale()); in VisitFixedPointLiteral()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp6278 MGSN->getBasePtr(), Index, MGN->getScale()}, in PerformDAGCombine()
6285 Index, MGSN->getScale()}, in PerformDAGCombine()