Home
last modified time | relevance | path

Searched refs:DstBitSize (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/Analysis/
DConstantFolding.cpp194 unsigned DstBitSize = DstEltTy->getPrimitiveSizeInBits(); in FoldBitCast() local
202 unsigned ShiftAmt = isLittleEndian ? 0 : DstBitSize*(Ratio-1); in FoldBitCast()
208 ShiftAmt += isLittleEndian ? DstBitSize : -DstBitSize; in FoldBitCast()
/external/llvm/lib/IR/
DInstructions.cpp2643 unsigned DstBitSize = DstTy->getScalarSizeInBits(); in castIsValid() local
2658 SrcLength == DstLength && SrcBitSize > DstBitSize; in castIsValid()
2661 SrcLength == DstLength && SrcBitSize < DstBitSize; in castIsValid()
2664 SrcLength == DstLength && SrcBitSize < DstBitSize; in castIsValid()
2667 SrcLength == DstLength && SrcBitSize > DstBitSize; in castIsValid()
2670 SrcLength == DstLength && SrcBitSize < DstBitSize; in castIsValid()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp5672 unsigned DstBitSize = DstEltVT.getSizeInBits(); in ConstantFoldBITCASTofBUILD_VECTOR() local
5676 if (SrcBitSize == DstBitSize) { in ConstantFoldBITCASTofBUILD_VECTOR()
5728 if (SrcBitSize < DstBitSize) { in ConstantFoldBITCASTofBUILD_VECTOR()
5729 unsigned NumInputsPerOutput = DstBitSize/SrcBitSize; in ConstantFoldBITCASTofBUILD_VECTOR()
5735 APInt NewBits = APInt(DstBitSize, 0); in ConstantFoldBITCASTofBUILD_VECTOR()
5745 zextOrTrunc(SrcBitSize).zext(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()
5762 unsigned NumOutputsPerInput = SrcBitSize/DstBitSize; in ConstantFoldBITCASTofBUILD_VECTOR()
5778 APInt ThisVal = OpVal.trunc(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()
5784 OpVal = OpVal.lshr(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()