Home
last modified time | relevance | path

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

/external/llvm/include/llvm/IR/
DDerivedTypes.h72 uint64_t getSignBit() const { in getSignBit() function
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DDerivedTypes.h75 uint64_t getSignBit() const { in getSignBit() function
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDerivedTypes.h81 uint64_t getSignBit() const { in getSignBit() function
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/IR/
DDerivedTypes.h82 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/llvm/include/llvm/ADT/
DAPInt.h447 static APInt getSignBit(unsigned BitWidth) { in getSignBit() function
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h451 static APInt getSignBit(unsigned BitWidth) { in getSignBit() function
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/Hexagon/
DHexagonLoopIdiomRecognition.cpp1580 return (CI->getType()->getSignBit() & CI->getSExtValue()) == 0; in hasZeroSignBit()
1691 if (!Msb || Msb->getZExtValue() != Msb->getType()->getSignBit()) in setupPreSimplifier()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonLoopIdiomRecognition.cpp1567 return (CI->getType()->getSignBit() & CI->getSExtValue()) == 0; in hasZeroSignBit()
1678 if (!Msb || Msb->getZExtValue() != Msb->getType()->getSignBit()) in setupPreSimplifier()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp14348 IsFABS ? APInt::getSignedMaxValue(EltBits) : APInt::getSignBit(EltBits); in LowerFABSorFNEG()
15547 SDValue SB = DAG.getConstant(APInt::getSignBit(EltVT.getSizeInBits()), dl, in LowerVSETCC()
20058 SDValue S = DAG.getConstant(APInt::getSignBit(64), dl, VT); in LowerShift()