Lines Matching defs:CondVal
824 Value *CondVal = SI.getCondition();
828 if (Value *V = SimplifySelectInst(CondVal, TrueVal, FalseVal, DL))
835 return BinaryOperator::CreateOr(CondVal, FalseVal);
838 Value *NotCond = Builder->CreateNot(CondVal, "not."+CondVal->getName());
844 return BinaryOperator::CreateAnd(CondVal, TrueVal);
847 Value *NotCond = Builder->CreateNot(CondVal, "not."+CondVal->getName());
853 if (CondVal == TrueVal)
854 return BinaryOperator::CreateOr(CondVal, FalseVal);
855 if (CondVal == FalseVal)
856 return BinaryOperator::CreateAnd(CondVal, TrueVal);
860 if (match(TrueVal, m_Not(m_Specific(CondVal))))
862 if (match(FalseVal, m_Not(m_Specific(CondVal))))
871 return new ZExtInst(CondVal, SI.getType());
875 return new SExtInst(CondVal, SI.getType());
879 Value *NotCond = Builder->CreateNot(CondVal, "not."+CondVal->getName());
885 Value *NotCond = Builder->CreateNot(CondVal, "not."+CondVal->getName());
894 if (FCmpInst *FCI = dyn_cast<FCmpInst>(CondVal)) {
953 if (ICmpInst *ICI = dyn_cast<ICmpInst>(CondVal))
1009 Builder->CreateSelect(CondVal, NewTrueOp,
1060 if (TrueSI->getCondition() == CondVal) {
1068 if (FalseSI->getCondition() == CondVal) {
1076 if (BinaryOperator::isNot(CondVal)) {
1077 SI.setOperand(0, BinaryOperator::getNotArgument(CondVal));
1093 if (isa<ConstantAggregateZero>(CondVal)) {