Lines Matching refs:CondVal

911   Value *CondVal = SI.getCondition();  in visitSelectInst()  local
916 SimplifySelectInst(CondVal, TrueVal, FalseVal, DL, TLI, DT, AC)) in visitSelectInst()
923 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst()
926 Value *NotCond = Builder->CreateNot(CondVal, "not."+CondVal->getName()); in visitSelectInst()
932 return BinaryOperator::CreateAnd(CondVal, TrueVal); in visitSelectInst()
935 Value *NotCond = Builder->CreateNot(CondVal, "not."+CondVal->getName()); in visitSelectInst()
941 if (CondVal == TrueVal) in visitSelectInst()
942 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst()
943 if (CondVal == FalseVal) in visitSelectInst()
944 return BinaryOperator::CreateAnd(CondVal, TrueVal); in visitSelectInst()
948 if (match(TrueVal, m_Not(m_Specific(CondVal)))) in visitSelectInst()
950 if (match(FalseVal, m_Not(m_Specific(CondVal)))) in visitSelectInst()
959 return new ZExtInst(CondVal, SI.getType()); in visitSelectInst()
963 return new SExtInst(CondVal, SI.getType()); in visitSelectInst()
967 Value *NotCond = Builder->CreateNot(CondVal, "not."+CondVal->getName()); in visitSelectInst()
973 Value *NotCond = Builder->CreateNot(CondVal, "not."+CondVal->getName()); in visitSelectInst()
982 if (FCmpInst *FCI = dyn_cast<FCmpInst>(CondVal)) { in visitSelectInst()
1070 if (ICmpInst *ICI = dyn_cast<ICmpInst>(CondVal)) in visitSelectInst()
1126 Builder->CreateSelect(CondVal, NewTrueOp, in visitSelectInst()
1206 if (TrueSI->getCondition()->getType() == CondVal->getType()) { in visitSelectInst()
1208 if (TrueSI->getCondition() == CondVal) { in visitSelectInst()
1218 Value *And = Builder->CreateAnd(CondVal, TrueSI->getCondition()); in visitSelectInst()
1226 if (FalseSI->getCondition()->getType() == CondVal->getType()) { in visitSelectInst()
1228 if (FalseSI->getCondition() == CondVal) { in visitSelectInst()
1236 Value *Or = Builder->CreateOr(CondVal, FalseSI->getCondition()); in visitSelectInst()
1244 if (BinaryOperator::isNot(CondVal)) { in visitSelectInst()
1245 SI.setOperand(0, BinaryOperator::getNotArgument(CondVal)); in visitSelectInst()
1261 if (isa<ConstantAggregateZero>(CondVal)) { in visitSelectInst()