Home
last modified time | relevance | path

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

/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DPredicateInfo.h162 Value *CaseValue;
166 Value *CaseValue, SwitchInst *SI) in PredicateSwitch() argument
169 CaseValue(CaseValue), Switch(SI) {} in PredicateSwitch()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DPredicateInfo.h178 Value *CaseValue;
182 Value *CaseValue, SwitchInst *SI) in PredicateSwitch() argument
185 CaseValue(CaseValue), Switch(SI) {} in PredicateSwitch()
/external/llvm/tools/llvm-diff/
DDifferenceEngine.cpp325 ConstantInt *CaseValue = I.getCaseValue(); in diff() local
326 BasicBlock *LCase = LCases[CaseValue]; in diff()
329 LCases.erase(CaseValue); in diff()
332 Engine.logf("right switch has extra case %r") << CaseValue; in diff()
/external/llvm-project/flang/lib/Semantics/
Dcheck-case.cpp74 std::optional<Value> GetValue(const parser::CaseValue &caseValue) { in GetValue()
105 [&](const parser::CaseValue &x) { in ComputeBounds()
/external/llvm-project/llvm/tools/llvm-diff/
DDifferenceEngine.cpp341 ConstantInt *CaseValue = Case.getCaseValue(); in diff() local
342 BasicBlock *LCase = LCases[CaseValue]; in diff()
346 LCases.erase(CaseValue); in diff()
349 Engine.logf("right switch has extra case %r") << CaseValue; in diff()
/external/llvm-project/flang/lib/Parser/
Dexecutable-parsers.cpp361 construct<std::optional<CaseValue>>(caseValue),
364 construct<CaseValueRange::Range>(construct<std::optional<CaseValue>>(),
365 ":" >> construct<std::optional<CaseValue>>(caseValue))) ||
/external/llvm-project/clang/lib/Tooling/Syntax/
DNodes.cpp49 case syntax::NodeRole::CaseValue: in operator <<()
238 findChild(syntax::NodeRole::CaseValue)); in getCaseValue()
DBuildTree.cpp1411 Builder.markExprChild(S->getLHS(), syntax::NodeRole::CaseValue); in WalkUpFromCaseStmt()
/external/llvm-project/clang/include/clang/Tooling/Syntax/
DNodes.h91 CaseValue, enumerator
/external/llvm-project/llvm/lib/Transforms/Utils/
DPredicateInfo.cpp870 return {{CmpInst::ICMP_EQ, cast<PredicateSwitch>(this)->CaseValue}}; in getConstraint()
953 OS << "; switch predicate info { CaseValue: " << *PS->CaseValue in emitInstructionAnnot()
DSimplifyCFG.cpp4730 static PHINode *FindPHIForConditionForwarding(ConstantInt *CaseValue, in FindPHIForConditionForwarding() argument
4748 if (InValue != CaseValue) in FindPHIForConditionForwarding()
4768 ConstantInt *CaseValue = Case.getCaseValue(); in ForwardSwitchConditionToPHI() local
4789 if (Phi.getIncomingValue(SwitchBBIdx) == CaseValue && in ForwardSwitchConditionToPHI()
4798 if (auto *Phi = FindPHIForConditionForwarding(CaseValue, CaseDest, &PhiIdx)) in ForwardSwitchConditionToPHI()
/external/swiftshader/third_party/subzero/src/
DIceConverter.cpp546 uint64_t CaseValue = I.getCaseValue()->getSExtValue(); in convertSwitchInstruction() local
548 Switch->addBranch(CurrentCase, CaseValue, CaseSuccessor); in convertSwitchInstruction()
/external/llvm-project/llvm/lib/Analysis/
DLazyValueInfo.cpp1389 APInt CaseValue = Case.getCaseValue()->getValue(); in getEdgeValueLocal() local
1390 ConstantRange EdgeVal(CaseValue); in getEdgeValueLocal()
1395 constantFoldUser(Usr, Condition, CaseValue, DL); in getEdgeValueLocal()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLazyValueInfo.cpp1476 APInt CaseValue = Case.getCaseValue()->getValue(); in getEdgeValueLocal() local
1477 ConstantRange EdgeVal(CaseValue); in getEdgeValueLocal()
1482 constantFoldUser(Usr, Condition, CaseValue, DL); in getEdgeValueLocal()
/external/llvm-project/flang/include/flang/Parser/
Dparse-tree.h2295 using CaseValue = Scalar<ConstantExpr>; variable
2303 Range(std::optional<CaseValue> &&l, std::optional<CaseValue> &&u) in Range()
2305 std::optional<CaseValue> lower, upper; // not both missing
2307 std::variant<CaseValue, Range> u;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DPredicateInfo.cpp847 OS << "; switch predicate info { CaseValue: " << *PS->CaseValue in emitInstructionAnnot()
DSimplifyCFG.cpp4576 static PHINode *FindPHIForConditionForwarding(ConstantInt *CaseValue, in FindPHIForConditionForwarding() argument
4594 if (InValue != CaseValue) in FindPHIForConditionForwarding()
4614 ConstantInt *CaseValue = Case.getCaseValue(); in ForwardSwitchConditionToPHI() local
4635 if (Phi.getIncomingValue(SwitchBBIdx) == CaseValue && in ForwardSwitchConditionToPHI()
4644 if (auto *Phi = FindPHIForConditionForwarding(CaseValue, CaseDest, &PhiIdx)) in ForwardSwitchConditionToPHI()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DSCCP.cpp663 const APInt &CaseValue = Case.getCaseValue()->getValue(); in getFeasibleSuccessors() local
664 if (Range.contains(CaseValue)) in getFeasibleSuccessors()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp4075 static PHINode *FindPHIForConditionForwarding(ConstantInt *CaseValue, in FindPHIForConditionForwarding() argument
4094 if (InValue != CaseValue) in FindPHIForConditionForwarding()
4114 ConstantInt *CaseValue = I.getCaseValue(); in ForwardSwitchConditionToPHI() local
4119 FindPHIForConditionForwarding(CaseValue, CaseDest, &PhiIndex); in ForwardSwitchConditionToPHI()
/external/llvm-project/polly/lib/Analysis/
DScopBuilder.cpp409 ConstantInt *CaseValue = Case.getCaseValue(); in buildConditionSets() local
411 RHS = getPwAff(BB, InvalidDomainMap, SE.getSCEV(CaseValue)); in buildConditionSets()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DNewGVN.cpp1561 return createConstantExpression(cast<Constant>(PSwitch->CaseValue)); in performSymbolicPredicateInfoEvaluation()