Home
last modified time | relevance | path

Searched refs:Chain (Results 1 – 25 of 166) sorted by relevance

1234567

/third_party/typescript/tests/baselines/reference/
DchainedCallsWithTypeParameterConstrainedToOtherTypeParameter.types2 class Chain<T extends A> {
3 >Chain : Chain<T>
8 then<S extends T>(cb: (x: T) => S): Chain<S> {
9 >then : <S extends T>(cb: (x: T) => S) => Chain<S>
40 (new Chain(new A)).then(a => new B).then(b => new C).then(c => new B).then(b => new A);
41 >(new Chain(new A)).then(a => new B).then(b => new C).then(c => new B).then(b => new A) : Chain<C>
42 >(new Chain(new A)).then(a => new B).then(b => new C).then(c => new B).then : <S extends C>(cb: (x:…
43 >(new Chain(new A)).then(a => new B).then(b => new C).then(c => new B) : Chain<C>
44 >(new Chain(new A)).then(a => new B).then(b => new C).then : <S extends C>(cb: (x: C) => S) => Chai…
45 >(new Chain(new A)).then(a => new B).then(b => new C) : Chain<C>
[all …]
DchainedCallsWithTypeParameterConstrainedToOtherTypeParameter2.types2 class Chain<T> {
3 >Chain : Chain<T>
8 then<S extends T>(cb: (x: T) => S): Chain<S> {
9 >then : <S extends T>(cb: (x: T) => S) => Chain<S>
20 (new Chain(t)).then(tt => s).then(ss => t);
21 >(new Chain(t)).then(tt => s).then(ss => t) : Chain<S>
22 >(new Chain(t)).then(tt => s).then : <S extends S>(cb: (x: S) => S) => Chain<S>
23 >(new Chain(t)).then(tt => s) : Chain<S>
24 >(new Chain(t)).then : <S extends T>(cb: (x: T) => S) => Chain<S>
25 >(new Chain(t)) : Chain<T>
[all …]
DpromiseChaining.types2 class Chain<T> {
3 >Chain : Chain<T>
8 then<S>(cb: (x: T) => S): Chain<S> {
9 >then : <S>(cb: (x: T) => S) => Chain<S>
23 >z : Chain<number>
24 >this.then(x => result)/*S*/.then(x => "abc")/*string*/.then(x => x.length) : Chain<number>
25 >this.then(x => result)/*S*/.then(x => "abc")/*string*/.then : <S>(cb: (x: string) => S) => Chain<S>
26 >this.then(x => result)/*S*/.then(x => "abc") : Chain<string>
27 >this.then(x => result)/*S*/.then : <S>(cb: (x: S) => S) => Chain<S>
28 >this.then(x => result) : Chain<S>
[all …]
DpromiseChaining.symbols2 class Chain<T> {
3 >Chain : Symbol(Chain, Decl(promiseChaining.ts, 0, 0))
7 >value : Symbol(Chain.value, Decl(promiseChaining.ts, 1, 16))
10 then<S>(cb: (x: T) => S): Chain<S> {
11 >then : Symbol(Chain.then, Decl(promiseChaining.ts, 1, 36))
17 >Chain : Symbol(Chain, Decl(promiseChaining.ts, 0, 0))
23 >this.value : Symbol(Chain.value, Decl(promiseChaining.ts, 1, 16))
24 >this : Symbol(Chain, Decl(promiseChaining.ts, 0, 0))
25 >value : Symbol(Chain.value, Decl(promiseChaining.ts, 1, 16))
30 >this.then(x => result)/*S*/.then(x => "abc")/*string*/.then : Symbol(Chain.then, Decl(promiseChain…
[all …]
DchainedCallsWithTypeParameterConstrainedToOtherTypeParameter.symbols2 class Chain<T extends A> {
3 >Chain : Symbol(Chain, Decl(chainedCallsWithTypeParameterConstrainedToOtherTypeParameter.ts, 0, 0))
8 >value : Symbol(Chain.value, Decl(chainedCallsWithTypeParameterConstrainedToOtherTypeParameter.ts, …
11 then<S extends T>(cb: (x: T) => S): Chain<S> {
12 >then : Symbol(Chain.then, Decl(chainedCallsWithTypeParameterConstrainedToOtherTypeParameter.ts, 1,…
19 >Chain : Symbol(Chain, Decl(chainedCallsWithTypeParameterConstrainedToOtherTypeParameter.ts, 0, 0))
48 (new Chain(new A)).then(a => new B).then(b => new C).then(c => new B).then(b => new A);
49 >(new Chain(new A)).then(a => new B).then(b => new C).then(c => new B).then : Symbol(Chain.then, De…
50 >(new Chain(new A)).then(a => new B).then(b => new C).then : Symbol(Chain.then, Decl(chainedCallsWi…
51 >(new Chain(new A)).then(a => new B).then : Symbol(Chain.then, Decl(chainedCallsWithTypeParameterCo…
[all …]
DchainedCallsWithTypeParameterConstrainedToOtherTypeParameter2.js2 class Chain<T> { class
4 then<S extends T>(cb: (x: T) => S): Chain<S> { field in Chain
8 (new Chain(t)).then(tt => s).then(ss => t);
11 (new Chain(s)).then(ss => t);
14 (new Chain(t)).then(tt => t).then(tt => t).then(tt => t);
15 (new Chain(s)).then(ss => s).then(ss => s).then(ss => s);
45 var Chain = /** @class */ (function () {
46 function Chain(value) { class in Chain
49 Chain.prototype.then = function (cb) {
53 (new Chain(t)).then(function (tt) { return s; }).then(function (ss) { return t; });
[all …]
DchainedCallsWithTypeParameterConstrainedToOtherTypeParameter2.symbols2 class Chain<T> {
3 >Chain : Symbol(Chain, Decl(chainedCallsWithTypeParameterConstrainedToOtherTypeParameter2.ts, 0, 0))
7 >value : Symbol(Chain.value, Decl(chainedCallsWithTypeParameterConstrainedToOtherTypeParameter2.ts,…
10 then<S extends T>(cb: (x: T) => S): Chain<S> {
11 >then : Symbol(Chain.then, Decl(chainedCallsWithTypeParameterConstrainedToOtherTypeParameter2.ts, 1…
18 >Chain : Symbol(Chain, Decl(chainedCallsWithTypeParameterConstrainedToOtherTypeParameter2.ts, 0, 0))
30 (new Chain(t)).then(tt => s).then(ss => t);
31 >(new Chain(t)).then(tt => s).then : Symbol(Chain.then, Decl(chainedCallsWithTypeParameterConstrain…
32 >(new Chain(t)).then : Symbol(Chain.then, Decl(chainedCallsWithTypeParameterConstrainedToOtherTypeP…
33 >Chain : Symbol(Chain, Decl(chainedCallsWithTypeParameterConstrainedToOtherTypeParameter2.ts, 0, 0))
[all …]
DpromiseChaining.js2 class Chain<T> { class
4 then<S>(cb: (x: T) => S): Chain<S> { field in Chain
8 return new Chain(result);
15 var Chain = /** @class */ (function () {
16 function Chain(value) { class in Chain
19 Chain.prototype.then = function (cb) {
23 return new Chain(result);
25 return Chain;
DchainedCallsWithTypeParameterConstrainedToOtherTypeParameter.js2 class Chain<T extends A> { class
4 then<S extends T>(cb: (x: T) => S): Chain<S> { field in Chain
20 (new Chain(new A)).then(a => new B).then(b => new C).then(c => new B).then(b => new A);
38 var Chain = /** @class */ (function () {
39 function Chain(value) { class in Chain
42 Chain.prototype.then = function (cb) {
45 return Chain;
67 (new Chain(new A)).then(function (a) { return new B; }).then(function (b) { return new C; }).then(f…
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86SelectionDAGInfo.cpp47 SelectionDAG &DAG, const SDLoc &dl, SDValue Chain, SDValue Dst, SDValue Val, in EmitTargetCodeForMemset() argument
89 .setChain(Chain) in EmitTargetCodeForMemset()
144 Chain = DAG.getCopyToReg(Chain, dl, ValReg, DAG.getConstant(Val, dl, AVT), in EmitTargetCodeForMemset()
146 InFlag = Chain.getValue(1); in EmitTargetCodeForMemset()
150 Chain = DAG.getCopyToReg(Chain, dl, X86::AL, Val, InFlag); in EmitTargetCodeForMemset()
151 InFlag = Chain.getValue(1); in EmitTargetCodeForMemset()
155 Chain = DAG.getCopyToReg(Chain, dl, Use64BitRegs ? X86::RCX : X86::ECX, in EmitTargetCodeForMemset()
157 InFlag = Chain.getValue(1); in EmitTargetCodeForMemset()
158 Chain = DAG.getCopyToReg(Chain, dl, Use64BitRegs ? X86::RDI : X86::EDI, in EmitTargetCodeForMemset()
160 InFlag = Chain.getValue(1); in EmitTargetCodeForMemset()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZSelectionDAGInfo.cpp26 unsigned Loop, SDValue Chain, SDValue Dst, in emitMemMem() argument
41 return DAG.getNode(Loop, DL, MVT::Other, Chain, Dst, Src, in emitMemMem()
44 return DAG.getNode(Sequence, DL, MVT::Other, Chain, Dst, Src, in emitMemMem()
49 SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, SDValue Dst, SDValue Src, in EmitTargetCodeForMemcpy() argument
57 Chain, Dst, Src, CSize->getZExtValue()); in EmitTargetCodeForMemcpy()
64 static SDValue memsetStore(SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, in memsetStore() argument
71 Chain, DL, DAG.getConstant(StoreVal, DL, MVT::getIntegerVT(Size * 8)), in memsetStore()
76 SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, SDValue Dst, in EmitTargetCodeForMemset() argument
99 SDValue Chain1 = memsetStore(DAG, DL, Chain, Dst, ByteVal, Size1, in EmitTargetCodeForMemset()
106 SDValue Chain2 = memsetStore(DAG, DL, Chain, Dst, ByteVal, Size2, in EmitTargetCodeForMemset()
[all …]
DSystemZSelectionDAGInfo.h27 SDValue Chain, SDValue Dst, SDValue Src,
34 SDValue Chain, SDValue Dst, SDValue Byte,
39 EmitTargetCodeForMemcmp(SelectionDAG &DAG, const SDLoc &DL, SDValue Chain,
45 EmitTargetCodeForMemchr(SelectionDAG &DAG, const SDLoc &DL, SDValue Chain,
50 SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, SDValue Dest,
55 EmitTargetCodeForStrcmp(SelectionDAG &DAG, const SDLoc &DL, SDValue Chain,
61 EmitTargetCodeForStrlen(SelectionDAG &DAG, const SDLoc &DL, SDValue Chain,
66 EmitTargetCodeForStrnlen(SelectionDAG &DAG, const SDLoc &DL, SDValue Chain,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoadStoreVectorizer.cpp164 getBoundaryInstrs(ArrayRef<Instruction *> Chain);
167 void eraseInstructions(ArrayRef<Instruction *> Chain);
174 splitOddVectorElts(ArrayRef<Instruction *> Chain, unsigned ElementSizeBits);
182 ArrayRef<Instruction *> getVectorizablePrefix(ArrayRef<Instruction *> Chain);
196 vectorizeLoadChain(ArrayRef<Instruction *> Chain,
201 vectorizeStoreChain(ArrayRef<Instruction *> Chain,
544 Vectorizer::getBoundaryInstrs(ArrayRef<Instruction *> Chain) { in getBoundaryInstrs() argument
545 Instruction *C0 = Chain[0]; in getBoundaryInstrs()
552 if (!is_contained(Chain, &I)) in getBoundaryInstrs()
559 if (NumFound == Chain.size()) { in getBoundaryInstrs()
[all …]
/third_party/boost/boost/iostreams/detail/streambuf/
Dchainbuf.hpp37 template<typename Chain, typename Mode, typename Access>
40 typename Chain::char_type,
41 typename Chain::traits_type
43 public access_control<typename Chain::client_type, Access>,
47 typedef access_control<chain_client<Chain>, Access> client_type;
49 typedef typename Chain::char_type char_type;
50 BOOST_IOSTREAMS_STREAMBUF_TYPEDEFS(typename Chain::traits_type)
75 typename Chain::char_type,
76 typename Chain::traits_type
82 typedef typename Chain::traits_type chain_traits;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64A57FPLoadBalancing.cpp107 class Chain;
138 bool colorChainSet(std::vector<Chain*> GV, MachineBasicBlock &MBB,
140 bool colorChain(Chain *G, Color C, MachineBasicBlock &MBB);
141 int scavengeRegister(Chain *G, Color C, MachineBasicBlock &MBB);
143 std::map<unsigned, Chain*> &Active,
144 std::vector<std::unique_ptr<Chain>> &AllChains);
146 std::map<unsigned, Chain*> &RegChains);
148 Chain *getAndEraseNext(Color PreferredColor, std::vector<Chain*> &L);
185 class Chain { class
203 Chain(MachineInstr *MI, unsigned Idx, Color C) in Chain() function in __anonfa8b5cf30211::Chain
[all …]
DAArch64SelectionDAGInfo.cpp19 SelectionDAG &DAG, const SDLoc &dl, SDValue Chain, SDValue Dst, SDValue Src, in EmitTargetCodeForMemset() argument
45 .setChain(Chain) in EmitTargetCodeForMemset()
63 SDValue Chain, SDValue Ptr, uint64_t ObjSize, in EmitUnrolledSetTag() argument
88 {Chain, TagSrc, AddrNode}, in EmitUnrolledSetTag()
100 {Chain, TagSrc, AddrNode}, in EmitUnrolledSetTag()
113 SelectionDAG &DAG, const SDLoc &dl, SDValue Chain, SDValue Addr, in EmitTargetCodeForSetTag() argument
125 return EmitUnrolledSetTag(DAG, dl, Chain, Addr, ObjSize, BaseMemOperand, in EmitTargetCodeForSetTag()
132 {Addr, Addr, DAG.getTargetConstant(1, dl, MVT::i64), Chain}); in EmitTargetCodeForSetTag()
136 Chain = SDValue(St1, 1); in EmitTargetCodeForSetTag()
140 SDValue Ops[] = {DAG.getConstant(ObjSize, dl, MVT::i64), Addr, Chain}; in EmitTargetCodeForSetTag()
/third_party/boost/boost/iostreams/
Dfiltering_stream.hpp71 template<typename Chain, typename Access>
74 boost::iostreams::detail::chain_client<Chain>,
78 typename Chain::mode,
79 typename Chain::char_type,
80 typename Chain::traits_type
84 typedef Chain chain_type;
86 boost::iostreams::detail::chain_client<Chain>,
92 typename Chain::mode,
93 typename Chain::char_type,
94 typename Chain::traits_type
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineBlockPlacement.cpp273 void merge(MachineBasicBlock *BB, BlockChain *Chain) { in merge() argument
278 if (!Chain) { in merge()
286 assert(BB == *Chain->begin() && "Passed BB is not head of Chain."); in merge()
287 assert(Chain->begin() != Chain->end()); in merge()
291 for (MachineBasicBlock *ChainBB : *Chain) { in merge()
293 assert(BlockToChain[ChainBB] == Chain && "Incoming blocks not in chain."); in merge()
405 const BlockChain &Chain, const MachineBasicBlock *LoopHeaderBB,
411 const BlockChain &Chain, const MachineBasicBlock *BB,
417 const MachineBasicBlock *BB, const BlockChain &Chain,
422 const BlockChain &Chain, const BlockFilterSet *BlockFilter,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/
DARCISelLowering.cpp36 static SDValue lowerCallResult(SDValue Chain, SDValue InFlag,
198 SDValue Chain = Op.getOperand(0); in LowerBR_CC() local
206 return DAG.getNode(ARCISD::BRcc, dl, MVT::Other, Chain, Dest, LHS, RHS, in LowerBR_CC()
230 SDValue Chain = CLI.Chain; in LowerCall() local
255 Chain = DAG.getCALLSEQ_START(Chain, NumBytes, 0, dl); in LowerCall()
290 StackPtr = DAG.getCopyFromReg(Chain, dl, ARC::SP, in LowerCall()
298 DAG.getStore(Chain, dl, Arg, PtrOff, MachinePointerInfo()); in LowerCall()
307 Chain = DAG.getNode(ISD::TokenFactor, dl, MVT::Other, MemOpChains); in LowerCall()
315 Chain = DAG.getCopyToReg(Chain, dl, RegsToPass[i].first, in LowerCall()
317 Glue = Chain.getValue(1); in LowerCall()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DSelectionDAGTargetInfo.h52 SDValue Chain, SDValue Op1, in EmitTargetCodeForMemcpy() argument
68 SelectionDAG &DAG, const SDLoc &dl, SDValue Chain, SDValue Op1, in EmitTargetCodeForMemmove() argument
81 SDValue Chain, SDValue Op1, in EmitTargetCodeForMemset() argument
93 EmitTargetCodeForMemcmp(SelectionDAG &DAG, const SDLoc &dl, SDValue Chain, in EmitTargetCodeForMemcmp() argument
105 EmitTargetCodeForMemchr(SelectionDAG &DAG, const SDLoc &dl, SDValue Chain, in EmitTargetCodeForMemchr() argument
118 EmitTargetCodeForStrcpy(SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, in EmitTargetCodeForStrcpy() argument
130 EmitTargetCodeForStrcmp(SelectionDAG &DAG, const SDLoc &dl, SDValue Chain, in EmitTargetCodeForStrcmp() argument
138 EmitTargetCodeForStrlen(SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, in EmitTargetCodeForStrlen() argument
144 EmitTargetCodeForStrnlen(SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, in EmitTargetCodeForStrnlen() argument
151 SDValue Chain, SDValue Addr, in EmitTargetCodeForSetTag() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMSelectionDAGInfo.cpp24 SelectionDAG &DAG, const SDLoc &dl, SDValue Chain, SDValue Dst, SDValue Src, in EmitSpecializedLibcall() argument
115 .setChain(Chain) in EmitSpecializedLibcall()
128 SelectionDAG &DAG, const SDLoc &dl, SDValue Chain, SDValue Dst, SDValue Src, in EmitTargetCodeForMemcpy() argument
141 return EmitSpecializedLibcall(DAG, dl, Chain, Dst, Src, Size, Align, in EmitTargetCodeForMemcpy()
145 return EmitSpecializedLibcall(DAG, dl, Chain, Dst, Src, Size, Align, in EmitTargetCodeForMemcpy()
185 Dst = DAG.getNode(ARMISD::MEMCPY, dl, VTs, Chain, Dst, Src, in EmitTargetCodeForMemcpy()
188 Chain = Dst.getValue(2); in EmitTargetCodeForMemcpy()
197 return Chain; in EmitTargetCodeForMemcpy()
212 Loads[i] = DAG.getLoad(VT, dl, Chain, in EmitTargetCodeForMemcpy()
221 Chain = DAG.getNode(ISD::TokenFactor, dl, MVT::Other, in EmitTargetCodeForMemcpy()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFISelLowering.cpp207 SDValue Chain, CallingConv::ID CallConv, bool IsVarArg, in LowerFormalArguments() argument
242 SDValue ArgValue = DAG.getCopyFromReg(Chain, DL, VReg, RegVT); in LowerFormalArguments()
270 return Chain; in LowerFormalArguments()
281 SDValue Chain = CLI.Chain; in LowerCall() local
319 Chain = DAG.getCALLSEQ_START(Chain, NumBytes, 0, CLI.DL); in LowerCall()
360 Chain = DAG.getCopyToReg(Chain, CLI.DL, Reg.first, Reg.second, InFlag); in LowerCall()
361 InFlag = Chain.getValue(1); in LowerCall()
380 Ops.push_back(Chain); in LowerCall()
391 Chain = DAG.getNode(BPFISD::CALL, CLI.DL, NodeTys, Ops); in LowerCall()
392 InFlag = Chain.getValue(1); in LowerCall()
[all …]
/third_party/typescript/tests/cases/compiler/
DchainedCallsWithTypeParameterConstrainedToOtherTypeParameter2.ts1 class Chain<T> { class
3 then<S extends T>(cb: (x: T) => S): Chain<S> {
7 (new Chain(t)).then(tt => s).then(ss => t);
10 (new Chain(s)).then(ss => t);
13 (new Chain(t)).then(tt => t).then(tt => t).then(tt => t);
14 (new Chain(s)).then(ss => s).then(ss => s).then(ss => s);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblySelectionDAGInfo.cpp22 SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, SDValue Dst, SDValue Src, in EmitTargetCodeForMemcpy() argument
32 {Chain, MemIdx, MemIdx, Dst, Src, in EmitTargetCodeForMemcpy()
37 SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, SDValue Op1, SDValue Op2, in EmitTargetCodeForMemmove() argument
40 return EmitTargetCodeForMemcpy(DAG, DL, Chain, Op1, Op2, Op3, Align, in EmitTargetCodeForMemmove()
46 SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, SDValue Dst, SDValue Val, in EmitTargetCodeForMemset() argument
56 return DAG.getNode(WebAssemblyISD::MEMORY_FILL, DL, MVT::Other, Chain, MemIdx, in EmitTargetCodeForMemset()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp197 SparcTargetLowering::LowerReturn(SDValue Chain, CallingConv::ID CallConv, in LowerReturn() argument
203 return LowerReturn_64(Chain, CallConv, IsVarArg, Outs, OutVals, DL, DAG); in LowerReturn()
204 return LowerReturn_32(Chain, CallConv, IsVarArg, Outs, OutVals, DL, DAG); in LowerReturn()
208 SparcTargetLowering::LowerReturn_32(SDValue Chain, CallingConv::ID CallConv, in LowerReturn_32() argument
226 SmallVector<SDValue, 4> RetOps(1, Chain); in LowerReturn_32()
251 Chain = DAG.getCopyToReg(Chain, DL, VA.getLocReg(), Part0, Flag); in LowerReturn_32()
252 Flag = Chain.getValue(1); in LowerReturn_32()
255 Chain = DAG.getCopyToReg(Chain, DL, VA.getLocReg(), Part1, in LowerReturn_32()
258 Chain = DAG.getCopyToReg(Chain, DL, VA.getLocReg(), Arg, Flag); in LowerReturn_32()
261 Flag = Chain.getValue(1); in LowerReturn_32()
[all …]

1234567