#ifndef BOLT_PROFILE_PROFILEYAMLMAPPING_H
#define BOLT_PROFILE_PROFILEYAMLMAPPING_H
#include "bolt/Core/BinaryFunction.h"
#include "llvm/Support/YAMLTraits.h"
#include <vector>
BinaryFunction;
namespace llvm {
namespace yaml {
namespace bolt {
struct CallSiteInfo { … };
}
template <> struct MappingTraits<bolt::CallSiteInfo> { … };
namespace bolt {
struct SuccessorInfo { … };
}
template <> struct MappingTraits<bolt::SuccessorInfo> { … };
namespace bolt {
struct PseudoProbeInfo { … };
}
template <> struct MappingTraits<bolt::PseudoProbeInfo> { … };
}
}
LLVM_YAML_IS_FLOW_SEQUENCE_VECTOR(llvm::yaml::bolt::CallSiteInfo)
LLVM_YAML_IS_FLOW_SEQUENCE_VECTOR(llvm::yaml::bolt::SuccessorInfo)
LLVM_YAML_IS_FLOW_SEQUENCE_VECTOR(llvm::yaml::bolt::PseudoProbeInfo)
namespace llvm {
namespace yaml {
namespace bolt {
struct BinaryBasicBlockProfile { … };
}
template <> struct MappingTraits<bolt::BinaryBasicBlockProfile> { … };
namespace bolt {
struct InlineTreeNode { … };
}
template <> struct MappingTraits<bolt::InlineTreeNode> { … };
}
}
LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::yaml::bolt::BinaryBasicBlockProfile)
LLVM_YAML_IS_FLOW_SEQUENCE_VECTOR(llvm::yaml::bolt::InlineTreeNode)
namespace llvm {
yaml
}
LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::yaml::bolt::BinaryFunctionProfile)
LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::yaml::bolt::ProfilePseudoProbeDesc)
namespace llvm {
namespace yaml {
namespace bolt {
struct BinaryProfile { … };
}
template <> struct MappingTraits<bolt::BinaryProfile> { … };
}
}
#endif