/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 368 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in CanEvaluateTruncated() 369 uint32_t BitWidth = Ty->getScalarSizeInBits(); in CanEvaluateTruncated() 384 uint32_t BitWidth = Ty->getScalarSizeInBits(); in CanEvaluateTruncated() 394 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in CanEvaluateTruncated() 395 uint32_t BitWidth = Ty->getScalarSizeInBits(); in CanEvaluateTruncated() 463 if (DestTy->getScalarSizeInBits() == 1) { in visitTrunc() 524 In->getType()->getScalarSizeInBits()-1); in transformZExtICmp() 693 unsigned VSize = V->getType()->getScalarSizeInBits(); in CanEvaluateZExtd() 721 if (BitsToClear > V->getType()->getScalarSizeInBits()) in CanEvaluateZExtd() 722 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 | 68 unsigned BitWidth = Inst.getType()->getScalarSizeInBits(); in SimplifyDemandedInstructionBits() 125 (!VTy->isIntOrIntVectorTy() || VTy->getScalarSizeInBits() == BitWidth) && in SimplifyDemandedUseBits() 440 unsigned truncBf = I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits() 477 unsigned SrcBitWidth =I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits() 495 unsigned SrcBitWidth =I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits()
|
D | InstCombineSelect.cpp | 475 unsigned SizeOfInBits = Count->getType()->getScalarSizeInBits(); in foldSelectCttzCtlz() 547 else if (CmpRHS->getType()->getScalarSizeInBits() in visitSelectInstWithICmp() 675 if (unsigned BitWidth = TrueVal->getType()->getScalarSizeInBits()) { in visitSelectInstWithICmp()
|
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()
|
/external/llvm/lib/Target/X86/Utils/ |
D | X86ShuffleDecode.cpp | 84 unsigned ScalarSizeInBits = VT.getScalarSizeInBits(); in DecodeMOVDDUPMask() 341 int ElementBits = VT.getScalarSizeInBits(); in DecodeBLENDMask() 367 int ElementBits = MaskTy->getScalarSizeInBits(); in DecodeVPERMILPMask() 404 unsigned SrcScalarBits = SrcVT.getScalarSizeInBits(); in DecodeZeroExtendMask() 405 unsigned DstScalarBits = DstVT.getScalarSizeInBits(); in DecodeZeroExtendMask()
|
/external/llvm/lib/IR/ |
D | Instructions.cpp | 2044 return IntPtrTy->getScalarSizeInBits() == in isNoopCast() 2045 DestTy->getScalarSizeInBits(); in isNoopCast() 2047 return IntPtrTy->getScalarSizeInBits() == in isNoopCast() 2048 SrcTy->getScalarSizeInBits(); in isNoopCast() 2189 unsigned MidSize = MidTy->getScalarSizeInBits(); in isEliminableCastPair() 2200 unsigned PtrSize = SrcIntPtrTy->getScalarSizeInBits(); in isEliminableCastPair() 2209 unsigned SrcSize = SrcTy->getScalarSizeInBits(); in isEliminableCastPair() 2210 unsigned DstSize = DstTy->getScalarSizeInBits(); in isEliminableCastPair() 2230 unsigned PtrSize = MidIntPtrTy->getScalarSizeInBits(); in isEliminableCastPair() 2231 unsigned SrcSize = SrcTy->getScalarSizeInBits(); in isEliminableCastPair() [all …]
|
D | Constants.cpp | 1606 if (C->getType()->getScalarSizeInBits() == Ty->getScalarSizeInBits()) in getZExtOrBitCast() 1612 if (C->getType()->getScalarSizeInBits() == Ty->getScalarSizeInBits()) in getSExtOrBitCast() 1618 if (C->getType()->getScalarSizeInBits() == Ty->getScalarSizeInBits()) in getTruncOrBitCast() 1653 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in getIntegerCast() 1654 unsigned DstBits = Ty->getScalarSizeInBits(); in getIntegerCast() 1665 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in getFPCast() 1666 unsigned DstBits = Ty->getScalarSizeInBits(); in getFPCast() 1682 assert(C->getType()->getScalarSizeInBits() > Ty->getScalarSizeInBits()&& in getTrunc() 1696 assert(C->getType()->getScalarSizeInBits() < Ty->getScalarSizeInBits()&& in getSExt() 1710 assert(C->getType()->getScalarSizeInBits() < Ty->getScalarSizeInBits()&& in getZExt() [all …]
|
D | Verifier.cpp | 1851 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); in visitTruncInst() 1852 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitTruncInst() 1873 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); in visitZExtInst() 1874 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitZExtInst() 1887 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); in visitSExtInst() 1888 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitSExtInst() 1904 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); in visitFPTruncInst() 1905 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitFPTruncInst() 1922 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); in visitFPExtInst() 1923 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitFPExtInst()
|
D | Type.cpp | 139 unsigned Type::getScalarSizeInBits() const { in getScalarSizeInBits() function in Type
|
/external/llvm/include/llvm/Analysis/ |
D | TargetTransformInfoImpl.h | 78 unsigned OpSize = OpTy->getScalarSizeInBits(); in getOperationCost() 92 unsigned DestSize = Ty->getScalarSizeInBits(); in getOperationCost()
|
/external/llvm/include/llvm/IR/ |
D | IRBuilder.h | 1192 if (VTy->getScalarSizeInBits() < DestTy->getScalarSizeInBits()) 1194 if (VTy->getScalarSizeInBits() > DestTy->getScalarSizeInBits()) 1206 if (VTy->getScalarSizeInBits() < DestTy->getScalarSizeInBits()) 1208 if (VTy->getScalarSizeInBits() > DestTy->getScalarSizeInBits())
|
D | Type.h | 298 unsigned getScalarSizeInBits() const LLVM_READONLY;
|
/external/llvm/include/llvm/CodeGen/ |
D | ValueTypes.h | 239 unsigned getScalarSizeInBits() const { in getScalarSizeInBits() function
|
D | MachineValueType.h | 449 unsigned getScalarSizeInBits() const { in getScalarSizeInBits() function
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 73 if (unsigned BitWidth = Ty->getScalarSizeInBits()) in getBitWidth() 948 V->getType()->getScalarSizeInBits() == BitWidth) && in computeKnownBits() 1178 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits(); in computeKnownBits() 1357 unsigned GEPOpiBits = Index->getType()->getScalarSizeInBits(); in computeKnownBits() 1596 unsigned BitWidth = V->getType()->getScalarSizeInBits(); in isKnownToBeAPowerOfTwo() 1893 Tmp = TyBits - U->getOperand(0)->getType()->getScalarSizeInBits(); in ComputeNumSignBits() 2959 unsigned BitWidth = LHS->getType()->getScalarSizeInBits(); in computeOverflowForUnsignedMul()
|
D | InstructionSimplify.cpp | 1281 CI->getType()->getScalarSizeInBits()) in isUndefShift() 1352 unsigned BitWidth = Op0->getType()->getScalarSizeInBits(); in SimplifyRightShift() 1435 if (NumSignBits == Op0->getType()->getScalarSizeInBits()) in SimplifyAShrInst() 3178 unsigned BitWidth = TrueVal->getType()->getScalarSizeInBits(); in SimplifySelectInst() 3281 if (Ops[1]->getType()->getScalarSizeInBits() == in SimplifyGEPInst()
|
D | ConstantFolding.cpp | 1035 unsigned InWidth = Input->getType()->getScalarSizeInBits(); in ConstantFoldInstOperands() 1057 unsigned MidIntSize = CE->getType()->getScalarSizeInBits(); in ConstantFoldInstOperands()
|
/external/llvm/tools/llvm-stress/ |
D | llvm-stress.cpp | 311 if (ValTy->isVectorTy() && ValTy->getScalarSizeInBits() == 1) in Act() 331 if (Val0->getType()->getScalarSizeInBits() == 1) in Act()
|
/external/llvm/lib/Analysis/IPA/ |
D | InlineCost.cpp | 407 unsigned IntegerSize = I.getType()->getScalarSizeInBits(); in visitPtrToInt() 445 unsigned IntegerSize = Op->getType()->getScalarSizeInBits(); in visitIntToPtr()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64TargetTransformInfo.cpp | 415 if (I->getScalarSizeInBits() * I->getVectorNumElements() == 128) in getCostOfKeepingLiveOverCall()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeIntegerTypes.cpp | 308 unsigned DiffBits = NVT.getScalarSizeInBits() - OVT.getScalarSizeInBits(); in PromoteIntRes_BSWAP() 358 DAG.getConstant(NVT.getScalarSizeInBits() - OVT.getScalarSizeInBits(), in PromoteIntRes_CTLZ() 377 auto TopBit = APInt::getOneBitSet(NVT.getScalarSizeInBits(), in PromoteIntRes_CTTZ() 378 OVT.getScalarSizeInBits()); in PromoteIntRes_CTTZ()
|
/external/llvm/lib/Target/X86/ |
D | X86TargetTransformInfo.cpp | 779 if (NumElem == 3 && VTy->getScalarSizeInBits() == 32) in getMemoryOpCost() 784 if (NumElem == 3 && VTy->getScalarSizeInBits() == 64) in getMemoryOpCost()
|
/external/llvm/lib/Target/ARM/ |
D | ARMTargetTransformInfo.cpp | 255 ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost()
|
/external/llvm/utils/TableGen/ |
D | CodeGenDAGPatterns.cpp | 416 if (OtherVT.getScalarSizeInBits() <= Smallest.getScalarSizeInBits() || in EnforceSmallerThan() 443 if (OtherVT.getScalarSizeInBits() >= Largest.getScalarSizeInBits() || in EnforceSmallerThan()
|