Origin of first-order-type electronic and structural transitions in IrTe2.