Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp1504 unsigned DstBitSize; in executeBitCastInst() local
1523 DstBitSize = DstTy->getScalarSizeInBits(); in executeBitCastInst()
1524 DstNum = (SrcNum * SrcBitSize) / DstBitSize; in executeBitCastInst()
1527 DstBitSize = DstTy->getPrimitiveSizeInBits(); in executeBitCastInst()
1531 if (SrcNum * SrcBitSize != DstNum * DstBitSize) in executeBitCastInst()
1561 Elt.IntVal = Elt.IntVal.zext(DstBitSize); in executeBitCastInst()
1567 Tmp = Tmp.zext(DstBitSize); in executeBitCastInst()
1578 unsigned ShiftAmt = isLittleEndian ? 0 : DstBitSize * (Ratio - 1); in executeBitCastInst()
1585 if (DstBitSize < SrcBitSize) in executeBitCastInst()
1586 Elt.IntVal = Elt.IntVal.trunc(DstBitSize); in executeBitCastInst()
[all …]
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp1505 unsigned DstBitSize; in executeBitCastInst() local
1524 DstBitSize = DstTy->getScalarSizeInBits(); in executeBitCastInst()
1525 DstNum = (SrcNum * SrcBitSize) / DstBitSize; in executeBitCastInst()
1528 DstBitSize = DstTy->getPrimitiveSizeInBits(); in executeBitCastInst()
1532 if (SrcNum * SrcBitSize != DstNum * DstBitSize) in executeBitCastInst()
1562 Elt.IntVal = Elt.IntVal.zext(DstBitSize); in executeBitCastInst()
1568 Tmp = Tmp.zext(DstBitSize); in executeBitCastInst()
1579 unsigned ShiftAmt = isLittleEndian ? 0 : DstBitSize * (Ratio - 1); in executeBitCastInst()
1586 if (DstBitSize < SrcBitSize) in executeBitCastInst()
1587 Elt.IntVal = Elt.IntVal.trunc(DstBitSize); in executeBitCastInst()
[all …]
/external/swiftshader/third_party/LLVM/lib/Analysis/
DConstantFolding.cpp154 unsigned DstBitSize = DstEltTy->getPrimitiveSizeInBits(); in FoldBitCast() local
162 unsigned ShiftAmt = isLittleEndian ? 0 : DstBitSize*(Ratio-1); in FoldBitCast()
168 ShiftAmt += isLittleEndian ? DstBitSize : -DstBitSize; in FoldBitCast()
/external/llvm/lib/Analysis/
DConstantFolding.cpp205 unsigned DstBitSize = DL.getTypeSizeInBits(DstEltTy); in FoldBitCast() local
213 unsigned ShiftAmt = isLittleEndian ? 0 : DstBitSize*(Ratio-1); in FoldBitCast()
219 ShiftAmt += isLittleEndian ? DstBitSize : -DstBitSize; in FoldBitCast()
224 IntegerType *DstIntTy = Type::getIntNTy(C->getContext(), DstBitSize); in FoldBitCast()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DConstantFolding.cpp237 unsigned DstBitSize = DL.getTypeSizeInBits(DstEltTy); in FoldBitCast() local
256 unsigned ShiftAmt = isLittleEndian ? 0 : DstBitSize*(Ratio-1); in FoldBitCast()
262 ShiftAmt += isLittleEndian ? DstBitSize : -DstBitSize; in FoldBitCast()
267 IntegerType *DstIntTy = Type::getIntNTy(C->getContext(), DstBitSize); in FoldBitCast()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DInstructions.cpp2611 unsigned DstBitSize = DstTy->getScalarSizeInBits(); in castIsValid() local
2626 SrcLength == DstLength && SrcBitSize > DstBitSize; in castIsValid()
2629 SrcLength == DstLength && SrcBitSize < DstBitSize; in castIsValid()
2632 SrcLength == DstLength && SrcBitSize < DstBitSize; in castIsValid()
2635 SrcLength == DstLength && SrcBitSize > DstBitSize; in castIsValid()
2638 SrcLength == DstLength && SrcBitSize < DstBitSize; in castIsValid()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DInstructions.cpp2912 unsigned DstBitSize = DstTy->getScalarSizeInBits(); in castIsValid() local
2927 SrcLength == DstLength && SrcBitSize > DstBitSize; in castIsValid()
2930 SrcLength == DstLength && SrcBitSize < DstBitSize; in castIsValid()
2933 SrcLength == DstLength && SrcBitSize < DstBitSize; in castIsValid()
2936 SrcLength == DstLength && SrcBitSize > DstBitSize; in castIsValid()
2939 SrcLength == DstLength && SrcBitSize < DstBitSize; in castIsValid()
/external/llvm/lib/IR/
DInstructions.cpp3095 unsigned DstBitSize = DstTy->getScalarSizeInBits(); in castIsValid() local
3110 SrcLength == DstLength && SrcBitSize > DstBitSize; in castIsValid()
3113 SrcLength == DstLength && SrcBitSize < DstBitSize; in castIsValid()
3116 SrcLength == DstLength && SrcBitSize < DstBitSize; in castIsValid()
3119 SrcLength == DstLength && SrcBitSize > DstBitSize; in castIsValid()
3122 SrcLength == DstLength && SrcBitSize < DstBitSize; in castIsValid()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp5106 unsigned DstBitSize = DstEltVT.getSizeInBits(); in ConstantFoldBITCASTofBUILD_VECTOR() local
5110 if (SrcBitSize == DstBitSize) { in ConstantFoldBITCASTofBUILD_VECTOR()
5162 if (SrcBitSize < DstBitSize) { in ConstantFoldBITCASTofBUILD_VECTOR()
5163 unsigned NumInputsPerOutput = DstBitSize/SrcBitSize; in ConstantFoldBITCASTofBUILD_VECTOR()
5169 APInt NewBits = APInt(DstBitSize, 0); in ConstantFoldBITCASTofBUILD_VECTOR()
5179 zextOrTrunc(SrcBitSize).zext(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()
5196 unsigned NumOutputsPerInput = SrcBitSize/DstBitSize; in ConstantFoldBITCASTofBUILD_VECTOR()
5212 APInt ThisVal = OpVal.trunc(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()
5218 OpVal = OpVal.lshr(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp7648 unsigned DstBitSize = DstEltVT.getSizeInBits(); in ConstantFoldBITCASTofBUILD_VECTOR() local
7652 if (SrcBitSize == DstBitSize) { in ConstantFoldBITCASTofBUILD_VECTOR()
7700 if (SrcBitSize < DstBitSize) { in ConstantFoldBITCASTofBUILD_VECTOR()
7701 unsigned NumInputsPerOutput = DstBitSize/SrcBitSize; in ConstantFoldBITCASTofBUILD_VECTOR()
7707 APInt NewBits = APInt(DstBitSize, 0); in ConstantFoldBITCASTofBUILD_VECTOR()
7717 zextOrTrunc(SrcBitSize).zext(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()
7732 unsigned NumOutputsPerInput = SrcBitSize/DstBitSize; in ConstantFoldBITCASTofBUILD_VECTOR()
7747 APInt ThisVal = OpVal.trunc(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()
7749 OpVal = OpVal.lshr(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp9998 unsigned DstBitSize = DstEltVT.getSizeInBits(); in ConstantFoldBITCASTofBUILD_VECTOR() local
10002 if (SrcBitSize == DstBitSize) { in ConstantFoldBITCASTofBUILD_VECTOR()
10050 if (SrcBitSize < DstBitSize) { in ConstantFoldBITCASTofBUILD_VECTOR()
10051 unsigned NumInputsPerOutput = DstBitSize/SrcBitSize; in ConstantFoldBITCASTofBUILD_VECTOR()
10057 APInt NewBits = APInt(DstBitSize, 0); in ConstantFoldBITCASTofBUILD_VECTOR()
10067 zextOrTrunc(SrcBitSize).zext(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()
10082 unsigned NumOutputsPerInput = SrcBitSize/DstBitSize; in ConstantFoldBITCASTofBUILD_VECTOR()
10097 APInt ThisVal = OpVal.trunc(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()
10099 OpVal.lshrInPlace(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()