github.com/llir/llvm@v0.3.6/ir/enum/funcattr_string.go (about) 1 // Code generated by "stringer -linecomment -type FuncAttr"; DO NOT EDIT. 2 3 package enum 4 5 import "strconv" 6 7 func _() { 8 // An "invalid array index" compiler error signifies that the constant values have changed. 9 // Re-run the stringer command to generate them again. 10 var x [1]struct{} 11 _ = x[FuncAttrAlwaysInline-0] 12 _ = x[FuncAttrArgMemOnly-1] 13 _ = x[FuncAttrBuiltin-2] 14 _ = x[FuncAttrCold-3] 15 _ = x[FuncAttrConvergent-4] 16 _ = x[FuncAttrDisableSanitizerInstrumentation-5] 17 _ = x[FuncAttrHot-6] 18 _ = x[FuncAttrInaccessibleMemOnly-7] 19 _ = x[FuncAttrInaccessibleMemOrArgMemOnly-8] 20 _ = x[FuncAttrInlineHint-9] 21 _ = x[FuncAttrJumpTable-10] 22 _ = x[FuncAttrMinSize-11] 23 _ = x[FuncAttrMustProgress-12] 24 _ = x[FuncAttrNaked-13] 25 _ = x[FuncAttrNoBuiltin-14] 26 _ = x[FuncAttrNoCFCheck-15] 27 _ = x[FuncAttrNoCallback-16] 28 _ = x[FuncAttrNoDuplicate-17] 29 _ = x[FuncAttrNoFree-18] 30 _ = x[FuncAttrNoImplicitFloat-19] 31 _ = x[FuncAttrNoInline-20] 32 _ = x[FuncAttrNoMerge-21] 33 _ = x[FuncAttrNoProfile-22] 34 _ = x[FuncAttrNoRecurse-23] 35 _ = x[FuncAttrNoRedZone-24] 36 _ = x[FuncAttrNoReturn-25] 37 _ = x[FuncAttrNoSanitizeCoverage-26] 38 _ = x[FuncAttrNoSync-27] 39 _ = x[FuncAttrNoUnwind-28] 40 _ = x[FuncAttrNonLazyBind-29] 41 _ = x[FuncAttrNullPointerIsValid-30] 42 _ = x[FuncAttrOptForFuzzing-31] 43 _ = x[FuncAttrOptNone-32] 44 _ = x[FuncAttrOptSize-33] 45 _ = x[FuncAttrReadNone-34] 46 _ = x[FuncAttrReadOnly-35] 47 _ = x[FuncAttrReturnsTwice-36] 48 _ = x[FuncAttrSSP-37] 49 _ = x[FuncAttrSSPReq-38] 50 _ = x[FuncAttrSSPStrong-39] 51 _ = x[FuncAttrSafeStack-40] 52 _ = x[FuncAttrSanitizeAddress-41] 53 _ = x[FuncAttrSanitizeHWAddress-42] 54 _ = x[FuncAttrSanitizeMemTag-43] 55 _ = x[FuncAttrSanitizeMemory-44] 56 _ = x[FuncAttrSanitizeThread-45] 57 _ = x[FuncAttrShadowCallStack-46] 58 _ = x[FuncAttrSpeculatable-47] 59 _ = x[FuncAttrSpeculativeLoadHardening-48] 60 _ = x[FuncAttrStrictFP-49] 61 _ = x[FuncAttrUwtable-50] 62 _ = x[FuncAttrWillReturn-51] 63 _ = x[FuncAttrWriteOnly-52] 64 } 65 66 const _FuncAttr_name = "alwaysinlineargmemonlybuiltincoldconvergentdisable_sanitizer_instrumentationhotinaccessiblememonlyinaccessiblemem_or_argmemonlyinlinehintjumptableminsizemustprogressnakednobuiltinnocf_checknocallbacknoduplicatenofreenoimplicitfloatnoinlinenomergenoprofilenorecursenoredzonenoreturnnosanitize_coveragenosyncnounwindnonlazybindnull_pointer_is_validoptforfuzzingoptnoneoptsizereadnonereadonlyreturns_twicesspsspreqsspstrongsafestacksanitize_addresssanitize_hwaddresssanitize_memtagsanitize_memorysanitize_threadshadowcallstackspeculatablespeculative_load_hardeningstrictfpuwtablewillreturnwriteonly" 67 68 var _FuncAttr_index = [...]uint16{0, 12, 22, 29, 33, 43, 76, 79, 98, 127, 137, 146, 153, 165, 170, 179, 189, 199, 210, 216, 231, 239, 246, 255, 264, 273, 281, 300, 306, 314, 325, 346, 359, 366, 373, 381, 389, 402, 405, 411, 420, 429, 445, 463, 478, 493, 508, 523, 535, 561, 569, 576, 586, 595} 69 70 func (i FuncAttr) String() string { 71 if i >= FuncAttr(len(_FuncAttr_index)-1) { 72 return "FuncAttr(" + strconv.FormatInt(int64(i), 10) + ")" 73 } 74 return _FuncAttr_name[_FuncAttr_index[i]:_FuncAttr_index[i+1]] 75 }