Home | History | Annotate | Download | only in Utils

Lines Matching refs:getCondition

215   // 3> SI2->getCondition() and Cond have same operands.
216 CmpInst *Ci2 = dyn_cast<CmpInst>(SI2->getCondition());
629 Cond = dyn_cast<Instruction>(SI->getCondition());
632 Cond = dyn_cast<Instruction>(BI->getCondition());
652 CV = SI->getCondition();
654 if (BI->isConditional() && BI->getCondition()->hasOneUse())
655 if (ICmpInst *ICI = dyn_cast<ICmpInst>(BI->getCondition())) {
685 ICmpInst *ICI = cast<ICmpInst>(BI->getCondition());
922 ICmpInst *ICI = cast<ICmpInst>(BI->getCondition());
1304 Builder.CreateSelect(BI->getCondition(), BB1V, BB2V,
1598 Value *BrCond = BI->getCondition();
1808 PHINode *PN = dyn_cast<PHINode>(BI->getCondition());
2119 Value *BrCond = BI->getCondition();
2193 Cond = dyn_cast<Instruction>(BI->getCondition());
2316 Value *NewCond = PBI->getCondition();
2323 Builder.CreateNot(NewCond, PBI->getCondition()->getName() + ".not");
2368 Builder.CreateBinOp(Opc, PBI->getCondition(), New, "or.cond"));
2432 Builder.CreateNot(PBI->getCondition(), "not.cond"));
2437 Instruction::Or, PBI->getCondition(), MergedCond, "or.cond"));
2443 Instruction::And, PBI->getCondition(), New, "and.cond"));
2446 Builder.CreateNot(PBI->getCondition(), "not.cond"));
2623 ->getCondition();
2625 ->getCondition();
2769 if (PBI->getCondition() == BI->getCondition() &&
2788 BI->getCondition()->getName() + ".pr", &BB->front());
2795 PBI->isConditional() && PBI->getCondition() == BI->getCondition() &&
2802 NewPN->addIncoming(BI->getCondition(), P);
2811 if (auto *CE = dyn_cast<ConstantExpr>(BI->getCondition()))
2910 Value *PBICond = PBI->getCondition();
2915 Value *BICond = BI->getCondition();
3080 Value *Condition = Select->getCondition();
3120 return SimplifyTerminatorOnSelect(IBI, SI->getCondition(), TrueBB, FalseBB, 0,
3163 if (SI->getCondition() != V)
3253 Instruction *Cond = dyn_cast<Instruction>(BI->getCondition());
3932 Value *Sub = SI->getCondition();
3994 Value *Cond = SI->getCondition();
4138 Phi->setIncomingValue(Indexes[I], SI->getCondition());
4179 Constant *A = LookupConstant(Select->getCondition(), ConstantPool);
4220 ConstantPool.insert(std::make_pair(SI->getCondition(), CaseVal));
4412 Value *const Cond = SI->getCondition();
4761 Value *RangeCmp = RangeCheckBranch->getCondition();
4912 Builder.CreateSub(SI->getCondition(), MinCaseVal, "switch.tableidx");
5051 Value *Cond = SI->getCondition();
5283 } else if (&*I == cast<Instruction>(BI->getCondition())) {
5307 PBI->getCondition(), BI->getCondition(), DL, CondIsFalse);
5310 auto *OldCond = BI->getCondition();
5356 if (PHINode *PN = dyn_cast<PHINode>(BI->getCondition()))