reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
338 SI = cast<SelectInst>(LHS); 341 SI = cast<SelectInst>(RHS); 347 if (SI == LHS) { 348 TV = SimplifyBinOp(Opcode, SI->getTrueValue(), RHS, Q, MaxRecurse); 349 FV = SimplifyBinOp(Opcode, SI->getFalseValue(), RHS, Q, MaxRecurse); 351 TV = SimplifyBinOp(Opcode, LHS, SI->getTrueValue(), Q, MaxRecurse); 352 FV = SimplifyBinOp(Opcode, LHS, SI->getFalseValue(), Q, MaxRecurse); 368 if (TV == SI->getTrueValue() && FV == SI->getFalseValue()) 368 if (TV == SI->getTrueValue() && FV == SI->getFalseValue()) 369 return SI; 382 Value *UnsimplifiedBranch = FV ? SI->getTrueValue() : SI->getFalseValue(); 382 Value *UnsimplifiedBranch = FV ? SI->getTrueValue() : SI->getFalseValue(); 383 Value *UnsimplifiedLHS = SI == LHS ? UnsimplifiedBranch : LHS; 384 Value *UnsimplifiedRHS = SI == LHS ? RHS : UnsimplifiedBranch;