Lines Matching refs:Condition
188 Value *invert(Value *Condition);
311 Value *StructurizeCFG::invert(Value *Condition) { in invert() argument
313 if (Condition == BoolTrue) in invert()
316 if (Condition == BoolFalse) in invert()
319 if (Condition == BoolUndef) in invert()
323 if (match(Condition, m_Not(m_Value(Condition)))) in invert()
324 return Condition; in invert()
326 if (Instruction *Inst = dyn_cast<Instruction>(Condition)) { in invert()
329 for (Value::use_iterator I = Condition->use_begin(), in invert()
330 E = Condition->use_end(); I != E; ++I) { in invert()
336 if (match(*I, m_Not(m_Specific(Condition)))) in invert()
341 return BinaryOperator::CreateNot(Condition, "", Parent->getTerminator()); in invert()
344 if (Argument *Arg = dyn_cast<Argument>(Condition)) { in invert()
346 return BinaryOperator::CreateNot(Condition, in invert()