Pass GSR and D explicitly to InstrumentBasicBlocks::insertSignatureUpdate().
Keep GSR and D Alloca's on the stack.
Use IRBuilder to improve readability in instrumentation code.