|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/ADT/APInt.h 1368 APInt sextOrTrunc(unsigned width) const;
References
include/llvm/ADT/APSInt.h 113 return APSInt(sextOrTrunc(width), IsUnsigned);
include/llvm/Analysis/TargetTransformInfoImpl.h 770 ConstIdx->getValue().sextOrTrunc(PtrSizeBits) * ElementSize;
783 BaseOffset.sextOrTrunc(64).getSExtValue(), HasBaseReg, Scale,
lib/Analysis/BasicAliasAnalysis.cpp 561 .sextOrTrunc(MaxPointerSize);
593 APInt WideScaledOffset = IndexOffset.sextOrTrunc(MaxPointerSize*2) *
604 Decomposed.OtherOffset += IndexOffset.sextOrTrunc(MaxPointerSize) * Scale;
605 Scale *= IndexScale.sextOrTrunc(MaxPointerSize);
lib/Analysis/ConstantFolding.cpp 2331 Product.sextOrTrunc(Width));
lib/Analysis/InlineCost.cpp 412 Offset += OpC->getValue().sextOrTrunc(IntPtrWidth) * TypeSize;
lib/Analysis/InstructionSimplify.cpp 666 Offset = Offset.sextOrTrunc(IntPtrTy->getIntegerBitWidth());
lib/Analysis/Loads.cpp 101 Base, Alignment, Offset + Size.sextOrTrunc(Offset.getBitWidth()), DL,
lib/Analysis/LoopAccessAnalysis.cpp 1206 OffsetA = OffsetA.sextOrTrunc(IdxWidth);
1207 OffsetB = OffsetB.sextOrTrunc(IdxWidth);
lib/Analysis/PtrUseVisitor.cpp 39 Offset += TmpOffset.sextOrTrunc(Offset.getBitWidth());
lib/CodeGen/GlobalISel/IRTranslator.cpp 1902 APInt NewIdx = CI->getValue().sextOrTrunc(PreferredVecIdxWidth);
lib/CodeGen/SelectionDAG/FastISel.cpp 711 uint64_t IdxN = CI->getValue().sextOrTrunc(64).getSExtValue();
lib/CodeGen/SelectionDAG/SelectionDAG.cpp 4291 return getConstant(Val.sextOrTrunc(VT.getSizeInBits()), DL, VT,
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp 3888 APInt Offs = ElementSize * CI->getValue().sextOrTrunc(IdxSize);
lib/IR/Operator.cpp 57 APInt Index = OpC->getValue().sextOrTrunc(Offset.getBitWidth());
lib/IR/Value.cpp 586 Offset += GEPOffset.sextOrTrunc(BitWidth);
lib/Support/APInt.cpp 2853 if (C.sextOrTrunc(RangeWidth).isNullValue() ) {
lib/Target/AArch64/AArch64TargetTransformInfo.cpp 75 APInt Tmp = ImmVal.ashr(ShiftVal).sextOrTrunc(64);
lib/Target/RISCV/Utils/RISCVMatInt.cpp 85 APInt Chunk = Val.ashr(ShiftVal).sextOrTrunc(PlatRegSize);
lib/Target/X86/X86TargetTransformInfo.cpp 2952 APInt Tmp = ImmVal.ashr(ShiftVal).sextOrTrunc(64);
lib/Transforms/Scalar/SROA.cpp 753 APInt Index = OpC->getValue().sextOrTrunc(Offset.getBitWidth());
lib/Transforms/Vectorize/LoadStoreVectorizer.cpp 358 OffsetA = OffsetA.sextOrTrunc(NewPtrBitWidth);
359 OffsetB = OffsetB.sextOrTrunc(NewPtrBitWidth);
360 PtrDelta = PtrDelta.sextOrTrunc(NewPtrBitWidth);
tools/clang/lib/AST/Interp/Integral.h 111 return APSInt(toAPSInt().sextOrTrunc(NumBits), !Signed);
tools/clang/lib/Sema/SemaChecking.cpp 7037 FormatStringLiteral FStr(StrE, Offset.sextOrTrunc(64).getSExtValue());
tools/lldb/source/Utility/Scalar.cpp 447 m_integer = m_integer.sextOrTrunc(bits);
478 m_integer = m_integer.sextOrTrunc(sizeof(uint_t) * 8);
483 m_integer = m_integer.sextOrTrunc(sizeof(slong_t) * 8);
488 m_integer = m_integer.sextOrTrunc(sizeof(ulong_t) * 8);
493 m_integer = m_integer.sextOrTrunc(sizeof(slonglong_t) * 8);
498 m_integer = m_integer.sextOrTrunc(sizeof(ulonglong_t) * 8);
504 m_integer = m_integer.sextOrTrunc(BITWIDTH_INT128);
510 m_integer = m_integer.sextOrTrunc(BITWIDTH_INT256);
516 m_integer = m_integer.sextOrTrunc(BITWIDTH_INT512);
624 m_integer = m_integer.sextOrTrunc(sizeof(ulong_t) * 8);
629 m_integer = m_integer.sextOrTrunc(sizeof(slonglong_t) * 8);
634 m_integer = m_integer.sextOrTrunc(sizeof(ulonglong_t) * 8);
640 m_integer = m_integer.sextOrTrunc(BITWIDTH_INT128);
646 m_integer = m_integer.sextOrTrunc(BITWIDTH_INT256);
652 m_integer = m_integer.sextOrTrunc(BITWIDTH_INT512);
754 m_integer = m_integer.sextOrTrunc(sizeof(ulonglong_t) * 8);
760 m_integer = m_integer.sextOrTrunc(BITWIDTH_INT128);
766 m_integer = m_integer.sextOrTrunc(BITWIDTH_INT256);
772 m_integer = m_integer.sextOrTrunc(BITWIDTH_INT512);
868 m_integer = m_integer.sextOrTrunc(BITWIDTH_INT128);
874 m_integer = m_integer.sextOrTrunc(BITWIDTH_INT256);
880 m_integer = m_integer.sextOrTrunc(BITWIDTH_INT512);
974 m_integer = m_integer.sextOrTrunc(BITWIDTH_INT256);
1367 (m_integer.sextOrTrunc(sizeof(schar_t) * 8)).getSExtValue());
1375 (ldbl_val.sextOrTrunc(sizeof(schar_t) * 8)).getSExtValue());
1427 (m_integer.sextOrTrunc(sizeof(sshort_t) * 8)).getSExtValue());
1435 (ldbl_val.sextOrTrunc(sizeof(sshort_t) * 8)).getSExtValue());
1487 (m_integer.sextOrTrunc(sizeof(sint_t) * 8)).getSExtValue());
1495 (ldbl_val.sextOrTrunc(sizeof(sint_t) * 8)).getSExtValue());
1547 (m_integer.sextOrTrunc(sizeof(slong_t) * 8)).getSExtValue());
1555 (ldbl_val.sextOrTrunc(sizeof(slong_t) * 8)).getSExtValue());
1607 (m_integer.sextOrTrunc(sizeof(slonglong_t) * 8)).getSExtValue());
1615 (ldbl_val.sextOrTrunc(sizeof(slonglong_t) * 8)).getSExtValue());
2748 .sextOrTrunc(bit_size)