This is for container builder which need resource information after dxil metadata generation.
New analysis pass DXILMetadataResourceAnalysis is added to collect the information.
New constructor for dxil::ResourceBase/UAV/ConstantBuffer is added to build from dxil metadata.
If the tuple _must_ have the operand (as demonstrated by the asserts below), this can just be a dyn_cast.
dyn_cast_or_null has been replaced by dyn_cast_if_present, and should only be used when null is a valid input and output.