Member predicate Instruction::getResultLanguageType
Gets the language-specific type of the result produced by this instruction.
Most consumers of the IR should use getResultIRType()
instead. getResultIRType()
uses a
less complex, language-neutral type system in which all semantically equivalent types share the
same IRType
instance. For example, in C++, four different Instruction
s might have three
different values for getResultLanguageType()
: unsigned int
, char32_t
, and wchar_t
,
whereas all four instructions would have the same value for getResultIRType()
, uint4
.