Home
last modified time | relevance | path

Searched refs:ToWrap (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFCheckAndAdjustIR.cpp429 Value *ToWrap) { in aspaceWrapValue() argument
430 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()