LED driver internal circuitry understanding
This is not the simplest IC LED driver. 

The functions of internal sub-circuits are the following (the diagram appears in datasheet you provided):



After addition of the external components, this circuit becomes a controlled boost converter (see answer by Andy aka) with internal overvoltage and overcurrent protection. Datasheet states that there also an internal overheat protection, which is not shown on the above diagram.