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()
168 CaseValue(CaseValue), Switch(SI) {} in PredicateSwitch()
166 PredicateSwitch(Value * Op,BasicBlock * SwitchBB,BasicBlock * TargetBB,Value * CaseValue,SwitchInst * SI) PredicateSwitch() argument
/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.cpp1447 Builder.markExprChild(S->getLHS(), syntax::NodeRole::CaseValue); in WalkUpFromCaseStmt()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DPredicateInfo.cpp822 return {{CmpInst::ICMP_EQ, cast<PredicateSwitch>(this)->CaseValue}}; in getConstraint()
878 OS << "; switch predicate info { CaseValue: " << *PS->CaseValue in emitInstructionAnnot()
H A DSimplifyCFG.cpp5750 static PHINode *FindPHIForConditionForwarding(ConstantInt *CaseValue, in FindPHIForConditionForwarding() argument
5768 if (InValue != CaseValue) in FindPHIForConditionForwarding()
5788 ConstantInt *CaseValue = Case.getCaseValue(); in ForwardSwitchConditionToPHI() local
5809 if (Phi.getIncomingValue(SwitchBBIdx) == CaseValue && in ForwardSwitchConditionToPHI()
5818 if (auto *Phi = FindPHIForConditionForwarding(CaseValue, CaseDest, &PhiIdx)) in ForwardSwitchConditionToPHI()
7077 uint64_t CaseValue = Case.getCaseValue()->getValue().getZExtValue(); in simplifySwitchOfPowersOfTwo() local
7078 if (llvm::has_single_bit(CaseValue)) in simplifySwitchOfPowersOfTwo()
7079 Values.push_back(CaseValue); in simplifySwitchOfPowersOfTwo()
H A DSCCPSolver.cpp1113 const APInt &CaseValue = Case.getCaseValue()->getValue(); in getFeasibleSuccessors() local
1114 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.cpp1464 APInt CaseValue = Case.getCaseValue()->getValue(); in getEdgeValueLocal() local
1465 ConstantRange EdgeVal(CaseValue); in getEdgeValueLocal()
1470 constantFoldUser(Usr, Condition, CaseValue, DL); in getEdgeValueLocal()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp7489 ConstantInt *CaseValue = Case.getCaseValue(); in optimizeSwitchPhiConstants() local
7509 if (PHIValue != CaseValue) { in optimizeSwitchPhiConstants()
7515 CaseValue->getValue().zext(PHIType->getIntegerBitWidth())) in optimizeSwitchPhiConstants()
7532 if (PHIValue == CaseValue) { in optimizeSwitchPhiConstants()