Home | History | Annotate | Download | only in InstCombine

Lines Matching full:sadd

2493 /// Then replace it with llvm.sadd.with.overflow.i8.
2499 // llvm.sadd.with.overflow. To do this, we have to replace the original add
2508 // If CI2 is 2^7, 2^15, 2^31, then it might be an sadd.with.overflow.
2530 // llvm.sadd.with.overflow, the only uses allowed are the add-with-constant
2562 CallInst *Call = Builder->CreateCall(F, {TruncA, TruncB}, "sadd");
2563 Value *Add = Builder->CreateExtractValue(Call, 0, "sadd.result");
2571 return ExtractValueInst::Create(Call, 1, "sadd.overflow");
2607 // FALL THROUGH uadd into sadd
3260 // if (sum+128 >u 255) ... -> llvm.sadd.with.overflow.i8