/// <summary> /// Creates alignment information for global pointer and view types. /// </summary> public readonly AnalysisValue <int>?TryProvide(TypeNode typeNode) => typeNode is IAddressSpaceType ? AnalysisValue.Create(GlobalAlignment, typeNode) : (AnalysisValue <int>?)null;
/// <summary> /// Creates initial analysis data. /// </summary> public AnalysisValue <int> CreateData(Value node) => AnalysisValue.Create(GetInitialAlignment(node), node.Type);
/// <summary> /// Returns the value of <see cref="Value"/> for all input nodes. /// </summary> public readonly AnalysisValue <T> this[Value value] => AnalysisValue.Create(Value, value.Type);