Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp1557 unsigned DstBitSize; in executeBitCastInst() local
1576 DstBitSize = DstTy->getScalarSizeInBits(); in executeBitCastInst()
1577 DstNum = (SrcNum * SrcBitSize) / DstBitSize; in executeBitCastInst()
1580 DstBitSize = DstTy->getPrimitiveSizeInBits(); in executeBitCastInst()
1584 if (SrcNum * SrcBitSize != DstNum * DstBitSize) in executeBitCastInst()
1614 Elt.IntVal = Elt.IntVal.zext(DstBitSize); in executeBitCastInst()
1620 Tmp = Tmp.zext(DstBitSize); in executeBitCastInst()
1631 unsigned ShiftAmt = isLittleEndian ? 0 : DstBitSize * (Ratio - 1); in executeBitCastInst()
1638 if (DstBitSize < SrcBitSize) in executeBitCastInst()
1639 Elt.IntVal = Elt.IntVal.trunc(DstBitSize); in executeBitCastInst()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DConstantFolding.cpp242 unsigned DstBitSize = DL.getTypeSizeInBits(DstEltTy); in FoldBitCast() local
261 unsigned ShiftAmt = isLittleEndian ? 0 : DstBitSize*(Ratio-1); in FoldBitCast()
267 ShiftAmt += isLittleEndian ? DstBitSize : -DstBitSize; in FoldBitCast()
272 IntegerType *DstIntTy = Type::getIntNTy(C->getContext(), DstBitSize); in FoldBitCast()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstructions.cpp3190 unsigned DstBitSize = DstTy->getScalarSizeInBits(); in castIsValid() local
3205 SrcLength == DstLength && SrcBitSize > DstBitSize; in castIsValid()
3208 SrcLength == DstLength && SrcBitSize < DstBitSize; in castIsValid()
3211 SrcLength == DstLength && SrcBitSize < DstBitSize; in castIsValid()
3214 SrcLength == DstLength && SrcBitSize > DstBitSize; in castIsValid()
3217 SrcLength == DstLength && SrcBitSize < DstBitSize; in castIsValid()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp11402 unsigned DstBitSize = DstEltVT.getSizeInBits(); in ConstantFoldBITCASTofBUILD_VECTOR() local
11406 if (SrcBitSize == DstBitSize) { in ConstantFoldBITCASTofBUILD_VECTOR()
11447 if (SrcBitSize < DstBitSize) { in ConstantFoldBITCASTofBUILD_VECTOR()
11448 unsigned NumInputsPerOutput = DstBitSize/SrcBitSize; in ConstantFoldBITCASTofBUILD_VECTOR()
11454 APInt NewBits = APInt(DstBitSize, 0); in ConstantFoldBITCASTofBUILD_VECTOR()
11464 zextOrTrunc(SrcBitSize).zext(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()
11479 unsigned NumOutputsPerInput = SrcBitSize/DstBitSize; in ConstantFoldBITCASTofBUILD_VECTOR()
11494 APInt ThisVal = OpVal.trunc(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()
11496 OpVal.lshrInPlace(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()