Lines Matching refs:lm
28 static inline T CreateTemp(const U &lm) { in CreateTemp() argument
31 return static_cast<const T &>(lm); in CreateTemp()
35 bool ModuleIR::AddLinkableMessage(const LinkableMessageIR &lm) { in AddLinkableMessage() argument
36 switch (lm.GetKind()) { in AddLinkableMessage()
38 AddRecordType(CreateTemp<RecordTypeIR>(lm)); in AddLinkableMessage()
41 AddEnumType(CreateTemp<EnumTypeIR>(lm)); in AddLinkableMessage()
44 AddPointerType(CreateTemp<PointerTypeIR>(lm)); in AddLinkableMessage()
47 AddQualifiedType(CreateTemp<QualifiedTypeIR>(lm)); in AddLinkableMessage()
50 AddArrayType(CreateTemp<ArrayTypeIR>(lm)); in AddLinkableMessage()
53 AddLvalueReferenceType(CreateTemp<LvalueReferenceTypeIR>(lm)); in AddLinkableMessage()
56 AddRvalueReferenceType(CreateTemp<RvalueReferenceTypeIR>(lm)); in AddLinkableMessage()
59 AddBuiltinType(CreateTemp<BuiltinTypeIR>(lm)); in AddLinkableMessage()
62 AddFunctionType(CreateTemp<FunctionTypeIR>(lm)); in AddLinkableMessage()
65 AddGlobalVariable(CreateTemp<GlobalVarIR>(lm)); in AddLinkableMessage()
68 AddFunction(CreateTemp<FunctionIR>(lm)); in AddLinkableMessage()