aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AsmParser/LLParser.h
diff options
context:
space:
mode:
authorVictor Hernandez <vhernandez@apple.com>2010-01-06 17:00:21 +0000
committerVictor Hernandez <vhernandez@apple.com>2010-01-06 17:00:21 +0000
commit3e2ec72cea6c154e07aa65c0fff965d1a58859c8 (patch)
treebda42e4580b6fa3f9a8a991551f32d6da225b75c /lib/AsmParser/LLParser.h
parentbfa08987939a656af8e1436fcc7a8eebb57cfcd1 (diff)
downloadexternal_llvm-3e2ec72cea6c154e07aa65c0fff965d1a58859c8.zip
external_llvm-3e2ec72cea6c154e07aa65c0fff965d1a58859c8.tar.gz
external_llvm-3e2ec72cea6c154e07aa65c0fff965d1a58859c8.tar.bz2
When parsing function-local metadata, create a function-local MDNode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92838 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLParser.h')
-rw-r--r--lib/AsmParser/LLParser.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/AsmParser/LLParser.h b/lib/AsmParser/LLParser.h
index 595267b..d532081 100644
--- a/lib/AsmParser/LLParser.h
+++ b/lib/AsmParser/LLParser.h
@@ -294,11 +294,13 @@ namespace llvm {
bool ParseValID(ValID &ID, PerFunctionState *PFS = NULL);
bool ConvertGlobalValIDToValue(const Type *Ty, ValID &ID, Constant *&V);
bool ConvertGlobalOrMetadataValIDToValue(const Type *Ty, ValID &ID,
- Value *&V, PerFunctionState *PFS);
+ Value *&V, PerFunctionState *PFS,
+ bool *isFunctionLocal);
bool ParseGlobalValue(const Type *Ty, Constant *&V);
bool ParseGlobalTypeAndValue(Constant *&V);
bool ParseGlobalValueVector(SmallVectorImpl<Constant*> &Elts);
- bool ParseMDNodeVector(SmallVectorImpl<Value*> &, PerFunctionState *PFS);
+ bool ParseMDNodeVector(SmallVectorImpl<Value*> &, PerFunctionState *PFS,
+ bool *isFunctionLocal);
// Function Parsing.
struct ArgInfo {