Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1200 unsigned SrcWidth = std::max(LHSWidth, RHSWidth); in visitFPTrunc() local
1224 if (OpWidth >= 2*DstWidth+1 && DstWidth >= SrcWidth) { in visitFPTrunc()
1241 if (OpWidth >= LHSWidth + RHSWidth && DstWidth >= SrcWidth) { in visitFPTrunc()
1259 if (OpWidth >= 2*DstWidth && DstWidth >= SrcWidth) { in visitFPTrunc()
1275 if (SrcWidth == OpWidth) in visitFPTrunc()
1277 if (LHSWidth < SrcWidth) in visitFPTrunc()
1279 else if (RHSWidth <= SrcWidth) in visitFPTrunc()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp968 unsigned SrcWidth = DL.getTypeSizeInBits(SV->getType()); in ConvertScalar_InsertValue() local
973 SV = Builder.CreateBitCast(SV, IntegerType::get(SV->getContext(),SrcWidth)); in ConvertScalar_InsertValue()
986 SrcWidth = DestWidth; in ConvertScalar_InsertValue()
1006 APInt Mask(APInt::getLowBitsSet(DestWidth, SrcWidth)); in ConvertScalar_InsertValue()
1017 if (SrcWidth != DestWidth) { in ConvertScalar_InsertValue()
1018 assert(DestWidth > SrcWidth); in ConvertScalar_InsertValue()
/external/llvm/lib/IR/
DConstantFold.cpp1035 unsigned SrcWidth = in ConstantFoldBinaryInstruction() local
1037 APInt PossiblySetBits(APInt::getLowBitsSet(DstWidth, SrcWidth)); in ConstantFoldBinaryInstruction()
1054 unsigned SrcWidth = std::min(DstWidth, Log2_32(GVAlign)); in ConstantFoldBinaryInstruction() local
1055 APInt BitsNotSet(APInt::getLowBitsSet(DstWidth, SrcWidth)); in ConstantFoldBinaryInstruction()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp931 unsigned SrcWidth = SrcVT.getSizeInBits(); in LegalizeLoadOps() local
938 if (SrcWidth != SrcVT.getStoreSizeInBits() && in LegalizeLoadOps()
982 } else if (SrcWidth & (SrcWidth - 1)) { in LegalizeLoadOps()
985 unsigned RoundWidth = 1 << Log2_32(SrcWidth); in LegalizeLoadOps()
986 assert(RoundWidth < SrcWidth); in LegalizeLoadOps()
987 unsigned ExtraWidth = SrcWidth - RoundWidth; in LegalizeLoadOps()