Lines Matching refs:SrcBits
2815 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in CreateIntegerCast() local
2818 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast()
2819 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast()
2829 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in CreateIntegerCast() local
2832 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast()
2833 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast()
2843 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in CreateFPCast() local
2846 (SrcBits == DstBits ? Instruction::BitCast : in CreateFPCast()
2847 (SrcBits > DstBits ? Instruction::FPTrunc : Instruction::FPExt)); in CreateFPCast()
2856 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in CreateFPCast() local
2859 (SrcBits == DstBits ? Instruction::BitCast : in CreateFPCast()
2860 (SrcBits > DstBits ? Instruction::FPTrunc : Instruction::FPExt)); in CreateFPCast()
2882 unsigned SrcBits = SrcTy->getPrimitiveSizeInBits(); // 0 for ptr in isCastable() local
2892 return DestBits == SrcBits; in isCastable()
2902 return DestBits == SrcBits; in isCastable()
2907 return DestBits == SrcBits; in isCastable()
2915 return DestBits == SrcBits; // 64-bit vector to MMX in isCastable()
2944 unsigned SrcBits = SrcTy->getPrimitiveSizeInBits(); // 0 for ptr in isBitCastable() local
2949 if (SrcBits == 0 || DestBits == 0) in isBitCastable()
2952 if (SrcBits != DestBits) in isBitCastable()
3002 unsigned SrcBits = SrcTy->getPrimitiveSizeInBits(); // 0 for ptr in getCastOpcode() local
3008 if (DestBits < SrcBits) in getCastOpcode()
3010 else if (DestBits > SrcBits) { // its an extension in getCastOpcode()
3024 assert(DestBits == SrcBits && in getCastOpcode()
3039 if (DestBits < SrcBits) { in getCastOpcode()
3041 } else if (DestBits > SrcBits) { in getCastOpcode()
3047 assert(DestBits == SrcBits && in getCastOpcode()
3053 assert(DestBits == SrcBits && in getCastOpcode()
3067 assert(DestBits == SrcBits && "Casting vector of wrong width to X86_MMX"); in getCastOpcode()