Home
last modified time | relevance | path

Searched refs:getCaseValue (Results 1 – 25 of 73) sorted by relevance

123

/external/llvm/include/llvm/Analysis/
DCFGPrinter.h116 OS << Case.getCaseValue()->getValue();
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DCFGPrinter.h143 OS << Case.getCaseValue()->getValue();
/external/llvm-project/llvm/unittests/IR/
DInstructionsTest.cpp797 EXPECT_EQ(1, CI->getCaseValue()->getSExtValue()); in TEST()
799 EXPECT_EQ(2, (CI + 1)->getCaseValue()->getSExtValue()); in TEST()
801 EXPECT_EQ(3, (CI + 2)->getCaseValue()->getSExtValue()); in TEST()
816 EXPECT_EQ(1, CCI->getCaseValue()->getSExtValue()); in TEST()
818 EXPECT_EQ(2, (CCI + 1)->getCaseValue()->getSExtValue()); in TEST()
820 EXPECT_EQ(3, (CCI + 2)->getCaseValue()->getSExtValue()); in TEST()
834 EXPECT_EQ(1, Handle.getCaseValue()->getSExtValue()); in TEST()
/external/llvm/lib/Transforms/Utils/
DLowerSwitch.cpp360 Cases.push_back(CaseRange(i.getCaseValue(), i.getCaseValue(), in Clusterify()
DSimplifyCFG.cpp680 ValueEqualityComparisonCase(i.getCaseValue(), i.getCaseSuccessor())); in GetValueEqualityComparisonCases()
813 if (DeadCases.count(i.getCaseValue())) { in SimplifyEqualityComparisonWithOnlyPredecessor()
3892 CasesA.push_back(I.getCaseValue()); in TurnSwitchRangeIntoICmp()
3898 CasesB.push_back(I.getCaseValue()); in TurnSwitchRangeIntoICmp()
4008 APInt CaseVal = Case.getCaseValue()->getValue(); in EliminateDeadSwitchCases()
4011 DeadCases.push_back(Case.getCaseValue()); in EliminateDeadSwitchCases()
4114 ConstantInt *CaseValue = I.getCaseValue(); in ForwardSwitchConditionToPHI()
4309 ConstantInt *CaseVal = I.getCaseValue(); in InitializeUniqueCases()
4836 ConstantInt *MinCaseVal = CI.getCaseValue(); in SwitchToLookupTable()
4837 ConstantInt *MaxCaseVal = CI.getCaseValue(); in SwitchToLookupTable()
[all …]
/external/llvm/lib/Transforms/Instrumentation/
DSanitizerCoverage.cpp473 Constant *C = It.getCaseValue(); in InjectTraceForSwitch()
476 C = ConstantExpr::getCast(CastInst::ZExt, It.getCaseValue(), Int64Ty); in InjectTraceForSwitch()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLowerSwitch.cpp407 Cases.push_back(CaseRange(Case.getCaseValue(), Case.getCaseValue(), in Clusterify()
DSimplifyCFG.cpp732 Cases.push_back(ValueEqualityComparisonCase(Case.getCaseValue(), in GetValueEqualityComparisonCases()
881 if (DeadCases.count(i->getCaseValue())) { in SimplifyEqualityComparisonWithOnlyPredecessor()
4413 CasesA.push_back(Case.getCaseValue()); in TurnSwitchRangeIntoICmp()
4419 CasesB.push_back(Case.getCaseValue()); in TurnSwitchRangeIntoICmp()
4530 const APInt &CaseVal = Case.getCaseValue()->getValue(); in eliminateDeadSwitchCases()
4533 DeadCases.push_back(Case.getCaseValue()); in eliminateDeadSwitchCases()
4614 ConstantInt *CaseValue = Case.getCaseValue(); in ForwardSwitchConditionToPHI()
4833 ConstantInt *CaseVal = I.getCaseValue(); in InitializeUniqueCases()
5378 ConstantInt *MinCaseVal = CI->getCaseValue(); in SwitchToLookupTable()
5379 ConstantInt *MaxCaseVal = CI->getCaseValue(); in SwitchToLookupTable()
[all …]
/external/llvm-project/llvm/lib/Transforms/Utils/
DLowerSwitch.cpp311 Cases.push_back(CaseRange(Case.getCaseValue(), Case.getCaseValue(), in Clusterify()
DSimplifyCFG.cpp775 Cases.push_back(ValueEqualityComparisonCase(Case.getCaseValue(), in GetValueEqualityComparisonCases()
924 if (DeadCases.count(i->getCaseValue())) { in SimplifyEqualityComparisonWithOnlyPredecessor()
4567 CasesA.push_back(Case.getCaseValue()); in TurnSwitchRangeIntoICmp()
4573 CasesB.push_back(Case.getCaseValue()); in TurnSwitchRangeIntoICmp()
4684 const APInt &CaseVal = Case.getCaseValue()->getValue(); in eliminateDeadSwitchCases()
4687 DeadCases.push_back(Case.getCaseValue()); in eliminateDeadSwitchCases()
4768 ConstantInt *CaseValue = Case.getCaseValue(); in ForwardSwitchConditionToPHI()
4987 ConstantInt *CaseVal = I.getCaseValue(); in InitializeUniqueCases()
5532 ConstantInt *MinCaseVal = CI->getCaseValue(); in SwitchToLookupTable()
5533 ConstantInt *MaxCaseVal = CI->getCaseValue(); in SwitchToLookupTable()
[all …]
/external/llvm/tools/llvm-diff/
DDifferenceEngine.cpp321 LCases[I.getCaseValue()] = I.getCaseSuccessor(); in diff()
325 ConstantInt *CaseValue = I.getCaseValue(); in diff()
/external/llvm-project/llvm/include/llvm/Analysis/
DCFGPrinter.h224 OS << Case.getCaseValue()->getValue();
/external/llvm-project/llvm/tools/llvm-diff/
DDifferenceEngine.cpp338 LCases[Case.getCaseValue()] = Case.getCaseSuccessor(); in diff()
341 ConstantInt *CaseValue = Case.getCaseValue(); in diff()
/external/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp236 ConstantInt *Case = CI.getCaseValue(); in processSwitch()
DLoopUnswitch.cpp624 Constant *UnswitchValCandidate = i.getCaseValue(); in processCurrentLoop()
981 ConstantInt *CaseVal = i.getCaseValue(); in TryTrivialLoopUnswitch()
DSCCP.cpp1500 SI->setCondition(SI->case_begin().getCaseValue()); in ResolvedUndefsIn()
1505 markForcedConstant(SI->getCondition(), SI->case_begin().getCaseValue()); in ResolvedUndefsIn()
/external/llvm-project/clang/include/clang/Tooling/Syntax/
DNodes.h257 Expression *getCaseValue();
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp2182 LeadingKnownZeros, C.getCaseValue()->getValue().countLeadingZeros()); in visitSwitchInst()
2184 LeadingKnownOnes, C.getCaseValue()->getValue().countLeadingOnes()); in visitSwitchInst()
2202 SI.getContext(), C.getCaseValue()->getValue().trunc(NewWidth))); in visitSwitchInst()
2211 ConstantInt *CaseVal = i.getCaseValue(); in visitSwitchInst()
3002 if (i.getCaseValue() == Cond) { in AddReachableCodeToWorklist()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DSanitizerCoverage.cpp762 Constant *C = It.getCaseValue(); in InjectTraceForSwitch()
765 C = ConstantExpr::getCast(CastInst::ZExt, It.getCaseValue(), Int64Ty); in InjectTraceForSwitch()
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DSanitizerCoverage.cpp792 Constant *C = It.getCaseValue(); in InjectTraceForSwitch()
795 C = ConstantExpr::getCast(CastInst::ZExt, It.getCaseValue(), Int64Ty); in InjectTraceForSwitch()
/external/llvm-project/clang/lib/Tooling/Syntax/
DNodes.cpp236 syntax::Expression *syntax::CaseStatement::getCaseValue() { in getCaseValue() function in syntax::CaseStatement
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopSimplifyCFG.cpp76 if (Case.getCaseValue() == CI) in getOnlyLiveSuccessor()
DLoopUnswitch.cpp788 Constant *UnswitchValCandidate = Case.getCaseValue(); in processCurrentLoop()
1186 ConstantInt *CaseVal = Case.getCaseValue(); in TryTrivialLoopUnswitch()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopSimplifyCFG.cpp78 if (Case.getCaseValue() == CI) in getOnlyLiveSuccessor()
DLoopUnswitch.cpp794 Constant *UnswitchValCandidate = Case.getCaseValue(); in processCurrentLoop()
1167 ConstantInt *CaseVal = Case.getCaseValue(); in tryTrivialLoopUnswitch()

123