Searched refs:sextOrTrunc (Results 1 - 25 of 40) sorted by relevance

12

/freebsd-current/contrib/llvm-project/llvm/lib/Analysis/
H A DPtrUseVisitor.cpp38 Offset += TmpOffset.sextOrTrunc(Offset.getBitWidth());
H A DStackSafetyAnalysis.cpp173 Mul = Mul.sextOrTrunc(PointerSize);
285 return Offset.sextOrTrunc(PointerSize);
336 Sizes = Sizes.sextOrTrunc(PointerSize);
809 ConstantRange Access = Found->sextOrTrunc(Use.Range.getBitWidth());
H A DLoads.cpp74 Base, Alignment, Offset + Size.sextOrTrunc(Offset.getBitWidth()), DL,
H A DBasicAliasAnalysis.cpp651 CIdx->getValue().sextOrTrunc(MaxIndexSize);
1193 CR = Index.Val.evaluateWith(CR).sextOrTrunc(OffsetRange.getBitWidth());
H A DLoopAccessAnalysis.cpp1599 OffsetA = OffsetA.sextOrTrunc(IdxWidth);
1600 OffsetB = OffsetB.sextOrTrunc(IdxWidth);
H A DInlineCost.cpp1433 Offset += OpC->getValue().sextOrTrunc(IntPtrWidth) * TypeSize;
/freebsd-current/contrib/llvm-project/llvm/lib/IR/
H A DOperator.cpp113 Index = Index.sextOrTrunc(Offset.getBitWidth());
187 Index = Index.sextOrTrunc(BitWidth);
H A DValue.cpp753 APInt GEPOffsetST = GEPOffset.sextOrTrunc(BitWidth);
H A DDebugInfoMetadata.cpp2000 NewInt = NewInt.sextOrTrunc(Op.getArg(0));
H A DConstantRange.cpp869 ConstantRange ConstantRange::sextOrTrunc(uint32_t DstTySize) const {
/freebsd-current/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp282 return APFixedPoint(Result.sextOrTrunc(CommonFXSema.getWidth()),
343 return APFixedPoint(Result.sextOrTrunc(CommonFXSema.getWidth()),
378 return APFixedPoint(Result.sextOrTrunc(Sema.getWidth()), Sema);
H A DAPInt.cpp1010 APInt APInt::sextOrTrunc(unsigned width) const {
2801 if (C.sextOrTrunc(RangeWidth).isZero()) {
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp1494 OffsetA = OffsetA.sextOrTrunc(NewPtrBitWidth);
1495 OffsetB = OffsetB.sextOrTrunc(NewPtrBitWidth);
1497 return (OffsetB - OffsetA).sextOrTrunc(OrigBitWidth);
1507 APInt Dist = DistRange.getSingleElement()->sextOrTrunc(NewPtrBitWidth);
1508 return (OffsetB - OffsetA + Dist).sextOrTrunc(OrigBitWidth);
1515 .sextOrTrunc(OrigBitWidth);
/freebsd-current/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantRange.h377 ConstantRange sextOrTrunc(uint32_t BitWidth) const;
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DEvaluator.cpp219 Offset = Offset.sextOrTrunc(DL.getIndexTypeSizeInBits(P->getType()));
319 Offset = Offset.sextOrTrunc(DL.getIndexTypeSizeInBits(Ptr->getType()));
/freebsd-current/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPSInt.h123 return APSInt(sextOrTrunc(width), IsUnsigned);
H A DAPInt.h1278 APInt sextOrTrunc(unsigned width) const;
/freebsd-current/contrib/llvm-project/clang/lib/AST/Interp/
H A DIntegral.h111 return APSInt(toAPSInt().sextOrTrunc(NumBits), !Signed);
H A DIntegralAP.h109 return IntegralAP<Signed>(V.V.sextOrTrunc(NumBits));
/freebsd-current/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVMatInt.cpp483 APInt Chunk = Val.ashr(ShiftVal).sextOrTrunc(PlatRegSize);
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Support/
H A DKnownBits.h197 KnownBits sextOrTrunc(unsigned BitWidth) const { function in struct:llvm::KnownBits
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/
H A DInterleavedLoadCombinePass.cpp492 Polynomial &sextOrTrunc(unsigned n) { function in class:__anon20::Polynomial
1027 Result.sextOrTrunc(PointerBits);
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h1065 ConstIdx->getValue().sextOrTrunc(PtrSizeBits) * ElementSize;
1092 BaseOffset.sextOrTrunc(64).getSExtValue(), HasBaseReg, Scale,
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp568 uint64_t IdxN = CI->getValue().sextOrTrunc(64).getSExtValue();
/freebsd-current/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp1154 ? CI->getValue().sextOrTrunc(DstWidth)

Completed in 474 milliseconds

12