Searched refs:getBitWidth (Results 26 - 50 of 243) sorted by relevance

12345678910

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp522 unsigned BW = V1.getBitWidth() > V2.getBitWidth() ?
523 V1.getBitWidth() : V2.getBitWidth();
662 return LHS.ConstInt->getType()->getBitWidth() <
663 RHS.ConstInt->getType()->getBitWidth();
690 if ((Diff.getBitWidth() <= 64) &&
H A DInductiveRangeCheckElimination.cpp387 unsigned BitWidth = cast<IntegerType>(IndexAddRec->getType())->getBitWidth();
687 unsigned BitWidth = cast<IntegerType>(BoundSCEV->getType())->getBitWidth();
735 unsigned BitWidth = cast<IntegerType>(BoundSCEV->getType())->getBitWidth();
830 IntegerType::get(Ty->getContext(), Ty->getBitWidth() * 2);
1075 if (RTy->getBitWidth() < Ty->getBitWidth())
1593 if (IVType->getBitWidth() > RCType->getBitWidth())
1631 unsigned BitWidth = RCType->getBitWidth();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp149 reallocate(RHS.getBitWidth());
235 APInt Result(getMemory(getNumWords()), getBitWidth());
346 unsigned subBitWidth = subBits.getBitWidth();
559 assert(getBitWidth() % SplatSizeInBits == 0 &&
580 assert(NewLen >= V.getBitWidth() && "Can't splat to smaller bit width!");
583 for (unsigned I = V.getBitWidth(); I < NewLen; I <<= 1)
1057 unsigned rotBitWidth = rotateAmt.getBitWidth();
1064 rot = rot.urem(APInt(rot.getBitWidth(), BitWidth));
1228 APInt signedMin = APInt::getSignedMinValue(d.getBitWidth());
1232 t = signedMin + (d.lshr(d.getBitWidth()
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp76 if (Imm.getBitWidth() <= 64) {
111 if ((Idx == 1) && Imm.getBitWidth() <= 64 && isInt<16>(Imm.getSExtValue()))
115 if ((Idx < 2) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue())))
120 if ((Idx < 4) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue())))
186 if (Idx == ImmIdx && Imm.getBitWidth() <= 64) {
191 if (Imm.getBitWidth() <= 32 &&
272 return ITy->getBitWidth() > (Is32Bit ? 32U : 64U);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DMDBuilder.cpp85 assert(Lo.getBitWidth() == Hi.getBitWidth() && "Mismatched bitwidths!");
87 Type *Ty = IntegerType::get(Context, Lo.getBitWidth());
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBypassSlowDivision.cpp132 auto BI = BypassWidths.find(SlowType->getBitWidth());
207 return C && C->getValue().getMinSignedBits() > BypassType->getBitWidth();
232 unsigned ShortLen = BypassType->getBitWidth();
H A DSanitizerStats.cpp53 ConstantInt::get(IntPtrTy, uint64_t(SK) << (IntPtrTy->getBitWidth() -
H A DAMDGPUEmitPrintf.cpp38 return IntTy->getBitWidth() == 8;
46 switch (IntTy->getBitWidth()) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DDemandedBits.cpp90 unsigned BitWidth = AB.getBitWidth();
275 if ((AOut & APInt::getHighBitsSet(AOut.getBitWidth(),
276 AOut.getBitWidth() - BitWidth))
H A DBasicAliasAnalysis.cpp297 Offset += Const->getValue().zextOrSelf(Offset.getBitWidth());
307 APInt RHS = RHSC->getValue().zextOrSelf(Offset.getBitWidth());
351 if (Offset.getBitWidth() < RHS.getLimitedValue() ||
352 Scale.getBitWidth() < RHS.getLimitedValue()) {
396 unsigned OldWidth = Offset.getBitWidth();
437 assert(PointerSize <= Offset.getBitWidth() && "Invalid PointerSize!");
438 unsigned ShiftBits = Offset.getBitWidth() - PointerSize;
1120 unsigned BitWidth = std::max(C1->getBitWidth(), C2->getBitWidth());
2045 MinDiff.zextOrTrunc(Var0.Scale.getBitWidth()) * Var
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DPtrUseVisitor.h226 Offset = APInt(IntIdxTy->getBitWidth(), 0);
H A DMemoryBuiltins.h253 return SizeOffset.first.getBitWidth() > 1;
257 return SizeOffset.second.getBitWidth() > 1;
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DDerivedTypes.h71 unsigned getBitWidth() const { return getSubclassData(); } function in class:llvm::IntegerType
76 return ~uint64_t(0UL) >> (64-getBitWidth());
82 return 1ULL << (getBitWidth()-1);
103 return cast<IntegerType>(this)->getBitWidth();
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DAbstractBasicWriter.h160 asImpl().writeUInt32(value.getBitWidth());
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DFixedPoint.h99 assert(Val.getBitWidth() == Sema.getWidth() &&
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DExternalFunctions.cpp77 switch (cast<IntegerType>(Ty)->getBitWidth()) {
127 switch (cast<IntegerType>(Ty)->getBitWidth()) {
147 switch (cast<IntegerType>(Ty)->getBitWidth()) {
238 switch (cast<IntegerType>(RetTy)->getBitWidth()) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DOrcMCJITReplacement.cpp90 unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth();
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h678 if (I1.getBitWidth() == I2.getBitWidth())
681 if (I1.getBitWidth() > I2.getBitWidth())
682 return I1 == I2.zext(I1.getBitWidth());
684 return I1.zext(I2.getBitWidth()) == I2;
1140 assert(bitPosition < getBitWidth() && "Bit position out of bounds!");
1569 unsigned getBitWidth() const { return BitWidth; }
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBasicValueFactory.cpp239 if (Amt >= V1.getBitWidth())
262 if (Amt >= V1.getBitWidth())
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConv.h390 Solver->mkBitvector(NewRInt, NewRInt.getBitWidth());
398 Solver->mkBitvector(NewLInt, NewLInt.getBitWidth());
511 Solver->mkBitvector(NewFromInt, NewFromInt.getBitWidth());
526 Solver->mkBitvector(NewToInt, NewToInt.getBitWidth());
545 return Ctx.getIntTypeForBitwidth(Int.getBitWidth(), Int.isSigned());
556 if (Int.getBitWidth() == 1 && getAPSIntType(Ctx, Int).isNull()) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp967 if (!T || T->getBitWidth() > DestTy->getBitWidth())
969 if (T->getBitWidth() == DestTy->getBitWidth())
1010 unsigned DestBW = DestTy->getBitWidth();
1025 assert(Ty->getBitWidth() < DestBW);
1039 Value *Mask = ConstantInt::get(DestTy, (1u << TruncTy->getBitWidth()) - 1);
1049 if (CI->getType()->getBitWidth() < DestBW)
1066 unsigned DestBW = DestTy->getBitWidth();
1072 if (!T || T->getBitWidth() > DestB
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp104 assert(Known.getBitWidth() == Min.getBitWidth() &&
105 Known.getBitWidth() == Max.getBitWidth() &&
126 assert(Known.getBitWidth() == Min.getBitWidth() &&
127 Known.getBitWidth() == Max.getBitWidth() &&
1114 APInt::getMaxValue(C.getBitWidth()) - C);
1125 APInt SMax = APInt::getSignedMaxValue(C.getBitWidth());
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DFunctionLoweringInfo.cpp419 if (BitWidth > LOI->Known.getBitWidth()) {
479 assert(DestLOI.Known.Zero.getBitWidth() == BitWidth &&
480 DestLOI.Known.One.getBitWidth() == BitWidth &&
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DSwitchLoweringUtils.cpp26 assert(LowCase.getBitWidth() == HighCase.getBitWidth());
406 LowBound = APInt::getNullValue(Low.getBitWidth());
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DGISelKnownBits.cpp120 assert(Known.getBitWidth() == BitWidth && "Cache entry size doesn't match");
364 Known.Zero.setBitsFrom(Known.Zero.getBitWidth() - Shift);
493 Mask <<= Mask.getBitWidth() - TyBits;

Completed in 486 milliseconds

12345678910