Lines Matching defs:BitCast
153 // allocation instruction, also pointer typed. Thus, cast to use is BitCast.
2023 case Instruction::BitCast:
2095 static Instruction *canonicalizeBitCastExtElt(BitCastInst &BitCast,
2098 auto *ExtElt = dyn_cast<ExtractElementInst>(BitCast.getOperand(0));
2104 Type *DestType = BitCast.getType();
2116 static Instruction *foldBitCastBitwiseLogic(BitCastInst &BitCast,
2118 Type *DestTy = BitCast.getType();
2121 !match(BitCast.getOperand(0), m_OneUse(m_BinOp(BO))) ||
2162 static Instruction *foldBitCastSelect(BitCastInst &BitCast,
2165 if (!match(BitCast.getOperand(0),
2171 Type *DestTy = BitCast.getType();
2186 auto *Sel = cast<Instruction>(BitCast.getOperand(0));
2223 // BitCast used by Store can be handled in InstCombineLoadStoreAlloca.cpp.
2347 // Replace users of BitCast B->A with NewPHI. These will help
2495 return CastInst::Create(Instruction::BitCast, Elem, DestTy);