Searched refs:getAPIntValue (Results 1 – 15 of 15) sorted by relevance
/external/llvm/include/llvm/Support/ |
D | IntegersSubset.h | 43 return getAPIntValue().func(RHS); \ 48 APInt res = op(getAPIntValue()); \ 55 APInt res = getAPIntValue() op RHS; \ 62 APInt res = getAPIntValue();\ 71 APInt res = getAPIntValue(); \ 80 APInt res = getAPIntValue();\ 90 return (*this) op APInt(getAPIntValue().getBitWidth(), RHS); \ 99 const APInt& getAPIntValue() const { in getAPIntValue() function 107 return getAPIntValue(); 146 APInt res = getAPIntValue();
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 1118 (C->getAPIntValue() | (~Demanded)).isAllOnesValue()) in ShrinkDemandedConstant() 1122 if (C->getAPIntValue().intersects(~Demanded)) { in ShrinkDemandedConstant() 1126 C->getAPIntValue(), in ShrinkDemandedConstant() 1226 KnownOne = cast<ConstantSDNode>(Op)->getAPIntValue(); in SimplifyDemandedBits() 1239 if ((LHSZero & NewMask) == (~RHSC->getAPIntValue() & NewMask)) in SimplifyDemandedBits() 1362 APInt Expanded = C->getAPIntValue() | (~NewMask); in SimplifyDemandedBits() 1365 if (Expanded != C->getAPIntValue()) { in SimplifyDemandedBits() 1879 if (C->getAPIntValue() == 1) in ValueHasExactlyOneBitSet() 1887 if (C->getAPIntValue().isSignBit()) in ValueHasExactlyOneBitSet() 1925 const APInt &C1 = N1C->getAPIntValue(); in SimplifySetCC() [all …]
|
D | DAGCombiner.cpp | 547 cast<ConstantSDNode>(N.getOperand(2))->getAPIntValue() == 1 && in isSetCCEquivalent() 1403 DAG.getConstant(N1C->getAPIntValue()+ in visitADD() 1404 N0C->getAPIntValue(), VT), in visitADD() 1488 if (C->getAPIntValue() == 0) in visitADD() 1497 if (C->getAPIntValue() == 0) in visitADD() 1631 DAG.getConstant(-N1C->getAPIntValue(), VT)); in visitSUB() 1646 SDValue NewC = DAG.getConstant((N0C->getAPIntValue() - N1C1->getAPIntValue()), VT); in visitSUB() 1769 if (N1C && N1C->getAPIntValue().isPowerOf2()) in visitMUL() 1771 DAG.getConstant(N1C->getAPIntValue().logBase2(), in visitMUL() 1774 if (N1C && (-N1C->getAPIntValue()).isPowerOf2()) { in visitMUL() [all …]
|
D | SelectionDAG.cpp | 140 if (cast<ConstantSDNode>(NotZero)->getAPIntValue().countTrailingOnes() < in isBuildVectorAllOnes() 1591 const APInt &C2 = N2C->getAPIntValue(); in FoldSetCC() 1593 const APInt &C1 = N1C->getAPIntValue(); in FoldSetCC() 1707 KnownOne = cast<ConstantSDNode>(Op)->getAPIntValue(); in ComputeMaskedBits() 2019 if (CLHS->getAPIntValue().isNonNegative()) { in ComputeMaskedBits() 2020 unsigned NLZ = (CLHS->getAPIntValue()+1).countLeadingZeros(); in ComputeMaskedBits() 2029 unsigned NLZ2 = CLHS->getAPIntValue().countLeadingZeros(); in ComputeMaskedBits() 2066 const APInt &RA = Rem->getAPIntValue().abs(); in ComputeMaskedBits() 2091 const APInt &RA = Rem->getAPIntValue(); in ComputeMaskedBits() 2159 const APInt &Val = cast<ConstantSDNode>(Op)->getAPIntValue(); in ComputeNumSignBits() [all …]
|
D | SelectionDAGDumper.cpp | 374 OS << '<' << CSDN->getAPIntValue() << '>'; in print_details()
|
D | SelectionDAGISel.cpp | 1425 const APInt &ActualMask = RHS->getAPIntValue(); in CheckAndMask() 1454 const APInt &ActualMask = RHS->getAPIntValue(); in CheckOrMask()
|
D | LegalizeIntegerTypes.cpp | 1701 const APInt &Cst = cast<ConstantSDNode>(N)->getAPIntValue(); in ExpandIntRes_Constant() 2561 (Tmp2C && Tmp2C->getAPIntValue() == 1 && in IntegerExpandSetCCOperands()
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430ISelDAGToDAG.cpp | 233 CurDAG->MaskedValueIsZero(N.getOperand(0), CN->getAPIntValue())) { in MatchAddress()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 8432 if (C->getAPIntValue() == 1) { in EmitTest() 8439 if (C->getAPIntValue().isAllOnesValue()) { in EmitTest() 8559 if (C->getAPIntValue() == 0) in EmitCmp() 9002 if (C && C->getAPIntValue() == 1) in LowerSELECT() 9128 if (N1C && N1C->getAPIntValue() == 1) { in isXor1OfSetCC() 9177 if (C && C->getAPIntValue() == 1) in LowerBRCOND() 13973 if (TrueC->getAPIntValue().ult(FalseC->getAPIntValue()) && in PerformSELECTCombine() 13983 if (FalseC->getAPIntValue() == 0 && in PerformSELECTCombine() 13984 TrueC->getAPIntValue().isPowerOf2()) { in PerformSELECTCombine() 13992 unsigned ShAmt = TrueC->getAPIntValue().logBase2(); in PerformSELECTCombine() [all …]
|
D | X86ISelDAGToDAG.cpp | 336 if (Imm->getAPIntValue().isSignedIntN(8)) in IsProfitableToFold()
|
D | X86InstrCompiler.td | 1178 return CurDAG->MaskedValueIsZero(N->getOperand(0), CN->getAPIntValue());
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXInstrInfo.td | 395 const APInt &v = N->getAPIntValue(); 402 const APInt &v = N->getAPIntValue(); 409 const APInt &v = N->getAPIntValue(); 416 const APInt &v = N->getAPIntValue(); 423 const APInt &v = N->getAPIntValue(); 432 const APInt &v = N->getAPIntValue(); 441 const APInt &v = N->getAPIntValue(); 447 const APInt &v = N->getAPIntValue();
|
/external/llvm/include/llvm/CodeGen/ |
D | SelectionDAGNodes.h | 1162 const APInt &getAPIntValue() const { return Value->getValue(); }
|
/external/llvm/lib/Target/ARM/ |
D | ARMInstrThumb2.td | 69 APInt apIntN = N->getAPIntValue(); 101 APInt apIntN = N->getAPIntValue();
|
D | ARMISelLowering.cpp | 4865 const APInt &CInt = C->getAPIntValue(); in SkipExtension() 7782 if (DAG.MaskedValueIsZero(N1, MaskC->getAPIntValue()) && in PerformORCombine()
|