Home
last modified time | relevance | path

Searched refs:CaseValue (Results 1 – 15 of 15) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DPredicateInfo.h162 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 Dcheck-case.cpp74 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 Dexecutable-parsers.cpp362 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 DDifferenceEngine.cpp391 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 DNodes.cpp49 case syntax::NodeRole::CaseValue: in operator <<()
238 findChild(syntax::NodeRole::CaseValue)); in getCaseValue()
H A DBuildTree.cpp1446 Builder.markExprChild(S->getLHS(), syntax::NodeRole::CaseValue); in WalkUpFromCaseStmt()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DPredicateInfo.cpp831 return {{CmpInst::ICMP_EQ, cast<PredicateSwitch>(this)->CaseValue}}; in getConstraint()
913 OS << "; switch predicate info { CaseValue: " << *PS->CaseValue in emitInstructionAnnot()
H A DSCCPSolver.cpp643 const APInt &CaseValue = Case.getCaseValue()->getValue(); in getFeasibleSuccessors() local
644 if (Range.contains(CaseValue)) in getFeasibleSuccessors()
H A DSimplifyCFG.cpp5345 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 DNodes.h86 CaseValue, enumerator
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DLazyValueInfo.cpp1391 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 Dparse-tree.h2316 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 DBridge.cpp1721 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 DCodeGenPrepare.cpp7085 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 DScopBuilder.cpp405 ConstantInt *CaseValue = Case.getCaseValue(); in buildConditionSets() local
407 RHS = getPwAff(BB, InvalidDomainMap, SE.getSCEV(CaseValue)); in buildConditionSets()