• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/

Lines Matching refs:getCondition

291   // 3> SI2->getCondition() and Cond have same operands.
292 CmpInst *Ci2 = dyn_cast<CmpInst>(SI2->getCondition());
703 Cond = dyn_cast<Instruction>(SI->getCondition());
706 Cond = dyn_cast<Instruction>(BI->getCondition());
724 CV = SI->getCondition();
726 if (BI->isConditional() && BI->getCondition()->hasOneUse())
727 if (ICmpInst *ICI = dyn_cast<ICmpInst>(BI->getCondition())) {
756 ICmpInst *ICI = cast<ICmpInst>(BI->getCondition());
1001 ICmpInst *ICI = cast<ICmpInst>(BI->getCondition());
1440 Builder.CreateSelect(BI->getCondition(), BB1V, BB2V,
2002 Value *BrCond = BI->getCondition();
2227 PHINode *PN = dyn_cast<PHINode>(BI->getCondition());
2556 Value *BrCond = BI->getCondition();
2635 Cond = dyn_cast<Instruction>(BI->getCondition());
2767 Value *NewCond = PBI->getCondition();
2774 Builder.CreateNot(NewCond, PBI->getCondition()->getName() + ".not");
2830 Builder.CreateBinOp(Opc, PBI->getCondition(), CondInPred, "or.cond"));
2892 Builder.CreateNot(PBI->getCondition(), "not.cond"));
2898 Instruction::Or, PBI->getCondition(), MergedCond, "or.cond"));
2904 Instruction::And, PBI->getCondition(), CondInPred, "and.cond"));
2907 Builder.CreateNot(PBI->getCondition(), "not.cond"));
3122 ->getCondition();
3124 ->getCondition();
3324 if (PBI->getCondition() == BI->getCondition() &&
3343 BI->getCondition()->getName() + ".pr", &BB->front());
3350 PBI->isConditional() && PBI->getCondition() == BI->getCondition() &&
3357 NewPN->addIncoming(BI->getCondition(), P);
3372 if (auto *CE = dyn_cast<ConstantExpr>(BI->getCondition()))
3469 Value *PBICond = PBI->getCondition();
3474 Value *BICond = BI->getCondition();
3633 Value *Condition = Select->getCondition();
3674 return SimplifyTerminatorOnSelect(IBI, SI->getCondition(), TrueBB, FalseBB, 0,
3715 if (SI->getCondition() != V)
3800 Instruction *Cond = dyn_cast<Instruction>(BI->getCondition());
4344 Value* Cond = BI->getCondition();
4507 Value *Sub = SI->getCondition();
4571 Value *Cond = SI->getCondition();
4691 Phi.setIncomingValue(SwitchBBIdx, SI->getCondition());
4709 Phi->setIncomingValue(Index, SI->getCondition());
4760 Constant *A = LookupConstant(Select->getCondition(), ConstantPool);
4801 ConstantPool.insert(std::make_pair(SI->getCondition(), CaseVal));
5002 Value *const Cond = SI->getCondition();
5355 Value *RangeCmp = RangeCheckBranch->getCondition();
5512 TableIndex = SI->getCondition();
5514 TableIndex = Builder.CreateSub(SI->getCondition(), MinCaseVal,
5666 auto *CondTy = cast<IntegerType>(SI->getCondition()->getType());
5728 auto *Ty = cast<IntegerType>(SI->getCondition()->getType());
5731 auto *Sub = Builder.CreateSub(SI->getCondition(), ConstantInt::get(Ty, Base));
5735 SI->replaceUsesOfWith(SI->getCondition(), Rot);
5756 Value *Cond = SI->getCondition();
5998 } else if (&*I == cast<Instruction>(BI->getCondition())) {
6011 Optional<bool> Imp = isImpliedByDomCondition(BI->getCondition(), BI, DL);
6014 auto *OldCond = BI->getCondition();
6057 if (PHINode *PN = dyn_cast<PHINode>(BI->getCondition()))