Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hpvm-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Show more breadcrumbs
llvm
hpvm-release
Commits
14b56a99
Commit
14b56a99
authored
5 years ago
by
Akash Kothari
Browse files
Options
Downloads
Patches
Plain Diff
Added VISC attributes in LLTokens and updated for LLVM-9
parent
2e1263b3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hpvm/llvm_patches/lib/AsmParser/LLToken.h
+114
-10
114 additions, 10 deletions
hpvm/llvm_patches/lib/AsmParser/LLToken.h
with
114 additions
and
10 deletions
hpvm/llvm_patches/lib/AsmParser/LLToken.h
+
114
−
10
View file @
14b56a99
//===- LLToken.h - Token Codes for LLVM Assembly Files ----------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
...
...
@@ -36,7 +35,9 @@ enum Kind {
rparen
,
// ( )
exclaim
,
// !
bar
,
// |
colon
,
// :
kw_vscale
,
kw_x
,
kw_true
,
kw_false
,
...
...
@@ -45,6 +46,9 @@ enum Kind {
kw_global
,
kw_constant
,
kw_dso_local
,
kw_dso_preemptable
,
kw_private
,
kw_internal
,
kw_linkonce
,
...
...
@@ -93,11 +97,14 @@ enum Kind {
kw_release
,
kw_acq_rel
,
kw_seq_cst
,
kw_s
inglethread
,
kw_s
yncscope
,
kw_nnan
,
kw_ninf
,
kw_nsz
,
kw_arcp
,
kw_contract
,
kw_reassoc
,
kw_afn
,
kw_fast
,
kw_nuw
,
kw_nsw
,
...
...
@@ -107,6 +114,7 @@ enum Kind {
kw_align
,
kw_addrspace
,
kw_section
,
kw_partition
,
kw_alias
,
kw_ifunc
,
kw_module
,
...
...
@@ -132,6 +140,7 @@ enum Kind {
kw_arm_apcscc
,
kw_arm_aapcscc
,
kw_arm_aapcs_vfpcc
,
kw_aarch64_vector_pcs
,
kw_msp430_intrcc
,
kw_avr_intrcc
,
kw_avr_signalcc
,
...
...
@@ -140,7 +149,7 @@ enum Kind {
kw_spir_kernel
,
kw_spir_func
,
kw_x86_64_sysvcc
,
kw_
x86_64_
win64cc
,
kw_win64cc
,
kw_webkit_jscc
,
kw_anyregcc
,
kw_swiftcc
,
...
...
@@ -152,6 +161,9 @@ enum Kind {
kw_hhvm_ccc
,
kw_cxx_fast_tlscc
,
kw_amdgpu_vs
,
kw_amdgpu_ls
,
kw_amdgpu_hs
,
kw_amdgpu_es
,
kw_amdgpu_gs
,
kw_amdgpu_ps
,
kw_amdgpu_cs
,
...
...
@@ -163,6 +175,8 @@ enum Kind {
kw_alwaysinline
,
kw_argmemonly
,
kw_sanitize_address
,
kw_sanitize_hwaddress
,
kw_sanitize_memtag
,
kw_builtin
,
kw_byval
,
kw_inalloca
,
...
...
@@ -182,6 +196,7 @@ enum Kind {
kw_nobuiltin
,
kw_nocapture
,
kw_noduplicate
,
kw_nofree
,
kw_noimplicitfloat
,
kw_noinline
,
kw_norecurse
,
...
...
@@ -189,7 +204,10 @@ enum Kind {
kw_nonnull
,
kw_noredzone
,
kw_noreturn
,
kw_nosync
,
kw_nocf_check
,
kw_nounwind
,
kw_optforfuzzing
,
kw_optnone
,
kw_optsize
,
kw_readnone
,
...
...
@@ -197,22 +215,24 @@ enum Kind {
kw_returned
,
kw_returns_twice
,
kw_signext
,
kw_speculatable
,
kw_ssp
,
kw_sspreq
,
kw_sspstrong
,
kw_safestack
,
kw_shadowcallstack
,
kw_sret
,
kw_sanitize_thread
,
kw_sanitize_memory
,
kw_speculative_load_hardening
,
kw_strictfp
,
kw_swifterror
,
kw_swiftself
,
kw_uwtable
,
kw_willreturn
,
kw_writeonly
,
kw_zeroext
,
// VISC parameter attributes
kw_in
,
kw_out
,
kw_inout
,
kw_immarg
,
kw_type
,
kw_opaque
,
...
...
@@ -256,6 +276,7 @@ enum Kind {
kw_umin
,
// Instruction Opcodes (Opcode in UIntVal).
kw_fneg
,
kw_add
,
kw_fadd
,
kw_sub
,
...
...
@@ -313,6 +334,7 @@ enum Kind {
kw_catchret
,
kw_catchpad
,
kw_cleanuppad
,
kw_callbr
,
kw_alloca
,
kw_load
,
...
...
@@ -329,6 +351,11 @@ enum Kind {
kw_insertvalue
,
kw_blockaddress
,
// VISC parameter attributes
kw_in
,
kw_out
,
kw_inout
,
// Metadata types.
kw_distinct
,
...
...
@@ -336,10 +363,85 @@ enum Kind {
kw_uselistorder
,
kw_uselistorder_bb
,
// Summary index keywords
kw_path
,
kw_hash
,
kw_gv
,
kw_guid
,
kw_name
,
kw_summaries
,
kw_flags
,
kw_linkage
,
kw_notEligibleToImport
,
kw_live
,
kw_dsoLocal
,
kw_canAutoHide
,
kw_function
,
kw_insts
,
kw_funcFlags
,
kw_readNone
,
kw_readOnly
,
kw_noRecurse
,
kw_returnDoesNotAlias
,
kw_noInline
,
kw_calls
,
kw_callee
,
kw_hotness
,
kw_unknown
,
kw_hot
,
kw_critical
,
kw_relbf
,
kw_variable
,
kw_vTableFuncs
,
kw_virtFunc
,
kw_aliasee
,
kw_refs
,
kw_typeIdInfo
,
kw_typeTests
,
kw_typeTestAssumeVCalls
,
kw_typeCheckedLoadVCalls
,
kw_typeTestAssumeConstVCalls
,
kw_typeCheckedLoadConstVCalls
,
kw_vFuncId
,
kw_offset
,
kw_args
,
kw_typeid
,
kw_typeidCompatibleVTable
,
kw_summary
,
kw_typeTestRes
,
kw_kind
,
kw_unsat
,
kw_byteArray
,
kw_inline
,
kw_single
,
kw_allOnes
,
kw_sizeM1BitWidth
,
kw_alignLog2
,
kw_sizeM1
,
kw_bitMask
,
kw_inlineBits
,
kw_wpdResolutions
,
kw_wpdRes
,
kw_indir
,
kw_singleImpl
,
kw_branchFunnel
,
kw_singleImplName
,
kw_resByArg
,
kw_byArg
,
kw_uniformRetVal
,
kw_uniqueRetVal
,
kw_virtualConstProp
,
kw_info
,
kw_byte
,
kw_bit
,
kw_varFlags
,
// Unsigned Valued tokens (UIntVal).
LabelID
,
// 42:
GlobalID
,
// @42
LocalVarID
,
// %42
AttrGrpID
,
// #42
SummaryID
,
// ^42
// String valued tokens (StrVal).
LabelStr
,
// foo:
...
...
@@ -354,8 +456,10 @@ enum Kind {
DwarfLang
,
// DW_LANG_foo
DwarfCC
,
// DW_CC_foo
EmissionKind
,
// lineTablesOnly
NameTableKind
,
// GNU
DwarfOp
,
// DW_OP_foo
DIFlag
,
// DIFlagFoo
DISPFlag
,
// DISPFlagFoo
DwarfMacinfo
,
// DW_MACINFO_foo
ChecksumKind
,
// CSK_foo
...
...
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