Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Trunc

693       // Sink the trunc
715 /// %x.extract.trunc = trunc i64 %x.extract.shift to i16
720 /// %x.extract.trunc = trunc i64 %x.extract.shift.1 to i16
759 // trunc.result = trunc shift.result to i16
764 // cmp i16 trunc.result, opnd2
1256 /// trunc Opnd to Ty.
1683 /// operand is a promotable trunc or sext.
1695 /// operand is promotable and is not a supported trunc or sext.
1740 // sext(trunc(sext)) --> sext
1760 // I.e., check that trunc just drops sign extended bits.
1795 // SExt or Trunc instructions.
1814 // Replace sext(trunc(opnd)) or sext(sext(opnd))
1848 Instruction *Trunc = TPT.createTrunc(SExt, SExtOpnd->getType());
1849 Trunc->removeFromParent();
1851 Trunc->insertAfter(SExtOpnd);
1853 TPT.replaceAllUsesWith(SExtOpnd, Trunc);
1855 // to replaceAllUsesWith) to avoid creating a cycle trunc <-> sext.
2925 // InsertedTruncs - Only insert one trunc in each block once.