remove all the "tmp" IR names
fix newline
add a few IR names
fix CMP0054 policy warnings
Revert owningTemplate hack from 39e3e3a6.

It is no longer needed now that we use DMD's model for determining
whether to emit templates. We might also be able to use the more
general tinst/minst machinery from DMD Git master if we ever need
something similar.
Merge pull request #730 from klickverbot/remove-owningtemplate

Revert owningTemplate hack from 39e3e3a6.
Remove availableExternally logic and extra inlining semantic passes.

Turns out that since the change to use DMD's symbol emission
logic a few releases back we didn't actually ever emit code
for the extra modules. Thus, all the effort for the extra
semantic passes went to waste.

If we want to implement DMD-style cross-module inlining, we
need to add the extra semantic3s back in, and then iterate
over all the non-root modules with a codegen visitor that
only emits symbols as available_externally.

We probably won't need the availableExternally members if
we start with a clean design in the new symbol emission
framework. Thus, remove everything in the meantime. This
will make some release builds a bit faster, and should not
negatively affect generated code.
Merge pull request #731 from klickverbot/remove-availableExternally

Remove availableExternally logic and extra inlining semantic passes.
[cleanup] Remove LDC-only #if 0 block.
[cleanup] Adjust some whitespace to match DMD.
[cleanup] Remove some unused LDC-only forward decls.
[cleanup] Remove unused LDC-only Expression::isAssignExp.
Remove LDC-only VarDeclaration::semantic3.

This was previously needed for availableExternally, but should
not be relevant any longer.
Merge pull request #734 from klickverbot/cleanup

DMD diff reduction
There is no real need in FuncDeclaration::labmap
Remove VarDeclaration::aggrIndex
Move debugVariable and debugFunc from VarDeclaration to IrVar
FuncDeclaration::inlineAsm is not used
Also move nakedUse from VarDeclaration to IrGlobal
Make FuncDeclaration::isIntrinsic and FuncDeclaration::isVaIntrinsic free functions