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

References

include/llvm/Analysis/SparsePropagation.h
  341     SCValue = getValueState(KeyInfo::getLatticeKeyFromValue(SI.getCondition()));
  344         KeyInfo::getLatticeKeyFromValue(SI.getCondition()));
  358       std::move(SCValue), SI.getCondition()->getType()));
include/llvm/Transforms/Utils/PredicateInfo.h
  184                           SI->getCondition()),
lib/Analysis/DivergenceAnalysis.cpp
  118     return isDivergent(*SwitchTerm->getCondition());
lib/Analysis/InlineCost.cpp
 1437   if (isa<ConstantInt>(SI.getCondition()))
 1439   if (Value *V = SimplifiedValues.lookup(SI.getCondition()))
 1875       Value *Cond = SI->getCondition();
lib/Analysis/LazyValueInfo.cpp
 1452     Value *Condition = SI->getCondition();
lib/Analysis/ScalarEvolution.cpp
 7467   const SCEV *LHS = getSCEVAtScope(Switch->getCondition(), L);
lib/Bitcode/Writer/BitcodeWriter.cpp
 2737       Vals.push_back(VE.getTypeID(SI.getCondition()->getType()));
 2738       pushValue(SI.getCondition(), InstID, Vals);
lib/CodeGen/CodeGenPrepare.cpp
 6228   Value *Cond = SI->getCondition();
lib/CodeGen/GlobalISel/IRTranslator.cpp
  501     if (!lowerSwitchWorkItem(W, SI.getCondition(), SwitchMBB, DefaultMBB, MIB))
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
10476   ExportFromCurrentBlock(SI.getCondition());
10480   lowerWorkItem(W, SI.getCondition(), SwitchMBB, PeeledSwitchMBB);
10574       splitWorkItem(WorkList, W, SI.getCondition(), SwitchMBB);
10578     lowerWorkItem(W, SI.getCondition(), SwitchMBB, DefaultMBB);
lib/CodeGen/SwitchLoweringUtils.cpp
  251                       Clusters[Last].High->getValue(), SI->getCondition(),
  450                             SI->getCondition(), -1U, MVT::Other, false,
lib/ExecutionEngine/Interpreter/Execution.cpp
  949   Value* Cond = I.getCondition();
lib/IR/AsmWriter.cpp
 3732     writeOperand(SI.getCondition(), true);
lib/IR/Instructions.cpp
 3830   init(SI.getCondition(), SI.getDefaultDest(), SI.getNumOperands());
lib/IR/Verifier.cpp
 2470   Type *SwitchTy = SI.getCondition()->getType();
