Lines Matching refs:SpecialKind
68 enum class SpecialKind : uintptr_t { enum
91 SpecialKind KindOrFunctionPointer;
99 explicit CGCallee(SpecialKind kind) : KindOrFunctionPointer(kind) {} in CGCallee()
102 : KindOrFunctionPointer(SpecialKind::Builtin) { in CGCallee()
108 CGCallee() : KindOrFunctionPointer(SpecialKind::Invalid) {} in CGCallee()
113 : KindOrFunctionPointer(SpecialKind(uintptr_t(functionPtr))) { in CGCallee()
122 CGCallee result(SpecialKind::Builtin); in forBuiltin()
129 CGCallee result(SpecialKind::PseudoDestructor); in forPseudoDestructor()
146 CGCallee result(SpecialKind::Virtual); in forVirtual()
155 return KindOrFunctionPointer == SpecialKind::Builtin; in isBuiltin()
167 return KindOrFunctionPointer == SpecialKind::PseudoDestructor; in isPseudoDestructor()
175 return uintptr_t(KindOrFunctionPointer) > uintptr_t(SpecialKind::Last); in isOrdinary()
189 KindOrFunctionPointer = SpecialKind(uintptr_t(functionPtr)); in setFunctionPointer()
193 return KindOrFunctionPointer == SpecialKind::Virtual; in isVirtual()