Home
last modified time | relevance | path

Searched refs:getIntegerBitWidth (Results 1 – 25 of 30) sorted by relevance

12

/external/compiler-rt/lib/ubsan/
Dubsan_value.cc29 sizeof(SIntMax) * 8 - getType().getIntegerBitWidth(); in getSIntValue()
32 if (getType().getIntegerBitWidth() == 64) in getSIntValue()
35 if (getType().getIntegerBitWidth() == 128) in getSIntValue()
38 if (getType().getIntegerBitWidth() == 128) in getSIntValue()
48 if (getType().getIntegerBitWidth() == 64) in getUIntValue()
51 if (getType().getIntegerBitWidth() == 128) in getUIntValue()
54 if (getType().getIntegerBitWidth() == 128) in getUIntValue()
Dubsan_value.h124 unsigned getIntegerBitWidth() const { in getIntegerBitWidth() function
155 const unsigned Bits = getType().getIntegerBitWidth(); in isInlineInt()
Dubsan_handlers.cc228 RHSVal.getPositiveIntValue() >= Data->LHSType.getIntegerBitWidth()) in handleShiftOutOfBoundsImpl()
243 << RHSVal << Data->LHSType.getIntegerBitWidth() << Data->LHSType; in handleShiftOutOfBoundsImpl()
/external/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp36 unsigned BitWidth = Dividend->getType()->getIntegerBitWidth(); in generateSignedRemainderCode()
108 unsigned BitWidth = Dividend->getType()->getIntegerBitWidth(); in generateSignedDivisionCode()
387 unsigned RemTyBitWidth = RemTy->getIntegerBitWidth(); in expandRemainder()
447 unsigned DivTyBitWidth = DivTy->getIntegerBitWidth(); in expandDivision()
498 unsigned RemTyBitWidth = RemTy->getIntegerBitWidth(); in expandRemainderUpTo32Bits()
548 unsigned RemTyBitWidth = RemTy->getIntegerBitWidth(); in expandRemainderUpTo64Bits()
599 unsigned DivTyBitWidth = DivTy->getIntegerBitWidth(); in expandDivisionUpTo32Bits()
649 unsigned DivTyBitWidth = DivTy->getIntegerBitWidth(); in expandDivisionUpTo64Bits()
/external/llvm/lib/Target/AArch64/
DAArch64AddressTypePromotion.cpp170 if (Inst->getType()->getIntegerBitWidth() >= in canGetThrough()
171 Opnd->getOperand(0)->getType()->getIntegerBitWidth() && in canGetThrough()
172 Inst->getOperand(0)->getType()->getIntegerBitWidth() <= in canGetThrough()
173 ConsideredSExtType->getIntegerBitWidth()) in canGetThrough()
/external/llvm/include/llvm/Transforms/Utils/
DLocal.h204 unsigned IntPtrWidth = IntPtrTy->getScalarType()->getIntegerBitWidth();
/external/llvm/include/llvm/IR/
DDataLayout.h528 return Ty->getIntegerBitWidth(); in getTypeSizeInBits()
DType.h340 unsigned getIntegerBitWidth() const;
/external/llvm/lib/Analysis/
DLint.cpp515 unsigned BitWidth = V->getType()->getIntegerBitWidth(); in isZero()
532 unsigned BitWidth = VecTy->getElementType()->getIntegerBitWidth(); in isZero()
DBasicAliasAnalysis.cpp417 unsigned Width = Index->getType()->getIntegerBitWidth(); in DecomposeGEPExpression()
1520 unsigned Width = Var1.V->getType()->getIntegerBitWidth(); in constantOffsetHeuristic()
DScalarEvolutionExpander.cpp1014 if (RequestedTy->getIntegerBitWidth() > PhiTy->getIntegerBitWidth()) in canBeCheaplyTransformed()
DLazyValueInfo.cpp975 unsigned BitWidth = Val->getType()->getIntegerBitWidth(); in getEdgeValueLocal()
DConstantFolding.cpp1383 unsigned ResultWidth = Ty->getIntegerBitWidth(); in ConstantFoldConvertToInt()
/external/llvm/lib/Transforms/Scalar/
DSeparateConstOffsetFromGEP.cpp797 APInt ElementSize = APInt(IntPtrTy->getIntegerBitWidth(), in lowerToSingleIndexGEPs()
858 APInt ElementSize = APInt(IntPtrTy->getIntegerBitWidth(), in lowerToArithmetics()
DMemCpyOptimizer.cpp886 if (DestSize->getType()->getIntegerBitWidth() > in processMemSetMemCpyDependence()
887 SrcSize->getType()->getIntegerBitWidth()) in processMemSetMemCpyDependence()
DReassociate.cpp214 ConstPart = APInt::getNullValue(V->getType()->getIntegerBitWidth()); in XorOpnd()
1381 APInt ConstOpnd(Ty->getIntegerBitWidth(), 0); in OptimizeXor()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp2838 OpndVal->getType()->getIntegerBitWidth() > in canGetThrough()
2839 ConsideredExtType->getIntegerBitWidth()) in canGetThrough()
2863 return Inst->getType()->getIntegerBitWidth() >= in canGetThrough()
2864 OpndType->getIntegerBitWidth(); in canGetThrough()
3007 unsigned BitWidth = Ext->getType()->getIntegerBitWidth(); in promoteOperandForOther()
4022 if (ExtTy->getScalarType()->getIntegerBitWidth() > in hasSameExtUse()
4023 CurTy->getScalarType()->getIntegerBitWidth()) { in hasSameExtUse()
/external/llvm/lib/IR/
DConstantFold.cpp2116 std::max(IdxTy->getIntegerBitWidth(), in ConstantFoldGetElementPtrImpl()
2117 Idx0->getType()->getIntegerBitWidth()); in ConstantFoldGetElementPtrImpl()
2196 std::max(PrevIdx->getType()->getIntegerBitWidth(), in ConstantFoldGetElementPtrImpl()
2197 Div->getType()->getIntegerBitWidth()); in ConstantFoldGetElementPtrImpl()
DType.cpp169 unsigned Type::getIntegerBitWidth() const { in getIntegerBitWidth() function in Type
DConstants.cpp1241 unsigned NumBits = Ty->getIntegerBitWidth(); // assert okay in isValueValidForType()
1251 unsigned NumBits = Ty->getIntegerBitWidth(); in isValueValidForType()
2670 switch (getElementType()->getIntegerBitWidth()) { in getElementAsInteger()
/external/clang/lib/CodeGen/
DCGRecordLayoutBuilder.cpp559 cast<llvm::IntegerType>(Prior->Data)->getIntegerBitWidth(), 8))); in clipTailPadding()
DCGExpr.cpp2321 if (Bits <= TargetTy->getIntegerBitWidth()) in EmitCheckValue()
2328 V->getType()->getIntegerBitWidth() <= TargetTy->getIntegerBitWidth()) in EmitCheckValue()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp394 unsigned PtrSize = IntPtrTy->getIntegerBitWidth(); in FoldCmpLoadFromIndexedGlobal()
479 if (ArrayElementCount <= Idx->getType()->getIntegerBitWidth()) in FoldCmpLoadFromIndexedGlobal()
564 unsigned IntPtrWidth = IntPtrTy->getIntegerBitWidth(); in EvaluateGEPOffsetExpression()
2029 DL.getPointerTypeSizeInBits(SrcTy) == DestTy->getIntegerBitWidth()) { in visitICmpInstWithCastAndCast()
DInstCombineSimplifyDemanded.cpp814 unsigned BitWidth = Ty->getIntegerBitWidth(); in SimplifyShrShlDemandedBits()
/external/llvm/lib/Target/Hexagon/
DHexagonBitTracker.cpp56 Width = ATy->getIntegerBitWidth(); in HexagonEvaluator()

12