| /llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/ |
| H A D | PredicateInfo.h | 162 Value *CaseValue; 166 Value *CaseValue, SwitchInst *SI) in PredicateSwitch() argument 169 CaseValue(CaseValue), Switch(SI) {} in PredicateSwitch()
|
| /llvm-project-15.0.7/flang/lib/Semantics/ |
| H A D | check-case.cpp | 74 std::optional<Value> GetValue(const parser::CaseValue &caseValue) { in GetValue() 122 [&](const parser::CaseValue &x) { in ComputeBounds()
|
| /llvm-project-15.0.7/flang/lib/Parser/ |
| H A D | executable-parsers.cpp | 362 construct<std::optional<CaseValue>>(caseValue), 365 construct<CaseValueRange::Range>(construct<std::optional<CaseValue>>(), 366 ":" >> construct<std::optional<CaseValue>>(caseValue))) ||
|
| /llvm-project-15.0.7/llvm/tools/llvm-diff/lib/ |
| H A D | DifferenceEngine.cpp | 391 const ConstantInt *CaseValue = Case.getCaseValue(); in diff() local 392 const BasicBlock *LCase = LCases[CaseValue]; in diff() 396 LCases.erase(CaseValue); in diff() 399 Engine.logf("right switch has extra case %r") << CaseValue; in diff()
|
| /llvm-project-15.0.7/clang/lib/Tooling/Syntax/ |
| H A D | Nodes.cpp | 49 case syntax::NodeRole::CaseValue: in operator <<() 238 findChild(syntax::NodeRole::CaseValue)); in getCaseValue()
|
| H A D | BuildTree.cpp | 1446 Builder.markExprChild(S->getLHS(), syntax::NodeRole::CaseValue); in WalkUpFromCaseStmt()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | PredicateInfo.cpp | 831 return {{CmpInst::ICMP_EQ, cast<PredicateSwitch>(this)->CaseValue}}; in getConstraint() 913 OS << "; switch predicate info { CaseValue: " << *PS->CaseValue in emitInstructionAnnot()
|
| H A D | SCCPSolver.cpp | 643 const APInt &CaseValue = Case.getCaseValue()->getValue(); in getFeasibleSuccessors() local 644 if (Range.contains(CaseValue)) in getFeasibleSuccessors()
|
| H A D | SimplifyCFG.cpp | 5345 static PHINode *FindPHIForConditionForwarding(ConstantInt *CaseValue, in FindPHIForConditionForwarding() argument 5363 if (InValue != CaseValue) in FindPHIForConditionForwarding() 5383 ConstantInt *CaseValue = Case.getCaseValue(); in ForwardSwitchConditionToPHI() local 5404 if (Phi.getIncomingValue(SwitchBBIdx) == CaseValue && in ForwardSwitchConditionToPHI() 5413 if (auto *Phi = FindPHIForConditionForwarding(CaseValue, CaseDest, &PhiIdx)) in ForwardSwitchConditionToPHI()
|
| /llvm-project-15.0.7/clang/include/clang/Tooling/Syntax/ |
| H A D | Nodes.h | 86 CaseValue, enumerator
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | LazyValueInfo.cpp | 1391 APInt CaseValue = Case.getCaseValue()->getValue(); in getEdgeValueLocal() local 1392 ConstantRange EdgeVal(CaseValue); in getEdgeValueLocal() 1397 constantFoldUser(Usr, Condition, CaseValue, DL); in getEdgeValueLocal()
|
| /llvm-project-15.0.7/flang/include/flang/Parser/ |
| H A D | parse-tree.h | 2316 using CaseValue = Scalar<ConstantExpr>; variable 2324 Range(std::optional<CaseValue> &&l, std::optional<CaseValue> &&u) in Range() 2326 std::optional<CaseValue> lower, upper; // not both missing 2328 std::variant<CaseValue, Range> u;
|
| /llvm-project-15.0.7/flang/lib/Lower/ |
| H A D | Bridge.cpp | 1721 using CaseValue = Fortran::parser::Scalar<Fortran::parser::ConstantExpr>; in genFIR() typedef 1722 auto addValue = [&](const CaseValue &caseValue) { in genFIR() 1750 if (const auto *caseValue = std::get_if<CaseValue>(&caseValueRange.u)) { in genFIR()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 7085 ConstantInt *CaseValue = Case.getCaseValue(); in optimizeSwitchPhiConstants() local 7105 if (PHIValue != CaseValue) { in optimizeSwitchPhiConstants() 7111 CaseValue->getValue().zext(PHIType->getIntegerBitWidth())) in optimizeSwitchPhiConstants() 7128 if (PHIValue == CaseValue) { in optimizeSwitchPhiConstants()
|
| /llvm-project-15.0.7/polly/lib/Analysis/ |
| H A D | ScopBuilder.cpp | 405 ConstantInt *CaseValue = Case.getCaseValue(); in buildConditionSets() local 407 RHS = getPwAff(BB, InvalidDomainMap, SE.getSCEV(CaseValue)); in buildConditionSets()
|