Home
last modified time | relevance | path

Searched refs:getScalarSizeInBits (Results 1 – 25 of 44) sorted by relevance

12

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp368 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 …]
DInstCombineShifts.cpp92 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 …]
DInstCombineSimplifyDemanded.cpp68 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()
DInstCombineSelect.cpp475 unsigned SizeOfInBits = Count->getType()->getScalarSizeInBits(); in foldSelectCttzCtlz()
547 else if (CmpRHS->getType()->getScalarSizeInBits() in visitSelectInstWithICmp()
675 if (unsigned BitWidth = TrueVal->getType()->getScalarSizeInBits()) { in visitSelectInstWithICmp()
DInstCombineAddSub.cpp916 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/
DX86ShuffleDecode.cpp84 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/
DInstructions.cpp2044 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 …]
DConstants.cpp1606 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 …]
DVerifier.cpp1851 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()
DType.cpp139 unsigned Type::getScalarSizeInBits() const { in getScalarSizeInBits() function in Type
/external/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h78 unsigned OpSize = OpTy->getScalarSizeInBits(); in getOperationCost()
92 unsigned DestSize = Ty->getScalarSizeInBits(); in getOperationCost()
/external/llvm/include/llvm/IR/
DIRBuilder.h1192 if (VTy->getScalarSizeInBits() < DestTy->getScalarSizeInBits())
1194 if (VTy->getScalarSizeInBits() > DestTy->getScalarSizeInBits())
1206 if (VTy->getScalarSizeInBits() < DestTy->getScalarSizeInBits())
1208 if (VTy->getScalarSizeInBits() > DestTy->getScalarSizeInBits())
DType.h298 unsigned getScalarSizeInBits() const LLVM_READONLY;
/external/llvm/include/llvm/CodeGen/
DValueTypes.h239 unsigned getScalarSizeInBits() const { in getScalarSizeInBits() function
DMachineValueType.h449 unsigned getScalarSizeInBits() const { in getScalarSizeInBits() function
/external/llvm/lib/Analysis/
DValueTracking.cpp73 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()
DInstructionSimplify.cpp1281 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()
DConstantFolding.cpp1035 unsigned InWidth = Input->getType()->getScalarSizeInBits(); in ConstantFoldInstOperands()
1057 unsigned MidIntSize = CE->getType()->getScalarSizeInBits(); in ConstantFoldInstOperands()
/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp311 if (ValTy->isVectorTy() && ValTy->getScalarSizeInBits() == 1) in Act()
331 if (Val0->getType()->getScalarSizeInBits() == 1) in Act()
/external/llvm/lib/Analysis/IPA/
DInlineCost.cpp407 unsigned IntegerSize = I.getType()->getScalarSizeInBits(); in visitPtrToInt()
445 unsigned IntegerSize = Op->getType()->getScalarSizeInBits(); in visitIntToPtr()
/external/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp415 if (I->getScalarSizeInBits() * I->getVectorNumElements() == 128) in getCostOfKeepingLiveOverCall()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeIntegerTypes.cpp308 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/
DX86TargetTransformInfo.cpp779 if (NumElem == 3 && VTy->getScalarSizeInBits() == 32) in getMemoryOpCost()
784 if (NumElem == 3 && VTy->getScalarSizeInBits() == 64) in getMemoryOpCost()
/external/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp255 ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost()
/external/llvm/utils/TableGen/
DCodeGenDAGPatterns.cpp416 if (OtherVT.getScalarSizeInBits() <= Smallest.getScalarSizeInBits() || in EnforceSmallerThan()
443 if (OtherVT.getScalarSizeInBits() >= Largest.getScalarSizeInBits() || in EnforceSmallerThan()

12