//=== ScopLocation.cpp - Debug location for ScopDetection ----- -*- C++ -*-===// // // 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 // //===----------------------------------------------------------------------===// // // Helper function for extracting region debug information. // //===----------------------------------------------------------------------===// // #include "polly/Support/ScopLocation.h" #include "llvm/Analysis/RegionInfo.h" #include "llvm/IR/DebugInfoMetadata.h" usingnamespacellvm; namespace polly { void getDebugLocation(const Region *R, unsigned &LineBegin, unsigned &LineEnd, std::string &FileName) { … } } // namespace polly