Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/
H A DFixedPoint.cpp22 unsigned DstScale = DstSema.getScale(); in convert()
23 bool Upscaling = DstScale > getScale(); in convert()
26 NewVal = NewVal.extend(NewVal.getBitWidth() + DstScale - getScale()); in convert()
27 NewVal <<= (DstScale - getScale()); in convert()
29 NewVal >>= (getScale() - DstScale); in convert()
56 unsigned OtherScale = Other.getScale(); in compare()
62 CommonWidth += getScale() >= OtherScale ? getScale() - OtherScale in compare()
63 : OtherScale - getScale(); in compare()
68 unsigned CommonScale = std::max(getScale(), OtherScale); in compare()
69 ThisVal = ThisVal.shl(CommonScale - getScale()); in compare()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DFixedPoint.h42 unsigned getScale() const { return Scale; } in getScale() function
88 inline unsigned getScale() const { return Sema.getScale(); } in getScale() function
106 return -(-Val >> getScale()); in getIntPart()
108 return Val >> getScale(); in getIntPart()
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DScaledNumber.h534 int16_t getScale() const { return Scale; } in getScale() function
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp1412 SDValue Scale = MGT->getScale(); in SplitVecRes_MGATHER()
1993 SDValue Scale = MGT->getScale(); in SplitVecOp_MGATHER()
2121 SDValue Scale = N->getScale(); in SplitVecOp_MSCATTER()
3320 SDValue Scale = N->getScale(); in WidenVecRes_MGATHER()
3979 SDValue Scale = MG->getScale(); in WidenVecOp_MGATHER()
3999 SDValue Scale = MSC->getScale(); in WidenVecOp_MSCATTER()
H A DSelectionDAG.cpp6958 assert(isa<ConstantSDNode>(N->getScale()) && in getMaskedGather()
6959 cast<ConstantSDNode>(N->getScale())->getAPIntValue().isPowerOf2() && in getMaskedGather()
6995 assert(isa<ConstantSDNode>(N->getScale()) && in getMaskedScatter()
6996 cast<ConstantSDNode>(N->getScale())->getAPIntValue().isPowerOf2() && in getMaskedScatter()
H A DLegalizeIntegerTypes.cpp573 N->getIndex(), N->getScale() }; in PromoteIntRes_MGATHER()
H A DDAGCombiner.cpp7638 SDValue Scale = MSC->getScale(); in visitMSCATTER()
7770 SDValue Scale = MGT->getScale(); in visitMGATHER()
/freebsd-12.1/contrib/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp357 unsigned getScale() { return Scale; } in getScale() function in __anon3be435310111::X86AsmParser::IntelExprStateMachine
1597 IntelExpr Expr(BaseRegStr, IndexRegStr, SM.getScale(), SM.getImm(), SM.isMemExpr()); in RewriteIntelExpression()
1894 unsigned Scale = SM.getScale(); in ParseIntelOperand()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86ISelLowering.h1509 const SDValue &getScale() const { return getOperand(5); } in getScale() function
H A DX86ISelDAGToDAG.cpp1885 AM.Scale = cast<ConstantSDNode>(Mgs->getScale())->getZExtValue(); in selectVectorAddr()
H A DX86ISelLowering.cpp25915 SDValue Scale = N->getScale(); in LowerMSCATTER()
26127 N->getScale() }; in LowerMGATHER()
26998 Gather->getBasePtr(), Index, Gather->getScale() }; in ReplaceNodeResults()
27025 Gather->getBasePtr(), Index, Gather->getScale() }; in ReplaceNodeResults()
27047 Gather->getBasePtr(), Index, Gather->getScale() }; in ReplaceNodeResults()
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h2241 const SDValue &getScale() const { return getOperand(5); }
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExprScalar.cpp1439 unsigned SrcScale = SrcFPSema.getScale(); in EmitFixedPointConversion()
1440 unsigned DstScale = DstFPSema.getScale(); in EmitFixedPointConversion()