Home
last modified time | relevance | path

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

/freebsd-9-stable/contrib/llvm/lib/CodeGen/SelectionDAG/
DLegalizeFloatTypes.cpp191 SDValue SignBit = DAG.getNode(ISD::SHL, dl, RVT, DAG.getConstant(1, RVT), in SoftenFloatRes_FCOPYSIGN() local
194 SignBit = DAG.getNode(ISD::AND, dl, RVT, RHS, SignBit); in SoftenFloatRes_FCOPYSIGN()
199 SignBit = DAG.getNode(ISD::SRL, dl, RVT, SignBit, in SoftenFloatRes_FCOPYSIGN()
201 TLI.getShiftAmountTy(SignBit.getValueType()))); in SoftenFloatRes_FCOPYSIGN()
202 SignBit = DAG.getNode(ISD::TRUNCATE, dl, LVT, SignBit); in SoftenFloatRes_FCOPYSIGN()
204 SignBit = DAG.getNode(ISD::ANY_EXTEND, dl, LVT, SignBit); in SoftenFloatRes_FCOPYSIGN()
205 SignBit = DAG.getNode(ISD::SHL, dl, LVT, SignBit, in SoftenFloatRes_FCOPYSIGN()
207 TLI.getShiftAmountTy(SignBit.getValueType()))); in SoftenFloatRes_FCOPYSIGN()
218 return DAG.getNode(ISD::OR, dl, LVT, LHS, SignBit); in SoftenFloatRes_FCOPYSIGN()
DLegalizeDAG.cpp1507 SDValue SignBit; in ExpandFCOPYSIGN() local
1512 SignBit = DAG.getNode(ISD::BITCAST, dl, IVT, Tmp2); in ExpandFCOPYSIGN()
1525 SignBit = DAG.getLoad(LoadTy, dl, Ch, StackPtr, MachinePointerInfo(), in ExpandFCOPYSIGN()
1537 SignBit = DAG.getLoad(LoadTy, dl, Ch, LoadPtr, MachinePointerInfo(), in ExpandFCOPYSIGN()
1544 SignBit = DAG.getNode(ISD::SHL, dl, LoadTy, SignBit, in ExpandFCOPYSIGN()
1546 TLI.getShiftAmountTy(SignBit.getValueType()))); in ExpandFCOPYSIGN()
1550 SignBit = DAG.getSetCC(dl, getSetCCResultType(SignBit.getValueType()), in ExpandFCOPYSIGN()
1551 SignBit, DAG.getConstant(0, SignBit.getValueType()), in ExpandFCOPYSIGN()
1557 return DAG.getSelect(dl, AbsVal.getValueType(), SignBit, in ExpandFCOPYSIGN()
2274 SDValue SignBit = DAG.getConstant(0x80000000u, MVT::i32); in ExpandLegalINT_TO_FP() local
[all …]
DTargetLowering.cpp762 APInt SignBit = APInt::getSignBit(BitWidth).lshr(ShAmt); in SimplifyDemandedBits() local
766 if (KnownZero.intersects(SignBit) || (HighBits & ~NewMask) == HighBits) in SimplifyDemandedBits()
781 if (KnownOne.intersects(SignBit)) in SimplifyDemandedBits()
DSelectionDAG.cpp1949 APInt SignBit = APInt::getSignBit(BitWidth); in ComputeMaskedBits() local
1950 SignBit = SignBit.lshr(ShAmt); // Adjust to where it is now in the mask. in ComputeMaskedBits()
1952 if (KnownZero.intersects(SignBit)) { in ComputeMaskedBits()
1954 } else if (KnownOne.intersects(SignBit)) { in ComputeMaskedBits()
DDAGCombiner.cpp5770 APInt SignBit = APInt::getSignBit(VT.getSizeInBits()); in visitBITCAST() local
5773 NewConv, DAG.getConstant(SignBit, VT)); in visitBITCAST()
5776 NewConv, DAG.getConstant(~SignBit, VT)); in visitBITCAST()
5809 APInt SignBit = APInt::getSignBit(VT.getSizeInBits()); in visitBITCAST() local
5811 X, DAG.getConstant(SignBit, VT)); in visitBITCAST()
5817 Cst, DAG.getConstant(~SignBit, VT)); in visitBITCAST()
/freebsd-9-stable/contrib/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp697 APInt SignBit(APInt::getSignBit(BitWidth)); in SimplifyDemandedUseBits() local
699 SignBit = APIntOps::lshr(SignBit, ShiftAmt); in SimplifyDemandedUseBits()
710 } else if ((KnownOne & SignBit) != 0) { // New bits are known one. in SimplifyDemandedUseBits()
DInstCombineCompares.cpp1114 const APInt &SignBit = XorCST->getValue(); in visitICmpInstWithInstAndIntCst() local
1119 Builder->getInt(RHSV ^ SignBit)); in visitICmpInstWithInstAndIntCst()
/freebsd-9-stable/contrib/llvm/lib/Support/
DAPInt.cpp1049 unsigned SignBit = APINT_BITS_PER_WORD - BitWidth; in ashr() local
1051 (((int64_t(VAL) << SignBit) >> SignBit) >> shiftAmt)); in ashr()
/freebsd-9-stable/contrib/llvm/lib/Target/X86/
DX86ISelLowering.cpp9298 SDValue SignBit = DAG.getNode(X86ISD::FAND, dl, SrcVT, Op1, Mask1); in LowerFCOPYSIGN() local
9303 SignBit = DAG.getNode(ISD::SCALAR_TO_VECTOR, dl, MVT::v2f64, SignBit); in LowerFCOPYSIGN()
9304 SignBit = DAG.getNode(X86ISD::FSRL, dl, MVT::v2f64, SignBit, in LowerFCOPYSIGN()
9306 SignBit = DAG.getNode(ISD::BITCAST, dl, MVT::v4f32, SignBit); in LowerFCOPYSIGN()
9307 SignBit = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, MVT::f32, SignBit, in LowerFCOPYSIGN()
9334 return DAG.getNode(X86ISD::FOR, dl, VT, Val, SignBit); in LowerFCOPYSIGN()