lib/Target/ARM/ARMCodeGenPrepare.cpp
  273     return LessThanTypeSize(Switch->getCondition());
  645       if (Instruction *Trunc = InsertTrunc(Switch->getCondition(), Ty)) {
  762       TruncTysMap[I].push_back(Switch->getCondition()->getType());
lib/Transforms/Coroutines/CoroSplit.cpp
  925       Value *V = SI->getCondition();
lib/Transforms/InstCombine/InstructionCombining.cpp
 2593   Value *Cond = SI.getCondition();
 3454       if (ConstantInt *Cond = dyn_cast<ConstantInt>(SI->getCondition())) {
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
  750       Value *Cond = SI->getCondition();
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  339   Value *Cond = I->getCondition();
  402         Cond = SI->getCondition();
lib/Transforms/Scalar/GVN.cpp
 2013     Value *SwitchCond = SI->getCondition();
lib/Transforms/Scalar/IndVarSimplify.cpp
  783           Cond = SI->getCondition();
lib/Transforms/Scalar/JumpThreading.cpp
 1068     Condition = SI->getCondition();
 2460   PHINode *CondPHI = dyn_cast<PHINode>(SI->getCondition());
lib/Transforms/Scalar/LoopSimplifyCFG.cpp
   70     auto *CI = dyn_cast<ConstantInt>(SI->getCondition());
lib/Transforms/Scalar/LoopUnrollPass.cpp
  581                 SimplifiedValues.lookup(SI->getCondition())) {
lib/Transforms/Scalar/LoopUnswitch.cpp
  750       Value *SC = SI->getCondition();
 1107       ConstantInt *Cond = dyn_cast<ConstantInt>(SI->getCondition());
 1165     Value *LoopCond = FindLIVLoopCondition(SI->getCondition(), currentLoop,
 1171     if (!LoopCond || LoopCond != SI->getCondition())
lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
   58   CallInst *CI = dyn_cast<CallInst>(SI.getCondition());
lib/Transforms/Scalar/NewGVN.cpp
 2505     Value *SwitchCond = SI->getCondition();
lib/Transforms/Scalar/SCCP.cpp
  701     LatticeVal SCValue = getValueState(SI->getCondition());
 1726       if (!SI->getNumCases() || !getValueState(SI->getCondition()).isUnknown())
 1731       if (isa<UndefValue>(SI->getCondition())) {
 1975     if (!isa<ConstantInt>(SI->getCondition())) {
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
  576   Value *LoopCond = SI.getCondition();
  888       if (isa<Constant>(SI->getCondition()))
 2558       if (!isa<Constant>(SI->getCondition()) &&
 2559           L.isLoopInvariant(SI->getCondition()) && !BB->getUniqueSuccessor())
 2560         UnswitchCandidates.push_back({SI, {SI->getCondition()}});
lib/Transforms/Scalar/TailRecursionElimination.cpp
  386       if (SI->getCondition() == V)
lib/Transforms/Utils/CloneFunction.cpp
  405     ConstantInt *Cond = dyn_cast<ConstantInt>(SI->getCondition());
  407       Value *V = VMap.lookup(SI->getCondition());
lib/Transforms/Utils/CodeExtractor.cpp
 1286     } else if (OldFnRetTy == TheSwitch->getCondition()->getType()) {
 1288       ReturnInst::Create(Context, TheSwitch->getCondition(), TheSwitch);
lib/Transforms/Utils/Evaluator.cpp
  622           dyn_cast<ConstantInt>(getVal(SI->getCondition()));
lib/Transforms/Utils/Local.cpp
  162     auto *CI = dyn_cast<ConstantInt>(SI->getCondition());
  255       Value *Cond = SI->getCondition();
  268       Value *Cond = Builder.CreateICmpEQ(SI->getCondition(),
lib/Transforms/Utils/LowerSwitch.cpp
  445   Value *Val = SI->getCondition();  // The value we are switching on...
  591     Val = SI->getCondition();
lib/Transforms/Utils/PredicateInfo.cpp
  463   Value *Op = SI->getCondition();
lib/Transforms/Utils/SimplifyCFG.cpp
  684     Cond = dyn_cast<Instruction>(SI->getCondition());
  705       CV = SI->getCondition();
 3610   if (SI->getCondition() != V)
 4394   Value *Sub = SI->getCondition();
 4458   Value *Cond = SI->getCondition();
 4578         Phi.setIncomingValue(SwitchBBIdx, SI->getCondition());
 4596       Phi->setIncomingValue(Index, SI->getCondition());
 4688   ConstantPool.insert(std::make_pair(SI->getCondition(), CaseVal));
 4889   Value *const Cond = SI->getCondition();
 5399     TableIndex = SI->getCondition();
 5401     TableIndex = Builder.CreateSub(SI->getCondition(), MinCaseVal,
 5553   auto *CondTy = cast<IntegerType>(SI->getCondition()->getType());
 5615   auto *Ty = cast<IntegerType>(SI->getCondition()->getType());
 5618   auto *Sub = Builder.CreateSub(SI->getCondition(), ConstantInt::get(Ty, Base));
 5622   SI->replaceUsesOfWith(SI->getCondition(), Rot);
 5643     Value *Cond = SI->getCondition();
tools/clang/lib/CodeGen/CGCleanup.cpp
  625       llvm::LoadInst *condition = cast<llvm::LoadInst>(si->getCondition());
tools/clang/lib/CodeGen/CGStmt.cpp
 1228     Builder.CreateSub(SwitchInsn->getCondition(), Builder.getInt(LHS));
tools/llvm-diff/DifferenceEngine.cpp
  328       if (!equivalentAsOperands(LI->getCondition(), RI->getCondition())) {
  328       if (!equivalentAsOperands(LI->getCondition(), RI->getCondition())) {
tools/polly/lib/Support/ScopHelper.cpp
  459     return SI->getCondition();