Home
last modified time | relevance | path

Searched defs:Case (Results 1 – 25 of 51) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DTypeSwitch.h44 Case(CallableT &&caseFn) { in Case() function
54 template <typename CallableT> DerivedT &Case(CallableT &&caseFn) { in Case() function
96 TypeSwitch<T, ResultT> &Case(CallableT &&caseFn) { in Case() function
143 TypeSwitch<T, void> &Case(CallableT &&caseFn) { in Case() function
H A DStringSwitch.h69 StringSwitch &Case(StringLiteral S, T Value) { in Case() function
[all...]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeEmitterGen.cpp98 std::string &Case, in addCodeToMergeInOperand()
282 std::string Case, BitOffsetCase; in getInstructionCases() local
345 Record *R, Record *EncodingDef, CodeGenTarget &Target, std::string &Case, in addInstructionCasesForEncoding()
453 const std::string &Case = IE->first; in emitCaseMap() local
549 std::string Case, BitOffsetCase; in run() local
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Transformer/
H A DRewriteRule.h283 struct Case { struct
284 ast_matchers::internal::DynTypedMatcher Matcher;
285 EditGenerator Edits;
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DVarLenCodeEmitterGen.cpp300 std::string Case = getInstructionCases(R, Target); in run() local
311 const std::string &Case = C.first; in run() local
427 std::string Case; in getInstructionCases() local
453 std::string Case; in getInstructionCaseForEncoding() local
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Extract/
H A DSourceExtraction.cpp46 if(const auto *Case = dyn_cast<SwitchCase>(S)) in isSemicolonRequiredAfter() local
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVMergeRegionExitTargets.cpp63 for (auto &Case : SI->cases()) in gatherSuccessors() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSimpleLoopUnswitch.cpp778 for (auto Case : SI.cases()) in unswitchTrivialSwitch() local
847 all_of(drop_begin(SI.cases()), [&SI](const SwitchInst::CaseHandle &Case) { in unswitchTrivialSwitch()
944 for (const auto &Case : SI.cases()) in unswitchTrivialSwitch() local
950 for (const auto &Case : SI.cases()) { in unswitchTrivialSwitch() local
969 for (auto Case : SI.cases()) { in unswitchTrivialSwitch() local
2237 for (auto Case : SI->cases()) in unswitchNontrivialInvariants() local
2378 for (const auto &Case : SI->cases()) in unswitchNontrivialInvariants() local
2439 for (const auto &Case : NewSI->cases()) in unswitchNontrivialInvariants() local
H A DLowerExpectIntrinsic.cpp91 SwitchInst::CaseHandle Case = *SI.findCaseValue(ExpectedValue); in handleSwitchExpect() local
H A DLoopSimplifyCFG.cpp67 for (auto Case : SI->cases()) in getOnlyLiveSuccessor() local
H A DCorrelatedValuePropagation.cpp366 ConstantInt *Case = CI->getCaseValue(); in processSwitch() local
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DRewriteRule.cpp361 for (auto &Case : Rule.Cases) in addInclude() local
384 for (const auto &Case : Cases) { in taggedMatchers() local
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DSparsePropagation.h366 SwitchInst::CaseHandle Case = *SI.findCaseValue(cast<ConstantInt>(C)); in getFeasibleSuccessors() local
/freebsd/contrib/llvm-project/llvm/tools/llvm-diff/lib/
H A DDifferenceEngine.cpp504 for (auto Case : LI->cases()) in diff() local
507 for (auto Case : RI->cases()) { in diff() local
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmt.cpp1862 const SwitchCase *Case, in CollectStatementsForCase()
2023 const SwitchCase *Case = S.getSwitchCaseList(); in FindCaseStatementsForValue() local
2137 const SwitchCase *Case = nullptr; in EmitSwitchStmt() local
2192 for (const SwitchCase *Case = S.getSwitchCaseList(); in EmitSwitchStmt() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp806 for (auto Case : SI->cases()) in GetValueEqualityComparisonCases() local
5534 for (auto Case : SI->cases()) { in TurnSwitchRangeIntoICmp() local
5664 for (const auto &Case : SI->cases()) { in eliminateDeadSwitchCases() local
5709 for (const auto &Case : SI->cases()) in eliminateDeadSwitchCases() local
5787 for (const auto &Case : SI->cases()) { in ForwardSwitchConditionToPHI() local
6093 for (auto *Case : CaseValues) in foldSwitchToSelect() local
6099 for (auto *Case : CaseValues) in foldSwitchToSelect() local
7027 for (auto Case : SI->cases()) { in ReduceSwitchRange() local
7076 for (const auto &Case : SI->cases()) { in simplifySwitchOfPowersOfTwo() local
7094 for (auto &Case : SI->cases()) { in simplifySwitchOfPowersOfTwo() local
[all …]
H A DLowerSwitch.cpp313 for (auto Case : SI->cases()) { in Clusterify() local
H A DCloneFunction.cpp601 SwitchInst::ConstCaseHandle Case = *SI->findCaseValue(Cond); in CloneBlock() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp3737 for (auto Case : SI.cases()) in simplifySwitchOnSelectUsingRanges() local
3750 for (auto Case : SI.cases()) { in visitSwitchInst() local
3762 for (auto Case : SI.cases()) { in visitSwitchInst() local
3774 all_of(SI.cases(), [&](const auto &Case) { in visitSwitchInst()
3788 for (auto Case : SI.cases()) { in visitSwitchInst() local
3804 if (all_of(SI.cases(), [&](const auto &Case) { in visitSwitchInst()
3809 for (auto &Case : SI.cases()) { in visitSwitchInst() local
3852 for (auto Case : SI.cases()) { in visitSwitchInst() local
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangOpcodesEmitter.cpp337 for (auto *Case : Cases) { in EmitGroup() local
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DStdLibraryFunctionsChecker.cpp770 Summary &Case(ConstraintSet &&CS, const ErrnoConstraintBase &ErrnoC, in Case() function in __anon4d759d9c0111::StdLibraryFunctionsChecker::Summary
775 Summary &Case(const ConstraintSet &CS, const ErrnoConstraintBase &ErrnoC, in Case() function in __anon4d759d9c0111::StdLibraryFunctionsChecker::Summary
810 for (const SummaryCase &Case : Cases) in validateByConstraints() local
1373 for (const SummaryCase &Case : Summary.getCases()) { in checkPostCall() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp245 for (const auto &Case : I.cases()) { in estimateSwitchInst() local
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DRecord.cpp2421 ArrayRef<Init *>::iterator Case = CondRange.begin(); in ProfileCondOpInit() local
2464 for (const Init *Case : getConds()) { in resolveReferences() local
2507 for (const Init *Case : getConds()) in isConcrete() local
2519 for (const Init *Case : getConds()) in isComplete() local
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExceptionSpec.cpp1545 if (std::optional<const Stmt *> Case = IS->getNondiscardedCase(Context)) in canThrow() local
/freebsd/contrib/llvm-project/llvm/lib/BinaryFormat/
H A DDwarf.cpp456 StringRef llvm::dwarf::CaseString(unsigned Case) { in CaseString()

123