HomeSort by relevance Sort by last modified time
    Searched refs:getBitWidth (Results 1 - 25 of 176) sorted by null

1 2 3 4 5 6 7 8

  /external/llvm/lib/IR/
Operator.cpp 17 assert(Offset.getBitWidth() ==
33 Offset += APInt(Offset.getBitWidth(), SL->getElementOffset(ElementIdx));
38 APInt Index = OpC->getValue().sextOrTrunc(Offset.getBitWidth());
39 Offset += Index * APInt(Offset.getBitWidth(),
ConstantRange.cpp 48 assert(Lower.getBitWidth() == Upper.getBitWidth() &&
59 uint32_t W = CR.getBitWidth();
152 unsigned BitWidth = C.getBitWidth();
204 return contains(APInt::getSignedMaxValue(getBitWidth())) &&
205 contains(APInt::getSignedMinValue(getBitWidth()));
212 APInt Size(getBitWidth()+1, 0);
213 Size.setBit(getBitWidth());
218 return (Upper - Lower).zext(getBitWidth()+1);
226 return APInt::getMaxValue(getBitWidth());
    [all...]
MDBuilder.cpp 67 assert(Lo.getBitWidth() == Hi.getBitWidth() && "Mismatched bitwidths!");
69 Type *Ty = IntegerType::get(Context, Lo.getBitWidth());
Type.cpp 54 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth;
74 return thisPTy->getBitWidth() == thatPTy->getBitWidth();
76 thisPTy->getBitWidth() == 64)
82 if (thatPTy->getBitWidth() == 64)
123 case Type::IntegerTyID: return cast<IntegerType>(this)->getBitWidth();
124 case Type::VectorTyID: return cast<VectorType>(this)->getBitWidth();
170 return cast<IntegerType>(this)->getBitWidth();
323 unsigned BitWidth = getBitWidth();
328 return APInt::getAllOnesValue(getBitWidth());
    [all...]
ValueTypes.cpp 108 return ITy->getBitWidth();
110 return VTy->getBitWidth();
284 return getIntegerVT(cast<IntegerType>(Ty)->getBitWidth());
309 return getIntegerVT(Ty->getContext(), cast<IntegerType>(Ty)->getBitWidth());
  /external/llvm/lib/Target/SystemZ/
SystemZTargetTransformInfo.cpp 49 if (Imm.getBitWidth() <= 64) {
90 if (Idx == 0 && Imm.getBitWidth() <= 64) {
100 if (Idx == 1 && Imm.getBitWidth() <= 64) {
111 if (Idx == 1 && Imm.getBitWidth() <= 64) {
121 if (Idx == 1 && Imm.getBitWidth() <= 64) {
129 if (Idx == 1 && Imm.getBitWidth() <= 64) {
139 if (Idx == 1 && Imm.getBitWidth() <= 64) {
205 if (Idx == 1 && Imm.getBitWidth() <= 64) {
215 if (Idx == 1 && Imm.getBitWidth() <= 64) {
221 if ((Idx < 2) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue()))
    [all...]
  /external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
APSIntType.h 29 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {}
31 uint32_t getBitWidth() const { return BitWidth; }
  /external/llvm/include/llvm/ADT/
APSInt.h 296 if (I1.getBitWidth() == I2.getBitWidth() && I1.isSigned() == I2.isSigned())
300 if (I1.getBitWidth() > I2.getBitWidth())
301 return compareValues(I1, I2.extend(I1.getBitWidth()));
302 else if (I2.getBitWidth() > I1.getBitWidth())
303 return compareValues(I1.extend(I2.getBitWidth()), I2);
APInt.h 547 assert(NewLen >= V.getBitWidth() && "Can't splat to smaller bit width!");
550 for (unsigned I = V.getBitWidth(); I < NewLen; I <<= 1)
559 if (I1.getBitWidth() == I2.getBitWidth())
562 if (I1.getBitWidth() > I2.getBitWidth())
563 return I1 == I2.zext(I1.getBitWidth());
565 return I1.zext(I2.getBitWidth()) == I2;
778 return APInt(getBitWidth(), VAL & RHS.VAL);
793 return APInt(getBitWidth(), VAL | RHS.VAL)
    [all...]
  /external/llvm/lib/Target/
TargetLoweringObjectFile.cpp 184 if ((ITy->getBitWidth() == 8 || ITy->getBitWidth() == 16 ||
185 ITy->getBitWidth() == 32) &&
187 if (ITy->getBitWidth() == 8)
189 if (ITy->getBitWidth() == 16)
192 assert(ITy->getBitWidth() == 32 && "Unknown width");
  /external/clang/lib/StaticAnalyzer/Core/
SimpleConstraintManager.cpp 198 From.getBitWidth() == To.getBitWidth() &&
273 if (ComparisonType.getBitWidth() == WraparoundType.getBitWidth() &&
321 if (ComparisonType.getBitWidth() == WraparoundType.getBitWidth() &&
BasicValueFactory.cpp 184 if (Amt >= V1.getBitWidth())
202 if (Amt >= V1.getBitWidth())
  /external/llvm/lib/Analysis/
DemandedBits.cpp 75 unsigned BitWidth = AB.getBitWidth();
236 if ((AOut & APInt::getHighBitsSet(AOut.getBitWidth(),
237 AOut.getBitWidth() - BitWidth))
286 AliveBits[&I] = APInt(IT->getBitWidth(), 0);
297 AliveBits[J] = APInt::getAllOnesValue(IT->getBitWidth());
329 unsigned BitWidth = IT->getBitWidth();
  /external/llvm/lib/Target/PowerPC/
PPCTargetTransformInfo.cpp 51 if (Imm.getBitWidth() <= 64) {
85 if ((Idx == 1) && Imm.getBitWidth() <= 64 && isInt<16>(Imm.getSExtValue()))
89 if ((Idx < 2) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue())))
94 if ((Idx < 4) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue())))
158 if (Idx == ImmIdx && Imm.getBitWidth() <= 64) {
163 if (Imm.getBitWidth() <= 32 &&
  /external/llvm/include/llvm/IR/
ConstantRange.h 106 uint32_t getBitWidth() const { return Lower.getBitWidth(); }
DerivedTypes.h 62 unsigned getBitWidth() const { return getSubclassData(); }
68 return ~uint64_t(0UL) >> (64-getBitWidth());
74 return 1ULL << (getBitWidth()-1);
432 unsigned getBitWidth() const {
  /external/llvm/unittests/ADT/
APSIntTest.cpp 46 EXPECT_EQ(64u, APSInt::get(7).getBitWidth());
50 EXPECT_EQ(64u, APSInt::get(-7).getBitWidth());
57 EXPECT_EQ(64u, APSInt::getUnsigned(7).getBitWidth());
61 EXPECT_EQ(64u, APSInt::getUnsigned(-7).getBitWidth());
  /external/clang/lib/Lex/
PPExpressions.cpp 42 unsigned getBitWidth() const { return Val.getBitWidth(); }
312 if (Result.Val.getBitWidth() > Val.getBitWidth()) {
313 Result.Val = Val.extend(Result.Val.getBitWidth());
315 assert(Result.Val.getBitWidth() == Val.getBitWidth() &&
494 PPValue RHS(LHS.getBitWidth());
537 llvm::APSInt Res(LHS.getBitWidth());
608 if (ShAmt >= LHS.getBitWidth())
    [all...]
  /external/llvm/lib/Transforms/Scalar/
StraightLineStrengthReduce.cpp 402 APInt One(Idx->getBitWidth(), 1);
504 APInt One(RHS->getBitWidth(), 1);
550 if (A.getBitWidth() < B.getBitWidth())
551 A = A.sext(B.getBitWidth());
552 else if (A.getBitWidth() > B.getBitWidth())
553 B = B.sext(A.getBitWidth());
568 IndexOffset.getBitWidth(),
590 IntegerType::get(Basis.Ins->getContext(), IndexOffset.getBitWidth());
    [all...]
SROA.cpp 713 APInt(Offset.getBitWidth(), SL->getElementOffset(ElementIdx));
717 APInt Index = OpC->getValue().sextOrTrunc(Offset.getBitWidth());
718 GEPOffset += Index * APInt(Offset.getBitWidth(),
    [all...]
  /external/llvm/lib/ExecutionEngine/Orc/
OrcMCJITReplacement.cpp 91 unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth();
  /external/llvm/lib/Support/
APInt.cpp 128 if (BitWidth == RHS.getBitWidth()) {
440 return APInt(val, getBitWidth());
448 return APInt(val, getBitWidth());
457 APInt Result(val, getBitWidth());
676 assert(getBitWidth() % SplatSizeInBits == 0 &&
    [all...]
StringRef.cpp 474 if (BitWidth < Result.getBitWidth())
475 BitWidth = Result.getBitWidth(); // don't shrink the result
476 else if (BitWidth > Result.getBitWidth())
  /external/llvm/include/llvm/Analysis/
MemoryBuiltins.h 173 return SizeOffset.first.getBitWidth() > 1;
177 return SizeOffset.second.getBitWidth() > 1;
  /external/llvm/lib/Transforms/InstCombine/
InstCombineCompares.cpp 183 assert(KnownZero.getBitWidth() == KnownOne.getBitWidth() &&
184 KnownZero.getBitWidth() == Min.getBitWidth() &&
185 KnownZero.getBitWidth() == Max.getBitWidth() &&
195 Min.setBit(Min.getBitWidth()-1);
196 Max.clearBit(Max.getBitWidth()-1);
207 assert(KnownZero.getBitWidth() == KnownOne.getBitWidth() &
    [all...]

Completed in 312 milliseconds

1 2 3 4 5 6 7 8