Searched refs:ToWrap (Results 1 – 1 of 1) sorted by relevance
429 Value *ToWrap) { in aspaceWrapValue() argument430 auto It = Cache.find(ToWrap); in aspaceWrapValue()434 if (auto *GEP = dyn_cast<GetElementPtrInst>(ToWrap)) { in aspaceWrapValue()443 Cache[ToWrap] = NewGEP; in aspaceWrapValue()448 if (Instruction *InsnPtr = dyn_cast<Instruction>(ToWrap)) in aspaceWrapValue()453 auto *ACast = IB.CreateAddrSpaceCast(ToWrap, ASZeroPtrTy, ToWrap->getName()); in aspaceWrapValue()454 Cache[ToWrap] = ACast; in aspaceWrapValue()