//===-- IR/Statepoint.cpp -- gc.statepoint utilities --- -----------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // This file contains some utility functions to help recognize gc.statepoint // intrinsics. // //===----------------------------------------------------------------------===// #include "llvm/IR/Statepoint.h" usingnamespacellvm; bool llvm::isStatepointDirectiveAttr(Attribute Attr) { … } StatepointDirectives llvm::parseStatepointDirectivesFromAttrs(AttributeList AS) { … }