Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
llvm-epi-0.8
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Roger Ferrer
llvm-epi-0.8
Commits
a6302c90
Commit
a6302c90
authored
20 years ago
by
Chris Lattner
Browse files
Options
Downloads
Patches
Plain Diff
Add a new method
llvm-svn: 14705
parent
a0399552
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
llvm/include/llvm/Support/Mangler.h
+8
-0
8 additions, 0 deletions
llvm/include/llvm/Support/Mangler.h
with
8 additions
and
0 deletions
llvm/include/llvm/Support/Mangler.h
+
8
−
0
View file @
a6302c90
...
...
@@ -20,6 +20,7 @@
namespace
llvm
{
class
Value
;
class
Type
;
class
Module
;
class
GlobalValue
;
...
...
@@ -32,6 +33,9 @@ class Mangler {
Module
&
M
;
bool
AddUnderscorePrefix
;
unsigned
TypeCounter
;
std
::
map
<
const
Type
*
,
unsigned
>
TypeMap
;
typedef
std
::
map
<
const
Value
*
,
std
::
string
>
ValueMap
;
ValueMap
Memo
;
...
...
@@ -44,6 +48,10 @@ public:
// symbols will be prefixed with an underscore.
Mangler
(
Module
&
M
,
bool
AddUnderscorePrefix
=
false
);
/// getTypeID - Return a unique ID for the specified LLVM type.
///
unsigned
getTypeID
(
const
Type
*
Ty
);
/// getValueName - Returns the mangled name of V, an LLVM Value,
/// in the current module.
///
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment