Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DPredicateInfo.h161 Value *CaseValue;
165 Value *CaseValue, SwitchInst *SI) in PredicateSwitch() argument
168 CaseValue(CaseValue), Switch(SI) {} in PredicateSwitch()
/freebsd/contrib/llvm-project/llvm/tools/llvm-diff/lib/
H A DDifferenceEngine.cpp508 const ConstantInt *CaseValue = Case.getCaseValue(); in diff() local
509 const BasicBlock *LCase = LCases[CaseValue]; in diff()
513 LCases.erase(CaseValue); in diff()
516 Engine.logf("right switch has extra case %r") << CaseValue; in diff()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DPredicateInfo.cpp824 return {{CmpInst::ICMP_EQ, cast<PredicateSwitch>(this)->CaseValue}}; in getConstraint()
880 OS << "; switch predicate info { CaseValue: " << *PS->CaseValue in emitInstructionAnnot()
H A DSimplifyCFG.cpp5656 static PHINode *FindPHIForConditionForwarding(ConstantInt *CaseValue, in FindPHIForConditionForwarding() argument
5674 if (InValue != CaseValue) in FindPHIForConditionForwarding()
5694 ConstantInt *CaseValue = Case.getCaseValue(); in ForwardSwitchConditionToPHI() local
5715 if (Phi.getIncomingValue(SwitchBBIdx) == CaseValue && in ForwardSwitchConditionToPHI()
5724 if (auto *Phi = FindPHIForConditionForwarding(CaseValue, CaseDest, &PhiIdx)) in ForwardSwitchConditionToPHI()
6969 uint64_t CaseValue = Case.getCaseValue()->getValue().getZExtValue(); in simplifySwitchOfPowersOfTwo() local
6970 if (llvm::has_single_bit(CaseValue)) in simplifySwitchOfPowersOfTwo()
6971 Values.push_back(CaseValue); in simplifySwitchOfPowersOfTwo()
H A DSCCPSolver.cpp1069 const APInt &CaseValue = Case.getCaseValue()->getValue(); in getFeasibleSuccessors() local
1070 if (Range.contains(CaseValue)) { in getFeasibleSuccessors()
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Syntax/
H A DNodes.h86 CaseValue, enumerator
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLazyValueInfo.cpp1455 APInt CaseValue = Case.getCaseValue()->getValue(); in getEdgeValueLocal() local
1456 ConstantRange EdgeVal(CaseValue); in getEdgeValueLocal()
1461 constantFoldUser(Usr, Condition, CaseValue, DL); in getEdgeValueLocal()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp7375 ConstantInt *CaseValue = Case.getCaseValue(); in optimizeSwitchPhiConstants() local
7395 if (PHIValue != CaseValue) { in optimizeSwitchPhiConstants()
7401 CaseValue->getValue().zext(PHIType->getIntegerBitWidth())) in optimizeSwitchPhiConstants()
7418 if (PHIValue == CaseValue) { in optimizeSwitchPhiConstants()