| /llvm-project-15.0.7/compiler-rt/lib/ubsan/ |
| H A D | ubsan_value.cpp | 74 sizeof(SIntMax) * 8 - getType().getIntegerBitWidth(); in getSIntValue() 77 if (getType().getIntegerBitWidth() == 64) in getSIntValue() 80 if (getType().getIntegerBitWidth() == 128) in getSIntValue() 83 if (getType().getIntegerBitWidth() == 128) in getSIntValue() 93 if (getType().getIntegerBitWidth() == 64) in getUIntValue() 96 if (getType().getIntegerBitWidth() == 128) in getUIntValue() 99 if (getType().getIntegerBitWidth() == 128) in getUIntValue()
|
| H A D | ubsan_value.h | 123 unsigned getIntegerBitWidth() const { in getIntegerBitWidth() function 157 const unsigned Bits = getType().getIntegerBitWidth(); in isInlineInt()
|
| H A D | ubsan_handlers.cpp | 339 RHSVal.getPositiveIntValue() >= Data->LHSType.getIntegerBitWidth()) in handleShiftOutOfBoundsImpl() 355 << RHSVal << Data->LHSType.getIntegerBitWidth() << Data->LHSType; in handleShiftOutOfBoundsImpl() 602 << SrcTy << Value(SrcTy, Src) << SrcTy.getIntegerBitWidth() in handleImplicitConversion() 604 << DstTy.getIntegerBitWidth() << (DstSigned ? "" : "un"); in handleImplicitConversion()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | IntegerDivision.cpp | 34 unsigned BitWidth = Dividend->getType()->getIntegerBitWidth(); in generateSignedRemainderCode() 106 unsigned BitWidth = Dividend->getType()->getIntegerBitWidth(); in generateSignedDivisionCode() 382 assert((Rem->getType()->getIntegerBitWidth() == 32 || in expandRemainder() 383 Rem->getType()->getIntegerBitWidth() == 64) && in expandRemainder() 440 assert((Div->getType()->getIntegerBitWidth() == 32 || in expandDivision() 441 Div->getType()->getIntegerBitWidth() == 64) && in expandDivision() 492 unsigned RemTyBitWidth = RemTy->getIntegerBitWidth(); in expandRemainderUpTo32Bits() 541 unsigned RemTyBitWidth = RemTy->getIntegerBitWidth(); in expandRemainderUpTo64Bits() 590 unsigned DivTyBitWidth = DivTy->getIntegerBitWidth(); in expandDivisionUpTo32Bits() 638 unsigned DivTyBitWidth = DivTy->getIntegerBitWidth(); in expandDivisionUpTo64Bits()
|
| H A D | BypassSlowDivision.cpp | 233 unsigned LongLen = V->getType()->getIntegerBitWidth(); in getValueRange()
|
| /llvm-project-15.0.7/polly/lib/CodeGen/ |
| H A D | RuntimeDebugBuilder.cpp | 109 return Ty->getIntegerBitWidth() <= 64; in isPrintable() 129 if (Ty->getIntegerBitWidth() < 64) in prepareValuesForPrinting() 132 assert(Ty->getIntegerBitWidth() && in prepareValuesForPrinting() 202 if (Ty->getIntegerBitWidth() < 64) { in createGPUPrinterT() 205 assert(Ty->getIntegerBitWidth() == 64 && in createGPUPrinterT()
|
| H A D | LoopGeneratorsKMP.cpp | 558 return (LongType->getIntegerBitWidth() == 64); in is64BitArch()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LowerExpectIntrinsic.cpp | 173 Result = Result.zext(Op->getType()->getIntegerBitWidth()); in handlePhiDef() 176 Result = Result.sext(Op->getType()->getIntegerBitWidth()); in handlePhiDef()
|
| H A D | CorrelatedValuePropagation.cpp | 730 unsigned OrigWidth = Instr->getType()->getIntegerBitWidth(); in narrowSDivOrSRem() 796 if (NewWidth >= Instr->getType()->getIntegerBitWidth()) in processUDivOrURem() 947 unsigned OrigWidth = SDI->getType()->getIntegerBitWidth(); in processAShr()
|
| H A D | StraightLineStrengthReduce.cpp | 551 if (ArrayIdx->getType()->getIntegerBitWidth() <= in allocateCandidatesAndFindBasisForGEP() 562 TruncatedArrayIdx->getType()->getIntegerBitWidth() <= in allocateCandidatesAndFindBasisForGEP()
|
| H A D | SeparateConstOffsetFromGEP.cpp | 874 APInt ElementSize = APInt(IntPtrTy->getIntegerBitWidth(), in lowerToSingleIndexGEPs() 935 APInt ElementSize = APInt(IntPtrTy->getIntegerBitWidth(), in lowerToArithmetics()
|
| H A D | MemCpyOptimizer.cpp | 1255 if (DestSize->getType()->getIntegerBitWidth() > in processMemSetMemCpyDependence() 1256 SrcSize->getType()->getIntegerBitWidth()) in processMemSetMemCpyDependence()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/Utils/ |
| H A D | Local.h | 40 unsigned IntPtrWidth = IntIdxTy->getScalarType()->getIntegerBitWidth();
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | LazyValueInfo.cpp | 926 const unsigned ResultBitWidth = CI->getType()->getIntegerBitWidth(); in solveBlockValueCast() 1061 ConstantRange RHSRange(RHS->getType()->getIntegerBitWidth(), in getValueFromSimpleICmpCondition() 1387 unsigned BitWidth = Val->getType()->getIntegerBitWidth(); in getEdgeValueLocal() 1613 unsigned Width = V->getType()->getIntegerBitWidth(); in getConstantRange() 1651 unsigned Width = V->getType()->getIntegerBitWidth(); in getConstantRangeOnEdge()
|
| H A D | IVDescriptors.cpp | 1085 APInt::getSignedMaxValue(Tp->getIntegerBitWidth())); in getRecurrenceIdentity() 1088 APInt::getSignedMinValue(Tp->getIntegerBitWidth())); in getRecurrenceIdentity()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Type.h | 358 inline unsigned getIntegerBitWidth() const;
|
| H A D | DataLayout.h | 690 return TypeSize::Fixed(Ty->getIntegerBitWidth()); in getTypeSizeInBits()
|
| H A D | DerivedTypes.h | 97 unsigned Type::getIntegerBitWidth() const { in getIntegerBitWidth() function
|
| /llvm-project-15.0.7/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVPrepareFunctions.cpp | 167 unsigned BitWidth = IntTy->getIntegerBitWidth(); in lowerFunnelShifts()
|
| H A D | SPIRVAsmPrinter.cpp | 341 switch (IntTy->getIntegerBitWidth()) { in encodeVecTypeHint()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 4234 Cst->getValue().isIntN(Inst->getType()->getIntegerBitWidth())) in canGetThrough() 4249 OpndVal->getType()->getIntegerBitWidth() > in canGetThrough() 4250 ConsideredExtType->getIntegerBitWidth()) in canGetThrough() 4273 return Inst->getType()->getIntegerBitWidth() >= in canGetThrough() 4274 OpndType->getIntegerBitWidth(); in canGetThrough() 4415 unsigned BitWidth = Ext->getType()->getIntegerBitWidth(); in promoteOperandForOther() 5708 if (ExtTy->getScalarType()->getIntegerBitWidth() > in hasSameExtUse() 5709 CurTy->getScalarType()->getIntegerBitWidth()) { in hasSameExtUse() 7097 PHIType->getIntegerBitWidth() > ConditionType->getIntegerBitWidth() && in optimizeSwitchPhiConstants() 7111 CaseValue->getValue().zext(PHIType->getIntegerBitWidth())) in optimizeSwitchPhiConstants()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUHSAMetadataStreamer.cpp | 148 auto BitWidth = Ty->getIntegerBitWidth(); in getTypeName() 570 auto BitWidth = Ty->getIntegerBitWidth(); in getTypeName()
|
| H A D | AMDGPUCodeGenPrepare.cpp | 240 return T->getIntegerBitWidth(); in getBaseElementBitWidth() 241 return cast<VectorType>(T)->getElementType()->getIntegerBitWidth(); in getBaseElementBitWidth()
|
| /llvm-project-15.0.7/llvm/lib/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.cpp | 2018 unsigned Bitwidth = Ty->getIntegerBitWidth(); in getKmpcForStaticInitForType() 2125 assert(IVTy->getIntegerBitWidth() <= 64 && in applyStaticChunkedWorkshareLoop() 2127 Type *InternalIVTy = IVTy->getIntegerBitWidth() <= 32 ? Type::getInt32Ty(Ctx) in applyStaticChunkedWorkshareLoop() 2315 unsigned Bitwidth = Ty->getIntegerBitWidth(); in getKmpcForDynamicInitForType() 2331 unsigned Bitwidth = Ty->getIntegerBitWidth(); in getKmpcForDynamicNextForType() 2346 unsigned Bitwidth = Ty->getIntegerBitWidth(); in getKmpcForDynamicFiniForType() 3166 ConstantInt::get(IndVarTy, APInt(IndVarTy->getIntegerBitWidth(), Factor, in unrollLoopPartial()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86InstCombineIntrinsic.cpp | 353 int BitWidth = SVT->getIntegerBitWidth(); in simplifyX86varShift() 947 unsigned BitWidth = II.getType()->getIntegerBitWidth(); in instCombineIntrinsic() 971 unsigned BitWidth = II.getType()->getIntegerBitWidth(); in instCombineIntrinsic()
|