Home
last modified time | relevance | path

Searched refs:NewBitWidth (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConv.h700 uint64_t NewBitWidth = Ctx.getTypeSize(NewTy); in doIntTypeConversion() local
701 LHS = (*doCast)(Solver, LHS, NewTy, NewBitWidth, LTy, LBitWidth); in doIntTypeConversion()
703 LBitWidth = NewBitWidth; in doIntTypeConversion()
707 uint64_t NewBitWidth = Ctx.getTypeSize(NewTy); in doIntTypeConversion() local
708 RHS = (*doCast)(Solver, RHS, NewTy, NewBitWidth, RTy, RBitWidth); in doIntTypeConversion()
710 RBitWidth = NewBitWidth; in doIntTypeConversion()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp121 void APInt::reallocate(unsigned NewBitWidth) { in reallocate() argument
123 if (getNumWords() == getNumWords(NewBitWidth)) { in reallocate()
124 BitWidth = NewBitWidth; in reallocate()
133 BitWidth = NewBitWidth; in reallocate()
3009 APInt llvm::APIntOps::ScaleBitMask(const APInt &A, unsigned NewBitWidth, in ScaleBitMask() argument
3012 assert((((OldBitWidth % NewBitWidth) == 0) || in ScaleBitMask()
3013 ((NewBitWidth % OldBitWidth) == 0)) && in ScaleBitMask()
3018 if (OldBitWidth == NewBitWidth) in ScaleBitMask()
3021 APInt NewA = APInt::getZero(NewBitWidth); in ScaleBitMask()
3027 if (NewBitWidth > OldBitWidth) { in ScaleBitMask()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILLegalizePass.cpp58 unsigned NewBitWidth = InstrType->getIntegerBitWidth(); in fixI8UseChain() local
62 assert(NewBitWidth > Value.getBitWidth() && in fixI8UseChain()
64 APInt NewValue = Value.sext(NewBitWidth); in fixI8UseChain()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDerivedTypes.h764 Type *Type::getWithNewBitWidth(unsigned NewBitWidth) const { in getWithNewBitWidth() argument
768 return getWithNewType(getIntNTy(getContext(), NewBitWidth)); in getWithNewBitWidth()
H A DType.h419 LLVM_ABI inline Type *getWithNewBitWidth(unsigned NewBitWidth) const;
/freebsd/contrib/llvm-project/llvm/lib/FileCheck/
H A DFileCheck.cpp223 unsigned NewBitWidth = std::max(LeftBitWidth, RightBitWidth); in eval() local
224 LeftOp = LeftOp.sext(NewBitWidth); in eval()
225 RightOp = RightOp.sext(NewBitWidth); in eval()
234 NewBitWidth = nextAPIntBitWidth(NewBitWidth); in eval()
235 LeftOp = LeftOp.sext(NewBitWidth); in eval()
236 RightOp = RightOp.sext(NewBitWidth); in eval()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h2008 void reallocate(unsigned NewBitWidth);
2405 LLVM_ABI APInt ScaleBitMask(const APInt &A, unsigned NewBitWidth,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp1202 unsigned NewBitWidth = (*MaxValue + 1).logBase2() + 1; in matchSAddSubSat() local
1205 if (!shouldChangeType(Ty->getScalarType()->getIntegerBitWidth(), NewBitWidth)) in matchSAddSubSat()
1213 Type *NewTy = Ty->getWithNewBitWidth(NewBitWidth); in matchSAddSubSat()
1225 if (ComputeMaxSignificantBits(AddSub->getOperand(0), AddSub) > NewBitWidth || in matchSAddSubSat()
1226 ComputeMaxSignificantBits(AddSub->getOperand(1), AddSub) > NewBitWidth) in matchSAddSubSat()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanTransforms.cpp1361 unsigned NewBitWidth = in optimizeVectorInductionWidthForTCAndVFUF() local
1365 auto *NewIVTy = IntegerType::get(Ctx, NewBitWidth); in optimizeVectorInductionWidthForTCAndVFUF()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp2905 unsigned NewBitWidth = FD->getBitWidthValue(); in truncateBitfieldValue() local
2906 if (NewBitWidth < OldBitWidth) in truncateBitfieldValue()
2907 Int = Int.trunc(NewBitWidth).extend(OldBitWidth); in truncateBitfieldValue()