Home
last modified time | relevance | path

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

/minix/external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeFloatTypes.cpp221 SDValue SignBit = DAG.getNode(ISD::SHL, dl, RVT, DAG.getConstant(1, RVT), in SoftenFloatRes_FCOPYSIGN() local
224 SignBit = DAG.getNode(ISD::AND, dl, RVT, RHS, SignBit); in SoftenFloatRes_FCOPYSIGN()
229 SignBit = DAG.getNode(ISD::SRL, dl, RVT, SignBit, in SoftenFloatRes_FCOPYSIGN()
231 TLI.getShiftAmountTy(SignBit.getValueType()))); in SoftenFloatRes_FCOPYSIGN()
232 SignBit = DAG.getNode(ISD::TRUNCATE, dl, LVT, SignBit); in SoftenFloatRes_FCOPYSIGN()
234 SignBit = DAG.getNode(ISD::ANY_EXTEND, dl, LVT, SignBit); in SoftenFloatRes_FCOPYSIGN()
235 SignBit = DAG.getNode(ISD::SHL, dl, LVT, SignBit, in SoftenFloatRes_FCOPYSIGN()
237 TLI.getShiftAmountTy(SignBit.getValueType()))); in SoftenFloatRes_FCOPYSIGN()
248 return DAG.getNode(ISD::OR, dl, LVT, LHS, SignBit); in SoftenFloatRes_FCOPYSIGN()
H A DLegalizeDAG.cpp1551 SDValue SignBit; in ExpandFCOPYSIGN() local
1556 SignBit = DAG.getNode(ISD::BITCAST, dl, IVT, Tmp2); in ExpandFCOPYSIGN()
1569 SignBit = DAG.getLoad(LoadTy, dl, Ch, StackPtr, MachinePointerInfo(), in ExpandFCOPYSIGN()
1580 SignBit = DAG.getLoad(LoadTy, dl, Ch, LoadPtr, MachinePointerInfo(), in ExpandFCOPYSIGN()
1587 SignBit = DAG.getNode(ISD::SHL, dl, LoadTy, SignBit, in ExpandFCOPYSIGN()
1589 TLI.getShiftAmountTy(SignBit.getValueType()))); in ExpandFCOPYSIGN()
1593 SignBit = DAG.getSetCC(dl, getSetCCResultType(SignBit.getValueType()), in ExpandFCOPYSIGN()
1594 SignBit, DAG.getConstant(0, SignBit.getValueType()), in ExpandFCOPYSIGN()
1600 return DAG.getSelect(dl, AbsVal.getValueType(), SignBit, in ExpandFCOPYSIGN()
2419 SDValue SignBit = DAG.getConstant(0x80000000u, MVT::i32); in ExpandLegalINT_TO_FP() local
[all …]
H A DTargetLowering.cpp768 APInt SignBit = APInt::getSignBit(BitWidth).lshr(ShAmt); in SimplifyDemandedBits() local
772 if (KnownZero.intersects(SignBit) || (HighBits & ~NewMask) == HighBits) in SimplifyDemandedBits()
787 if (KnownOne.intersects(SignBit)) in SimplifyDemandedBits()
H A DSelectionDAG.cpp2094 APInt SignBit = APInt::getSignBit(BitWidth); in computeKnownBits() local
2095 SignBit = SignBit.lshr(ShAmt); // Adjust to where it is now in the mask. in computeKnownBits()
2097 if (KnownZero.intersects(SignBit)) { in computeKnownBits()
2099 } else if (KnownOne.intersects(SignBit)) { in computeKnownBits()
H A DDAGCombiner.cpp6601 APInt SignBit = APInt::getSignBit(VT.getSizeInBits()); in visitBITCAST() local
6604 NewConv, DAG.getConstant(SignBit, VT)); in visitBITCAST()
6607 NewConv, DAG.getConstant(~SignBit, VT)); in visitBITCAST()
6640 APInt SignBit = APInt::getSignBit(VT.getSizeInBits()); in visitBITCAST() local
6642 X, DAG.getConstant(SignBit, VT)); in visitBITCAST()
6648 Cst, DAG.getConstant(~SignBit, VT)); in visitBITCAST()
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp744 APInt SignBit(APInt::getSignBit(BitWidth)); in SimplifyDemandedUseBits() local
746 SignBit = APIntOps::lshr(SignBit, ShiftAmt); in SimplifyDemandedUseBits()
757 } else if ((KnownOne & SignBit) != 0) { // New bits are known one. in SimplifyDemandedUseBits()
H A DInstCombineCompares.cpp1209 const APInt &SignBit = XorCst->getValue(); in visitICmpInstWithInstAndIntCst() local
1214 Builder->getInt(RHSV ^ SignBit)); in visitICmpInstWithInstAndIntCst()
/minix/external/bsd/llvm/dist/llvm/lib/Support/
H A DAPInt.cpp1054 unsigned SignBit = APINT_BITS_PER_WORD - BitWidth; in ashr() local
1056 (((int64_t(VAL) << SignBit) >> SignBit) >> shiftAmt)); in ashr()
/minix/external/bsd/llvm/dist/llvm/lib/Target/R600/
H A DAMDGPUISelLowering.cpp1933 SDValue SignBit = DAG.getNode(ISD::AND, SL, MVT::i32, Hi, SignBitMask); in LowerFTRUNC() local
1937 Zero, SignBit); in LowerFTRUNC()
/minix/external/bsd/llvm/dist/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp14639 SDValue SignBit = DAG.getNode(X86ISD::FAND, dl, SrcVT, Op1, Mask1); in LowerFCOPYSIGN() local
14647 return SignBit; in LowerFCOPYSIGN()
14665 return DAG.getNode(X86ISD::FOR, dl, VT, Val, SignBit); in LowerFCOPYSIGN()