/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 367 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in canEvaluateTruncated() 368 uint32_t BitWidth = Ty->getScalarSizeInBits(); in canEvaluateTruncated() 383 uint32_t BitWidth = Ty->getScalarSizeInBits(); in canEvaluateTruncated() 393 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in canEvaluateTruncated() 394 uint32_t BitWidth = Ty->getScalarSizeInBits(); in canEvaluateTruncated() 515 if (DestTy->getScalarSizeInBits() == 1) { in visitTrunc() 599 In->getType()->getScalarSizeInBits()-1); in transformZExtICmp() 768 unsigned VSize = V->getType()->getScalarSizeInBits(); in canEvaluateZExtd() 796 if (BitsToClear > V->getType()->getScalarSizeInBits()) in canEvaluateZExtd() 797 BitsToClear = V->getType()->getScalarSizeInBits(); in canEvaluateZExtd() [all …]
|
D | InstCombineShifts.cpp | 92 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in CanEvaluateShifted() 93 uint32_t BitWidth = Ty->getScalarSizeInBits(); in CanEvaluateShifted() 128 unsigned TypeWidth = I->getType()->getScalarSizeInBits(); in CanEvaluateShifted() 153 unsigned TypeWidth = I->getType()->getScalarSizeInBits(); in CanEvaluateShifted() 220 unsigned TypeWidth = BO->getType()->getScalarSizeInBits(); in GetShiftedValue() 262 unsigned TypeWidth = BO->getType()->getScalarSizeInBits(); in GetShiftedValue() 349 uint32_t TypeBits = Op0->getType()->getScalarSizeInBits(); in FoldShiftByConstant() 388 unsigned SrcSize = TrOp->getType()->getScalarSizeInBits(); in FoldShiftByConstant() 389 unsigned DstSize = TI->getType()->getScalarSizeInBits(); in FoldShiftByConstant() 754 unsigned BitWidth = Op0->getType()->getScalarSizeInBits(); in visitLShr() [all …]
|
D | InstCombineSimplifyDemanded.cpp | 56 unsigned BitWidth = Inst.getType()->getScalarSizeInBits(); in SimplifyDemandedInstructionBits() 113 (!VTy->isIntOrIntVectorTy() || VTy->getScalarSizeInBits() == BitWidth) && in SimplifyDemandedUseBits() 434 unsigned truncBf = I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits() 471 unsigned SrcBitWidth =I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits() 489 unsigned SrcBitWidth =I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits()
|
D | InstCombineAddSub.cpp | 916 unsigned BitWidth = LHS->getType()->getScalarSizeInBits(); in WillNotOverflowSignedAdd() 953 unsigned BitWidth = LHS->getType()->getScalarSizeInBits(); in WillNotOverflowSignedSub() 1083 uint32_t TySizeBits = I.getType()->getScalarSizeInBits(); in visitAdd() 1581 unsigned BitWidth = I.getType()->getScalarSizeInBits(); in visitSub()
|
D | InstCombineSelect.cpp | 382 unsigned SizeOfInBits = Count->getType()->getScalarSizeInBits(); in foldSelectCttzCtlz() 444 else if (CmpRHS->getType()->getScalarSizeInBits() in visitSelectInstWithICmp()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | SanitizerCoverage.cpp | 385 if (Cond->getType()->getScalarSizeInBits() > in InjectTraceForSwitch() 386 Int64Ty->getScalarSizeInBits()) in InjectTraceForSwitch() 390 ConstantInt::get(Int64Ty, Cond->getType()->getScalarSizeInBits())); in InjectTraceForSwitch() 391 if (Cond->getType()->getScalarSizeInBits() < in InjectTraceForSwitch() 392 Int64Ty->getScalarSizeInBits()) in InjectTraceForSwitch() 396 if (C->getType()->getScalarSizeInBits() < in InjectTraceForSwitch() 397 Int64Ty->getScalarSizeInBits()) in InjectTraceForSwitch()
|
/external/llvm/lib/Target/X86/Utils/ |
D | X86ShuffleDecode.cpp | 84 unsigned ScalarSizeInBits = VT.getScalarSizeInBits(); in DecodeMOVDDUPMask() 273 unsigned NumElementsInLane = 128 / VT.getScalarSizeInBits(); in decodeVSHUF64x2FamilyMask() 370 int ElementBits = VT.getScalarSizeInBits(); in DecodeBLENDMask() 396 int ElementBits = MaskTy->getScalarSizeInBits(); in DecodeVPERMILPMask() 433 unsigned SrcScalarBits = SrcVT.getScalarSizeInBits(); in DecodeZeroExtendMask() 434 unsigned DstScalarBits = DstVT.getScalarSizeInBits(); in DecodeZeroExtendMask()
|
/external/llvm/lib/IR/ |
D | Instructions.cpp | 2313 return IntPtrTy->getScalarSizeInBits() == in isNoopCast() 2314 DestTy->getScalarSizeInBits(); in isNoopCast() 2316 return IntPtrTy->getScalarSizeInBits() == in isNoopCast() 2317 SrcTy->getScalarSizeInBits(); in isNoopCast() 2460 unsigned MidSize = MidTy->getScalarSizeInBits(); in isEliminableCastPair() 2471 unsigned PtrSize = SrcIntPtrTy->getScalarSizeInBits(); in isEliminableCastPair() 2480 unsigned SrcSize = SrcTy->getScalarSizeInBits(); in isEliminableCastPair() 2481 unsigned DstSize = DstTy->getScalarSizeInBits(); in isEliminableCastPair() 2501 unsigned PtrSize = MidIntPtrTy->getScalarSizeInBits(); in isEliminableCastPair() 2502 unsigned SrcSize = SrcTy->getScalarSizeInBits(); in isEliminableCastPair() [all …]
|
D | Constants.cpp | 1566 if (C->getType()->getScalarSizeInBits() == Ty->getScalarSizeInBits()) in getZExtOrBitCast() 1572 if (C->getType()->getScalarSizeInBits() == Ty->getScalarSizeInBits()) in getSExtOrBitCast() 1578 if (C->getType()->getScalarSizeInBits() == Ty->getScalarSizeInBits()) in getTruncOrBitCast() 1613 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in getIntegerCast() 1614 unsigned DstBits = Ty->getScalarSizeInBits(); in getIntegerCast() 1625 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in getFPCast() 1626 unsigned DstBits = Ty->getScalarSizeInBits(); in getFPCast() 1642 assert(C->getType()->getScalarSizeInBits() > Ty->getScalarSizeInBits()&& in getTrunc() 1656 assert(C->getType()->getScalarSizeInBits() < Ty->getScalarSizeInBits()&& in getSExt() 1670 assert(C->getType()->getScalarSizeInBits() < Ty->getScalarSizeInBits()&& in getZExt() [all …]
|
D | Verifier.cpp | 2029 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); in visitTruncInst() 2030 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitTruncInst() 2051 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); in visitZExtInst() 2052 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitZExtInst() 2065 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); in visitSExtInst() 2066 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitSExtInst() 2082 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); in visitFPTruncInst() 2083 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitFPTruncInst() 2100 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); in visitFPExtInst() 2101 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitFPExtInst()
|
/external/llvm/include/llvm/Analysis/ |
D | TargetTransformInfoImpl.h | 76 unsigned OpSize = OpTy->getScalarSizeInBits(); in getOperationCost() 87 unsigned DestSize = Ty->getScalarSizeInBits(); in getOperationCost()
|
/external/llvm/utils/TableGen/ |
D | CodeGenDAGPatterns.cpp | 393 return A.getScalarSizeInBits() < B.getScalarSizeInBits() || in EnforceSmallerThan() 394 (A.getScalarSizeInBits() == B.getScalarSizeInBits() && in EnforceSmallerThan() 405 return OtherVT.getScalarSizeInBits() <= Smallest.getScalarSizeInBits()|| in EnforceSmallerThan() 427 return A.getScalarSizeInBits() < B.getScalarSizeInBits() || in EnforceSmallerThan() 428 (A.getScalarSizeInBits() == B.getScalarSizeInBits() && in EnforceSmallerThan() 436 return OtherVT.getScalarSizeInBits() >= Largest.getScalarSizeInBits() || in EnforceSmallerThan()
|
/external/llvm/include/llvm/IR/ |
D | IRBuilder.h | 1265 if (VTy->getScalarSizeInBits() < DestTy->getScalarSizeInBits()) 1267 if (VTy->getScalarSizeInBits() > DestTy->getScalarSizeInBits()) 1279 if (VTy->getScalarSizeInBits() < DestTy->getScalarSizeInBits()) 1281 if (VTy->getScalarSizeInBits() > DestTy->getScalarSizeInBits())
|
D | Type.h | 291 unsigned getScalarSizeInBits() const LLVM_READONLY;
|
/external/llvm/lib/Analysis/ |
D | VectorUtils.cpp | 470 I.getOperand(0)->getType()->getScalarSizeInBits() <= 64) { in computeMinimumValueSizes() 561 if (MinBW < Ty->getScalarSizeInBits()) in computeMinimumValueSizes()
|
D | ValueTracking.cpp | 76 if (unsigned BitWidth = Ty->getScalarSizeInBits()) in getBitWidth() 1196 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits(); in computeKnownBitsFromOperator() 1381 unsigned GEPOpiBits = Index->getType()->getScalarSizeInBits(); in computeKnownBitsFromOperator() 1516 APInt SignBit = APInt::getSignBit(Ty->getScalarSizeInBits()); in computeKnownBitsFromOperator() 1624 V->getType()->getScalarSizeInBits() == BitWidth) && in computeKnownBits() 1783 unsigned BitWidth = V->getType()->getScalarSizeInBits(); in isKnownToBeAPowerOfTwo() 2162 Tmp = TyBits - U->getOperand(0)->getType()->getScalarSizeInBits(); in ComputeNumSignBits() 3551 unsigned BitWidth = LHS->getType()->getScalarSizeInBits(); in computeOverflowForUnsignedMul()
|
D | InlineCost.cpp | 425 unsigned IntegerSize = I.getType()->getScalarSizeInBits(); in visitPtrToInt() 463 unsigned IntegerSize = Op->getType()->getScalarSizeInBits(); in visitIntToPtr()
|
/external/llvm/include/llvm/CodeGen/ |
D | ValueTypes.h | 257 unsigned getScalarSizeInBits() const { in getScalarSizeInBits() function
|
D | MachineValueType.h | 508 unsigned getScalarSizeInBits() const { in getScalarSizeInBits() function
|
/external/llvm/lib/Target/ARM/ |
D | ARMTargetTransformInfo.cpp | 250 ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost() 263 ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost()
|
/external/llvm/tools/llvm-stress/ |
D | llvm-stress.cpp | 319 if (ValTy->isVectorTy() && ValTy->getScalarSizeInBits() == 1) in Act() 339 if (Val0->getType()->getScalarSizeInBits() == 1) in Act()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 1267 if (VT.getScalarSizeInBits() >= 32) { in X86TargetLowering() 6779 int LaneSize = 128 / VT.getScalarSizeInBits(); in is128BitLaneCrossingShuffleMask() 6801 int LaneSize = 128 / VT.getScalarSizeInBits(); in is128BitLaneRepeatedShuffleMask() 6932 int NumEltsInLane = 128 / VT.getScalarSizeInBits(); in lowerVectorShuffleWithUNPCK() 7113 int Scale = VT.getScalarSizeInBits() / 32; in lowerVectorShuffleAsBlend() 7160 int Scale = VT.getScalarSizeInBits() / 8; in lowerVectorShuffleAsBlend() 7450 int ShiftEltBits = VT.getScalarSizeInBits() * Scale; in lowerVectorShuffleAsShift() 7454 int ShiftAmt = Shift * VT.getScalarSizeInBits() / (ByteShift ? 8 : 1); in lowerVectorShuffleAsShift() 7461 MVT ShiftSVT = MVT::getIntegerVT(VT.getScalarSizeInBits() * Scale); in lowerVectorShuffleAsShift() 7478 for (int Scale = 2; Scale * VT.getScalarSizeInBits() <= 128; Scale *= 2) in lowerVectorShuffleAsShift() [all …]
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeIntegerTypes.cpp | 313 unsigned DiffBits = NVT.getScalarSizeInBits() - OVT.getScalarSizeInBits(); in PromoteIntRes_BSWAP() 326 unsigned DiffBits = NVT.getScalarSizeInBits() - OVT.getScalarSizeInBits(); in PromoteIntRes_BITREVERSE() 378 DAG.getConstant(NVT.getScalarSizeInBits() - OVT.getScalarSizeInBits(), dl, in PromoteIntRes_CTLZ() 397 auto TopBit = APInt::getOneBitSet(NVT.getScalarSizeInBits(), in PromoteIntRes_CTTZ() 398 OVT.getScalarSizeInBits()); in PromoteIntRes_CTTZ()
|
D | DAGCombiner.cpp | 2276 DAG.getConstant(VT.getScalarSizeInBits() - 1, DL, in visitSDIV() 2283 DAG.getConstant(VT.getScalarSizeInBits() - lg2, DL, in visitSDIV() 3959 if (matchRotateSub(InnerPos, InnerNeg, VT.getScalarSizeInBits())) { in MatchRotatePosNeg() 4005 unsigned EltSizeInBits = VT.getScalarSizeInBits(); in MatchRotate() 4329 TruncC = TruncC.trunc(TruncVT.getScalarSizeInBits()); in distributeTruncateThroughAnd() 4358 unsigned OpSizeInBits = VT.getScalarSizeInBits(); in visitSHL() 4446 uint64_t InnerShiftSize = InnerShiftVT.getScalarSizeInBits(); in visitSHL() 4467 if (c1 < VT.getScalarSizeInBits()) { in visitSHL() 4529 unsigned BitSize = VT.getScalarSizeInBits(); in visitSHL() 4686 if (LargeVT.getScalarSizeInBits() - OpSizeInBits == LargeShiftVal) { in visitSRA() [all …]
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64TargetTransformInfo.cpp | 467 if (I->getScalarSizeInBits() * I->getVectorNumElements() == 128) in getCostOfKeepingLiveOverCall()
|