/external/llvm-project/llvm/lib/Analysis/ |
D | CmpInstAnalysis.cpp | 82 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/ |
D | CmpInstAnalysis.cpp | 82 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/ |
D | GISelKnownBits.cpp | 81 return maskedValueIsZero(R, APInt::getSignMask(BitWidth)); in signBitIsZero()
|
D | LegalizerHelper.cpp | 3987 APInt TwoPExpInt = APInt::getSignMask(DstTy.getSizeInBits()); in lowerFPTOUI() 4057 Src0Ty, APInt::getSignMask(Src0Size)); in lowerFCopySign()
|
/external/llvm-project/llvm/lib/Support/ |
D | KnownBits.cpp | 96 APInt InSignMask = APInt::getSignMask(SrcBitWidth).zext(BitWidth); in sextInReg()
|
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
D | GISelKnownBits.cpp | 77 return maskedValueIsZero(R, APInt::getSignMask(BitWidth)); in signBitIsZero()
|
D | LegalizerHelper.cpp | 2921 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/ |
D | InstCombineShifts.cpp | 1042 ConstantInt::get(Ty, APInt::getSignMask(BitWidth)), X); in visitShl() 1323 if (MaskedValueIsZero(Op0, APInt::getSignMask(BitWidth), 0, &I)) in visitAShr()
|
D | InstCombineMulDivRem.cpp | 1117 APInt Mask(APInt::getSignMask(I.getType()->getScalarSizeInBits())); in visitSDiv() 1434 APInt Mask(APInt::getSignMask(I.getType()->getScalarSizeInBits())); in visitSRem()
|
D | InstCombineSimplifyDemanded.cpp | 642 APInt Mask2 = LowBits | APInt::getSignMask(BitWidth); in SimplifyDemandedUseBits()
|
D | InstCombineCompares.cpp | 2278 APInt SignMask = APInt::getSignMask(Ty->getScalarSizeInBits()); in foldICmpSRemConstant() 4801 return APInt::getSignMask(BitWidth); in getDemandedBitsLHSMask()
|
/external/llvm-project/lldb/source/Utility/ |
D | Scalar.cpp | 758 llvm::APInt sign_bit = llvm::APInt::getSignMask(sign_bit_pos + 1); in SignExtend()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 1027 ConstantInt::get(Ty, APInt::getSignMask(BitWidth)), X); in visitShl() 1320 if (MaskedValueIsZero(Op0, APInt::getSignMask(BitWidth), 0, &I)) in visitAShr()
|
D | InstCombineMulDivRem.cpp | 1171 APInt Mask(APInt::getSignMask(Ty->getScalarSizeInBits())); in visitSDiv() 1484 APInt Mask(APInt::getSignMask(I.getType()->getScalarSizeInBits())); in visitSRem()
|
D | InstCombineSimplifyDemanded.cpp | 685 APInt Mask2 = LowBits | APInt::getSignMask(BitWidth); in SimplifyDemandedUseBits()
|
D | InstCombineCompares.cpp | 2321 APInt SignMask = APInt::getSignMask(Ty->getScalarSizeInBits()); in foldICmpSRemConstant() 4866 return APInt::getSignMask(BitWidth); in getDemandedBitsLHSMask()
|
/external/llvm-project/llvm/include/llvm/ADT/ |
D | APInt.h | 560 static APInt getSignMask(unsigned BitWidth) {
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | APInt.h | 559 static APInt getSignMask(unsigned BitWidth) { in getSignMask() function
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/ |
D | RISCVISelLowering.cpp | 973 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/ |
D | DAGCombiner.cpp | 3008 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 …]
|
D | TargetLowering.cpp | 1900 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()
|
D | LegalizeFloatTypes.cpp | 459 APInt SignMask = APInt::getSignMask(NVT.getSizeInBits()); in SoftenFloatRes_FNEG()
|
/external/llvm-project/llvm/lib/Target/RISCV/ |
D | RISCVISelLowering.cpp | 1482 APInt SignBit = APInt::getSignMask(32); in PerformDAGCombine() 1563 APInt SignBit = APInt::getSignMask(32).sext(64); in PerformDAGCombine()
|
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 3213 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()
|
D | TargetLowering.cpp | 2090 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()
|