Lines Matching defs:VMContext

28     : M(m), VMContext(M.getContext()), CUNode(CU), DeclareFn(nullptr),
59 MDTuple::get(VMContext, SmallVector<Metadata *, 16>(PN->second.begin(),
72 VMContext, SmallVector<Metadata *, 16>(AllEnumTypes.begin(),
86 CUNode->replaceRetainedTypes(MDTuple::get(VMContext, RetainValues));
95 CUNode->replaceGlobalVariables(MDTuple::get(VMContext, AllGVs));
99 VMContext, SmallVector<Metadata *, 16>(ImportedModules.begin(),
105 CUNode->replaceMacros(MDTuple::get(VMContext, I.second.getArrayRef()));
110 auto *MF = DIMacroFile::get(VMContext, dwarf::DW_MACINFO_start_file,
148 VMContext, Lang, File, Producer, isOptimized, Flags, RunTimeVer,
181 return ::createImportedModule(VMContext, dwarf::DW_TAG_imported_module,
190 return ::createImportedModule(VMContext, dwarf::DW_TAG_imported_module,
198 return ::createImportedModule(VMContext, dwarf::DW_TAG_imported_module,
209 return ::createImportedModule(VMContext, dwarf::DW_TAG_imported_declaration,
217 return DIFile::get(VMContext, Filename, Directory, CS, Source);
227 auto *M = DIMacro::get(VMContext, MacroType, LineNumber, Name, Value);
234 auto *MF = DIMacroFile::getTemporary(VMContext, dwarf::DW_MACINFO_start_file,
248 return DIEnumerator::get(VMContext, APInt(64, Val, !IsUnsigned), IsUnsigned,
254 return DIEnumerator::get(VMContext, APInt(Value), Value.isUnsigned(), Name);
259 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_class_type, Name, File, LineNumber,
527 VMContext, dwarf::DW_TAG_structure_type, Name, File, LineNumber,
541 VMContext, dwarf::DW_TAG_union_type, Name, File, LineNumber,
555 VMContext, dwarf::DW_TAG_variant_part, Name, File, LineNumber,
565 return DISubroutineType::get(VMContext, Flags, CC, ParameterTypes);
575 VMContext, dwarf::DW_TAG_enumeration_type, Name, File, LineNumber,
588 auto *R = DIDerivedType::get(VMContext, dwarf::DW_TAG_set_type, Name, File,
604 VMContext, dwarf::DW_TAG_array_type, "", nullptr, 0, nullptr, Ty, Size,
622 auto *R = DICompositeType::get(VMContext, dwarf::DW_TAG_array_type, "",
677 VMContext, Tag, Name, F, Line, getNonCompileUnitScope(Scope), nullptr,
691 VMContext, Tag, Name, F, Line, getNonCompileUnitScope(Scope), nullptr,
701 return MDTuple::get(VMContext, Elements);
706 return MDTuple::get(VMContext, Elements);
717 return DITypeRefArray(MDNode::get(VMContext, Elts));
722 ConstantInt::getSigned(Type::getInt64Ty(VMContext), Lo));
724 ConstantInt::getSigned(Type::getInt64Ty(VMContext), Count));
725 return DISubrange::get(VMContext, CountNode, LB, nullptr, nullptr);
730 ConstantInt::getSigned(Type::getInt64Ty(VMContext), Lo));
731 return DISubrange::get(VMContext, CountNode, LB, nullptr, nullptr);
736 return DISubrange::get(VMContext, CountNode, LB, UB, Stride);
746 return DIGenericSubrange::get(VMContext, ConvToMetadata(CountNode),
768 VMContext, cast_or_null<DIScope>(Context), Name, LinkageName, F,
774 auto *N = DIGlobalVariableExpression::get(VMContext, GV, Expr);
786 VMContext, cast_or_null<DIScope>(Context), Name, LinkageName, F,
794 LLVMContext &VMContext,
802 auto *Node = DILocalVariable::get(VMContext, Scope, Name, File, LineNo, Ty,
821 VMContext, getSubprogramNodesTrackingVector(Scope), Scope, Name,
833 VMContext, getSubprogramNodesTrackingVector(Scope), Scope, Name, ArgNo,
840 auto *Node = DILabel::get(VMContext, Scope, Name, File, LineNo);
852 return DIExpression::get(VMContext, Addr);
871 /*IsDistinct=*/IsDefinition, VMContext, getNonCompileUnitScope(Context),
889 return DISubprogram::getTemporary(VMContext, getNonCompileUnitScope(Context),
909 /*IsDistinct=*/IsDefinition, VMContext, cast<DIScope>(Context), Name,
924 return DICommonBlock::get(VMContext, Scope, Decl, Name, File, LineNo);
935 return DINamespace::get(VMContext, getNonCompileUnitScope(Scope), Name,
943 return DIModule::get(VMContext, File, getNonCompileUnitScope(Scope), Name,
951 return DILexicalBlockFile::get(VMContext, Scope, File, Discriminator);
958 return DILexicalBlock::getDistinct(VMContext, getNonCompileUnitScope(Scope),
1064 static Value *getDbgIntrinsicValueImpl(LLVMContext &VMContext, Value *V) {
1066 return MetadataAsValue::get(VMContext, ValueAsMetadata::get(V));
1111 Value *Args[] = {getDbgIntrinsicValueImpl(VMContext, Storage),
1112 MetadataAsValue::get(VMContext, VarInfo),
1113 MetadataAsValue::get(VMContext, Expr)};
1156 Value *Args[] = {getDbgIntrinsicValueImpl(VMContext, V),
1157 MetadataAsValue::get(VMContext, VarInfo),
1158 MetadataAsValue::get(VMContext, Expr)};
1187 Value *Args[] = {MetadataAsValue::get(VMContext, LabelInfo)};