Home
last modified time | relevance | path

Searched refs:getSignMask (Results 1 – 25 of 32) sorted by relevance

12

/external/llvm-project/llvm/lib/Analysis/
DCmpInstAnalysis.cpp82 Mask = APInt::getSignMask(C->getBitWidth()); in decomposeBitTestICmp()
89 Mask = APInt::getSignMask(C->getBitWidth()); in decomposeBitTestICmp()
96 Mask = APInt::getSignMask(C->getBitWidth()); in decomposeBitTestICmp()
103 Mask = APInt::getSignMask(C->getBitWidth()); in decomposeBitTestICmp()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DCmpInstAnalysis.cpp82 Mask = APInt::getSignMask(C->getBitWidth()); in decomposeBitTestICmp()
89 Mask = APInt::getSignMask(C->getBitWidth()); in decomposeBitTestICmp()
96 Mask = APInt::getSignMask(C->getBitWidth()); in decomposeBitTestICmp()
103 Mask = APInt::getSignMask(C->getBitWidth()); in decomposeBitTestICmp()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DGISelKnownBits.cpp81 return maskedValueIsZero(R, APInt::getSignMask(BitWidth)); in signBitIsZero()
DLegalizerHelper.cpp3987 APInt TwoPExpInt = APInt::getSignMask(DstTy.getSizeInBits()); in lowerFPTOUI()
4057 Src0Ty, APInt::getSignMask(Src0Size)); in lowerFCopySign()
/external/llvm-project/llvm/lib/Support/
DKnownBits.cpp96 APInt InSignMask = APInt::getSignMask(SrcBitWidth).zext(BitWidth); in sextInReg()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DGISelKnownBits.cpp77 return maskedValueIsZero(R, APInt::getSignMask(BitWidth)); in signBitIsZero()
DLegalizerHelper.cpp2921 MIRBuilder.buildConstant(Ty, APInt::getSignMask(Ty.getSizeInBits())); in lower()
5143 APInt TwoPExpInt = APInt::getSignMask(DstTy.getSizeInBits()); in lowerFPTOUI()
5194 APInt::getSignMask(SrcEltBits)); in lowerFPTOSI()
5415 Src0Ty, APInt::getSignMask(Src0Size)); in lowerFCopySign()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp1042 ConstantInt::get(Ty, APInt::getSignMask(BitWidth)), X); in visitShl()
1323 if (MaskedValueIsZero(Op0, APInt::getSignMask(BitWidth), 0, &I)) in visitAShr()
DInstCombineMulDivRem.cpp1117 APInt Mask(APInt::getSignMask(I.getType()->getScalarSizeInBits())); in visitSDiv()
1434 APInt Mask(APInt::getSignMask(I.getType()->getScalarSizeInBits())); in visitSRem()
DInstCombineSimplifyDemanded.cpp642 APInt Mask2 = LowBits | APInt::getSignMask(BitWidth); in SimplifyDemandedUseBits()
DInstCombineCompares.cpp2278 APInt SignMask = APInt::getSignMask(Ty->getScalarSizeInBits()); in foldICmpSRemConstant()
4801 return APInt::getSignMask(BitWidth); in getDemandedBitsLHSMask()
/external/llvm-project/lldb/source/Utility/
DScalar.cpp758 llvm::APInt sign_bit = llvm::APInt::getSignMask(sign_bit_pos + 1); in SignExtend()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp1027 ConstantInt::get(Ty, APInt::getSignMask(BitWidth)), X); in visitShl()
1320 if (MaskedValueIsZero(Op0, APInt::getSignMask(BitWidth), 0, &I)) in visitAShr()
DInstCombineMulDivRem.cpp1171 APInt Mask(APInt::getSignMask(Ty->getScalarSizeInBits())); in visitSDiv()
1484 APInt Mask(APInt::getSignMask(I.getType()->getScalarSizeInBits())); in visitSRem()
DInstCombineSimplifyDemanded.cpp685 APInt Mask2 = LowBits | APInt::getSignMask(BitWidth); in SimplifyDemandedUseBits()
DInstCombineCompares.cpp2321 APInt SignMask = APInt::getSignMask(Ty->getScalarSizeInBits()); in foldICmpSRemConstant()
4866 return APInt::getSignMask(BitWidth); in getDemandedBitsLHSMask()
/external/llvm-project/llvm/include/llvm/ADT/
DAPInt.h560 static APInt getSignMask(unsigned BitWidth) {
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPInt.h559 static APInt getSignMask(unsigned BitWidth) { in getSignMask() function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVISelLowering.cpp973 APInt SignBit = APInt::getSignMask(32); in PerformDAGCombine()
1018 APInt SignBit = APInt::getSignMask(32).sext(64); in PerformDAGCombine()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp3008 if (DAG.MaskedValueIsZero(N1, ~APInt::getSignMask(BitWidth))) { in visitSUB()
11106 SignMask = ~APInt::getSignMask(SourceVT.getScalarSizeInBits()); in foldBitcastedFPLogic()
11110 SignMask = APInt::getSignMask(SourceVT.getScalarSizeInBits()); in foldBitcastedFPLogic()
11114 SignMask = APInt::getSignMask(SourceVT.getScalarSizeInBits()); in foldBitcastedFPLogic()
11233 APInt::getSignMask(VT.getSizeInBits() / 2), SDLoc(N0), MVT::i64); in visitBITCAST()
11253 APInt SignBit = APInt::getSignMask(VT.getSizeInBits()); in visitBITCAST()
11301 APInt SignBit = APInt::getSignMask(VT.getSizeInBits() / 2); in visitBITCAST()
11322 APInt SignBit = APInt::getSignMask(VT.getSizeInBits()); in visitBITCAST()
13406 SignMask = APInt::getSignMask(N0.getScalarValueSizeInBits()); in visitFNEG()
13410 SignMask = APInt::getSignMask(IntVT.getSizeInBits()); in visitFNEG()
[all …]
DTargetLowering.cpp1900 DemandedBits == APInt::getSignMask(Op.getValueSizeInBits()) && in SimplifyDemandedBits()
6054 SDValue SignMask = DAG.getConstant(APInt::getSignMask(SrcEltBits), dl, IntVT); in expandFP_TO_SINT()
6122 APInt SignMask = APInt::getSignMask(DstVT.getScalarSizeInBits()); in expandFP_TO_UINT()
DLegalizeFloatTypes.cpp459 APInt SignMask = APInt::getSignMask(NVT.getSizeInBits()); in SoftenFloatRes_FNEG()
/external/llvm-project/llvm/lib/Target/RISCV/
DRISCVISelLowering.cpp1482 APInt SignBit = APInt::getSignMask(32); in PerformDAGCombine()
1563 APInt SignBit = APInt::getSignMask(32).sext(64); in PerformDAGCombine()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp3213 if (DAG.MaskedValueIsZero(N1, ~APInt::getSignMask(BitWidth))) { in visitSUB()
12093 SignMask = ~APInt::getSignMask(SourceVT.getScalarSizeInBits()); in foldBitcastedFPLogic()
12097 SignMask = APInt::getSignMask(SourceVT.getScalarSizeInBits()); in foldBitcastedFPLogic()
12101 SignMask = APInt::getSignMask(SourceVT.getScalarSizeInBits()); in foldBitcastedFPLogic()
12220 APInt::getSignMask(VT.getSizeInBits() / 2), SDLoc(N0), MVT::i64); in visitBITCAST()
12240 APInt SignBit = APInt::getSignMask(VT.getSizeInBits()); in visitBITCAST()
12288 APInt SignBit = APInt::getSignMask(VT.getSizeInBits() / 2); in visitBITCAST()
12309 APInt SignBit = APInt::getSignMask(VT.getSizeInBits()); in visitBITCAST()
21758 SignMask = APInt::getSignMask(N0.getScalarValueSizeInBits()); in foldSignChangeInBitcast()
21764 SignMask = APInt::getSignMask(IntVT.getSizeInBits()); in foldSignChangeInBitcast()
DTargetLowering.cpp2090 DemandedBits == APInt::getSignMask(Op.getValueSizeInBits()) && in SimplifyDemandedBits()
6400 SDValue SignMask = DAG.getConstant(APInt::getSignMask(SrcEltBits), dl, IntVT); in expandFP_TO_SINT()
6468 APInt SignMask = APInt::getSignMask(DstVT.getScalarSizeInBits()); in expandFP_TO_UINT()

12