Use llvm::StringSwitch.
Remove a bunch of getSubtargetImpl calls since we already have
a cached TLI instance.