Lines Matching refs:SrcBits

3096   unsigned SrcBits = C->getType()->getScalarSizeInBits();  in CreateIntegerCast()  local
3099 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast()
3100 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast()
3110 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in CreateIntegerCast() local
3113 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast()
3114 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast()
3124 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in CreateFPCast() local
3127 (SrcBits == DstBits ? Instruction::BitCast : in CreateFPCast()
3128 (SrcBits > DstBits ? Instruction::FPTrunc : Instruction::FPExt)); in CreateFPCast()
3137 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in CreateFPCast() local
3140 (SrcBits == DstBits ? Instruction::BitCast : in CreateFPCast()
3141 (SrcBits > DstBits ? Instruction::FPTrunc : Instruction::FPExt)); in CreateFPCast()
3168 TypeSize SrcBits = SrcTy->getPrimitiveSizeInBits(); // 0 for ptr in isBitCastable() local
3173 if (SrcBits.getKnownMinSize() == 0 || DestBits.getKnownMinSize() == 0) in isBitCastable()
3176 if (SrcBits != DestBits) in isBitCastable()
3228 unsigned SrcBits = SrcTy->getPrimitiveSizeInBits(); // 0 for ptr in getCastOpcode() local
3234 if (DestBits < SrcBits) in getCastOpcode()
3236 else if (DestBits > SrcBits) { // its an extension in getCastOpcode()
3250 assert(DestBits == SrcBits && in getCastOpcode()
3265 if (DestBits < SrcBits) { in getCastOpcode()
3267 } else if (DestBits > SrcBits) { in getCastOpcode()
3273 assert(DestBits == SrcBits && in getCastOpcode()
3279 assert(DestBits == SrcBits && in getCastOpcode()
3293 assert(DestBits == SrcBits && "Casting vector of wrong width to X86_MMX"); in getCastOpcode()