Searched refs:getScalarSizeInBits (Results 1 – 20 of 20) sorted by relevance
361 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in CanEvaluateTruncated()362 uint32_t BitWidth = Ty->getScalarSizeInBits(); in CanEvaluateTruncated()377 uint32_t BitWidth = Ty->getScalarSizeInBits(); in CanEvaluateTruncated()387 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in CanEvaluateTruncated()388 uint32_t BitWidth = Ty->getScalarSizeInBits(); in CanEvaluateTruncated()456 if (DestTy->getScalarSizeInBits() == 1) { in visitTrunc()517 In->getType()->getScalarSizeInBits()-1); in transformZExtICmp()686 unsigned VSize = V->getType()->getScalarSizeInBits(); in CanEvaluateZExtd()702 if (BitsToClear > V->getType()->getScalarSizeInBits()) in CanEvaluateZExtd()703 BitsToClear = V->getType()->getScalarSizeInBits(); in CanEvaluateZExtd()[all …]
90 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in CanEvaluateShifted()91 uint32_t BitWidth = Ty->getScalarSizeInBits(); in CanEvaluateShifted()126 unsigned TypeWidth = I->getType()->getScalarSizeInBits(); in CanEvaluateShifted()150 unsigned TypeWidth = I->getType()->getScalarSizeInBits(); in CanEvaluateShifted()213 unsigned TypeWidth = BO->getType()->getScalarSizeInBits(); in GetShiftedValue()255 unsigned TypeWidth = BO->getType()->getScalarSizeInBits(); in GetShiftedValue()331 uint32_t TypeBits = Op0->getType()->getScalarSizeInBits(); in FoldShiftByConstant()378 unsigned SrcSize = TrOp->getType()->getScalarSizeInBits(); in FoldShiftByConstant()379 unsigned DstSize = TI->getType()->getScalarSizeInBits(); in FoldShiftByConstant()732 unsigned BitWidth = Op0->getType()->getScalarSizeInBits(); in visitLShr()[all …]
53 unsigned BitWidth = Inst.getType()->getScalarSizeInBits(); in SimplifyDemandedInstructionBits()111 VTy->getScalarSizeInBits() == BitWidth) && in SimplifyDemandedUseBits()383 unsigned truncBf = I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits()420 unsigned SrcBitWidth =I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits()438 unsigned SrcBitWidth =I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits()
116 uint32_t TySizeBits = I.getType()->getScalarSizeInBits(); in visitAdd()
399 else if (CmpRHS->getType()->getScalarSizeInBits() in visitSelectInstWithICmp()
1889 BitWidth = Ty->getScalarSizeInBits(); in visitICmpInst()2660 unsigned InputSize = LHSI->getOperand(0)->getType()->getScalarSizeInBits(); in FoldFCmp_IntToFP_Cst()2715 unsigned IntWidth = IntTy->getScalarSizeInBits(); in FoldFCmp_IntToFP_Cst()
93 TD->isLegalInteger(Op->getType()->getScalarSizeInBits()) && in isInstructionFree()94 Op->getType()->getScalarSizeInBits() <= TD->getPointerSizeInBits()) in isInstructionFree()100 TD->isLegalInteger(Op->getType()->getScalarSizeInBits()) && in isInstructionFree()101 Op->getType()->getScalarSizeInBits() >= TD->getPointerSizeInBits()) in isInstructionFree()
40 if (unsigned BitWidth = Ty->getScalarSizeInBits()) in getBitWidth()240 V->getType()->getScalarSizeInBits() == BitWidth) && in ComputeMaskedBits()430 SrcBitWidth = SrcTy->getScalarSizeInBits(); in ComputeMaskedBits()455 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits(); in ComputeMaskedBits()630 unsigned GEPOpiBits = Index->getType()->getScalarSizeInBits(); in ComputeMaskedBits()1013 Ty->getScalarSizeInBits(); in ComputeNumSignBits()1027 Tmp = TyBits - U->getOperand(0)->getType()->getScalarSizeInBits(); in ComputeNumSignBits()
381 unsigned IntegerSize = I.getType()->getScalarSizeInBits(); in visitPtrToInt()415 unsigned IntegerSize = Op->getType()->getScalarSizeInBits(); in visitIntToPtr()
918 unsigned InWidth = Input->getType()->getScalarSizeInBits(); in ConstantFoldInstOperands()936 TD->getPointerSizeInBits() <= CE->getType()->getScalarSizeInBits() && in ConstantFoldInstOperands()
1214 Op0->getType()->getScalarSizeInBits()) in SimplifyShift()
2092 return IntPtrTy->getScalarSizeInBits() == in isNoopCast()2093 DestTy->getScalarSizeInBits(); in isNoopCast()2095 return IntPtrTy->getScalarSizeInBits() == in isNoopCast()2096 SrcTy->getScalarSizeInBits(); in isNoopCast()2220 unsigned PtrSize = IntPtrTy->getScalarSizeInBits(); in isEliminableCastPair()2221 unsigned MidSize = MidTy->getScalarSizeInBits(); in isEliminableCastPair()2230 unsigned SrcSize = SrcTy->getScalarSizeInBits(); in isEliminableCastPair()2231 unsigned DstSize = DstTy->getScalarSizeInBits(); in isEliminableCastPair()2261 unsigned PtrSize = IntPtrTy->getScalarSizeInBits(); in isEliminableCastPair()2262 unsigned SrcSize = SrcTy->getScalarSizeInBits(); in isEliminableCastPair()[all …]
1387 if (C->getType()->getScalarSizeInBits() == Ty->getScalarSizeInBits()) in getZExtOrBitCast()1393 if (C->getType()->getScalarSizeInBits() == Ty->getScalarSizeInBits()) in getSExtOrBitCast()1399 if (C->getType()->getScalarSizeInBits() == Ty->getScalarSizeInBits()) in getTruncOrBitCast()1417 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in getIntegerCast()1418 unsigned DstBits = Ty->getScalarSizeInBits(); in getIntegerCast()1429 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in getFPCast()1430 unsigned DstBits = Ty->getScalarSizeInBits(); in getFPCast()1446 assert(C->getType()->getScalarSizeInBits() > Ty->getScalarSizeInBits()&& in getTrunc()1460 assert(C->getType()->getScalarSizeInBits() < Ty->getScalarSizeInBits()&& in getSExt()1474 assert(C->getType()->getScalarSizeInBits() < Ty->getScalarSizeInBits()&& in getZExt()[all …]
868 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); in visitTruncInst()869 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitTruncInst()890 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); in visitZExtInst()891 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitZExtInst()904 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); in visitSExtInst()905 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitSExtInst()921 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); in visitFPTruncInst()922 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitFPTruncInst()939 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); in visitFPExtInst()940 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitFPExtInst()
152 unsigned Type::getScalarSizeInBits() { in getScalarSizeInBits() function in Type
287 unsigned getScalarSizeInBits();
305 if (ValTy->isVectorTy() && ValTy->getScalarSizeInBits() == 1) in Act()325 if (Val0->getType()->getScalarSizeInBits() == 1) in Act()
670 if (T1->getScalarSizeInBits() == 1 && T2->getScalarSizeInBits() == 1) { in isInstVectorizable()
483 IRType->getScalarSizeInBits() != 64; in UseX86_MMXType()
954 unsigned Bitwidth = LTy->getScalarSizeInBits(); in getRangeForLoadFromType()