Lines Matching refs:JITSymbolFlags
23 enum class JITSymbolFlags : char { enum
29 inline JITSymbolFlags operator|(JITSymbolFlags LHS, JITSymbolFlags RHS) {
30 typedef std::underlying_type<JITSymbolFlags>::type UT;
31 return static_cast<JITSymbolFlags>(
35 inline JITSymbolFlags& operator |=(JITSymbolFlags &LHS, JITSymbolFlags RHS) {
40 inline JITSymbolFlags operator&(JITSymbolFlags LHS, JITSymbolFlags RHS) {
41 typedef std::underlying_type<JITSymbolFlags>::type UT;
42 return static_cast<JITSymbolFlags>(
46 inline JITSymbolFlags& operator &=(JITSymbolFlags &LHS, JITSymbolFlags RHS) {
54 JITSymbolBase(JITSymbolFlags Flags) : Flags(Flags) {} in JITSymbolBase()
56 JITSymbolFlags getFlags() const { return Flags; } in getFlags()
59 return (Flags & JITSymbolFlags::Weak) == JITSymbolFlags::Weak; in isWeak()
63 return (Flags & JITSymbolFlags::Exported) == JITSymbolFlags::Exported; in isExported()
66 static JITSymbolFlags flagsFromGlobalValue(const GlobalValue &GV) { in flagsFromGlobalValue()
67 JITSymbolFlags Flags = JITSymbolFlags::None; in flagsFromGlobalValue()
69 Flags |= JITSymbolFlags::Weak; in flagsFromGlobalValue()
71 Flags |= JITSymbolFlags::Exported; in flagsFromGlobalValue()
75 static JITSymbolFlags
77 JITSymbolFlags Flags = JITSymbolFlags::None; in flagsFromObjectSymbol()
79 Flags |= JITSymbolFlags::Weak; in flagsFromObjectSymbol()
81 Flags |= JITSymbolFlags::Exported; in flagsFromObjectSymbol()
86 JITSymbolFlags Flags;