Home
last modified time | relevance | path

Searched refs:Switch (Results 1 - 25 of 112) sorted by relevance

12345

/third_party/skia/third_party/externals/tint/src/resolver/
H A Dcontrol_block_validation_test.cc35 auto* block = Block(Decl(var), Switch(Expr(Source{{12, 34}}, "a"), // in TEST_F()
54 Switch(Source{{12, 34}}, "a", // in TEST_F()
74 Switch("a", // in TEST_F()
175 Loop(Block(Switch(1, // in TEST_F()
197 Switch(1, // in TEST_F()
217 auto* block = Block(Decl(var), Switch("a", // in TEST_F()
238 Switch("a", // in TEST_F()
260 Switch("a", // in TEST_F()
287 Switch("a", // in TEST_F()
313 Switch(" in TEST_F()
[all...]
H A Dresolver_behavior_test.cc508 auto* stmt = Switch(1, DefaultCase(Block())); in TEST_F()
518 auto* stmt = Switch(1, DefaultCase(Block())); in TEST_F()
528 auto* stmt = Switch(1, DefaultCase(Block(Discard()))); in TEST_F()
538 auto* stmt = Switch(1, DefaultCase(Block(Return()))); in TEST_F()
548 auto* stmt = Switch(1, Case(Expr(0), Block()), DefaultCase(Block())); in TEST_F()
558 auto* stmt = Switch(1, Case(Expr(0), Block()), DefaultCase(Block(Discard()))); in TEST_F()
569 auto* stmt = Switch(1, Case(Expr(0), Block()), DefaultCase(Block(Return()))); in TEST_F()
580 auto* stmt = Switch(1, Case(Expr(0), Block(Discard())), DefaultCase(Block())); in TEST_F()
593 Switch(1, Case(Expr(0), Block(Discard())), DefaultCase(Block(Discard()))); in TEST_F()
605 Switch( in TEST_F()
[all...]
/third_party/skia/third_party/externals/tint/src/writer/glsl/
H A Dgenerator_impl_case_test.cc26 auto* s = Switch(1, Case(Expr(5), Block(create<ast::BreakStatement>())), in TEST_F()
42 auto* s = Switch(1, Case(Expr(5), Block()), DefaultCase()); in TEST_F()
57 auto* s = Switch(1, Case(Expr(5), Block(create<ast::FallthroughStatement>())), in TEST_F()
74 Switch(1, Case({Expr(5), Expr(6)}, Block(create<ast::BreakStatement>())), in TEST_F()
91 auto* s = Switch(1, DefaultCase(Block(create<ast::BreakStatement>()))); in TEST_F()
/third_party/skia/third_party/externals/tint/src/writer/hlsl/
H A Dgenerator_impl_case_test.cc26 auto* s = Switch(1, Case(Expr(5), Block(create<ast::BreakStatement>())), in TEST_F()
42 auto* s = Switch(1, Case(Expr(5), Block()), DefaultCase()); in TEST_F()
58 Switch(1, // in TEST_F()
81 Switch(1, Case({Expr(5), Expr(6)}, Block(create<ast::BreakStatement>())), in TEST_F()
98 auto* s = Switch(1, DefaultCase(Block(create<ast::BreakStatement>()))); in TEST_F()
H A Dgenerator_impl_switch_test.cc26 auto* s = Switch( // in TEST_F()
51 auto* s = Switch( // in TEST_F()
/third_party/skia/third_party/externals/tint/src/writer/msl/
H A Dgenerator_impl_case_test.cc26 auto* s = Switch(1, Case(Expr(5), Block(create<ast::BreakStatement>())), in TEST_F()
42 auto* s = Switch(1, Case(Expr(5), Block()), DefaultCase()); in TEST_F()
57 auto* s = Switch(1, Case(Expr(5), Block(create<ast::FallthroughStatement>())), in TEST_F()
74 Switch(1, Case({Expr(5), Expr(6)}, Block(create<ast::BreakStatement>())), in TEST_F()
91 auto* s = Switch(1, DefaultCase(Block(create<ast::BreakStatement>()))); in TEST_F()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
H A DCoroInternal.h71 Switch, member in llvm::coro::ABI
134 assert(ABI == coro::ABI::Switch); in getSwitchCoroId()
145 assert(ABI == coro::ABI::Switch); in getIndexType()
154 assert(ABI == coro::ABI::Switch); in getSwitchResumePointerType()
161 case coro::ABI::Switch: { in getResumeFunctionType()
196 case coro::ABI::Switch: in getResumeFunctionCC()
208 case coro::ABI::Switch: in getFirstSpillFieldIndex()
219 if (ABI == coro::ABI::Switch) in getPromiseAlloca()
H A DCoroSplit.cpp113 assert(Shape.ABI == coro::ABI::Switch); in CoroCloner()
182 case coro::ABI::Switch: in replaceFallthroughCoroEnd()
229 case coro::ABI::Switch: in replaceUnwindCoroEnd()
266 assert(Shape.ABI == coro::ABI::Switch); in createResumeEntryBlock()
288 auto *Switch = in createResumeEntryBlock() local
290 Shape.SwitchLowering.ResumeSwitch = Switch; in createResumeEntryBlock()
346 Switch->addCase(IndexVal, ResumeBB); in createResumeEntryBlock()
374 assert(Shape.ABI == coro::ABI::Switch && in handleFinalSuspend()
376 auto *Switch = cast<SwitchInst>(VMap[Shape.SwitchLowering.ResumeSwitch]); in handleFinalSuspend() local
377 auto FinalCaseIt = std::prev(Switch in handleFinalSuspend()
[all...]
H A DCoroutines.cpp355 this->ABI = coro::ABI::Switch; in buildFrom()
479 if (ABI == coro::ABI::Switch && in buildFrom()
502 case coro::ABI::Switch: in emitAlloc()
523 case coro::ABI::Switch: in emitDealloc()
H A DCoroFrame.cpp407 if (Shape.ABI == coro::ABI::Switch) { in buildFrameType()
470 case coro::ABI::Switch: in buildFrameType()
611 assert(Shape.ABI == coro::ABI::Switch); in insertSpills()
1332 if (Shape.ABI == coro::ABI::Switch && in buildCoroutineFrame()
1393 if (Shape.ABI == coro::ABI::Switch && in buildCoroutineFrame()
/third_party/skia/third_party/externals/tint/src/writer/spirv/
H A Dbuilder_switch_test.cc31 auto* expr = Switch(1, DefaultCase()); in TEST_F()
65 Switch("a", // in TEST_F()
122 Switch("a", // in TEST_F()
179 Switch("a", // in TEST_F()
229 Switch(Expr("a"), // in TEST_F()
292 Switch(Expr("a"), // in TEST_F()
355 Switch("a", // in TEST_F()
418 Switch(1, // in TEST_F()
/third_party/json/tests/thirdparty/Fuzzer/test/
H A DSwitchTest.cpp14 bool Switch(const uint8_t *Data, size_t Size) { in Switch() function
49 if (Size >= 4 && Switch<int>(Data, Size) && in LLVMFuzzerTestOneInput()
50 Size >= 12 && Switch<uint64_t>(Data + 4, Size - 4) && in LLVMFuzzerTestOneInput()
H A DSwitch2Test.cpp11 int Switch(int a) { in Switch() function
27 Res += Switch(X); in LLVMFuzzerTestOneInput()
/third_party/skia/third_party/externals/tint/src/writer/wgsl/
H A Dgenerator_impl_case_test.cc25 auto* s = Switch(1, Case(Expr(5), Block(create<ast::BreakStatement>())), in TEST_F()
42 Switch(1, Case({Expr(5), Expr(6)}, Block(create<ast::BreakStatement>())), in TEST_F()
58 auto* s = Switch(1, DefaultCase(Block(create<ast::BreakStatement>()))); in TEST_F()
H A Dgenerator_impl_fallthrough_test.cc26 WrapInFunction(Switch(1, // in TEST_F()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
H A DTypePromotion.cpp266 if (auto *Switch = dyn_cast<SwitchInst>(V)) in isSink()
267 return LessThanTypeSize(Switch->getCondition()); in isSink()
591 if (auto *Switch = dyn_cast<SwitchInst>(I)) { in TruncateSinks()
592 Type *Ty = TruncTysMap[Switch][0]; in TruncateSinks()
593 if (Instruction *Trunc = InsertTrunc(Switch->getCondition(), Ty)) { in TruncateSinks()
594 Trunc->moveBefore(Switch); in TruncateSinks()
595 Switch->setCondition(Trunc); in TruncateSinks()
686 } else if (auto *Switch = dyn_cast<SwitchInst>(I)) in Mutate()
687 TruncTysMap[I].push_back(Switch->getCondition()->getType()); in Mutate()
754 case Instruction::Switch in isSupportedValue()
[all...]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
H A DNodeType.h27 Switch, member in sh::NodeType
100 nodeType = NodeType::Switch;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
H A DPredicateInfo.h180 SwitchInst *Switch; member in llvm::PredicateSwitch
185 CaseValue(CaseValue), Switch(SI) {} in PredicateSwitch()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAGHVX.cpp326 Switch
352 unsigned C = ctl(I, StartAt+L) == Switch; in getControls()
442 S = (J < Num/2) ? Pass : Switch;
444 S = (J < Num/2) ? Switch : Pass;
505 S = (J < Num/2) ? Pass : Switch;
508 S = (J < Num/2) ? Switch : Pass;
521 if (T[J][Pets] == Switch)
523 if (T[J+Size/2][Pets] == Switch)
572 T[CI][Step] = Switch;
573 T[J][Pets] = (J < Num/2) ? Pass : Switch;
[all...]
/third_party/node/deps/v8/src/builtins/
H A Dbuiltins-sharedarraybuffer-gen.cc209 Switch(elements_kind, &other, case_values, case_labels,
326 Switch(elements_kind, &other, case_values, case_labels,
453 Switch(elements_kind, &other, case_values, case_labels,
599 Switch(elements_kind, &other, case_values, case_labels,
765 Switch(elements_kind, &other, case_values, case_labels,
/third_party/skia/include/sksl/
H A DDSLCase.h61 friend DSLPossibleStatement Switch(DSLExpression value, Cases... cases);
/third_party/typescript/tests/baselines/reference/
H A DparserRealSource14.js212 this.asts[this.top - 1].nodeType === TypeScript.NodeType.Switch &&
302 this.asts[this.top - 2].nodeType === TypeScript.NodeType.Switch &&
309 this.asts[this.top - 2].nodeType === TypeScript.NodeType.Switch &&
757 this.asts[this.top - 1].nodeType === TypeScript.NodeType.Switch &&
832 this.asts[this.top - 2].nodeType === TypeScript.NodeType.Switch &&
838 this.asts[this.top - 2].nodeType === TypeScript.NodeType.Switch &&
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
H A DIceInstrumentation.cpp108 case Inst::Switch: in instrumentInst()
/third_party/node/deps/v8/src/compiler/
H A Dcontrol-flow-optimizer.cc133 NodeProperties::ChangeOp(node, common()->Switch(values.size() + 1)); in TryBuildSwitch()
/third_party/node/deps/openssl/openssl/util/perl/OpenSSL/
H A DTemplate.pm102 Switch on or off template output. Here's an example usage:

Completed in 19 milliseconds

12345