Lines Matching defs:Ty
348 DIDerivedType *DIBuilder::createTypedef(DIType *Ty, StringRef Name,
354 LineNo, getNonCompileUnitScope(Context), Ty, 0,
360 DIBuilder::createTemplateAlias(DIType *Ty, StringRef Name, DIFile *File,
365 LineNo, getNonCompileUnitScope(Context), Ty, 0,
370 DIDerivedType *DIBuilder::createFriend(DIType *Ty, DIType *FriendTy) {
371 assert(Ty && "Invalid type!");
373 return DIDerivedType::get(VMContext, dwarf::DW_TAG_friend, "", nullptr, 0, Ty,
378 DIDerivedType *DIBuilder::createInheritance(DIType *Ty, DIType *BaseTy,
382 assert(Ty && "Unable to create inheritance");
386 0, Ty, BaseTy, 0, 0, BaseOffset, std::nullopt,
393 DINode::DIFlags Flags, DIType *Ty, DINodeArray Annotations) {
395 LineNumber, getNonCompileUnitScope(Scope), Ty,
409 Constant *Discriminant, DINode::DIFlags Flags, DIType *Ty) {
412 getNonCompileUnitScope(Scope), Ty, SizeInBits, AlignInBits, OffsetInBits,
419 DINode::DIFlags Flags, DIType *Ty, DINodeArray Annotations) {
423 getNonCompileUnitScope(Scope), Ty, SizeInBits, /*AlignInBits=*/0,
432 unsigned LineNumber, DIType *Ty,
437 getNonCompileUnitScope(Scope), Ty, 0, AlignInBits,
446 DIType *Ty, MDNode *PropertyNode) {
448 LineNumber, getNonCompileUnitScope(File), Ty,
456 unsigned PropertyAttributes, DIType *Ty) {
458 SetterName, PropertyAttributes, Ty);
463 DIType *Ty, bool isDefault) {
465 return DITemplateTypeParameter::get(VMContext, Name, Ty, isDefault);
470 DIScope *Context, StringRef Name, DIType *Ty,
473 return DITemplateValueParameter::get(VMContext, Tag, Name, Ty, IsDefault, MD);
478 DIType *Ty, bool isDefault,
481 VMContext, dwarf::DW_TAG_template_value_parameter, Context, Name, Ty,
487 DIType *Ty, StringRef Val,
490 VMContext, dwarf::DW_TAG_GNU_template_template_param, Context, Name, Ty,
496 DIType *Ty, DINodeArray Val) {
498 VMContext, dwarf::DW_TAG_GNU_template_parameter_pack, Context, Name, Ty,
584 uint32_t AlignInBits, DIType *Ty) {
586 LineNo, getNonCompileUnitScope(Scope), Ty,
594 DIBuilder::createArrayType(uint64_t Size, uint32_t AlignInBits, DIType *Ty,
601 VMContext, dwarf::DW_TAG_array_type, "", nullptr, 0, nullptr, Ty, Size,
617 uint32_t AlignInBits, DIType *Ty,
620 nullptr, 0, nullptr, Ty, Size, AlignInBits, 0,
631 static DIType *createTypeWithFlags(const DIType *Ty,
633 auto NewTy = Ty->cloneWithFlags(Ty->getFlags() | FlagsToSet);
637 DIType *DIBuilder::createArtificialType(DIType *Ty) {
639 if (Ty->isArtificial())
640 return Ty;
641 return createTypeWithFlags(Ty, DINode::FlagArtificial);
644 DIType *DIBuilder::createObjectPointerType(DIType *Ty) {
646 if (Ty->isObjectPointer())
647 return Ty;
649 return createTypeWithFlags(Ty, Flags);
755 unsigned LineNumber, DIType *Ty, bool IsLocalToUnit, bool isDefined,
762 LineNumber, Ty, IsLocalToUnit, isDefined,
774 unsigned LineNumber, DIType *Ty, bool IsLocalToUnit, MDNode *Decl,
780 LineNumber, Ty, IsLocalToUnit, false,
790 unsigned LineNo, DIType *Ty, bool AlwaysPreserve, DINode::DIFlags Flags,
795 auto *Node = DILocalVariable::get(VMContext, Scope, Name, File, LineNo, Ty,
808 DIType *Ty, bool AlwaysPreserve,
815 /* ArgNo */ 0, File, LineNo, Ty, AlwaysPreserve, Flags, AlignInBits);
820 unsigned LineNo, DIType *Ty, bool AlwaysPreserve, DINode::DIFlags Flags,
827 File, LineNo, Ty, AlwaysPreserve, Flags, /*AlignInBits=*/0, Annotations);
857 unsigned LineNo, DISubroutineType *Ty, unsigned ScopeLine,
865 Name, LinkageName, File, LineNo, Ty, ScopeLine, nullptr, 0, 0, Flags,
877 unsigned LineNo, DISubroutineType *Ty, unsigned ScopeLine,
883 Name, LinkageName, File, LineNo, Ty,
892 unsigned LineNo, DISubroutineType *Ty, unsigned VIndex, int ThisAdjustment,
903 LinkageName, F, LineNo, Ty, LineNo, VTableHolder, VIndex, ThisAdjustment,