Searched refs:ToWrap (Results 1 – 1 of 1) sorted by relevance
432 Value *ToWrap) { in aspaceWrapValue() argument433 auto It = Cache.find(ToWrap); in aspaceWrapValue()437 if (auto *GEP = dyn_cast<GetElementPtrInst>(ToWrap)) { in aspaceWrapValue()446 Cache[ToWrap] = NewGEP; in aspaceWrapValue()451 if (Instruction *InsnPtr = dyn_cast<Instruction>(ToWrap)) in aspaceWrapValue()455 auto *PtrTy = cast<PointerType>(ToWrap->getType()); in aspaceWrapValue()457 auto *ACast = IB.CreateAddrSpaceCast(ToWrap, ASZeroPtrTy, ToWrap->getName()); in aspaceWrapValue()458 Cache[ToWrap] = ACast; in aspaceWrapValue()