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

12

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DPtrUseVisitor.cpp39 Offset += TmpOffset.sextOrTrunc(Offset.getBitWidth());
H A DStackSafetyAnalysis.cpp131 Mul = Mul.sextOrTrunc(PointerSize);
235 return Offset.sextOrTrunc(PointerSize);
286 Sizes = Sizes.sextOrTrunc(PointerSize);
645 ConstantRange Access = Found->sextOrTrunc(Use.Range.getBitWidth());
H A DBasicAliasAnalysis.cpp563 .sextOrTrunc(MaxPointerSize);
596 APInt WideScaledOffset = IndexOffset.sextOrTrunc(MaxPointerSize*2) *
607 Decomposed.OtherOffset += IndexOffset.sextOrTrunc(MaxPointerSize) * Scale;
608 Scale *= IndexScale.sextOrTrunc(MaxPointerSize);
H A DLoads.cpp97 Base, Alignment, Offset + Size.sextOrTrunc(Offset.getBitWidth()), DL,
H A DLoopAccessAnalysis.cpp1238 OffsetA = OffsetA.sextOrTrunc(IdxWidth);
1239 OffsetB = OffsetB.sextOrTrunc(IdxWidth);
H A DInlineCost.cpp833 Offset += OpC->getValue().sextOrTrunc(IntPtrWidth) * TypeSize;
H A DConstantFolding.cpp2646 Product.sextOrTrunc(Width));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/RISCV/Utils/
H A DRISCVMatInt.cpp85 APInt Chunk = Val.ashr(ShiftVal).sextOrTrunc(PlatRegSize);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DOperator.cpp70 Index = Index.sextOrTrunc(Offset.getBitWidth());
H A DValue.cpp652 APInt GEPOffsetST = GEPOffset.sextOrTrunc(BitWidth);
H A DConstantRange.cpp767 ConstantRange ConstantRange::sextOrTrunc(uint32_t DstTySize) const {
/freebsd-13-stable/contrib/llvm-project/clang/lib/Basic/
H A DFixedPoint.cpp253 return APFixedPoint(Result.sextOrTrunc(CommonFXSema.getWidth()),
308 return APFixedPoint(Result.sextOrTrunc(CommonFXSema.getWidth()),
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantRange.h321 ConstantRange sextOrTrunc(uint32_t BitWidth) const;
/freebsd-13-stable/contrib/llvm-project/lldb/source/Utility/
H A DScalar.cpp258 m_integer = sign ? m_integer.sextOrTrunc(bits) : m_integer.zextOrTrunc(bits);
337 m_integer = m_integer.sextOrTrunc(GetBitSize(type));
577 return m_integer.sextOrTrunc(sizeof(T) * 8).getSExtValue();
1038 m_integer = integer.sextOrTrunc(GetBitSize(m_type));
1280 .sextOrTrunc(bit_size)
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DIntegral.h111 return APSInt(toAPSInt().sextOrTrunc(NumBits), !Signed);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp342 OffsetA = OffsetA.sextOrTrunc(NewPtrBitWidth);
343 OffsetB = OffsetB.sextOrTrunc(NewPtrBitWidth);
344 PtrDelta = PtrDelta.sextOrTrunc(NewPtrBitWidth);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPSInt.h113 return APSInt(sextOrTrunc(width), IsUnsigned);
H A DAPInt.h1400 APInt sextOrTrunc(unsigned width) const;
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h781 ConstIdx->getValue().sextOrTrunc(PtrSizeBits) * ElementSize;
794 BaseOffset.sextOrTrunc(64).getSExtValue(), HasBaseReg, Scale,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DInterleavedLoadCombinePass.cpp492 Polynomial &sextOrTrunc(unsigned n) { function in class:__anon3485::Polynomial
1023 Result.sextOrTrunc(PointerBits);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp77 APInt Tmp = ImmVal.ashr(ShiftVal).sextOrTrunc(64);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp961 APInt APInt::sextOrTrunc(unsigned width) const {
2876 if (C.sextOrTrunc(RangeWidth).isNullValue() ) {
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h935 getConstant(MulImm.sextOrTrunc(VT.getSizeInBits()), DL, VT));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp731 uint64_t IdxN = CI->getValue().sextOrTrunc(64).getSExtValue();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp1975 APInt NewIdx = CI->getValue().sextOrTrunc(PreferredVecIdxWidth);

Completed in 387 milliseconds

12