Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/tools/llvm-diff/lib/
H A DDifferenceEngine.cpp510 const ConstantInt *CaseValue = Case.getCaseValue(); in diff() local
511 const BasicBlock *LCase = LCases[CaseValue]; in diff()
515 LCases.erase(CaseValue); in diff()
518 Engine.logf("right switch has extra case %r") << CaseValue; in diff()
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/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.cpp913 const APInt &CaseValue = Case.getCaseValue()->getValue(); in getFeasibleSuccessors() local
914 if (Range.contains(CaseValue)) in getFeasibleSuccessors()
H A DSimplifyCFG.cpp5514 static PHINode *FindPHIForConditionForwarding(ConstantInt *CaseValue, in FindPHIForConditionForwarding() argument
5532 if (InValue != CaseValue) in FindPHIForConditionForwarding()
5552 ConstantInt *CaseValue = Case.getCaseValue(); in ForwardSwitchConditionToPHI() local
5573 if (Phi.getIncomingValue(SwitchBBIdx) == CaseValue && in ForwardSwitchConditionToPHI()
5582 if (auto *Phi = FindPHIForConditionForwarding(CaseValue, CaseDest, &PhiIdx)) in ForwardSwitchConditionToPHI()
/openbsd/gnu/llvm/clang/include/clang/Tooling/Syntax/
H A DNodes.h86 CaseValue, enumerator
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DLazyValueInfo.cpp1414 APInt CaseValue = Case.getCaseValue()->getValue(); in getEdgeValueLocal() local
1415 ConstantRange EdgeVal(CaseValue); in getEdgeValueLocal()
1420 constantFoldUser(Usr, Condition, CaseValue, DL); in getEdgeValueLocal()
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp7213 ConstantInt *CaseValue = Case.getCaseValue(); in optimizeSwitchPhiConstants() local
7233 if (PHIValue != CaseValue) { in optimizeSwitchPhiConstants()
7239 CaseValue->getValue().zext(PHIType->getIntegerBitWidth())) in optimizeSwitchPhiConstants()
7256 if (PHIValue == CaseValue) { in optimizeSwitchPhiConstants()