Lines Matching refs:Func

24 InterpFrame::InterpFrame(InterpState &S, const Function *Func,  in InterpFrame()  argument
26 : Caller(Caller), S(S), Depth(Caller ? Caller->Depth + 1 : 0), Func(Func), in InterpFrame()
27 RetPC(RetPC), ArgSize(Func ? Func->getArgSize() : 0), in InterpFrame()
29 if (!Func) in InterpFrame()
32 unsigned FrameSize = Func->getFrameSize(); in InterpFrame()
37 for (auto &Scope : Func->scopes()) { in InterpFrame()
53 InterpFrame::InterpFrame(InterpState &S, const Function *Func, CodePtr RetPC) in InterpFrame() argument
54 : InterpFrame(S, Func, S.Current, RetPC) { in InterpFrame()
61 if (Func->hasRVO()) in InterpFrame()
64 if (Func->hasThisPointer()) { in InterpFrame()
65 if (Func->hasRVO()) in InterpFrame()
79 if (Func) { in ~InterpFrame()
80 for (auto &Scope : Func->scopes()) { in ~InterpFrame()
91 for (auto &Local : Func->getScope(Idx).locals()) { in destroy()
97 for (PrimType Ty : Func->args_reverse()) in popArgs()
170 Off += Func->hasRVO() ? primSize(PT_Ptr) : 0; in describe()
171 Off += Func->hasThisPointer() ? primSize(PT_Ptr) : 0; in describe()
193 if (!Caller->Func) in getCallRange()
195 return S.getRange(Caller->Func, RetPC - sizeof(uintptr_t)); in getCallRange()
199 return Func->getDecl(); in getCallee()
203 assert(Offset < Func->getFrameSize() && "Invalid local offset."); in getLocalPointer()
215 const auto &Desc = Func->getParamDescriptor(Off); in getParamPointer()
231 if (Func && (!Func->hasBody() || Func->getDecl()->isImplicit()) && Caller) in getSource()
234 return S.getSource(Func, PC); in getSource()
238 return S.getExpr(Func, PC); in getExpr()
242 return S.getLocation(Func, PC); in getLocation()
246 if (Func && (!Func->hasBody() || Func->getDecl()->isImplicit()) && Caller) in getRange()
249 return S.getRange(Func, PC); in getRange()