Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86DomainReassignment.cpp301 class Closure { class
413 void buildClosure(Closure &, unsigned Reg);
416 void visitRegister(Closure &, unsigned Reg, RegDomain &Domain,
420 void reassign(const Closure &C, RegDomain Domain) const;
423 void encloseInstr(Closure &C, MachineInstr *MI);
429 double calculateCost(const Closure &C, RegDomain Domain) const;
436 void X86DomainReassignment::visitRegister(Closure &C, unsigned Reg, in visitRegister()
484 double X86DomainReassignment::calculateCost(const Closure &C, in calculateCost()
751 std::vector<Closure> Closures; in runOnMachineFunction()
767 Closure C(ClosureID++, {MaskDomain}); in runOnMachineFunction()
[all …]
/freebsd-12.1/contrib/compiler-rt/lib/profile/
H A DInstrProfData.inc524 /* Closure based interfaces. */
531 getValueProfDataSize(ValueProfRecordClosure *Closure) {
534 const void *Record = Closure->Record;
552 ValueProfRecordClosure *Closure,
555 const void *Record = Closure->Record;
563 Closure->GetValueForSite(Record, DstVD, ValueKind, S);
569 * Extract value profile data of a function from the \c Closure
571 * memory allocated by the \c Closure's allocator method. If \c
576 serializeValueProfDataFrom(ValueProfRecordClosure *Closure,
586 VPD->NumValueKinds = Closure->GetNumValueKinds(Closure->Record);
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/ProfileData/
H A DInstrProfData.inc524 /* Closure based interfaces. */
531 getValueProfDataSize(ValueProfRecordClosure *Closure) {
534 const void *Record = Closure->Record;
552 ValueProfRecordClosure *Closure,
555 const void *Record = Closure->Record;
563 Closure->GetValueForSite(Record, DstVD, ValueKind, S);
569 * Extract value profile data of a function from the \c Closure
571 * memory allocated by the \c Closure's allocator method. If \c
576 serializeValueProfDataFrom(ValueProfRecordClosure *Closure,
586 VPD->NumValueKinds = Closure->GetNumValueKinds(Closure->Record);
[all …]
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dlfunc.c23 Closure *luaF_newCclosure (lua_State *L, int n) { in luaF_newCclosure()
24 Closure *c = &luaC_newobj(L, LUA_TCCL, sizeCclosure(n), NULL, 0)->cl; in luaF_newCclosure()
30 Closure *luaF_newLclosure (lua_State *L, int n) { in luaF_newLclosure()
31 Closure *c = &luaC_newobj(L, LUA_TLCL, sizeLclosure(n), NULL, 0)->cl; in luaF_newLclosure()
H A Dlfunc.h22 LUAI_FUNC Closure *luaF_newCclosure (lua_State *L, int nelems);
23 LUAI_FUNC Closure *luaF_newLclosure (lua_State *L, int nelems);
H A Dlundump.h14 LUAI_FUNC Closure* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff, const char* name);
H A Dldebug.c190 static void funcinfo (lua_Debug *ar, Closure *cl) { in funcinfo()
208 static void collectvalidlines (lua_State *L, Closure *f) { in collectvalidlines()
228 Closure *f, CallInfo *ci) { in auxgetinfo()
280 Closure *cl; in lua_getinfo()
H A Dlparser.h115 LUAI_FUNC Closure *luaY_parser (lua_State *L, ZIO *z, Mbuffer *buff,
H A Dlobject.h474 union Closure *cache; /* last created closure with this prototype */
529 typedef union Closure { union
532 } Closure; typedef
H A Dlundump.c206 Closure* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff, const char* name) in luaU_undump()
209 Closure* cl; in luaU_undump()
H A Dlvm.c439 static Closure *getcached (Proto *p, UpVal **encup, StkId base) { in getcached()
440 Closure *c = p->cache; in getcached()
466 Closure *ncl = luaF_newLclosure(L, nup); in pushclosure()
898 Closure *ncl = getcached(p, cl->upvals, base); /* cached closure */ in luaV_execute()
H A Dlstate.h189 union Closure cl;
H A Dlgc.h152 LUAI_FUNC void luaC_barrierproto_ (lua_State *L, Proto *p, Closure *c);
H A Dlparser.c1617 Closure *luaY_parser (lua_State *L, ZIO *z, Mbuffer *buff, in luaY_parser()
1621 Closure *cl = luaF_newLclosure(L, 1); /* create main closure */ in luaY_parser()
H A Dldo.c652 Closure *cl; in f_parser()
H A Dlgc.c172 LUAI_FUNC void luaC_barrierproto_ (lua_State *L, Proto *p, Closure *c) { in luaC_barrierproto_()
H A Dlapi.c560 Closure *cl; in lua_pushcclosure()
/freebsd-12.1/contrib/lua/src/
H A Dldebug.c211 static void funcinfo (lua_Debug *ar, Closure *cl) { in funcinfo()
229 static void collectvalidlines (lua_State *L, Closure *f) { in collectvalidlines()
263 Closure *f, CallInfo *ci) { in auxgetinfo()
311 Closure *cl; in lua_getinfo()
H A Dlstate.h215 union Closure cl;
H A Dlobject.h460 typedef union Closure { union
463 } Closure; typedef
/freebsd-12.1/contrib/llvm/lib/ProfileData/
H A DInstrProf.cpp655 auto Closure = InstrProfRecordClosure; in getSize() local
656 Closure.Record = &Record; in getSize()
657 return getValueProfDataSize(&Closure); in getSize()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExprCXX.cpp1027 [](CXXRecordDecl *Closure, bool &IsByCopy, bool &IsConst) { in adjustCVQualifiersForCXXThisWithinLambda() argument
1030 for (auto &&C : Closure->captures()) { in adjustCVQualifiersForCXXThisWithinLambda()
1034 if (Closure->getLambdaCallOperator()->isConst()) in adjustCVQualifiersForCXXThisWithinLambda()
1044 CXXRecordDecl *Closure = cast<CXXRecordDecl>(CurDC->getParent()); in adjustCVQualifiersForCXXThisWithinLambda() local
1045 while (Closure && in adjustCVQualifiersForCXXThisWithinLambda()
1046 IsThisCaptured(Closure, IsByCopyCapture, IsConstCapture)) { in adjustCVQualifiersForCXXThisWithinLambda()
1053 Closure = isLambdaCallOperator(Closure->getParent()) in adjustCVQualifiersForCXXThisWithinLambda()
1054 ? cast<CXXRecordDecl>(Closure->getParent()->getParent()) in adjustCVQualifiersForCXXThisWithinLambda()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DRDFGraph.cpp1480 std::vector<unsigned> &Closure) -> bool { in buildPhis() argument
1481 for (unsigned I : Closure) in buildPhis()