reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Analysis/CFGPrinter.h
  143       OS << Case.getCaseValue()->getValue();
include/llvm/CodeGen/BasicTTIImpl.h
  348     APInt MaxCaseVal = SI.case_begin()->getCaseValue()->getValue();
  351       const APInt &CaseVal = CI.getCaseValue()->getValue();
include/llvm/IR/Instructions.h
 3393         cases(), [C](CaseHandle &Case) { return Case.getCaseValue() == C; });
 3401       return Case.getCaseValue() == C;
 3423       CI = Case.getCaseValue();
lib/Analysis/LazyValueInfo.cpp
 1472       APInt CaseValue = Case.getCaseValue()->getValue();
lib/Bitcode/Writer/BitcodeWriter.cpp
 2741         Vals.push_back(VE.getValueID(Case.getCaseValue()));
lib/CodeGen/CodeGenPrepare.cpp
 6259     APInt NarrowConst = Case.getCaseValue()->getValue();
lib/CodeGen/GlobalISel/IRTranslator.cpp
  445     const ConstantInt *CaseVal = I.getCaseValue();
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
10501     const ConstantInt *CaseVal = I.getCaseValue();
lib/ExecutionEngine/Interpreter/Execution.cpp
  956     GenericValue CaseVal = getOperandValue(Case.getCaseValue(), SF);
lib/IR/AsmWriter.cpp
 3738       writeOperand(Case.getCaseValue(), true);
lib/IR/Verifier.cpp
 2473     Assert(Case.getCaseValue()->getType() == SwitchTy,
 2475     Assert(Constants.insert(Case.getCaseValue()).second,
 2476            "Duplicate integer as switch case", &SI, Case.getCaseValue());
lib/Transforms/InstCombine/InstructionCombining.cpp
 2599       Constant *NewCase = ConstantExpr::getSub(Case.getCaseValue(), AddRHS);
 2616         LeadingKnownZeros, C.getCaseValue()->getValue().countLeadingZeros());
 2618         LeadingKnownOnes, C.getCaseValue()->getValue().countLeadingOnes());
 2635       APInt TruncatedCase = Case.getCaseValue()->getValue().trunc(NewWidth);
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
  761         Constant *C = It.getCaseValue();
  764           C = ConstantExpr::getCast(CastInst::ZExt, It.getCaseValue(), Int64Ty);
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  362       ConstantInt *Case = CI->getCaseValue();
lib/Transforms/Scalar/GVN.cpp
 2028         Changed |= propagateEquality(SwitchCond, i->getCaseValue(), E, true);
lib/Transforms/Scalar/LoopSimplifyCFG.cpp
   74       if (Case.getCaseValue() == CI)
lib/Transforms/Scalar/LoopUnswitch.cpp
  787             Constant *UnswitchValCandidate = Case.getCaseValue();
 1185         ConstantInt *CaseVal = Case.getCaseValue();
lib/Transforms/Scalar/SCCP.cpp
 1732         SI->setCondition(SI->case_begin()->getCaseValue());
 1978       C = SI->case_begin()->getCaseValue();
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
  637     ExitCases.emplace_back(CaseI->getCaseValue(), CaseI->getCaseSuccessor(), W);
  750       NewSIW.addCase(Case.getCaseValue(), NewPH,
lib/Transforms/Utils/Local.cpp
  175       if (i->getCaseValue() == CI) {
  269           FirstCase.getCaseValue(), "cond");
lib/Transforms/Utils/LowerSwitch.cpp
  406     Cases.push_back(CaseRange(Case.getCaseValue(), Case.getCaseValue(),
  406     Cases.push_back(CaseRange(Case.getCaseValue(), Case.getCaseValue(),
lib/Transforms/Utils/PredicateInfo.cpp
  479           Op, SI->getParent(), TargetBlock, C.getCaseValue(), SI);
lib/Transforms/Utils/SimplifyCFG.cpp
  731       Cases.push_back(ValueEqualityComparisonCase(Case.getCaseValue(),
  880       if (DeadCases.count(i->getCaseValue())) {
 4354       CasesA.push_back(Case.getCaseValue());
 4360       CasesB.push_back(Case.getCaseValue());
 4471     const APInt &CaseVal = Case.getCaseValue()->getValue();
 4474       DeadCases.push_back(Case.getCaseValue());
 4555     ConstantInt *CaseValue = Case.getCaseValue();
 4774     ConstantInt *CaseVal = I.getCaseValue();
 5319   ConstantInt *MinCaseVal = CI->getCaseValue();
 5320   ConstantInt *MaxCaseVal = CI->getCaseValue();
 5332     ConstantInt *CaseVal = CI->getCaseValue();
 5568     Values.push_back(C.getCaseValue()->getValue().getSExtValue());
 5625     auto *Orig = Case.getCaseValue();
tools/llvm-diff/DifferenceEngine.cpp
  338         LCases[Case.getCaseValue()] = Case.getCaseSuccessor();
  341         ConstantInt *CaseValue = Case.getCaseValue();
tools/polly/lib/Analysis/ScopBuilder.cpp
  404     ConstantInt *CaseValue = Case.getCaseValue();
unittests/IR/InstructionsTest.cpp
  715   EXPECT_EQ(1, CI->getCaseValue()->getSExtValue());
  717   EXPECT_EQ(2, (CI + 1)->getCaseValue()->getSExtValue());
  719   EXPECT_EQ(3, (CI + 2)->getCaseValue()->getSExtValue());
  734   EXPECT_EQ(1, CCI->getCaseValue()->getSExtValue());
  736   EXPECT_EQ(2, (CCI + 1)->getCaseValue()->getSExtValue());
  738   EXPECT_EQ(3, (CCI + 2)->getCaseValue()->getSExtValue());
  752   EXPECT_EQ(1, Handle.getCaseValue()->getSExtValue());