Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DAPFixedPoint.cpp23 unsigned DstScale = DstSema.getScale(); in convert()
24 bool Upscaling = DstScale > getScale(); in convert()
29 NewVal = NewVal.extend(NewVal.getBitWidth() + 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()
76 : OtherScale - getScale(); in compare()
81 unsigned CommonScale = std::max(getScale(), OtherScale); in compare()
82 ThisVal = ThisVal.shl(CommonScale - getScale()); in compare()
[all …]
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/utils/TableGen/
H A DRISCVVEmitter.cpp39 Optional<unsigned> getScale(unsigned ElementBitwidth) const;
271 VScaleVal LMULType::getScale(unsigned ElementBitwidth) const { in getScale() function in LMULType
596 Scale = LMUL.getScale(ElementBitwidth); in applyModifier()
601 Scale = LMUL.getScale(ElementBitwidth); in applyModifier()
606 Scale = LMUL.getScale(ElementBitwidth); in applyModifier()
611 Scale = LMUL.getScale(ElementBitwidth); in applyModifier()
615 Scale = LMUL.getScale(ElementBitwidth); in applyModifier()
648 Scale = LMUL.getScale(ElementBitwidth); in applyModifier()
734 Scale = LMUL.getScale(ElementBitwidth); in applyModifier()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DAbstractBasicWriter.h170 asImpl().writeUInt32(sema.getScale()); in writeFixedPointSemantics()
H A DExpr.h1556 unsigned getScale() const { return Scale; } in getScale() function
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DScaledNumber.h533 int16_t getScale() const { return Scale; } in getScale() function
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86ISelLowering.h1689 const SDValue &getScale() const { return getOperand(5); } in getScale() function
H A DX86ISelDAGToDAG.cpp5788 if (!selectVectorAddr(Mgt, Mgt->getBasePtr(), IndexOp, Mgt->getScale(), in Select()
5861 if (!selectVectorAddr(Sc, Sc->getBasePtr(), IndexOp, Sc->getScale(), in Select()
H A DX86ISelLowering.cpp29987 SDValue Scale = N->getScale(); in LowerMSCATTER()
30187 N->getScale() }; in LowerMGATHER()
31230 Gather->getBasePtr(), Index, Gather->getScale() }; in ReplaceNodeResults()
48614 SDValue Scale = GorS->getScale(); in combineGatherScatter()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp1824 SDValue Scale = MGT->getScale(); in SplitVecRes_MGATHER()
2515 SDValue Scale = MGT->getScale(); in SplitVecOp_MGATHER()
2659 SDValue Scale = N->getScale(); in SplitVecOp_MSCATTER()
4082 SDValue Scale = N->getScale(); in WidenVecRes_MGATHER()
4937 SDValue Scale = MG->getScale(); in WidenVecOp_MGATHER()
4958 SDValue Scale = MSC->getScale(); in WidenVecOp_MSCATTER()
H A DSelectionDAG.cpp7665 assert(isa<ConstantSDNode>(N->getScale()) && in getMaskedGather()
7666 cast<ConstantSDNode>(N->getScale())->getAPIntValue().isPowerOf2() && in getMaskedGather()
7711 assert(isa<ConstantSDNode>(N->getScale()) && in getMaskedScatter()
7712 cast<ConstantSDNode>(N->getScale())->getAPIntValue().isPowerOf2() && in getMaskedScatter()
H A DDAGCombiner.cpp5811 GN0->getBasePtr(), GN0->getIndex(), GN0->getScale()}; in visitAND()
9669 SDValue Scale = MSC->getScale(); in visitMSCATTER()
9725 SDValue Scale = MGT->getScale(); in visitMGATHER()
11960 GN0->getBasePtr(), GN0->getIndex(), GN0->getScale()}; in visitSIGN_EXTEND_INREG()
H A DLegalizeIntegerTypes.cpp724 N->getIndex(), N->getScale() }; in PromoteIntRes_MGATHER()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp461 unsigned getScale() const { return Scale; } in getScale() function in __anon301d74170111::X86AsmParser::IntelExprStateMachine
2174 IntelExpr Expr(BaseRegStr, IndexRegStr, SM.getScale(), OffsetNameStr, in RewriteIntelExpression()
2554 unsigned Scale = SM.getScale(); in ParseIntelOperand()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64FrameLowering.cpp2222 unsigned getScale() const { in getScale() function
2365 int Scale = RPI.getScale(); in computeCalleeSaveRegisterPairs()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h2452 const SDValue &getScale() const { return getOperand(5); }
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTWriterStmt.cpp650 Record.push_back(E->getScale()); in VisitFixedPointLiteral()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp5912 MGSN->getBasePtr(), Index, MGN->getScale()}, in PerformDAGCombine()
5919 Index, MGSN->getScale()}, in PerformDAGCombine()