Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DCmpInstAnalysis.cpp83 Mask = APInt::getSignMask(C->getBitWidth()); in decomposeBitTestICmp()
90 Mask = APInt::getSignMask(C->getBitWidth()); in decomposeBitTestICmp()
97 Mask = APInt::getSignMask(C->getBitWidth()); in decomposeBitTestICmp()
104 Mask = APInt::getSignMask(C->getBitWidth()); in decomposeBitTestICmp()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp1087 APInt Mask(APInt::getSignMask(I.getType()->getScalarSizeInBits())); in visitSDiv()
1374 APInt Mask(APInt::getSignMask(I.getType()->getScalarSizeInBits())); in visitSRem()
DInstCombineShifts.cpp898 if (MaskedValueIsZero(Op0, APInt::getSignMask(BitWidth), 0, &I)) in visitAShr()
DInstCombineSimplifyDemanded.cpp592 APInt Mask2 = LowBits | APInt::getSignMask(BitWidth); in SimplifyDemandedUseBits()
DInstCombineCompares.cpp4092 return APInt::getSignMask(BitWidth); in getDemandedBitsLHSMask()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAPInt.h554 static APInt getSignMask(unsigned BitWidth) { in getSignMask() function
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp2608 if (DAG.MaskedValueIsZero(N1, ~APInt::getSignMask(BitWidth))) { in visitSUB()
9709 SignMask = ~APInt::getSignMask(SourceVT.getSizeInBits()); in foldBitcastedFPLogic()
9713 SignMask = APInt::getSignMask(SourceVT.getSizeInBits()); in foldBitcastedFPLogic()
9824 APInt::getSignMask(VT.getSizeInBits() / 2), SDLoc(N0), MVT::i64); in visitBITCAST()
9844 APInt SignBit = APInt::getSignMask(VT.getSizeInBits()); in visitBITCAST()
9892 APInt SignBit = APInt::getSignMask(VT.getSizeInBits() / 2); in visitBITCAST()
9913 APInt SignBit = APInt::getSignMask(VT.getSizeInBits()); in visitBITCAST()
11886 SignMask = APInt::getSignMask(N0.getScalarValueSizeInBits()); in visitFNEG()
11890 SignMask = APInt::getSignMask(IntVT.getSizeInBits()); in visitFNEG()
11991 SignMask = ~APInt::getSignMask(N0.getScalarValueSizeInBits()); in visitFABS()
[all …]
DTargetLowering.cpp1185 NewMask == APInt::getSignMask(Op.getValueSizeInBits()) && in SimplifyDemandedBits()
3818 SDValue SignMask = DAG.getConstant(APInt::getSignMask(VT.getSizeInBits()), dl, in expandFP_TO_SINT()
DSelectionDAG.cpp2146 return MaskedValueIsZero(Op, APInt::getSignMask(BitWidth), Depth); in SignBitIsZero()
2617 APInt InSignMask = APInt::getSignMask(EBits); in computeKnownBits()
2970 Known.Zero = APInt::getSignMask(BitWidth); in computeKnownBits()
DLegalizeDAG.cpp1402 State.SignMask = APInt::getSignMask(NumBits); in getSignAsIntValue()
3052 APInt x = APInt::getSignMask(NVT.getSizeInBits()); in ExpandNode()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp17454 IsFABS ? APInt::getSignedMaxValue(EltBits) : APInt::getSignMask(EltBits); in LowerFABSorFNEG()
17517 APFloat(Sem, APInt::getSignMask(EltSizeInBits)), dl, LogicVT); in LowerFCOPYSIGN()
17519 APFloat(Sem, ~APInt::getSignMask(EltSizeInBits)), dl, LogicVT); in LowerFCOPYSIGN()
18646 SDValue SM = DAG.getConstant(APInt::getSignMask(EltVT.getSizeInBits()), dl, in LowerVSETCC()
23448 SDValue S = DAG.getConstant(APInt::getSignMask(64), dl, VT); in LowerShift()
32584 APInt DemandedMask(APInt::getSignMask(BitWidth)); in combineVSelectToShrunkBlend()
38225 APInt DemandedMask(APInt::getSignMask(SrcVT.getScalarSizeInBits())); in combineMOVMSK()
38303 APInt DemandedMask(APInt::getSignMask(Mask.getScalarValueSizeInBits())); in combineGatherScatter()