Lines Matching refs:VMContext
28 : M(m), VMContext(M.getContext()), CUNode(nullptr), in DIBuilder()
49 CUNode->replaceEnumTypes(MDTuple::get(VMContext, AllEnumTypes)); in finalize()
62 CUNode->replaceRetainedTypes(MDTuple::get(VMContext, RetainValues)); in finalize()
64 DISubprogramArray SPs = MDTuple::get(VMContext, AllSubprograms); in finalize()
86 CUNode->replaceGlobalVariables(MDTuple::get(VMContext, AllGVs)); in finalize()
90 VMContext, SmallVector<Metadata *, 16>(AllImportedModules.begin(), in finalize()
124 VMContext, Lang, DIFile::get(VMContext, Filename, Directory), Producer, in createCompileUnit()
151 return ::createImportedModule(VMContext, dwarf::DW_TAG_imported_module, in createImportedModule()
158 return ::createImportedModule(VMContext, dwarf::DW_TAG_imported_module, in createImportedModule()
164 return ::createImportedModule(VMContext, dwarf::DW_TAG_imported_module, in createImportedModule()
174 return ::createImportedModule(VMContext, dwarf::DW_TAG_imported_declaration, in createImportedDeclaration()
179 return DIFile::get(VMContext, Filename, Directory); in createFile()
184 return DIEnumerator::get(VMContext, Val, Name); in createEnumerator()
189 return DIBasicType::get(VMContext, dwarf::DW_TAG_unspecified_type, Name); in createUnspecifiedType()
200 return DIBasicType::get(VMContext, dwarf::DW_TAG_base_type, Name, SizeInBits, in createBasicType()
205 return DIDerivedType::get(VMContext, Tag, "", nullptr, 0, nullptr, FromTy, 0, in createQualifiedType()
214 return DIDerivedType::get(VMContext, dwarf::DW_TAG_pointer_type, Name, in createPointerType()
224 return DIDerivedType::get(VMContext, dwarf::DW_TAG_ptr_to_member_type, "", in createMemberPointerType()
233 return DIDerivedType::get(VMContext, Tag, "", nullptr, 0, nullptr, RTy, in createReferenceType()
240 return DIDerivedType::get(VMContext, dwarf::DW_TAG_typedef, Name, File, in createTypedef()
248 return DIDerivedType::get(VMContext, dwarf::DW_TAG_friend, "", nullptr, 0, Ty, in createFriend()
256 return DIDerivedType::get(VMContext, dwarf::DW_TAG_inheritance, "", nullptr, in createInheritance()
266 return DIDerivedType::get(VMContext, dwarf::DW_TAG_member, Name, File, in createMemberType()
283 VMContext, dwarf::DW_TAG_member, Name, File, LineNumber, in createBitFieldMemberType()
286 IntegerType::get(VMContext, 64), StorageOffsetInBits))); in createBitFieldMemberType()
295 return DIDerivedType::get(VMContext, dwarf::DW_TAG_member, Name, File, in createStaticMemberType()
306 return DIDerivedType::get(VMContext, dwarf::DW_TAG_member, Name, File, in createObjCIVar()
316 return DIObjCProperty::get(VMContext, Name, File, LineNumber, GetterName, in createObjCProperty()
324 return DITemplateTypeParameter::get(VMContext, Name, Ty); in createTemplateTypeParameter()
328 createTemplateValueParameterHelper(LLVMContext &VMContext, unsigned Tag, in createTemplateValueParameterHelper() argument
332 return DITemplateValueParameter::get(VMContext, Tag, Name, Ty, MD); in createTemplateValueParameterHelper()
339 VMContext, dwarf::DW_TAG_template_value_parameter, Context, Name, Ty, in createTemplateValueParameter()
347 VMContext, dwarf::DW_TAG_GNU_template_template_param, Context, Name, Ty, in createTemplateTemplateParameter()
348 MDString::get(VMContext, Val)); in createTemplateTemplateParameter()
355 VMContext, dwarf::DW_TAG_GNU_template_parameter_pack, Context, Name, Ty, in createTemplateParameterPack()
368 VMContext, dwarf::DW_TAG_structure_type, Name, File, LineNumber, in createClassType()
382 VMContext, dwarf::DW_TAG_structure_type, Name, File, LineNumber, in createStructType()
394 VMContext, dwarf::DW_TAG_union_type, Name, File, LineNumber, in createUnionType()
403 return DISubroutineType::get(VMContext, Flags, CC, ParameterTypes); in createSubroutineType()
409 return DICompositeType::get(VMContext, Tag, "", nullptr, 0, nullptr, nullptr, in createExternalTypeRef()
419 VMContext, dwarf::DW_TAG_enumeration_type, Name, File, LineNumber, in createEnumerationType()
430 auto *R = DICompositeType::get(VMContext, dwarf::DW_TAG_array_type, "", in createArrayType()
440 auto *R = DICompositeType::get(VMContext, dwarf::DW_TAG_array_type, "", in createVectorType()
458 return createTypeWithFlags(VMContext, Ty, DINode::FlagArtificial); in createArtificialType()
466 return createTypeWithFlags(VMContext, Ty, Flags); in createObjectPointerType()
487 VMContext, Tag, Name, F, Line, getNonCompileUnitScope(Scope), nullptr, in createForwardDecl()
500 VMContext, Tag, Name, F, Line, getNonCompileUnitScope(Scope), nullptr, in createReplaceableCompositeType()
509 return MDTuple::get(VMContext, Elements); in getOrCreateArray()
520 return DITypeRefArray(MDNode::get(VMContext, Elts)); in getOrCreateTypeArray()
524 return DISubrange::get(VMContext, Count, Lo); in getOrCreateSubrange()
543 VMContext, cast_or_null<DIScope>(Context), Name, LinkageName, F, in createGlobalVariable()
557 VMContext, cast_or_null<DIScope>(Context), Name, LinkageName, F, in createTempGlobalVariableFwdDecl()
564 LLVMContext &VMContext, in createLocalVariable() argument
575 DILocalVariable::get(VMContext, cast_or_null<DILocalScope>(Context), Name, in createLocalVariable()
592 return createLocalVariable(VMContext, PreservedVariables, Scope, Name, in createAutoVariable()
601 return createLocalVariable(VMContext, PreservedVariables, Scope, Name, ArgNo, in createParameterVariable()
606 return DIExpression::get(VMContext, Addr); in createExpression()
618 return DIExpression::get(VMContext, Addr); in createBitPieceExpression()
634 /* IsDistinct = */ isDefinition, VMContext, in createFunction()
638 MDTuple::getTemporary(VMContext, None).release()); in createFunction()
652 VMContext, getNonCompileUnitScope(Context), Name, LinkageName, in createTempFunctionFwdDecl()
671 /* IsDistinct = */ isDefinition, VMContext, cast<DIScope>(Context), Name, in createMethod()
684 return DINamespace::get(VMContext, getNonCompileUnitScope(Scope), File, Name, in createNameSpace()
692 return DIModule::get(VMContext, getNonCompileUnitScope(Scope), Name, in createModule()
699 return DILexicalBlockFile::get(VMContext, Scope, File, Discriminator); in createLexicalBlockFile()
706 return DILexicalBlock::getDistinct(VMContext, getNonCompileUnitScope(Scope), in createLexicalBlock()
710 static Value *getDbgIntrinsicValueImpl(LLVMContext &VMContext, Value *V) { in getDbgIntrinsicValueImpl() argument
712 return MetadataAsValue::get(VMContext, ValueAsMetadata::get(V)); in getDbgIntrinsicValueImpl()
733 Value *Args[] = {getDbgIntrinsicValueImpl(VMContext, Storage), in insertDeclare()
734 MetadataAsValue::get(VMContext, VarInfo), in insertDeclare()
735 MetadataAsValue::get(VMContext, Expr)}; in insertDeclare()
752 Value *Args[] = {getDbgIntrinsicValueImpl(VMContext, Storage), in insertDeclare()
753 MetadataAsValue::get(VMContext, VarInfo), in insertDeclare()
754 MetadataAsValue::get(VMContext, Expr)}; in insertDeclare()
779 Value *Args[] = {getDbgIntrinsicValueImpl(VMContext, V), in insertDbgValueIntrinsic()
780 ConstantInt::get(Type::getInt64Ty(VMContext), Offset), in insertDbgValueIntrinsic()
781 MetadataAsValue::get(VMContext, VarInfo), in insertDbgValueIntrinsic()
782 MetadataAsValue::get(VMContext, Expr)}; in insertDbgValueIntrinsic()
802 Value *Args[] = {getDbgIntrinsicValueImpl(VMContext, V), in insertDbgValueIntrinsic()
803 ConstantInt::get(Type::getInt64Ty(VMContext), Offset), in insertDbgValueIntrinsic()
804 MetadataAsValue::get(VMContext, VarInfo), in insertDbgValueIntrinsic()
805 MetadataAsValue::get(VMContext, Expr)}; in insertDbgValueIntrinsic()