Home
last modified time | relevance | path

Searched refs:SignBit (Results 1 – 10 of 10) sorted by relevance

/NextBSD/contrib/llvm/lib/CodeGen/SelectionDAG/
HDLegalizeFloatTypes.cpp221 SDValue SignBit = DAG.getNode( in SoftenFloatRes_FCOPYSIGN() local
225 SignBit = DAG.getNode(ISD::AND, dl, RVT, RHS, SignBit); in SoftenFloatRes_FCOPYSIGN()
230 SignBit = in SoftenFloatRes_FCOPYSIGN()
231 DAG.getNode(ISD::SRL, dl, RVT, SignBit, in SoftenFloatRes_FCOPYSIGN()
233 TLI.getShiftAmountTy(SignBit.getValueType(), in SoftenFloatRes_FCOPYSIGN()
235 SignBit = DAG.getNode(ISD::TRUNCATE, dl, LVT, SignBit); in SoftenFloatRes_FCOPYSIGN()
237 SignBit = DAG.getNode(ISD::ANY_EXTEND, dl, LVT, SignBit); in SoftenFloatRes_FCOPYSIGN()
238 SignBit = in SoftenFloatRes_FCOPYSIGN()
239 DAG.getNode(ISD::SHL, dl, LVT, SignBit, in SoftenFloatRes_FCOPYSIGN()
241 TLI.getShiftAmountTy(SignBit.getValueType(), in SoftenFloatRes_FCOPYSIGN()
[all …]
HDLegalizeDAG.cpp1578 SDValue SignBit; in ExpandFCOPYSIGN() local
1583 SignBit = DAG.getNode(ISD::BITCAST, dl, IVT, Tmp2); in ExpandFCOPYSIGN()
1597 SignBit = DAG.getLoad(LoadTy, dl, Ch, StackPtr, MachinePointerInfo(), in ExpandFCOPYSIGN()
1609 SignBit = DAG.getLoad(LoadTy, dl, Ch, LoadPtr, MachinePointerInfo(), in ExpandFCOPYSIGN()
1616 SignBit = DAG.getNode( in ExpandFCOPYSIGN()
1617 ISD::SHL, dl, LoadTy, SignBit, in ExpandFCOPYSIGN()
1619 TLI.getShiftAmountTy(SignBit.getValueType(), DL))); in ExpandFCOPYSIGN()
1623 SignBit = DAG.getSetCC(dl, getSetCCResultType(SignBit.getValueType()), in ExpandFCOPYSIGN()
1624 SignBit, in ExpandFCOPYSIGN()
1625 DAG.getConstant(0, dl, SignBit.getValueType()), in ExpandFCOPYSIGN()
[all …]
HDTargetLowering.cpp784 APInt SignBit = APInt::getSignBit(BitWidth).lshr(ShAmt); in SimplifyDemandedBits() local
788 if (KnownZero.intersects(SignBit) || (HighBits & ~NewMask) == HighBits) { in SimplifyDemandedBits()
806 if (KnownOne.intersects(SignBit)) in SimplifyDemandedBits()
HDSelectionDAG.cpp2195 APInt SignBit = APInt::getSignBit(BitWidth); in computeKnownBits() local
2196 SignBit = SignBit.lshr(ShAmt); // Adjust to where it is now in the mask. in computeKnownBits()
2198 if (KnownZero.intersects(SignBit)) { in computeKnownBits()
2200 } else if (KnownOne.intersects(SignBit)) { in computeKnownBits()
HDDAGCombiner.cpp7186 APInt SignBit = APInt::getSignBit(VT.getSizeInBits()); in visitBITCAST() local
7189 NewConv, DAG.getConstant(SignBit, DL, VT)); in visitBITCAST()
7192 NewConv, DAG.getConstant(~SignBit, DL, VT)); in visitBITCAST()
7227 APInt SignBit = APInt::getSignBit(VT.getSizeInBits()); in visitBITCAST() local
7229 X, DAG.getConstant(SignBit, SDLoc(X), VT)); in visitBITCAST()
7235 Cst, DAG.getConstant(~SignBit, SDLoc(Cst), VT)); in visitBITCAST()
/NextBSD/contrib/llvm/lib/Transforms/InstCombine/
HDInstCombineSimplifyDemanded.cpp656 APInt SignBit(APInt::getSignBit(BitWidth)); in SimplifyDemandedUseBits() local
658 SignBit = APIntOps::lshr(SignBit, ShiftAmt); in SimplifyDemandedUseBits()
669 } else if ((KnownOne & SignBit) != 0) { // New bits are known one. in SimplifyDemandedUseBits()
HDInstCombineCompares.cpp1200 const APInt &SignBit = XorCst->getValue(); in visitICmpInstWithInstAndIntCst() local
1205 Builder->getInt(RHSV ^ SignBit)); in visitICmpInstWithInstAndIntCst()
/NextBSD/contrib/llvm/lib/Support/
HDAPInt.cpp1062 unsigned SignBit = APINT_BITS_PER_WORD - BitWidth; in ashr() local
1064 (((int64_t(VAL) << SignBit) >> SignBit) >> shiftAmt)); in ashr()
/NextBSD/contrib/llvm/lib/Target/AMDGPU/
HDAMDGPUISelLowering.cpp2009 SDValue SignBit = DAG.getNode(ISD::AND, SL, MVT::i32, Hi, SignBitMask); in LowerFTRUNC() local
2013 Zero, SignBit); in LowerFTRUNC()
/NextBSD/contrib/llvm/lib/Target/X86/
HDX86ISelLowering.cpp12745 SDValue SignBit = DAG.getNode(X86ISD::FAND, dl, LogicVT, Op1, Mask1); in LowerFCOPYSIGN() local
12753 return DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, SrcVT, SignBit, in LowerFCOPYSIGN()
12773 Val = DAG.getNode(X86ISD::FOR, dl, LogicVT, Val, SignBit); in LowerFCOPYSIGN()