Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DPredicateInfo.h160 Value *CaseValue;
164 Value *CaseValue, SwitchInst *SI) in PredicateSwitch() argument
167 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.cpp1439 Builder.markExprChild(S->getLHS(), syntax::NodeRole::CaseValue); in WalkUpFromCaseStmt()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DPredicateInfo.cpp776 return {{CmpInst::ICMP_EQ, cast<PredicateSwitch>(this)->CaseValue}}; in getConstraint()
833 OS << "; switch predicate info { CaseValue: " << *PS->CaseValue in emitInstructionAnnot()
H A DSimplifyCFG.cpp5899 static PHINode *findPHIForConditionForwarding(ConstantInt *CaseValue, in findPHIForConditionForwarding() argument
5917 if (InValue != CaseValue) in findPHIForConditionForwarding()
5937 ConstantInt *CaseValue = Case.getCaseValue(); in forwardSwitchConditionToPHI() local
5958 if (Phi.getIncomingValue(SwitchBBIdx) == CaseValue && in forwardSwitchConditionToPHI()
5967 if (auto *Phi = findPHIForConditionForwarding(CaseValue, CaseDest, &PhiIdx)) in forwardSwitchConditionToPHI()
7257 uint64_t CaseValue = Case.getCaseValue()->getValue().getZExtValue(); in simplifySwitchOfPowersOfTwo() local
7258 if (llvm::has_single_bit(CaseValue)) in simplifySwitchOfPowersOfTwo()
7259 Values.push_back(CaseValue); in simplifySwitchOfPowersOfTwo()
H A DSCCPSolver.cpp1213 const APInt &CaseValue = Case.getCaseValue()->getValue(); in getFeasibleSuccessors() local
1214 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.cpp1540 APInt CaseValue = Case.getCaseValue()->getValue(); in getEdgeValueLocal() local
1541 ConstantRange EdgeVal(CaseValue); in getEdgeValueLocal()
1546 constantFoldUser(Usr, Condition, CaseValue, DL); in getEdgeValueLocal()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp7881 ConstantInt *CaseValue = Case.getCaseValue(); in optimizeSwitchPhiConstants() local
7901 if (PHIValue != CaseValue) { in optimizeSwitchPhiConstants()
7907 CaseValue->getValue().zext(PHIType->getIntegerBitWidth())) in optimizeSwitchPhiConstants()
7924 if (PHIValue == CaseValue) { in optimizeSwitchPhiConstants()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp523 CCEKind::CaseValue); in ActOnCaseExpr()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h823 CaseValue, ///< Expression in a case label. enumerator