Lines Matching refs:BC
111 Value *hoistAddrSpaceCastFromBitCast(BitCastOperator *BC, int Depth);
187 BitCastOperator *BC, int Depth) { in hoistAddrSpaceCastFromBitCast() argument
188 Value *NewOperand = hoistAddrSpaceCastFrom(BC->getOperand(0), Depth + 1); in hoistAddrSpaceCastFromBitCast()
203 PointerType::get(BC->getType()->getPointerElementType(), in hoistAddrSpaceCastFromBitCast()
206 if (BitCastInst *BCI = dyn_cast<BitCastInst>(BC)) { in hoistAddrSpaceCastFromBitCast()
208 NewBC = new AddrSpaceCastInst(NewCast, BC->getType(), "", BCI); in hoistAddrSpaceCastFromBitCast()
209 NewBC->takeName(BC); in hoistAddrSpaceCastFromBitCast()
213 BC->replaceAllUsesWith(NewBC); in hoistAddrSpaceCastFromBitCast()
218 NewBC = ConstantExpr::getAddrSpaceCast(NewCast, BC->getType()); in hoistAddrSpaceCastFromBitCast()
240 if (BitCastOperator *BC = dyn_cast<BitCastOperator>(V)) in hoistAddrSpaceCastFrom() local
241 return hoistAddrSpaceCastFromBitCast(BC, Depth); in hoistAddrSpaceCastFrom()