Searched defs:SrcBitSize (Results 1 - 6 of 6) sorted by relevance

/external/llvm/lib/Analysis/
H A DConstantFolding.cpp171 unsigned SrcBitSize = SrcEltTy->getPrimitiveSizeInBits(); local
176 unsigned ShiftAmt = isLittleEndian ? 0 : SrcBitSize*(Ratio-1);
188 ShiftAmt += isLittleEndian ? SrcBitSize : -SrcBitSize;
/external/llvm/lib/IR/
H A DConstantFold.cpp297 unsigned SrcBitSize = local
301 if (ByteStart*8 >= SrcBitSize)
306 if (ByteStart == 0 && ByteSize*8 == SrcBitSize)
311 if ((SrcBitSize&7) == 0 && (ByteStart+ByteSize)*8 <= SrcBitSize)
316 if ((ByteStart+ByteSize)*8 < SrcBitSize) {
317 assert((SrcBitSize&7) && "Shouldn't get byte sized case here");
H A DVerifier.cpp963 unsigned SrcBitSize = SrcTy->getPrimitiveSizeInBits(); local
970 Assert1(SrcBitSize == DestBitSize,
1260 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); local
1267 Assert1(SrcBitSize > DestBitSize,"DestTy too big for Trunc", &I);
1282 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); local
1285 Assert1(SrcBitSize < DestBitSize,"Type too small for ZExt", &I);
1296 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); local
1303 Assert1(SrcBitSize < DestBitSize,"Type too small for SExt", &I);
1313 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); local
1320 Assert1(SrcBitSize > DestBitSiz
1331 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); local
[all...]
H A DInstructions.cpp2792 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); local
2808 SrcLength == DstLength && SrcBitSize > DstBitSize;
2811 SrcLength == DstLength && SrcBitSize < DstBitSize;
2814 SrcLength == DstLength && SrcBitSize < DstBitSize;
2817 SrcLength == DstLength && SrcBitSize > DstBitSize;
2820 SrcLength == DstLength && SrcBitSize < DstBitSize;
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp1070 uint32_t SrcBitSize = SrcTy->getScalarSizeInBits(); local
1075 if (ComputeNumSignBits(Res) > DestBitSize - SrcBitSize)
1079 Value *ShAmt = ConstantInt::get(DestTy, DestBitSize-SrcBitSize);
1088 uint32_t SrcBitSize = SrcTy->getScalarSizeInBits(); local
1092 Value *ShAmt = ConstantInt::get(DestTy, DestBitSize-SrcBitSize);
/external/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp6341 unsigned SrcBitSize = SrcEltVT.getSizeInBits(); local
6346 if (SrcBitSize == DstBitSize) {
6397 if (SrcBitSize < DstBitSize) {
6398 unsigned NumInputsPerOutput = DstBitSize/SrcBitSize;
6408 NewBits <<= SrcBitSize; local
6414 zextOrTrunc(SrcBitSize).zext(DstBitSize);
6430 unsigned NumOutputsPerInput = SrcBitSize/DstBitSize;
6443 getAPIntValue().zextOrTrunc(SrcBitSize);
6448 if (isS2V && i == 0 && j == 0 && ThisVal.zext(SrcBitSize) == OpVal)

Completed in 278 milliseconds