Home
last modified time | relevance | path

Searched defs:Switch (Results 1 – 25 of 45) sorted by relevance

12

/llvm-project/clang-tools-extra/clang-tidy/hicpp/
H A DMultiwayPathsCoveredCheck.cpp50 static std::pair<std::size_t, bool> countCaseLabels(const SwitchStmt *Switch) { in countCaseLabels() argument
97 const auto *Switch = Result.Nodes.getNodeAs<SwitchStmt>("switch"); in check() local
127 const SwitchStmt *Switch, std::size_t CaseCount) { in handleSwitchWithDefault() argument
138 handleSwitchWithoutDefault(const SwitchStmt * Switch,std::size_t CaseCount,const MatchFinder::MatchResult & Result) handleSwitchWithoutDefault() argument
[all...]
/llvm-project/clang/unittests/Analysis/FlowSensitive/
H A DCFGMatchSwitchTest.cpp74 CFGMatchSwitch<CFGElementMatches> Switch = buildCFGMatchSwitch(); in TEST() local
86 CFGMatchSwitch<CFGElementMatches> Switch = buildCFGMatchSwitch(); in TEST() local
98 CFGMatchSwitch<CFGElementMatches> Switch = buildCFGMatchSwitch(); in TEST() local
111 CFGMatchSwitch<CFGElementMatches> Switch = buildCFGMatchSwitch(); in TEST() local
H A DMatchSwitchTest.cpp146 ASTMatchSwitch<Stmt, const int, std::vector<int>> Switch = in TEST() local
/llvm-project/compiler-rt/test/fuzzer/
H A DSwitch2Test.cpp12 int Switch(int a) { in Switch() function
H A DSwitchTest.cpp15 bool Switch(const uint8_t *Data, size_t Size) { in Switch() function
/llvm-project/clang-tools-extra/clang-tidy/bugprone/
H A DSwitchMissingDefaultCaseCheck.cpp42 const auto *Switch = Result.Nodes.getNodeAs<SwitchStmt>("switch"); in check() local
H A DStandaloneEmptyCheck.cpp67 const auto *Switch = Nodes.getNodeAs<SwitchStmt>(NodeId); in getCondition() local
/llvm-project/clang/lib/Tooling/Refactoring/Extract/
H A DSourceExtraction.cpp44 if(const auto *Switch = dyn_cast<SwitchStmt>(S)) in isSemicolonRequiredAfter() local
/llvm-project/clang/lib/CodeGen/
H A DCGCleanup.cpp314 ResolveAllBranchFixups(CodeGenFunction & CGF,llvm::SwitchInst * Switch,llvm::BasicBlock * CleanupEntry) ResolveAllBranchFixups() argument
362 llvm::SwitchInst *Switch = TransitionToCleanupSwitch() local
399 llvm::SwitchInst *Switch = TransitionToCleanupSwitch(*this, BranchBB); ResolveBranchFixups() local
584 llvm::SwitchInst *Switch = cast<llvm::SwitchInst>(Term); ForwardPrebranchedFallthrough() local
913 llvm::SwitchInst *Switch = PopCleanupBlock() local
[all...]
/llvm-project/clang/include/clang/Analysis/Analyses/
H A DCalledOnceCheck.h39 Switch, enumerator
/llvm-project/llvm/unittests/Analysis/
H A DBranchProbabilityInfoTest.cpp73 auto *Switch = SwitchInst::Create(Poison, ExitBB, NumCases, EntryBB); in TEST_F() local
/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
H A DPopulateSwitch.cpp74 const SwitchStmt *Switch = nullptr; member in clang::clangd::__anonfbc9e14d0111::PopulateSwitch
/llvm-project/llvm/lib/Transforms/Scalar/
H A DDFAJumpThreading.cpp750 SwitchInst *Switch; global() member
779 SwitchInst *Switch = SwitchPaths->getSwitchInst(); isLegalAndProfitableToTransform() local
1091 SwitchInst *Switch = SwitchPaths->getSwitchInst(); updateSuccessorPhis() local
1202 SwitchInst *Switch = cast<SwitchInst>(LastBlock->getTerminator()); updateLastSuccessor() local
1311 MainSwitch Switch(SI, LI, ORE); run() local
[all...]
H A DJumpTableToSwitch.cpp112 SwitchInst *Switch = Builder.CreateSwitch(JT.Index, BBUnreachable); in expandToSwitch() local
/llvm-project/llvm/lib/CodeGen/
H A DTypePromotion.cpp266 if (auto *Switch = dyn_cast<SwitchInst>(V)) in isSink() local
563 if (auto *Switch = dyn_cast<SwitchInst>(I)) { in TruncateSinks() local
665 } else if (auto *Switch = dyn_cast<SwitchInst>(I)) in Mutate() local
[all...]
/llvm-project/llvm/unittests/Transforms/IPO/
H A DFunctionSpecializationTest.cpp164 Instruction &Switch = Loop.front(); TEST_F() local
368 Instruction &Switch = Loop.back(); TEST_F() local
/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DPredicateInfo.h163 SwitchInst *Switch; variable
/llvm-project/clang/test/SemaCXX/
H A Dcxx1y-contextual-conversion-tweaks.cpp28 void Switch() { in Switch() function
/llvm-project/clang-tools-extra/clangd/
H A DQuality.cpp58 class Switch in categorize() class
/llvm-project/clang-tools-extra/clang-query/
H A DQueryParser.cpp53 StringSwitch<T> Switch; member
/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroInternal.h58 Switch, global() enumerator
H A DCoroSplit.cpp505 auto *Switch = cast<SwitchInst>(VMap[Shape.SwitchLowering.ResumeSwitch]); handleFinalSuspend() local
1492 auto *Switch = createResumeEntryBlock() local
[all...]
/llvm-project/llvm/unittests/IR/
H A DVerifierTest.cpp332 SwitchInst *Switch = SwitchInst::Create(Cond, Default, 2, Entry); TEST() local
/llvm-project/llvm/lib/Frontend/Offloading/
H A DOffloadWrapper.cpp457 auto *Switch = Builder.CreateSwitch(Kind, IfEndBB); createRegisterGlobalsFunction() local
/llvm-project/llvm/lib/FuzzMutate/
H A DIRMutator.cpp477 SwitchInst *Switch = SwitchInst::Create(Cond, DefaultBlock, NumCases); in mutate() local

12