• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/

Lines Matching defs:A1

371     bool evaluateCMPii(uint32_t Cmp, const APInt &A1, const APInt &A2,
386 bool evaluateANDii(const APInt &A1, const APInt &A2, APInt &Result);
391 bool evaluateORii(const APInt &A1, const APInt &A2, APInt &Result);
396 bool evaluateXORii(const APInt &A1, const APInt &A2, APInt &Result);
401 bool evaluateZEXTi(const APInt &A1, unsigned Width, unsigned Bits,
405 bool evaluateSEXTi(const APInt &A1, unsigned Width, unsigned Bits,
411 bool evaluateCLBi(const APInt &A1, bool Zeros, bool Ones, APInt &Result);
414 bool evaluateCTBi(const APInt &A1, bool Zeros, bool Ones, APInt &Result);
420 bool evaluateEXTRACTi(const APInt &A1, unsigned Bits, unsigned Offset,
425 bool evaluateSplati(const APInt &A1, unsigned Bits, unsigned Count,
1199 bool MachineConstEvaluator::evaluateCMPii(uint32_t Cmp, const APInt &A1,
1203 Result = !APInt::isSameValue(A1, A2);
1207 Result = APInt::isSameValue(A1, A2);
1211 if (APInt::isSameValue(A1, A2))
1217 unsigned W1 = A1.getBitWidth();
1221 const APInt Zx1 = A1.zextOrSelf(MaxW);
1231 const APInt Sx1 = A1.sextOrSelf(MaxW);
1432 bool MachineConstEvaluator::evaluateANDii(const APInt &A1,
1434 Result = A1 & A2;
1499 bool MachineConstEvaluator::evaluateORii(const APInt &A1,
1501 Result = A1 | A2;
1561 bool MachineConstEvaluator::evaluateXORii(const APInt &A1,
1563 Result = A1 ^ A2;
1588 bool MachineConstEvaluator::evaluateZEXTi(const APInt &A1, unsigned Width,
1590 unsigned BW = A1.getBitWidth();
1594 Result = A1.zextOrTrunc(Width) & Mask;
1619 bool MachineConstEvaluator::evaluateSEXTi(const APInt &A1, unsigned Width,
1621 unsigned BW = A1.getBitWidth();
1632 int64_t V = A1.getSExtValue();
1657 Result = A1.trunc(Bits).sext(Width);
1659 Result = A1.sext(Width);
1684 bool MachineConstEvaluator::evaluateCLBi(const APInt &A1, bool Zeros,
1686 unsigned BW = A1.getBitWidth();
1691 Count = A1.countLeadingZeros();
1693 Count = A1.countLeadingOnes();
1719 bool MachineConstEvaluator::evaluateCTBi(const APInt &A1, bool Zeros,
1721 unsigned BW = A1.getBitWidth();
1726 Count = A1.countTrailingZeros();
1728 Count = A1.countTrailingOnes();
1765 bool MachineConstEvaluator::evaluateEXTRACTi(const APInt &A1, unsigned Bits,
1767 unsigned BW = A1.getBitWidth();
1775 int64_t V = A1.getZExtValue();
1785 Result = A1.shl(BW-Bits-Offset).ashr(BW-Bits);
1787 Result = A1.shl(BW-Bits-Offset).lshr(BW-Bits);
1813 bool MachineConstEvaluator::evaluateSplati(const APInt &A1, unsigned Bits,
1816 unsigned BW = A1.getBitWidth(), SW = Count*Bits;
1817 APInt LoBits = (Bits < BW) ? A1.trunc(Bits) : A1.zextOrSelf(Bits);
2615 APInt A1 = getCmpImm(Opc, 1, Src1);
2619 return evaluateCMPri(NegCmp, R2, A1, Inputs, Result);
2622 return evaluateCMPii(Cmp, A1, A2, Result);