Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
ed0eb0c5
Commit
ed0eb0c5
authored
Jun 19, 2018
by
Martin Liska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve gimple.vim syntax file.
From-SVN: r261742
parent
58508d3f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
contrib/gimple.vim
+19
-0
No files found.
contrib/gimple.vim
View file @
ed0eb0c5
...
...
@@ -89,6 +89,14 @@ if s:unknown_tree_is_error
syn
match
gimpleUnknownTree
"\vUnknown tree: \w+"
end
" Ignore probability of edges and basic blocks
" <bb 2> [70.00%]:
syn
match
gimpleFrequency
" \[\d*\.\d*%\]"
" Ignore basic block with a count
" <bb 10> [local count: 118111601]:
syn
match
gimpleBBCount
"\v\[(local )?count: \d+\]"
" Numbers
syn
match
gimpleNumber
"\v([^.a-zA-Z0-9_])\zs-?\d+B?"
syn
match
gimpleFloat
"\v\W\zs-?\d*\.\d+(e\+\d+)?"
...
...
@@ -109,6 +117,13 @@ syn match gimpleGotoLabel "\v<bb \d+\>[^:]"
" Line numbers, generated with -fdump-tree-*-lineno
syn
match
gimpleLineNo
"\v\[[^\]]+:\d+:\d+\]"
" DEBUG statements
syn
match
gimpleDebug
"\v# DEBUG.*"
" GIMPLE predict statement
syn
match
gimplePrediction
"\v\/\/ predicted.*"
" Misc C/C++-like keywords
syn
keyword gimpleStructure struct union enum typedef class
syn
keyword gimpleStorageClass static
register
auto volatile extern const
...
...
@@ -134,6 +149,10 @@ hi def link gimpleAnnotationOp Debug
hi
def link gimpleAnnotationMark Debug
hi
def link gimpleString String
hi
def link gimpleUnknownTree Error
hi
def link gimpleDebug Debug
hi
def link gimplePrediction Debug
hi
def link gimpleFrequency Debug
hi
def link gimpleBBCount Debug
let
b:current_syntax
=
"gimple"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment