/third_party/typescript/tests/baselines/reference/ |
D | arrayConcat3.types | 3 type Fn<T extends object> = <U extends T>(subj: U) => U 4 >Fn : Fn<T> 7 function doStuff<T extends object, T1 extends T>(a: Array<Fn<T>>, b: Array<Fn<T1>>) { 8 >doStuff : <T extends object, T1 extends T>(a: Array<Fn<T>>, b: Array<Fn<T1>>) => void 9 >a : Fn<T>[] 10 >b : Fn<T1>[] 13 >b.concat(a) : Fn<T1>[] 14 >b.concat : { (...items: ConcatArray<Fn<T1>>[]): Fn<T1>[]; (...items: (Fn<T1> | ConcatArray<Fn<T1>>… 15 >b : Fn<T1>[] 16 >concat : { (...items: ConcatArray<Fn<T1>>[]): Fn<T1>[]; (...items: (Fn<T1> | ConcatArray<Fn<T1>>)[… [all …]
|
D | spreadOfParamsFromGeneratorMakesRequiredParams.types | 2 declare function call<Fn extends (...args: any[]) => any>( 3 >call : <Fn extends (...args: any[]) => any>(fn: Fn, ...args: Parameters<Fn>) => any 6 fn: Fn, 7 >fn : Fn 9 ...args: Parameters<Fn> 10 >args : Parameters<Fn> 16 >call : <Fn extends (...args: any[]) => any>(fn: Fn, ...args: Parameters<Fn>) => any
|
D | varianceMeasurement.types | 104 interface Fn<A, B> { 108 then<C>(next: Fn<B, C>): Fn<A, C>; 109 >then : <C>(next: Fn<B, C>) => Fn<A, C> 110 >next : Fn<B, C> 113 declare const fn: Fn<string, number>; 114 >fn : Fn<string, number> 117 const fn1: Fn<unknown, number> = fn; // Error 118 >fn1 : Fn<unknown, number> 119 >fn : Fn<string, number> 121 const fn2: Fn<'a', number> = fn; [all …]
|
D | spreadOfParamsFromGeneratorMakesRequiredParams.symbols | 2 declare function call<Fn extends (...args: any[]) => any>( 4 >Fn : Symbol(Fn, Decl(spreadOfParamsFromGeneratorMakesRequiredParams.ts, 0, 22)) 7 fn: Fn, 9 >Fn : Symbol(Fn, Decl(spreadOfParamsFromGeneratorMakesRequiredParams.ts, 0, 22)) 11 ...args: Parameters<Fn> 14 >Fn : Symbol(Fn, Decl(spreadOfParamsFromGeneratorMakesRequiredParams.ts, 0, 22))
|
D | varianceMeasurement.symbols | 138 interface Fn<A, B> { 139 >Fn : Symbol(Fn, Decl(varianceMeasurement.ts, 44, 31)) 148 then<C>(next: Fn<B, C>): Fn<A, C>; 149 >then : Symbol(Fn.then, Decl(varianceMeasurement.ts, 49, 12)) 152 >Fn : Symbol(Fn, Decl(varianceMeasurement.ts, 44, 31)) 155 >Fn : Symbol(Fn, Decl(varianceMeasurement.ts, 44, 31)) 160 declare const fn: Fn<string, number>; 162 >Fn : Symbol(Fn, Decl(varianceMeasurement.ts, 44, 31)) 165 const fn1: Fn<unknown, number> = fn; // Error 167 >Fn : Symbol(Fn, Decl(varianceMeasurement.ts, 44, 31)) [all …]
|
D | arrayConcat3.symbols | 3 type Fn<T extends object> = <U extends T>(subj: U) => U 4 >Fn : Symbol(Fn, Decl(arrayConcat3.ts, 0, 0)) 12 function doStuff<T extends object, T1 extends T>(a: Array<Fn<T>>, b: Array<Fn<T1>>) { 19 >Fn : Symbol(Fn, Decl(arrayConcat3.ts, 0, 0)) 23 >Fn : Symbol(Fn, Decl(arrayConcat3.ts, 0, 0))
|
D | varianceMeasurement.js | 50 interface Fn<A, B> { 52 then<C>(next: Fn<B, C>): Fn<A, C>; 55 declare const fn: Fn<string, number>; 58 const fn1: Fn<unknown, number> = fn; // Error 59 const fn2: Fn<'a', number> = fn; 62 const fn3: Fn<string, unknown> = fn; 63 const fn4: Fn<string, 0> = fn; // Error
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCBranchSelector.cpp | 51 unsigned ComputeBlockSizes(MachineFunction &Fn); 52 void modifyAdjustment(MachineFunction &Fn); 53 int computeBranchSize(MachineFunction &Fn, 58 bool runOnMachineFunction(MachineFunction &Fn) override; 106 static inline unsigned GetInitialOffset(MachineFunction &Fn) { in GetInitialOffset() argument 108 if (Fn.getSubtarget<PPCSubtarget>().isELFv2ABI() && in GetInitialOffset() 109 !Fn.getRegInfo().use_empty(PPC::X2)) in GetInitialOffset() 115 unsigned PPCBSel::ComputeBlockSizes(MachineFunction &Fn) { in ComputeBlockSizes() argument 117 static_cast<const PPCInstrInfo *>(Fn.getSubtarget().getInstrInfo()); in ComputeBlockSizes() 118 unsigned FuncSize = GetInitialOffset(Fn); in ComputeBlockSizes() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | CFLSteensAliasAnalysis.cpp | 77 FunctionInfo(Function &Fn, const SmallVectorImpl<Value *> &RetVals, 117 Function &Fn, const SmallVectorImpl<Value *> &RetVals, in FunctionInfo() argument 122 if (Fn.arg_size() > MaxSupportedArgsInSummary) in FunctionInfo() 174 for (auto &Param : Fn.args()) { in FunctionInfo() 185 CFLSteensAAResult::FunctionInfo CFLSteensAAResult::buildSetsFrom(Function *Fn) { in buildSetsFrom() argument 186 CFLGraphBuilder<CFLSteensAAResult> GraphBuilder(*this, GetTLI(*Fn), *Fn); in buildSetsFrom() 224 return FunctionInfo(*Fn, GraphBuilder.getReturnValues(), SetBuilder.build()); in buildSetsFrom() 227 void CFLSteensAAResult::scan(Function *Fn) { in scan() argument 228 auto InsertPair = Cache.insert(std::make_pair(Fn, Optional<FunctionInfo>())); in scan() 236 auto FunInfo = buildSetsFrom(Fn); in scan() [all …]
|
D | CFLAndersAliasAnalysis.cpp | 405 SmallVectorImpl<ExternalRelation> &ExtRelations, const Function &Fn, in populateExternalRelations() argument 410 for (const auto &Arg : Fn.args()) { in populateExternalRelations() 490 SmallVectorImpl<ExternalAttribute> &ExtAttributes, const Function &Fn, in populateExternalAttributes() argument 502 const Function &Fn, const SmallVectorImpl<Value *> &RetVals, in FunctionInfo() argument 505 populateExternalAttributes(Summary.RetParamAttributes, Fn, RetVals, AMap); in FunctionInfo() 507 populateExternalRelations(Summary.RetParamRelations, Fn, RetVals, ReachSet); in FunctionInfo() 783 CFLAndersAAResult::buildInfoFrom(const Function &Fn) { in buildInfoFrom() argument 785 *this, GetTLI(const_cast<Function &>(Fn)), in buildInfoFrom() 787 const_cast<Function &>(Fn)); in buildInfoFrom() 808 return FunctionInfo(Fn, GraphBuilder.getReturnValues(), ReachSet, in buildInfoFrom() [all …]
|
D | CFLGraph.h | 193 if (auto *Fn = Call.getCalledFunction()) { in getPossibleTargets() local 194 Output.push_back(Fn); in getPossibleTargets() 371 static bool isFunctionExternal(Function *Fn) { in isFunctionExternal() argument 372 return !Fn->hasExactDefinition(); in isFunctionExternal() 383 for (auto *Fn : Fns) { in tryInterproceduralAnalysis() 384 if (isFunctionExternal(Fn) || Fn->isVarArg()) in tryInterproceduralAnalysis() 387 assert(Fn->arg_size() <= Call.arg_size()); in tryInterproceduralAnalysis() 388 if (!AA.getAliasSummary(*Fn)) in tryInterproceduralAnalysis() 392 for (auto *Fn : Fns) { in tryInterproceduralAnalysis() 393 auto Summary = AA.getAliasSummary(*Fn); in tryInterproceduralAnalysis() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | TargetRegistry.h | 564 MCRelocationInfoCtorTy Fn = MCRelocationInfoCtorFn in createMCRelocationInfo() local 567 return Fn(Triple(TT), Ctx); in createMCRelocationInfo() 587 MCSymbolizerCtorTy Fn = in createMCSymbolizer() local 589 return Fn(Triple(TT), GetOpInfo, SymbolLookUp, DisInfo, Ctx, in createMCSymbolizer() 705 static void RegisterMCAsmInfo(Target &T, Target::MCAsmInfoCtorFnTy Fn) { in RegisterMCAsmInfo() 706 T.MCAsmInfoCtorFn = Fn; in RegisterMCAsmInfo() 718 static void RegisterMCInstrInfo(Target &T, Target::MCInstrInfoCtorFnTy Fn) { in RegisterMCInstrInfo() 719 T.MCInstrInfoCtorFn = Fn; in RegisterMCInstrInfo() 725 Target::MCInstrAnalysisCtorFnTy Fn) { in RegisterMCInstrAnalysis() 726 T.MCInstrAnalysisCtorFn = Fn; in RegisterMCInstrAnalysis() [all …]
|
D | Parallel.h | 129 void parallel_for_each(IterTy Begin, IterTy End, FuncTy Fn) { in parallel_for_each() argument 140 TG.spawn([=, &Fn] { std::for_each(Begin, Begin + TaskSize, Fn); }); in parallel_for_each() 143 std::for_each(Begin, End, Fn); in parallel_for_each() 147 void parallel_for_each_n(IndexTy Begin, IndexTy End, FuncTy Fn) { in parallel_for_each_n() argument 155 TG.spawn([=, &Fn] { in parallel_for_each_n() 157 Fn(J); in parallel_for_each_n() 161 Fn(J); in parallel_for_each_n() 183 void for_each(Policy policy, IterTy Begin, IterTy End, FuncTy Fn) { in for_each() argument 186 std::for_each(Begin, End, Fn); in for_each() 190 void for_each_n(Policy policy, IndexTy Begin, IndexTy End, FuncTy Fn) { in for_each_n() argument [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | DiagnosticInfo.h | 179 const Function &Fn; 193 DiagnosticInfoResourceLimit(const Function &Fn, const char *ResourceName, 198 : DiagnosticInfo(Kind, Severity), Fn(Fn), ResourceName(ResourceName), in DiagnosticInfo() 201 const Function &getFunction() const { return Fn; } in getFunction() 217 DiagnosticInfoStackSize(const Function &Fn, uint64_t StackSize, 220 : DiagnosticInfoResourceLimit(Fn, "stack size", StackSize, Severity, 372 const Function &Fn, in DiagnosticInfoWithLocationBase() argument 374 : DiagnosticInfo(Kind, Severity), Fn(Fn), Loc(Loc) {} in DiagnosticInfoWithLocationBase() 392 const Function &getFunction() const { return Fn; } in getFunction() 397 const Function &Fn; [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | DwarfEHPrepare.cpp | 54 bool InsertUnwindResumeCalls(Function &Fn); 57 pruneUnreachableResumes(Function &Fn, 66 bool runOnFunction(Function &Fn) override; 143 Function &Fn, SmallVectorImpl<ResumeInst *> &Resumes, in pruneUnreachableResumes() argument 162 getAnalysis<TargetTransformInfoWrapperPass>().getTTI(Fn); in pruneUnreachableResumes() 163 LLVMContext &Ctx = Fn.getContext(); in pruneUnreachableResumes() 184 bool DwarfEHPrepare::InsertUnwindResumeCalls(Function &Fn) { in InsertUnwindResumeCalls() argument 187 for (BasicBlock &BB : Fn) { in InsertUnwindResumeCalls() 199 EHPersonality Pers = classifyEHPersonality(Fn.getPersonalityFn()); in InsertUnwindResumeCalls() 203 LLVMContext &Ctx = Fn.getContext(); in InsertUnwindResumeCalls() [all …]
|
D | CallingConvLower.cpp | 87 CCAssignFn Fn) { in AnalyzeFormalArguments() argument 93 if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this)) in AnalyzeFormalArguments() 101 CCAssignFn Fn) { in CheckReturn() argument 106 if (Fn(i, VT, VT, CCValAssign::Full, ArgFlags, *this)) in CheckReturn() 115 CCAssignFn Fn) { in AnalyzeReturn() argument 120 if (Fn(i, VT, VT, CCValAssign::Full, ArgFlags, *this)) in AnalyzeReturn() 128 CCAssignFn Fn) { in AnalyzeCallOperands() argument 133 if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this)) { in AnalyzeCallOperands() 146 CCAssignFn Fn) { in AnalyzeCallOperands() argument 151 if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this)) { in AnalyzeCallOperands() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsCCState.h | 90 CCAssignFn Fn, in AnalyzeCallOperands() argument 94 CCState::AnalyzeCallOperands(Outs, Fn); in AnalyzeCallOperands() 105 CCAssignFn Fn) = delete; 108 CCAssignFn Fn) = delete; 111 CCAssignFn Fn) { in AnalyzeFormalArguments() argument 113 CCState::AnalyzeFormalArguments(Ins, Fn); in AnalyzeFormalArguments() 120 CCAssignFn Fn, const Type *RetTy, in AnalyzeCallResult() argument 124 CCState::AnalyzeCallResult(Ins, Fn); in AnalyzeCallResult() 131 CCAssignFn Fn) { in AnalyzeReturn() argument 134 CCState::AnalyzeReturn(Outs, Fn); in AnalyzeReturn() [all …]
|
/third_party/flutter/skia/tools/gpu/gl/interface/ |
D | templates.go | 22 #define GET_PROC(F) functions->f##F = (GrGL##F##Fn*)get(ctx, "gl" #F) 23 #define GET_PROC_SUFFIX(F, S) functions->f##F = (GrGL##F##Fn*)get(ctx, "gl" #F #S) 24 #define GET_PROC_LOCAL(F) GrGL##F##Fn* F = (GrGL##F##Fn*)get(ctx, "gl" #F) 26 #define GET_EGL_PROC_SUFFIX(F, S) functions->fEGL##F = (GrEGL##F##Fn*)get(ctx, "egl" #F #S) 99 #define GET_PROC(F) functions->f##F = (GrGL##F##Fn*)get(ctx, "gl" #F) 100 #define GET_PROC_SUFFIX(F, S) functions->f##F = (GrGL##F##Fn*)get(ctx, "gl" #F #S) 101 #define GET_PROC_LOCAL(F) GrGL##F##Fn* F = (GrGL##F##Fn*)get(ctx, "gl" #F) 103 #define GET_EGL_PROC_SUFFIX(F, S) functions->fEGL##F = (GrEGL##F##Fn*)get(ctx, "egl" #F #S) 166 #define GET_PROC(F) functions->f##F = (GrGL##F##Fn*)get(ctx, "gl" #F) 167 #define GET_PROC_SUFFIX(F, S) functions->f##F = (GrGL##F##Fn*)get(ctx, "gl" #F #S) [all …]
|
/third_party/rust/crates/tracing/tracing-subscriber/src/filter/ |
D | filter_fn.rs | 106 F: Fn(&Metadata<'_>) -> bool, in filter_fn() 177 F: Fn(&Metadata<'_>, &Context<'_, S>) -> bool, in dynamic_filter_fn() 184 F: Fn(&Metadata<'_>) -> bool, 326 F: Fn(&Metadata<'_>) -> bool + 'static, 344 F: Fn(&Metadata<'_>) -> bool, 364 F: Fn(&Metadata<'_>, &Context<'_, S>) -> bool, 436 F: Fn(&Metadata<'_>, &Context<'_, S>) -> bool, 560 R2: Fn(&'static Metadata<'static>) -> Interest, in with_callsite_filter() 602 F: Fn(&Metadata<'_>, &Context<'_, S>) -> bool, 603 R: Fn(&'static Metadata<'static>) -> Interest, [all …]
|
/third_party/typescript/tests/cases/compiler/ |
D | varianceMeasurement.ts | 51 interface Fn<A, B> { interface 53 then<C>(next: Fn<B, C>): Fn<A, C>; 56 declare const fn: Fn<string, number>; 59 const fn1: Fn<unknown, number> = fn; // Error 60 const fn2: Fn<'a', number> = fn; 63 const fn3: Fn<string, unknown> = fn; 64 const fn4: Fn<string, 0> = fn; // Error
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/ |
D | ItaniumDemangle.h | 149 template<typename Fn> void visit(Fn F) const; 254 template<typename Fn> void match(Fn F) const { F(Array); } in match() 269 template<typename Fn> void match(Fn F) const { F(Prefix, Suffix); } in match() 287 template<typename Fn> void match(Fn F) const { F(Ty, Ext); } in match() 333 template<typename Fn> void match(Fn F) const { F(Child, Quals); } in match() 360 template<typename Fn> void match(Fn F) const { F(Ty); } in match() 376 template<typename Fn> void match(Fn F) const { F(Ty, Postfix); } in match() 390 template<typename Fn> void match(Fn F) const { F(Name); } in match() 405 template<typename Fn> void match(Fn F) const { F(Kind, Child); } in match() 423 template<typename Fn> void match(Fn F) const { F(Base, Tag); } in match() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 123 bool DeadArgumentEliminationPass::DeleteDeadVarargs(Function &Fn) { in DeleteDeadVarargs() argument 124 assert(Fn.getFunctionType()->isVarArg() && "Function isn't varargs!"); in DeleteDeadVarargs() 125 if (Fn.isDeclaration() || !Fn.hasLocalLinkage()) return false; in DeleteDeadVarargs() 128 if (Fn.hasAddressTaken()) in DeleteDeadVarargs() 134 if (Fn.hasFnAttribute(Attribute::Naked)) { in DeleteDeadVarargs() 140 for (BasicBlock &BB : Fn) { in DeleteDeadVarargs() 159 FunctionType *FTy = Fn.getFunctionType(); in DeleteDeadVarargs() 167 Function *NF = Function::Create(NFTy, Fn.getLinkage(), Fn.getAddressSpace()); in DeleteDeadVarargs() 168 NF->copyAttributesFrom(&Fn); in DeleteDeadVarargs() 169 NF->setComdat(Fn.getComdat()); in DeleteDeadVarargs() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/ |
D | Speculation.cpp | 86 for (auto &Fn : M.getFunctionList()) { in emit() local 87 if (!Fn.isDeclaration()) { in emit() 89 auto IRNames = QueryAnalysis(Fn); in emit() 98 "__orc_speculate.guard.for." + Fn.getName()); in emit() 102 BasicBlock &ProgramEntry = Fn.getEntryBlock(); in emit() 105 MContext, "__orc_speculate.block", &Fn, &ProgramEntry); in emit() 107 MContext, "__orc_speculate.decision.block", &Fn, SpeculateBlock); in emit() 109 assert(SpeculateDecisionBlock == &Fn.getEntryBlock() && in emit() 123 Mutator.CreatePtrToInt(&Fn, Type::getInt64Ty(MContext)); in emit() 130 assert(Mutator.GetInsertBlock()->getParent() == &Fn && in emit()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonVectorPrint.cpp | 66 bool runOnMachineFunction(MachineFunction &Fn) override; 98 MachineFunction &Fn) { in addAsmInstr() argument 100 const char *cstr = Fn.createExternalSymbolName(VDescStr); in addAsmInstr() 130 bool HexagonVectorPrint::runOnMachineFunction(MachineFunction &Fn) { in runOnMachineFunction() argument 132 QST = &Fn.getSubtarget<HexagonSubtarget>(); in runOnMachineFunction() 136 for (auto &MBB : Fn) in runOnMachineFunction() 184 addAsmInstr(MBB, Reg, MII, DL, QII, Fn); in runOnMachineFunction() 188 MII, DL, QII, Fn); in runOnMachineFunction() 190 MII, DL, QII, Fn); in runOnMachineFunction() 193 addAsmInstr(MBB, Reg, MII, DL, QII, Fn); in runOnMachineFunction()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | CallingConvLower.h | 292 CCAssignFn Fn); 296 CCAssignFn Fn) { in AnalyzeArguments() argument 297 AnalyzeFormalArguments(Ins, Fn); in AnalyzeArguments() 303 CCAssignFn Fn); 309 CCAssignFn Fn); 314 CCAssignFn Fn); 320 CCAssignFn Fn); 324 CCAssignFn Fn) { in AnalyzeArguments() argument 325 AnalyzeCallOperands(Outs, Fn); in AnalyzeArguments() 331 CCAssignFn Fn); [all …]
|