Moving swap to RAM tells me you may not understand the purpose of swap. Swap is harddisk space that behaves like RAM. e.g. if your system runs out of RAM instead of crashing it will start moving applications to swap because it is basically RAM overflow. If you don't want swap then simply disable it. Moving it into RAM defeats the purpose of its existence and has an added negative effect that the OS will move RAM overflow... into RAM... which you get my point I think.
Regarding moving your /tmp directory into RAM that can be accomplished by
mounting a tmpfs ram disk on /tmp.