/llvm-project/clang-tools-extra/clang-tidy/hicpp/ |
H A D | MultiwayPathsCoveredCheck.cpp | 50 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 D | CFGMatchSwitchTest.cpp | 74 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 D | MatchSwitchTest.cpp | 146 ASTMatchSwitch<Stmt, const int, std::vector<int>> Switch = in TEST() local
|
/llvm-project/compiler-rt/test/fuzzer/ |
H A D | Switch2Test.cpp | 12 int Switch(int a) { in Switch() function
|
H A D | SwitchTest.cpp | 15 bool Switch(const uint8_t *Data, size_t Size) { in Switch() function
|
/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
H A D | SwitchMissingDefaultCaseCheck.cpp | 42 const auto *Switch = Result.Nodes.getNodeAs<SwitchStmt>("switch"); in check() local
|
H A D | StandaloneEmptyCheck.cpp | 67 const auto *Switch = Nodes.getNodeAs<SwitchStmt>(NodeId); in getCondition() local
|
/llvm-project/clang/lib/Tooling/Refactoring/Extract/ |
H A D | SourceExtraction.cpp | 44 if(const auto *Switch = dyn_cast<SwitchStmt>(S)) in isSemicolonRequiredAfter() local
|
/llvm-project/clang/lib/CodeGen/ |
H A D | CGCleanup.cpp | 314 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 D | CalledOnceCheck.h | 39 Switch, enumerator
|
/llvm-project/llvm/unittests/Analysis/ |
H A D | BranchProbabilityInfoTest.cpp | 73 auto *Switch = SwitchInst::Create(Poison, ExitBB, NumCases, EntryBB); in TEST_F() local
|
/llvm-project/clang-tools-extra/clangd/refactor/tweaks/ |
H A D | PopulateSwitch.cpp | 74 const SwitchStmt *Switch = nullptr; member in clang::clangd::__anonfbc9e14d0111::PopulateSwitch
|
/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | DFAJumpThreading.cpp | 750 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 D | JumpTableToSwitch.cpp | 112 SwitchInst *Switch = Builder.CreateSwitch(JT.Index, BBUnreachable); in expandToSwitch() local
|
/llvm-project/llvm/lib/CodeGen/ |
H A D | TypePromotion.cpp | 266 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 D | FunctionSpecializationTest.cpp | 164 Instruction &Switch = Loop.front(); TEST_F() local 368 Instruction &Switch = Loop.back(); TEST_F() local
|
/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | PredicateInfo.h | 163 SwitchInst *Switch; variable
|
/llvm-project/clang/test/SemaCXX/ |
H A D | cxx1y-contextual-conversion-tweaks.cpp | 28 void Switch() { in Switch() function
|
/llvm-project/clang-tools-extra/clangd/ |
H A D | Quality.cpp | 58 class Switch in categorize() class
|
/llvm-project/clang-tools-extra/clang-query/ |
H A D | QueryParser.cpp | 53 StringSwitch<T> Switch; member
|
/llvm-project/llvm/lib/Transforms/Coroutines/ |
H A D | CoroInternal.h | 58 Switch, global() enumerator
|
H A D | CoroSplit.cpp | 505 auto *Switch = cast<SwitchInst>(VMap[Shape.SwitchLowering.ResumeSwitch]); handleFinalSuspend() local 1492 auto *Switch = createResumeEntryBlock() local [all...] |
/llvm-project/llvm/unittests/IR/ |
H A D | VerifierTest.cpp | 332 SwitchInst *Switch = SwitchInst::Create(Cond, Default, 2, Entry); TEST() local
|
/llvm-project/llvm/lib/Frontend/Offloading/ |
H A D | OffloadWrapper.cpp | 457 auto *Switch = Builder.CreateSwitch(Kind, IfEndBB); createRegisterGlobalsFunction() local
|
/llvm-project/llvm/lib/FuzzMutate/ |
H A D | IRMutator.cpp | 477 SwitchInst *Switch = SwitchInst::Create(Cond, DefaultBlock, NumCases); in mutate() local
|