reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Scalar/InferAddressSpaces.cpp
  908     if (NewV == nullptr)
  912                       << *NewV << '\n');
  915       Constant *Replace = ConstantExpr::getAddrSpaceCast(cast<Constant>(NewV),
  938         U.set(NewV);
  945         if (!MI->isVolatile() && handleMemIntrinsicPtrUse(MI, V, NewV))
  950         if (rewriteIntrinsicOperands(II, V, NewV))
  962           unsigned NewAS = NewV->getType()->getPointerAddressSpace();
  970               Cmp->setOperand(SrcIdx, NewV);
  978               Cmp->setOperand(SrcIdx, NewV);
  980                 ConstantExpr::getAddrSpaceCast(KOtherSrc, NewV->getType()));
  987           unsigned NewAS = NewV->getType()->getPointerAddressSpace();
  990                 NewV->getType()->getPointerElementType()) {
  991               NewV = CastInst::Create(Instruction::BitCast, NewV,
  991               NewV = CastInst::Create(Instruction::BitCast, NewV,
  994             ASC->replaceAllUsesWith(NewV);
 1009           U.set(new AddrSpaceCastInst(NewV, V->getType(), "", &*InsertPos));
 1011           U.set(ConstantExpr::getAddrSpaceCast(cast<Constant>(NewV),