Many MCU have different read(input) & write(output) register for GPIO. Like PIC have LAT & PORT register. So whenever you have to write to pin in PIC, you write to LAT & to read you read PORT register.
Advantage of this is suppose I have a high capacitive load connected, if I write PORT register & read back to invert pin, then it may read as zero.
Even in many ARM MCU I found different read & write register. But in TM4c123gh6pm there is only GPIODATA register.