Lines Matching refs:Func
20 InterpFrame::InterpFrame(InterpState &S, Function *Func, InterpFrame *Caller, in InterpFrame() argument
22 : Caller(Caller), S(S), Func(Func), This(std::move(This)), RetPC(RetPC), in InterpFrame()
23 ArgSize(Func ? Func->getArgSize() : 0), in InterpFrame()
25 if (Func) { in InterpFrame()
26 if (unsigned FrameSize = Func->getFrameSize()) { in InterpFrame()
28 for (auto &Scope : Func->scopes()) { in InterpFrame()
39 if (Func && Func->isConstructor() && This.isBaseClass()) in ~InterpFrame()
46 for (auto &Local : Func->getScope(Idx).locals()) { in destroy()
52 for (PrimType Ty : Func->args_reverse()) in popArgs()
120 unsigned Off = Func->hasRVO() ? primSize(PT_Ptr) : 0; in describe()
146 if (!Caller->Func) in getCallLocation()
148 return S.getLocation(Caller->Func, RetPC - sizeof(uintptr_t)); in getCallLocation()
152 return Func->getDecl(); in getCallee()
156 assert(Offset < Func->getFrameSize() && "Invalid local offset."); in getLocalPointer()
169 const auto &Desc = Func->getParamDescriptor(Off); in getParamPointer()
183 return S.getSource(Func, PC); in getSource()
187 return S.getExpr(Func, PC); in getExpr()
191 return S.getLocation(Func, PC); in getLocation()