diff options
author | Devang Patel <dpatel@apple.com> | 2008-09-02 22:43:57 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-09-02 22:43:57 +0000 |
commit | cb7f483d8c1e0ee48969e13aa3929dd172c97eff (patch) | |
tree | 4e26854adff4428a389bde18a062ac29537a8a6c /lib/AsmParser | |
parent | 108f92e376fd5f7c7c5c4e22dd10c1a5b279b1e3 (diff) | |
download | external_llvm-cb7f483d8c1e0ee48969e13aa3929dd172c97eff.zip external_llvm-cb7f483d8c1e0ee48969e13aa3929dd172c97eff.tar.gz external_llvm-cb7f483d8c1e0ee48969e13aa3929dd172c97eff.tar.bz2 |
s/FP_AlwaysInline/FN_NOTE_AlwaysInline/g
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55676 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser')
-rw-r--r-- | lib/AsmParser/llvmAsmParser.cpp.cvs | 12 | ||||
-rw-r--r-- | lib/AsmParser/llvmAsmParser.y | 12 | ||||
-rw-r--r-- | lib/AsmParser/llvmAsmParser.y.cvs | 12 |
3 files changed, 18 insertions, 18 deletions
diff --git a/lib/AsmParser/llvmAsmParser.cpp.cvs b/lib/AsmParser/llvmAsmParser.cpp.cvs index 45a5799..80d1059 100644 --- a/lib/AsmParser/llvmAsmParser.cpp.cvs +++ b/lib/AsmParser/llvmAsmParser.cpp.cvs @@ -4125,9 +4125,9 @@ yyreduce: #line 1298 "/Volumes/Nanpura/fn_prop/llvm/lib/AsmParser/llvmAsmParser.y" { FunctionNotes tmp = (yyvsp[(1) - (3)].FunctionNotes) | (yyvsp[(3) - (3)].FunctionNotes); - if ((yyvsp[(3) - (3)].FunctionNotes) == FP_NoInline && ((yyvsp[(1) - (3)].FunctionNotes) & FP_AlwaysInline)) + if ((yyvsp[(3) - (3)].FunctionNotes) == FN_NOTE_NoInline && ((yyvsp[(1) - (3)].FunctionNotes) & FN_NOTE_AlwaysInline)) GEN_ERROR("Function Notes may include only one inline notes!") - if ((yyvsp[(3) - (3)].FunctionNotes) == FP_AlwaysInline && ((yyvsp[(1) - (3)].FunctionNotes) & FP_NoInline)) + if ((yyvsp[(3) - (3)].FunctionNotes) == FN_NOTE_AlwaysInline && ((yyvsp[(1) - (3)].FunctionNotes) & FN_NOTE_NoInline)) GEN_ERROR("Function Notes may include only one inline notes!") (yyval.FunctionNotes) = tmp; CHECK_FOR_ERROR @@ -4136,22 +4136,22 @@ yyreduce: case 130: #line 1309 "/Volumes/Nanpura/fn_prop/llvm/lib/AsmParser/llvmAsmParser.y" - { (yyval.FunctionNotes) = FP_NoInline; ;} + { (yyval.FunctionNotes) = FN_NOTE_NoInline; ;} break; case 131: #line 1310 "/Volumes/Nanpura/fn_prop/llvm/lib/AsmParser/llvmAsmParser.y" - { (yyval.FunctionNotes) = FP_AlwaysInline; ;} + { (yyval.FunctionNotes) = FN_NOTE_AlwaysInline; ;} break; case 132: #line 1311 "/Volumes/Nanpura/fn_prop/llvm/lib/AsmParser/llvmAsmParser.y" - { (yyval.FunctionNotes) = FP_OptimizeForSize; ;} + { (yyval.FunctionNotes) = FN_NOTE_OptimizeForSize; ;} break; case 133: #line 1314 "/Volumes/Nanpura/fn_prop/llvm/lib/AsmParser/llvmAsmParser.y" - { (yyval.FunctionNotes) = FP_None; ;} + { (yyval.FunctionNotes) = FN_NOTE_None; ;} break; case 134: diff --git a/lib/AsmParser/llvmAsmParser.y b/lib/AsmParser/llvmAsmParser.y index d004a4e..5db7642 100644 --- a/lib/AsmParser/llvmAsmParser.y +++ b/lib/AsmParser/llvmAsmParser.y @@ -1297,21 +1297,21 @@ OptFuncAttrs : /* empty */ { $$ = ParamAttr::None; } FuncNoteList : FuncNote { $$ = $1; } | FuncNoteList ',' FuncNote { FunctionNotes tmp = $1 | $3; - if ($3 == FP_NoInline && ($1 & FP_AlwaysInline)) + if ($3 == FN_NOTE_NoInline && ($1 & FN_NOTE_AlwaysInline)) GEN_ERROR("Function Notes may include only one inline notes!") - if ($3 == FP_AlwaysInline && ($1 & FP_NoInline)) + if ($3 == FN_NOTE_AlwaysInline && ($1 & FN_NOTE_NoInline)) GEN_ERROR("Function Notes may include only one inline notes!") $$ = tmp; CHECK_FOR_ERROR } ; -FuncNote : INLINE '=' NEVER { $$ = FP_NoInline; } - | INLINE '=' ALWAYS { $$ = FP_AlwaysInline; } - | OPTIMIZEFORSIZE { $$ = FP_OptimizeForSize; } +FuncNote : INLINE '=' NEVER { $$ = FN_NOTE_NoInline; } + | INLINE '=' ALWAYS { $$ = FN_NOTE_AlwaysInline; } + | OPTIMIZEFORSIZE { $$ = FN_NOTE_OptimizeForSize; } ; -OptFuncNotes : /* empty */ { $$ = FP_None; } +OptFuncNotes : /* empty */ { $$ = FN_NOTE_None; } | FNNOTE '(' FuncNoteList ')' { $$ = $3; } diff --git a/lib/AsmParser/llvmAsmParser.y.cvs b/lib/AsmParser/llvmAsmParser.y.cvs index d004a4e..5db7642 100644 --- a/lib/AsmParser/llvmAsmParser.y.cvs +++ b/lib/AsmParser/llvmAsmParser.y.cvs @@ -1297,21 +1297,21 @@ OptFuncAttrs : /* empty */ { $$ = ParamAttr::None; } FuncNoteList : FuncNote { $$ = $1; } | FuncNoteList ',' FuncNote { FunctionNotes tmp = $1 | $3; - if ($3 == FP_NoInline && ($1 & FP_AlwaysInline)) + if ($3 == FN_NOTE_NoInline && ($1 & FN_NOTE_AlwaysInline)) GEN_ERROR("Function Notes may include only one inline notes!") - if ($3 == FP_AlwaysInline && ($1 & FP_NoInline)) + if ($3 == FN_NOTE_AlwaysInline && ($1 & FN_NOTE_NoInline)) GEN_ERROR("Function Notes may include only one inline notes!") $$ = tmp; CHECK_FOR_ERROR } ; -FuncNote : INLINE '=' NEVER { $$ = FP_NoInline; } - | INLINE '=' ALWAYS { $$ = FP_AlwaysInline; } - | OPTIMIZEFORSIZE { $$ = FP_OptimizeForSize; } +FuncNote : INLINE '=' NEVER { $$ = FN_NOTE_NoInline; } + | INLINE '=' ALWAYS { $$ = FN_NOTE_AlwaysInline; } + | OPTIMIZEFORSIZE { $$ = FN_NOTE_OptimizeForSize; } ; -OptFuncNotes : /* empty */ { $$ = FP_None; } +OptFuncNotes : /* empty */ { $$ = FN_NOTE_None; } | FNNOTE '(' FuncNoteList ')' { $$ = $3; } |