Lines Matching defs:CondVal
650 Value *CondVal = SI.getCondition();
654 if (Value *V = SimplifySelectInst(CondVal, TrueVal, FalseVal, TD))
661 return BinaryOperator::CreateOr(CondVal, FalseVal);
664 Value *NotCond = Builder->CreateNot(CondVal, "not."+CondVal->getName());
669 return BinaryOperator::CreateAnd(CondVal, TrueVal);
672 Value *NotCond = Builder->CreateNot(CondVal, "not."+CondVal->getName());
678 if (CondVal == TrueVal)
679 return BinaryOperator::CreateOr(CondVal, FalseVal);
680 else if (CondVal == FalseVal)
681 return BinaryOperator::CreateAnd(CondVal, TrueVal);
689 return new ZExtInst(CondVal, SI.getType());
693 return new SExtInst(CondVal, SI.getType());
697 Value *NotCond = Builder->CreateNot(CondVal, "not."+CondVal->getName());
703 Value *NotCond = Builder->CreateNot(CondVal, "not."+CondVal->getName());
712 if (FCmpInst *FCI = dyn_cast<FCmpInst>(CondVal)) {
771 if (ICmpInst *ICI = dyn_cast<ICmpInst>(CondVal))
822 Builder->CreateSelect(CondVal, NewTrueOp,
868 if (TrueSI->getCondition() == CondVal) {
874 if (FalseSI->getCondition() == CondVal) {
880 if (BinaryOperator::isNot(CondVal)) {
881 SI.setOperand(0, BinaryOperator::getNotArgument(CondVal));