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

12

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DPtrUseVisitor.cpp39 Offset += TmpOffset.sextOrTrunc(Offset.getBitWidth());
H A DBasicAliasAnalysis.cpp562 .sextOrTrunc(MaxPointerSize);
594 APInt WideScaledOffset = IndexOffset.sextOrTrunc(MaxPointerSize*2) *
605 Decomposed.OtherOffset += IndexOffset.sextOrTrunc(MaxPointerSize) * Scale;
606 Scale *= IndexScale.sextOrTrunc(MaxPointerSize);
H A DLoads.cpp101 Base, Alignment, Offset + Size.sextOrTrunc(Offset.getBitWidth()), DL,
H A DLoopAccessAnalysis.cpp1207 OffsetA = OffsetA.sextOrTrunc(IdxWidth);
1208 OffsetB = OffsetB.sextOrTrunc(IdxWidth);
H A DInlineCost.cpp698 Offset += OpC->getValue().sextOrTrunc(IntPtrWidth) * TypeSize;
H A DConstantFolding.cpp2333 Product.sextOrTrunc(Width));
H A DInstructionSimplify.cpp707 Offset = Offset.sextOrTrunc(IntIdxTy->getIntegerBitWidth());
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
H A DOperator.cpp57 APInt Index = OpC->getValue().sextOrTrunc(Offset.getBitWidth());
H A DValue.cpp587 Offset += GEPOffset.sextOrTrunc(BitWidth);
H A DConstantRange.cpp767 ConstantRange ConstantRange::sextOrTrunc(uint32_t DstTySize) const {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/RISCV/Utils/
H A DRISCVMatInt.cpp85 APInt Chunk = Val.ashr(ShiftVal).sextOrTrunc(PlatRegSize);
/freebsd-12-stable/contrib/llvm-project/lldb/source/Utility/
H A DScalar.cpp438 m_integer = m_integer.sextOrTrunc(bits);
469 m_integer = m_integer.sextOrTrunc(sizeof(uint_t) * 8);
474 m_integer = m_integer.sextOrTrunc(sizeof(slong_t) * 8);
479 m_integer = m_integer.sextOrTrunc(sizeof(ulong_t) * 8);
484 m_integer = m_integer.sextOrTrunc(sizeof(slonglong_t) * 8);
489 m_integer = m_integer.sextOrTrunc(sizeof(ulonglong_t) * 8);
495 m_integer = m_integer.sextOrTrunc(BITWIDTH_INT128);
501 m_integer = m_integer.sextOrTrunc(BITWIDTH_INT256);
507 m_integer = m_integer.sextOrTrunc(BITWIDTH_INT512);
615 m_integer = m_integer.sextOrTrunc(sizeo
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantRange.h321 ConstantRange sextOrTrunc(uint32_t BitWidth) const;
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DIntegral.h111 return APSInt(toAPSInt().sextOrTrunc(NumBits), !Signed);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp359 OffsetA = OffsetA.sextOrTrunc(NewPtrBitWidth);
360 OffsetB = OffsetB.sextOrTrunc(NewPtrBitWidth);
361 PtrDelta = PtrDelta.sextOrTrunc(NewPtrBitWidth);
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPSInt.h113 return APSInt(sextOrTrunc(width), IsUnsigned);
H A DAPInt.h1398 APInt sextOrTrunc(unsigned width) const;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DInterleavedLoadCombinePass.cpp492 Polynomial &sextOrTrunc(unsigned n) { function in class:__anon4561::Polynomial
1023 Result.sextOrTrunc(PointerBits);
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h786 ConstIdx->getValue().sextOrTrunc(PtrSizeBits) * ElementSize;
799 BaseOffset.sextOrTrunc(64).getSExtValue(), HasBaseReg, Scale,
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp76 APInt Tmp = ImmVal.ashr(ShiftVal).sextOrTrunc(64);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp963 APInt APInt::sextOrTrunc(unsigned width) const {
2878 if (C.sextOrTrunc(RangeWidth).isNullValue() ) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp726 uint64_t IdxN = CI->getValue().sextOrTrunc(64).getSExtValue();
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp1919 APInt NewIdx = CI->getValue().sextOrTrunc(PreferredVecIdxWidth);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp754 APInt Index = OpC->getValue().sextOrTrunc(Offset.getBitWidth());
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp3028 APInt Tmp = ImmVal.ashr(ShiftVal).sextOrTrunc(64);

Completed in 224 milliseconds

12