Lines Matching refs:Ty
257 MDDerivedType *DIBuilder::createTypedef(MDType *Ty, StringRef Name, in createTypedef() argument
263 MDTypeRef::get(Ty), 0, 0, 0, 0); in createTypedef()
266 MDDerivedType *DIBuilder::createFriend(MDType *Ty, MDType *FriendTy) { in createFriend() argument
267 assert(Ty && "Invalid type!"); in createFriend()
270 MDTypeRef::get(Ty), MDTypeRef::get(FriendTy), 0, 0, in createFriend()
274 MDDerivedType *DIBuilder::createInheritance(MDType *Ty, MDType *BaseTy, in createInheritance() argument
277 assert(Ty && "Unable to create inheritance"); in createInheritance()
279 0, MDTypeRef::get(Ty), MDTypeRef::get(BaseTy), 0, 0, in createInheritance()
288 unsigned Flags, MDType *Ty) { in createMemberType() argument
291 MDScopeRef::get(getNonCompileUnitScope(Scope)), MDTypeRef::get(Ty), in createMemberType()
304 MDType *Ty, unsigned Flags, in createStaticMemberType() argument
309 MDScopeRef::get(getNonCompileUnitScope(Scope)), MDTypeRef::get(Ty), 0, 0, in createStaticMemberType()
318 MDType *Ty, MDNode *PropertyNode) { in createObjCIVar() argument
321 MDScopeRef::get(getNonCompileUnitScope(File)), MDTypeRef::get(Ty), in createObjCIVar()
328 unsigned PropertyAttributes, MDType *Ty) { in createObjCProperty() argument
330 SetterName, PropertyAttributes, Ty); in createObjCProperty()
335 MDType *Ty) { in createTemplateTypeParameter() argument
337 return MDTemplateTypeParameter::get(VMContext, Name, MDTypeRef::get(Ty)); in createTemplateTypeParameter()
342 MDScope *Context, StringRef Name, MDType *Ty, in createTemplateValueParameterHelper() argument
345 return MDTemplateValueParameter::get(VMContext, Tag, Name, MDTypeRef::get(Ty), in createTemplateValueParameterHelper()
351 MDType *Ty, Constant *Val) { in createTemplateValueParameter() argument
353 VMContext, dwarf::DW_TAG_template_value_parameter, Context, Name, Ty, in createTemplateValueParameter()
359 MDType *Ty, StringRef Val) { in createTemplateTemplateParameter() argument
361 VMContext, dwarf::DW_TAG_GNU_template_template_param, Context, Name, Ty, in createTemplateTemplateParameter()
367 MDType *Ty, DIArray Val) { in createTemplateParameterPack() argument
369 VMContext, dwarf::DW_TAG_GNU_template_parameter_pack, Context, Name, Ty, in createTemplateParameterPack()
450 MDType *Ty, DIArray Subscripts) { in createArrayType() argument
452 nullptr, 0, nullptr, MDTypeRef::get(Ty), Size, in createArrayType()
459 uint64_t AlignInBits, MDType *Ty, in createVectorType() argument
463 nullptr, MDTypeRef::get(Ty), Size, AlignInBits, 0, in createVectorType()
469 static MDType *createTypeWithFlags(LLVMContext &Context, MDType *Ty, in createTypeWithFlags() argument
471 auto NewTy = Ty->clone(); in createTypeWithFlags()
476 MDType *DIBuilder::createArtificialType(MDType *Ty) { in createArtificialType() argument
478 if (Ty->isArtificial()) in createArtificialType()
479 return Ty; in createArtificialType()
480 return createTypeWithFlags(VMContext, Ty, DebugNode::FlagArtificial); in createArtificialType()
483 MDType *DIBuilder::createObjectPointerType(MDType *Ty) { in createObjectPointerType() argument
485 if (Ty->isObjectPointer()) in createObjectPointerType()
486 return Ty; in createObjectPointerType()
488 return createTypeWithFlags(VMContext, Ty, Flags); in createObjectPointerType()
561 unsigned LineNumber, MDType *Ty, bool isLocalToUnit, Constant *Val, in createGlobalVariable() argument
567 MDTypeRef::get(Ty), isLocalToUnit, true, Val, in createGlobalVariable()
575 unsigned LineNumber, MDType *Ty, bool isLocalToUnit, Constant *Val, in createTempGlobalVariableFwdDecl() argument
581 LineNumber, MDTypeRef::get(Ty), isLocalToUnit, false, Val, in createTempGlobalVariableFwdDecl()
588 MDType *Ty, bool AlwaysPreserve, unsigned Flags, unsigned ArgNo) { in createLocalVariable() argument
597 MDTypeRef::get(Ty), ArgNo, Flags); in createLocalVariable()
627 unsigned LineNo, MDSubroutineType* Ty, in createFunction() argument
636 LineNo, Ty, isLocalToUnit, isDefinition, ScopeLine, in createFunction()
642 unsigned LineNo, MDSubroutineType* Ty, in createFunction() argument
647 assert(Ty->getTag() == dwarf::DW_TAG_subroutine_type && in createFunction()
651 LinkageName, File, LineNo, Ty, in createFunction()
665 unsigned LineNo, MDSubroutineType* Ty, in createTempFunctionFwdDecl() argument
672 LinkageName, File, LineNo, Ty, in createTempFunctionFwdDecl()
680 MDFile *F, unsigned LineNo, MDSubroutineType *Ty, in createMethod() argument
684 assert(Ty->getTag() == dwarf::DW_TAG_subroutine_type && in createMethod()
692 LineNo, Ty, isLocalToUnit, isDefinition, LineNo, in createMethod()