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