Home | History | Annotate | Download | only in NVPTX

Lines Matching refs:BC

108   Value *hoistAddrSpaceCastFromBitCast(BitCastOperator *BC, int Depth);
184 BitCastOperator *BC, int Depth) {
185 Value *NewOperand = hoistAddrSpaceCastFrom(BC->getOperand(0), Depth + 1);
194 // BC = bitcast Cast
197 // BC' = addrspacecast Cast'
200 PointerType::get(BC->getType()->getPointerElementType(),
203 if (BitCastInst *BCI = dyn_cast<BitCastInst>(BC)) {
205 NewBC = new AddrSpaceCastInst(NewCast, BC->getType(), "", BCI);
206 NewBC->takeName(BC);
207 // Without RAUWing BC, the compiler would visit BC again and emit
210 BC->replaceAllUsesWith(NewBC);
212 // BC is a constant expression.
215 NewBC = ConstantExpr::getAddrSpaceCast(NewCast, BC->getType());
237 if (BitCastOperator *BC = dyn_cast<BitCastOperator>(V))
238 return hoistAddrSpaceCastFromBitCast(BC, Depth);