Polly
20.0.0git
llvm-project
polly
include
polly
Support
ScopLocation.h
Go to the documentation of this file.
1
//=== ScopLocation.h -- Debug location helper for ScopDetection -*- C++ -*-===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
//
9
// Helper function for extracting region debug information.
10
//
11
//===----------------------------------------------------------------------===//
12
//
13
#ifndef POLLY_SCOP_LOCATION_H
14
#define POLLY_SCOP_LOCATION_H
15
16
#include <string>
17
18
namespace
llvm
{
19
class
Region;
20
}
// namespace llvm
21
22
namespace
polly
{
23
24
/// Get the location of a region from the debug info.
25
///
26
/// @param R The region to get debug info for.
27
/// @param LineBegin The first line in the region.
28
/// @param LineEnd The last line in the region.
29
/// @param FileName The filename where the region was defined.
30
void
getDebugLocation
(
const
llvm::Region *R,
unsigned
&LineBegin,
31
unsigned
&LineEnd, std::string &FileName);
32
}
// namespace polly
33
34
#endif
// POLLY_SCOP_LOCATION_H
llvm
This file contains the declaration of the PolyhedralInfo class, which will provide an interface to ex...
Definition:
Canonicalization.h:14
polly
Definition:
Canonicalization.h:20
polly::getDebugLocation
void getDebugLocation(const llvm::Region *R, unsigned &LineBegin, unsigned &LineEnd, std::string &FileName)
Get the location of a region from the debug info.
Generated on Wed Nov 13 2024 03:17:12 for Polly by
1.9.6