Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86DomainReassignment.cpp298 class Closure { class
406 void buildClosure(Closure &, Register Reg);
409 void visitRegister(Closure &, Register Reg, RegDomain &Domain,
413 void reassign(const Closure &C, RegDomain Domain) const;
416 void encloseInstr(Closure &C, MachineInstr *MI);
422 double calculateCost(const Closure &C, RegDomain Domain) const;
429 void X86DomainReassignment::visitRegister(Closure &C, Register Reg, in visitRegister()
477 double X86DomainReassignment::calculateCost(const Closure &C, in calculateCost()
747 std::vector<Closure> Closures; in runOnMachineFunction()
763 Closure C(ClosureID++, {MaskDomain}); in runOnMachineFunction()
[all …]
/freebsd-13.1/sys/contrib/openzfs/module/lua/
H A Dlfunc.h23 LUAI_FUNC Closure *luaF_newCclosure (lua_State *L, int nelems);
24 LUAI_FUNC Closure *luaF_newLclosure (lua_State *L, int nelems);
H A Dlfunc.c22 Closure *luaF_newCclosure (lua_State *L, int n) { in luaF_newCclosure()
23 Closure *c = &luaC_newobj(L, LUA_TCCL, sizeCclosure(n), NULL, 0)->cl; in luaF_newCclosure()
29 Closure *luaF_newLclosure (lua_State *L, int n) { in luaF_newLclosure()
30 Closure *c = &luaC_newobj(L, LUA_TLCL, sizeLclosure(n), NULL, 0)->cl; in luaF_newLclosure()
H A Dldebug.c189 static void funcinfo (lua_Debug *ar, Closure *cl) { in funcinfo()
207 static void collectvalidlines (lua_State *L, Closure *f) { in collectvalidlines()
227 Closure *f, CallInfo *ci) { in auxgetinfo()
279 Closure *cl; in lua_getinfo()
H A Dlparser.h116 LUAI_FUNC Closure *luaY_parser (lua_State *L, ZIO *z, Mbuffer *buff,
H A Dlobject.h473 union Closure *cache; /* last created closure with this prototype */
528 typedef union Closure { union
531 } Closure; typedef
H A Dlgc.h153 LUAI_FUNC void luaC_barrierproto_ (lua_State *L, Proto *p, Closure *c);
H A Dlstate.h191 union Closure cl;
H A Dlvm.c440 static Closure *getcached (Proto *p, UpVal **encup, StkId base) { in getcached()
441 Closure *c = p->cache; in getcached()
467 Closure *ncl = luaF_newLclosure(L, nup); in pushclosure()
899 Closure *ncl = getcached(p, cl->upvals, base); /* cached closure */ in luaV_execute()
H A Dlparser.c1623 Closure *luaY_parser (lua_State *L, ZIO *z, Mbuffer *buff, in luaY_parser()
1627 Closure *cl = luaF_newLclosure(L, 1); /* create main closure */ in luaY_parser()
H A Dldo.c716 Closure *cl; in f_parser()
H A Dlgc.c171 LUAI_FUNC void luaC_barrierproto_ (lua_State *L, Proto *p, Closure *c) { in luaC_barrierproto_()
H A Dlapi.c558 Closure *cl; in lua_pushcclosure()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfData.inc544 /* Closure based interfaces. */
551 getValueProfDataSize(ValueProfRecordClosure *Closure) {
554 const void *Record = Closure->Record;
572 ValueProfRecordClosure *Closure,
575 const void *Record = Closure->Record;
583 Closure->GetValueForSite(Record, DstVD, ValueKind, S);
589 * Extract value profile data of a function from the \c Closure
591 * memory allocated by the \c Closure's allocator method. If \c
596 serializeValueProfDataFrom(ValueProfRecordClosure *Closure,
606 VPD->NumValueKinds = Closure->GetNumValueKinds(Closure->Record);
[all …]
/freebsd-13.1/contrib/llvm-project/compiler-rt/include/profile/
H A DInstrProfData.inc544 /* Closure based interfaces. */
551 getValueProfDataSize(ValueProfRecordClosure *Closure) {
554 const void *Record = Closure->Record;
572 ValueProfRecordClosure *Closure,
575 const void *Record = Closure->Record;
583 Closure->GetValueForSite(Record, DstVD, ValueKind, S);
589 * Extract value profile data of a function from the \c Closure
591 * memory allocated by the \c Closure's allocator method. If \c
596 serializeValueProfDataFrom(ValueProfRecordClosure *Closure,
606 VPD->NumValueKinds = Closure->GetNumValueKinds(Closure->Record);
[all …]
/freebsd-13.1/contrib/lua/src/
H A Dldebug.c260 static void funcinfo (lua_Debug *ar, Closure *cl) { in funcinfo()
294 static void collectvalidlines (lua_State *L, Closure *f) { in collectvalidlines()
331 Closure *f, CallInfo *ci) { in auxgetinfo()
388 Closure *cl; in lua_getinfo()
H A Dlstate.h314 union Closure cl;
H A Dlobject.h638 typedef union Closure { union
641 } Closure; typedef
/freebsd-13.1/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProf.cpp797 auto Closure = InstrProfRecordClosure; in getSize() local
798 Closure.Record = &Record; in getSize()
799 return getValueProfDataSize(&Closure); in getSize()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprCXX.cpp1152 [](CXXRecordDecl *Closure, bool &IsByCopy, bool &IsConst) { in adjustCVQualifiersForCXXThisWithinLambda() argument
1155 for (auto &&C : Closure->captures()) { in adjustCVQualifiersForCXXThisWithinLambda()
1159 if (Closure->getLambdaCallOperator()->isConst()) in adjustCVQualifiersForCXXThisWithinLambda()
1169 CXXRecordDecl *Closure = cast<CXXRecordDecl>(CurDC->getParent()); in adjustCVQualifiersForCXXThisWithinLambda() local
1170 while (Closure && in adjustCVQualifiersForCXXThisWithinLambda()
1171 IsThisCaptured(Closure, IsByCopyCapture, IsConstCapture)) { in adjustCVQualifiersForCXXThisWithinLambda()
1178 Closure = isLambdaCallOperator(Closure->getParent()) in adjustCVQualifiersForCXXThisWithinLambda()
1179 ? cast<CXXRecordDecl>(Closure->getParent()->getParent()) in adjustCVQualifiersForCXXThisWithinLambda()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DRDFGraph.cpp1458 std::vector<unsigned> &Closure) -> bool { in buildPhis() argument
1459 for (unsigned I : Closure) in buildPhis()