Lines Matching defs:VMContext

29     : M(m), VMContext(M.getContext()), CUNode(CU), DeclareFn(nullptr),
60 MDTuple::get(VMContext, SmallVector<Metadata *, 16>(PN->second.begin(),
73 VMContext, SmallVector<Metadata *, 16>(AllEnumTypes.begin(),
87 CUNode->replaceRetainedTypes(MDTuple::get(VMContext, RetainValues));
96 CUNode->replaceGlobalVariables(MDTuple::get(VMContext, AllGVs));
100 VMContext, SmallVector<Metadata *, 16>(ImportedModules.begin(),
106 CUNode->replaceMacros(MDTuple::get(VMContext, I.second.getArrayRef()));
111 auto *MF = DIMacroFile::get(VMContext, dwarf::DW_MACINFO_start_file,
149 VMContext, Lang, File, Producer, isOptimized, Flags, RunTimeVer,
182 return ::createImportedModule(VMContext, dwarf::DW_TAG_imported_module,
191 return ::createImportedModule(VMContext, dwarf::DW_TAG_imported_module,
199 return ::createImportedModule(VMContext, dwarf::DW_TAG_imported_module,
210 return ::createImportedModule(VMContext, dwarf::DW_TAG_imported_declaration,
218 return DIFile::get(VMContext, Filename, Directory, CS, Source);
228 auto *M = DIMacro::get(VMContext, MacroType, LineNumber, Name, Value);
235 auto *MF = DIMacroFile::getTemporary(VMContext, dwarf::DW_MACINFO_start_file,
249 return DIEnumerator::get(VMContext, APInt(64, Val, !IsUnsigned), IsUnsigned,
255 return DIEnumerator::get(VMContext, APInt(Value), Value.isUnsigned(), Name);
260 return DIBasicType::get(VMContext, dwarf::DW_TAG_unspecified_type, Name);
271 return DIBasicType::get(VMContext, dwarf::DW_TAG_base_type, Name, SizeInBits,
277 return DIStringType::get(VMContext, dwarf::DW_TAG_string_type, Name,
285 return DIStringType::get(VMContext, dwarf::DW_TAG_string_type, Name,
293 return DIStringType::get(VMContext, dwarf::DW_TAG_string_type, Name, nullptr,
298 return DIDerivedType::get(VMContext, Tag, "", nullptr, 0, nullptr, FromTy, 0,
306 return DIDerivedType::get(VMContext, dwarf::DW_TAG_LLVM_ptrauth_type, "",
321 return DIDerivedType::get(VMContext, dwarf::DW_TAG_pointer_type, Name,
332 return DIDerivedType::get(VMContext, dwarf::DW_TAG_ptr_to_member_type, "",
343 return DIDerivedType::get(VMContext, Tag, "", nullptr, 0, nullptr, RTy,
353 return DIDerivedType::get(VMContext, dwarf::DW_TAG_typedef, Name, File,
364 return DIDerivedType::get(VMContext, dwarf::DW_TAG_template_alias, Name, File,
373 return DIDerivedType::get(VMContext, dwarf::DW_TAG_friend, "", nullptr, 0, Ty,
384 ConstantInt::get(IntegerType::get(VMContext, 32), VBPtrOffset));
385 return DIDerivedType::get(VMContext, dwarf::DW_TAG_inheritance, "", nullptr,
394 return DIDerivedType::get(VMContext, dwarf::DW_TAG_member, Name, File,
411 VMContext, dwarf::DW_TAG_member, Name, File, LineNumber,
422 VMContext, dwarf::DW_TAG_member, Name, File, LineNumber,
425 ConstantAsMetadata::get(ConstantInt::get(IntegerType::get(VMContext, 64),
436 return DIDerivedType::get(VMContext, Tag, Name, File, LineNumber,
447 return DIDerivedType::get(VMContext, dwarf::DW_TAG_member, Name, File,
457 return DIObjCProperty::get(VMContext, Name, File, LineNumber, GetterName,
465 return DITemplateTypeParameter::get(VMContext, Name, Ty, isDefault);
469 createTemplateValueParameterHelper(LLVMContext &VMContext, unsigned Tag,
473 return DITemplateValueParameter::get(VMContext, Tag, Name, Ty, IsDefault, MD);
481 VMContext, dwarf::DW_TAG_template_value_parameter, Context, Name, Ty,
490 VMContext, dwarf::DW_TAG_GNU_template_template_param, Context, Name, Ty,
491 IsDefault, MDString::get(VMContext, Val));
498 VMContext, dwarf::DW_TAG_GNU_template_parameter_pack, Context, Name, Ty,
512 VMContext, dwarf::DW_TAG_structure_type, Name, File, LineNumber,
526 VMContext, dwarf::DW_TAG_structure_type, Name, File, LineNumber,
538 VMContext, dwarf::DW_TAG_union_type, Name, File, LineNumber,
552 VMContext, dwarf::DW_TAG_variant_part, Name, File, LineNumber,
562 return DISubroutineType::get(VMContext, Flags, CC, ParameterTypes);
572 VMContext, dwarf::DW_TAG_enumeration_type, Name, File, LineNumber,
585 auto *R = DIDerivedType::get(VMContext, dwarf::DW_TAG_set_type, Name, File,
601 VMContext, dwarf::DW_TAG_array_type, "", nullptr, 0, nullptr, Ty, Size,
619 auto *R = DICompositeType::get(VMContext, dwarf::DW_TAG_array_type, "",
670 VMContext, Tag, Name, F, Line, getNonCompileUnitScope(Scope), nullptr,
684 VMContext, Tag, Name, F, Line, getNonCompileUnitScope(Scope), nullptr,
694 return MDTuple::get(VMContext, Elements);
699 return MDTuple::get(VMContext, Elements);
710 return DITypeRefArray(MDNode::get(VMContext, Elts));
715 ConstantInt::getSigned(Type::getInt64Ty(VMContext), Lo));
717 ConstantInt::getSigned(Type::getInt64Ty(VMContext), Count));
718 return DISubrange::get(VMContext, CountNode, LB, nullptr, nullptr);
723 ConstantInt::getSigned(Type::getInt64Ty(VMContext), Lo));
724 return DISubrange::get(VMContext, CountNode, LB, nullptr, nullptr);
729 return DISubrange::get(VMContext, CountNode, LB, UB, Stride);
739 return DIGenericSubrange::get(VMContext, ConvToMetadata(CountNode),
761 VMContext, cast_or_null<DIScope>(Context), Name, LinkageName, F,
767 auto *N = DIGlobalVariableExpression::get(VMContext, GV, Expr);
779 VMContext, cast_or_null<DIScope>(Context), Name, LinkageName, F,
787 LLVMContext &VMContext,
795 auto *Node = DILocalVariable::get(VMContext, Scope, Name, File, LineNo, Ty,
814 VMContext, getSubprogramNodesTrackingVector(Scope), Scope, Name,
826 VMContext, getSubprogramNodesTrackingVector(Scope), Scope, Name, ArgNo,
833 auto *Node = DILabel::get(VMContext, Scope, Name, File, LineNo);
845 return DIExpression::get(VMContext, Addr);
864 /*IsDistinct=*/IsDefinition, VMContext, getNonCompileUnitScope(Context),
882 return DISubprogram::getTemporary(VMContext, getNonCompileUnitScope(Context),
902 /*IsDistinct=*/IsDefinition, VMContext, cast<DIScope>(Context), Name,
917 return DICommonBlock::get(VMContext, Scope, Decl, Name, File, LineNo);
928 return DINamespace::get(VMContext, getNonCompileUnitScope(Scope), Name,
936 return DIModule::get(VMContext, File, getNonCompileUnitScope(Scope), Name,
944 return DILexicalBlockFile::get(VMContext, Scope, File, Discriminator);
951 return DILexicalBlock::getDistinct(VMContext, getNonCompileUnitScope(Scope),
1057 static Value *getDbgIntrinsicValueImpl(LLVMContext &VMContext, Value *V) {
1059 return MetadataAsValue::get(VMContext, ValueAsMetadata::get(V));
1104 Value *Args[] = {getDbgIntrinsicValueImpl(VMContext, Storage),
1105 MetadataAsValue::get(VMContext, VarInfo),
1106 MetadataAsValue::get(VMContext, Expr)};
1149 Value *Args[] = {getDbgIntrinsicValueImpl(VMContext, V),
1150 MetadataAsValue::get(VMContext, VarInfo),
1151 MetadataAsValue::get(VMContext, Expr)};
1180 Value *Args[] = {MetadataAsValue::get(VMContext, LabelInfo)};