This patch refactors data mapping functions, to have functions that map individual components.
Looks good, though I haven't built it to check the tests still pass. I take it this is the NFC subset of D68100?
Yes, this is the NFC part of the declare mapper patch. I've tested it. There is not much test in libomptarget though.