Home
last modified time | relevance | path

Searched refs:getSignBit (Results 1 – 25 of 27) sorted by relevance

12

/external/swiftshader/third_party/LLVM/lib/Analysis/
DValueTracking.cpp450 KnownZero |= APInt::getSignBit(BitWidth); in ComputeMaskedBits()
453 KnownOne |= APInt::getSignBit(BitWidth); in ComputeMaskedBits()
457 KnownZero |= APInt::getSignBit(BitWidth); in ComputeMaskedBits()
460 KnownOne |= APInt::getSignBit(BitWidth); in ComputeMaskedBits()
472 APInt Mask2 = LowBits | APInt::getSignBit(BitWidth); in ComputeMaskedBits()
500 APInt Mask2 = APInt::getSignBit(BitWidth); in ComputeMaskedBits()
705 ComputeMaskedBits(V, APInt::getSignBit(BitWidth), ZeroBits, OneBits, TD, in ComputeSignBit()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp665 APInt SignBit(APInt::getSignBit(BitWidth)); in SimplifyDemandedUseBits()
694 APInt Mask2 = LowBits | APInt::getSignBit(BitWidth); in SimplifyDemandedUseBits()
720 APInt Mask2 = APInt::getSignBit(BitWidth); in SimplifyDemandedUseBits()
DInstCombineMulDivRem.cpp536 APInt Mask(APInt::getSignBit(I.getType()->getPrimitiveSizeInBits())); in visitSDiv()
679 APInt Mask(APInt::getSignBit(I.getType()->getPrimitiveSizeInBits())); in visitSRem()
DInstCombineShifts.cpp752 APInt::getSignBit(I.getType()->getScalarSizeInBits()))) in visitAShr()
DInstCombineCalls.cpp395 APInt Mask = APInt::getSignBit(BitWidth); in visitCallInst()
DInstCombineCompares.cpp1743 return APInt::getSignBit(BitWidth); in DemandedBitsLHSMask()
/external/swiftshader/third_party/LLVM/include/llvm/
DDerivedTypes.h71 uint64_t getSignBit() const { in getSignBit() function
/external/llvm/include/llvm/IR/
DDerivedTypes.h72 uint64_t getSignBit() const { in getSignBit() function
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp655 APInt SignBit(APInt::getSignBit(BitWidth)); in SimplifyDemandedUseBits()
685 APInt Mask2 = LowBits | APInt::getSignBit(BitWidth); in SimplifyDemandedUseBits()
DInstCombineMulDivRem.cpp1189 APInt Mask(APInt::getSignBit(I.getType()->getPrimitiveSizeInBits())); in visitSDiv()
1479 APInt Mask(APInt::getSignBit(I.getType()->getPrimitiveSizeInBits())); in visitSRem()
DInstCombineShifts.cpp826 APInt::getSignBit(I.getType()->getScalarSizeInBits()), in visitAShr()
DInstCombineSelect.cpp558 APInt MinSignedValue = APInt::getSignBit(BitWidth); in visitSelectInstWithICmp()
DInstCombineAndOrXor.cpp543 Y = ConstantInt::get(I->getContext(), APInt::getSignBit(C->getBitWidth())); in decomposeBitTestICmp()
550 Y = ConstantInt::get(I->getContext(), APInt::getSignBit(C->getBitWidth())); in decomposeBitTestICmp()
DInstCombineCompares.cpp2912 return APInt::getSignBit(BitWidth); in DemandedBitsLHSMask()
/external/llvm/lib/Analysis/
DValueTracking.cpp305 KnownZero |= APInt::getSignBit(BitWidth); in computeKnownBitsAddSub()
309 KnownOne |= APInt::getSignBit(BitWidth); in computeKnownBitsAddSub()
719 KnownZero |= APInt::getSignBit(BitWidth); in computeKnownBitsFromAssume()
730 KnownZero |= APInt::getSignBit(BitWidth); in computeKnownBitsFromAssume()
741 KnownOne |= APInt::getSignBit(BitWidth); in computeKnownBitsFromAssume()
752 KnownOne |= APInt::getSignBit(BitWidth); in computeKnownBitsFromAssume()
DInstructionSimplify.cpp3407 APInt MinSignedValue = APInt::getSignBit(BitWidth); in SimplifySelectInst()
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp826 InDemandedMask |= APInt::getSignBit(VT.getScalarType().getSizeInBits()); in SimplifyDemandedBits()
836 APInt SignBit = APInt::getSignBit(BitWidth).lshr(ShAmt); in SimplifyDemandedBits()
902 APInt::getSignBit(ExVT.getScalarType().getSizeInBits()).zext(BitWidth); in SimplifyDemandedBits()
1112 NewMask == APInt::getSignBit(Op.getValueType().getSizeInBits()) && in SimplifyDemandedBits()
3102 SDValue SignMask = DAG.getConstant(APInt::getSignBit(VT.getSizeInBits()), dl, in expandFP_TO_SINT()
DDAGCombiner.cpp7364 SignMask = ~APInt::getSignBit(SourceVT.getSizeInBits()); in foldBitcastedFPLogic()
7368 SignMask = APInt::getSignBit(SourceVT.getSizeInBits()); in foldBitcastedFPLogic()
7477 APInt::getSignBit(VT.getSizeInBits() / 2), SDLoc(N0), MVT::i64); in visitBITCAST()
7497 APInt SignBit = APInt::getSignBit(VT.getSizeInBits()); in visitBITCAST()
7545 APInt SignBit = APInt::getSignBit(VT.getSizeInBits() / 2); in visitBITCAST()
7566 APInt SignBit = APInt::getSignBit(VT.getSizeInBits()); in visitBITCAST()
9314 SignMask = APInt::getSignBit(N0.getValueType().getScalarSizeInBits()); in visitFNEG()
9318 SignMask = APInt::getSignBit(IntVT.getSizeInBits()); in visitFNEG()
9419 SignMask = ~APInt::getSignBit(N0.getValueType().getScalarSizeInBits()); in visitFABS()
9423 SignMask = ~APInt::getSignBit(IntVT.getSizeInBits()); in visitFABS()
DSelectionDAG.cpp2008 return MaskedValueIsZero(Op, APInt::getSignBit(BitWidth), Depth); in SignBitIsZero()
2198 APInt SignBit = APInt::getSignBit(BitWidth); in computeKnownBits()
2216 APInt InSignBit = APInt::getSignBit(EBits); in computeKnownBits()
DLegalizeDAG.cpp1376 State.SignMask = APInt::getSignBit(NumBits); in getSignAsIntValue()
2942 APInt x = APInt::getSignBit(NVT.getSizeInBits()); in ExpandNode()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DAPInt.h420 static APInt getSignBit(unsigned BitWidth) { in getSignBit() function
/external/llvm/include/llvm/ADT/
DAPInt.h447 static APInt getSignBit(unsigned BitWidth) { in getSignBit() function
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp1567 InDemandedMask |= APInt::getSignBit(VT.getScalarType().getSizeInBits()); in SimplifyDemandedBits()
1577 APInt SignBit = APInt::getSignBit(BitWidth).lshr(ShAmt); in SimplifyDemandedBits()
1604 APInt::getSignBit(EVT.getScalarType().getSizeInBits()).zext(BitWidth); in SimplifyDemandedBits()
1787 NewMask == APInt::getSignBit(Op.getValueType().getSizeInBits()) && in SimplifyDemandedBits()
DSelectionDAG.cpp1592 return MaskedValueIsZero(Op, APInt::getSignBit(BitWidth), Depth); in SignBitIsZero()
1798 InDemandedMask |= APInt::getSignBit(BitWidth); in ComputeMaskedBits()
1807 APInt SignBit = APInt::getSignBit(BitWidth); in ComputeMaskedBits()
1825 APInt InSignBit = APInt::getSignBit(EBits); in ComputeMaskedBits()
1885 APInt InSignBit = APInt::getSignBit(InBits); in ComputeMaskedBits()
2015 APInt Mask2 = LowBits | APInt::getSignBit(BitWidth); in ComputeMaskedBits()
DDAGCombiner.cpp5026 APInt SignBit = APInt::getSignBit(VT.getSizeInBits()); in visitBITCAST()
5065 APInt SignBit = APInt::getSignBit(VT.getSizeInBits()); in visitBITCAST()
5646 DAG.getConstant(APInt::getSignBit(IntVT.getSizeInBits()), IntVT)); in visitFNEG()
5681 DAG.getConstant(~APInt::getSignBit(IntVT.getSizeInBits()), IntVT)); in visitFABS()

12