Home
last modified time | relevance | path

Searched refs:Switch (Results 1 – 25 of 208) sorted by relevance

123456789

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Coroutines/
H A DCoroInternal.h51 Switch, enumerator
147 assert(ABI == coro::ABI::Switch); in getSwitchCoroId()
163 assert(ABI == coro::ABI::Switch); in getSwitchIndexField()
168 assert(ABI == coro::ABI::Switch); in getIndexType()
177 assert(ABI == coro::ABI::Switch); in getSwitchResumePointerType()
184 case coro::ABI::Switch: in getResumeFunctionType()
222 case coro::ABI::Switch: in getResumeFunctionCC()
235 if (ABI == coro::ABI::Switch) in getPromiseAlloca()
H A DCoroSplit.cpp121 assert(Shape.ABI == coro::ABI::Switch); in CoroCloner()
235 case coro::ABI::Switch: in replaceFallthroughCoroEnd()
294 Shape.ABI == coro::ABI::Switch && in markCoroutineAsDone()
312 case coro::ABI::Switch: { in replaceUnwindCoroEnd()
359 assert(Shape.ABI == coro::ABI::Switch); in createResumeEntryBlock()
381 auto *Switch = in createResumeEntryBlock() local
383 Shape.SwitchLowering.ResumeSwitch = Switch; in createResumeEntryBlock()
446 Switch->addCase(IndexVal, ResumeBB); in createResumeEntryBlock()
473 assert(Shape.ABI == coro::ABI::Switch && in handleFinalSuspend()
479 auto *Switch = cast<SwitchInst>(VMap[Shape.SwitchLowering.ResumeSwitch]); in handleFinalSuspend() local
[all …]
H A DCoroutines.cpp296 this->ABI = coro::ABI::Switch; in buildFrom()
433 if (ABI == coro::ABI::Switch && in buildFrom()
456 case coro::ABI::Switch: in emitAlloc()
479 case coro::ABI::Switch: in emitDealloc()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DDFAJumpThreading.cpp537 : Switch(MSwitch->getInstr()), SwitchBlock(Switch->getParent()), in AllSwitchPaths()
542 SwitchInst *getSwitchInst() { return Switch; } in getSwitchInst()
553 Switch) in run()
601 Switch) in paths()
658 Value *FirstDef = Switch->getOperand(0); in getStateDefMap()
710 Instruction *SwitchCondI = dyn_cast<Instruction>(Switch->getCondition()); in isSupported()
716 const BasicBlock *SwitchCondUseBB = Switch->getParent(); in isSupported()
747 SwitchInst *Switch; member
775 SwitchInst *Switch = SwitchPaths->getSwitchInst(); in isLegalAndProfitableToTransform() local
816 Switch) in isLegalAndProfitableToTransform()
[all …]
/openbsd-src/sys/dev/onewire/
H A Donewiredevs26 family DS2405 0x05 Addressable Switch
35 family DS2406 0x12 Addressable Switch + 1kb NVRAM
47 family DS2408 0x29 8-channel Addressable Switch
51 family DS2413 0x3a 2-channel Addressable Switch
/openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVPreLegalizer.cpp473 MachineInstr *Switch = *i; in processSwitches() local
475 MachineBasicBlock *DefaultMBB = *Switch->getParent()->succ_begin(); in processSwitches()
482 Register CompareReg = Switch->getOperand(1).getReg(); in processSwitches()
523 for (unsigned k = 2; k < Switch->getNumExplicitOperands(); k++) { in processSwitches()
524 Register CReg = Switch->getOperand(k).getReg(); in processSwitches()
534 for (unsigned k = Switch->getNumExplicitOperands() - 1; k > 1; k--) in processSwitches()
535 Switch->removeOperand(k); in processSwitches()
537 Switch->addOperand(MachineOperand::CreateMBB(DefaultMBB)); in processSwitches()
539 Switch->addOperand(MachineOperand::CreateCImm(Values[k])); in processSwitches()
540 Switch->addOperand(MachineOperand::CreateMBB(MBBs[k])); in processSwitches()
/openbsd-src/gnu/usr.bin/perl/cpan/Pod-Simple/t/
H A Dfcodes_l.t289 is( $x->_out(qq{=pod\n\nL<SWITCH statements|perlsyn/"Basic BLOCKs and Switch Statements">\n}),
290 '<Document><Para><L raw="SWITCH statements|perlsyn/&#34;Basic BLOCKs and Switch Statements&#34;" section="Basic BLOCKs and Switch Statements" to="perlsyn" type="pod">SWITCH statements</L></Para></Document>'
292 is( $x->_out(qq{=pod\n\nL<SWITCH statements|perlsyn/Basic BLOCKs and Switch Statements>\n}),
293 '<Document><Para><L raw="SWITCH statements|perlsyn/Basic BLOCKs and Switch Statements" section="Basic BLOCKs and Switch Statements" to="perlsyn" type="pod">SWITCH statements</L></Para></Document>'
322 is( $x->_out(qq{=pod\n\nL<SWITCH B<E<115>tatements>|perlsyn/"Basic I<BLOCKs> and Switch StatementE<115>">\n}),
323 '<Document><Para><L raw="SWITCH B&#60;E&#60;115&#62;tatements&#62;|perlsyn/&#34;Basic I&#60;BLOCKs&#62; and Switch StatementE&#60;115&#62;&#34;" section="Basic BLOCKs and Switch Statements" to="perlsyn" type="pod">SWITCH <B>statements</B></L></Para></Document>'
325 is( $x->_out(qq{=pod\n\nL<SWITCH B<E<115>tatements>|perlsyn/Basic I<BLOCKs> and Switch Statement
[all...]
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGCleanup.cpp336 llvm::SwitchInst *Switch, in ResolveAllBranchFixups() argument
364 Switch->addCase(CGF.Builder.getInt32(Fixup.DestinationIndex), in ResolveAllBranchFixups()
384 llvm::SwitchInst *Switch = in TransitionToCleanupSwitch() local
387 return Switch; in TransitionToCleanupSwitch()
421 llvm::SwitchInst *Switch = TransitionToCleanupSwitch(*this, BranchBB); in ResolveBranchFixups() local
424 Switch->addCase(Builder.getInt32(Fixup.DestinationIndex), Block); in ResolveBranchFixups()
606 llvm::SwitchInst *Switch = cast<llvm::SwitchInst>(Term); in ForwardPrebranchedFallthrough() local
607 for (unsigned I = 0, E = Switch->getNumSuccessors(); I != E; ++I) in ForwardPrebranchedFallthrough()
608 if (Switch->getSuccessor(I) == From) in ForwardPrebranchedFallthrough()
609 Switch->setSuccessor(I, To); in ForwardPrebranchedFallthrough()
[all …]
H A DCGCoroutine.cpp218 auto *Switch = Builder.CreateSwitch(SuspendResult, Coro.SuspendBB, 2); in emitSuspendExpression() local
219 Switch->addCase(Builder.getInt8(0), ReadyBlock); in emitSuspendExpression()
220 Switch->addCase(Builder.getInt8(1), CleanupBlock); in emitSuspendExpression()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DTypePromotion.cpp267 if (auto *Switch = dyn_cast<SwitchInst>(V)) in isSink() local
268 return LessThanTypeSize(Switch->getCondition()); in isSink()
555 if (auto *Switch = dyn_cast<SwitchInst>(I)) { in TruncateSinks() local
556 Type *Ty = TruncTysMap[Switch][0]; in TruncateSinks()
557 if (Instruction *Trunc = InsertTrunc(Switch->getCondition(), Ty)) { in TruncateSinks()
558 Trunc->moveBefore(Switch); in TruncateSinks()
559 Switch->setCondition(Trunc); in TruncateSinks()
657 } else if (auto *Switch = dyn_cast<SwitchInst>(I)) in Mutate() local
658 TruncTysMap[I].push_back(Switch->getCondition()->getType()); in Mutate()
720 case Instruction::Switch: in isSupportedValue()
/openbsd-src/gnu/llvm/clang/lib/Tooling/Refactoring/Extract/
H A DSourceExtraction.cpp44 if(const auto *Switch = dyn_cast<SwitchStmt>(S)) in isSemicolonRequiredAfter() local
45 return isSemicolonRequiredAfter(Switch->getBody()); in isSemicolonRequiredAfter()
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Utils/
H A DPredicateInfo.h164 SwitchInst *Switch; variable
169 CaseValue(CaseValue), Switch(SI) {} in PredicateSwitch()
/openbsd-src/gnu/llvm/clang/tools/clang-linker-wrapper/
H A DOffloadWrapper.cpp468 auto *Switch = Builder.CreateSwitch(Flags, IfEndBB); in createRegisterGlobalsFunction() local
476 Switch->addCase(Builder.getInt32(OffloadGlobalEntry), SwGlobalBB); in createRegisterGlobalsFunction()
481 Switch->addCase(Builder.getInt32(OffloadGlobalManagedEntry), SwManagedBB); in createRegisterGlobalsFunction()
486 Switch->addCase(Builder.getInt32(OffloadGlobalSurfaceEntry), SwSurfaceBB); in createRegisterGlobalsFunction()
491 Switch->addCase(Builder.getInt32(OffloadGlobalTextureEntry), SwTextureBB); in createRegisterGlobalsFunction()
/openbsd-src/gnu/llvm/clang/include/clang/Analysis/Analyses/
H A DCalledOnceCheck.h39 Switch, enumerator
/openbsd-src/gnu/usr.bin/gcc/gcc/config/rs6000/
H A Dt-netbsd17 # Switch synonyms
H A Dt-openbsd30 # Switch synonyms
/openbsd-src/gnu/gcc/gcc/config/rs6000/
H A Dt-netbsd17 # Switch synonyms
/openbsd-src/share/misc/
H A Dusb_hid_usages41 0x39 Hat Switch
113 0xC8 Wireless Radio Slider Switch
115 0xCA System Display Rotation Lock Slider Switch
626 0x20 Hook Switch
1210 0x42 Tip Switch
1211 0x43 Secondary Tip Switch
1212 0x44 Barrel Switch
1224 0x57 Surface Switch
1225 0x58 Button Switch
1227 0x5A Secondary Barrel Switch
[all …]
/openbsd-src/gnu/usr.bin/perl/dist/Tie-File/
H A DChangeLog23 - Switch most open() calls to three-argument form.
30 - Switch to github for issue tracking.
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAGHVX.cpp330 Switch enumerator
356 unsigned C = ctl(I, StartAt+L) == Switch; in getControls()
446 S = (J < Num/2) ? Pass : Switch; in route()
448 S = (J < Num/2) ? Switch : Pass; in route()
509 S = (J < Num/2) ? Pass : Switch; in route()
512 S = (J < Num/2) ? Switch : Pass; in route()
525 if (T[J][Pets] == Switch) in route()
527 if (T[J+Size/2][Pets] == Switch) in route()
576 T[CI][Step] = Switch; in route()
577 T[J][Pets] = (J < Num/2) ? Pass : Switch; in route()
[all …]
/openbsd-src/gnu/usr.bin/binutils/ld/
H A DChangeLog3 * configure.tgt (or32-*-rtems*): Switch to elf and
12 * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new
108 * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
/openbsd-src/sbin/isakmpd/
H A Dexchange_num.cst38 # Switch roles at this point in the exchange.
/openbsd-src/gnu/llvm/llvm/lib/FuzzMutate/
H A DIRMutator.cpp406 SwitchInst *Switch = SwitchInst::Create(Cond, DefaultBlock, NumCases); in mutate() local
408 ReplaceInstWithInst(Source->getTerminator(), Switch); in mutate()
417 Switch->addCase(OnValue, CaseBlock); in mutate()
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DCalledOnceCheck.cpp528 std::optional<Clarification> VisitSwitchStmt(const SwitchStmt *Switch) { in VisitSwitchStmt() argument
533 return Clarification{NeverCalledReason::SwitchSkipped, Switch}; in VisitSwitchStmt()
536 for (const SwitchCase *Case = Switch->getSwitchCaseList(); Case; in VisitSwitchStmt()
539 return Clarification{NeverCalledReason::Switch, Case}; in VisitSwitchStmt()
/openbsd-src/gnu/usr.bin/perl/cpan/Text-Balanced/t/
H A D03_extcbk.t48 ok $out, 'Switch error from calling _match_codeblock';

123456789