Home
last modified time | relevance | path

Searched refs:DISubroutineType (Results 1 – 25 of 26) sorted by relevance

12

/openbsd/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.h402 const DISubroutineType *SubroutineTy);
429 codeview::TypeIndex lowerTypeFunction(const DISubroutineType *Ty);
432 const DISubroutineType *Ty, const DIType *ClassTy, int ThisAdjustment,
H A DDwarfUnit.h321 void constructTypeDIE(DIE &Buffer, const DISubroutineType *CTy);
H A DCodeViewDebug.cpp420 getFunctionOptions(const DISubroutineType *Ty, in getFunctionOptions()
1657 return lowerTypeMemberFunction(cast<DISubroutineType>(Ty), ClassTy, in lowerType()
1661 return lowerTypeFunction(cast<DISubroutineType>(Ty)); in lowerType()
1946 bool IsPMF = isa<DISubroutineType>(Ty->getBaseType()); in lowerTypeMemberPointer()
2034 TypeIndex CodeViewDebug::lowerTypeFunction(const DISubroutineType *Ty) { in lowerTypeFunction()
2063 TypeIndex CodeViewDebug::lowerTypeMemberFunction(const DISubroutineType *Ty, in lowerTypeMemberFunction()
2668 const DISubroutineType *SubroutineTy) { in getTypeIndexForThisPtr()
H A DDwarfUnit.cpp586 else if (auto *STy = dyn_cast<DISubroutineType>(Ty)) in createTypeDIE()
822 void DwarfUnit::constructTypeDIE(DIE &Buffer, const DISubroutineType *CTy) { in constructTypeDIE()
824 auto Elements = cast<DISubroutineType>(CTy)->getTypeArray(); in constructTypeDIE()
1271 if (const DISubroutineType *SPTy = SP->getType()) { in applySubprogramAttributes()
/openbsd/gnu/llvm/llvm/lib/Target/BPF/
H A DBTFDebug.h144 const DISubroutineType *STy;
149 BTFTypeFuncProto(const DISubroutineType *STy, uint32_t NumParams,
326 const DISubroutineType *STy, bool ForSubprog,
H A DBPFPreserveDIType.cpp98 if (isa<DISubroutineType>(Ty)) in BPFPreserveDITypeImpl()
H A DBTFDebug.cpp330 const DISubroutineType *STy, uint32_t VLen, in BTFTypeFuncProto()
557 const DISubroutineType *STy, bool ForSubprog, in visitSubroutineType()
922 else if (const auto *STy = dyn_cast<DISubroutineType>(Ty)) in visitTypeEntry()
/openbsd/gnu/llvm/llvm/include/llvm/IR/
H A DDIBuilder.h603 DISubroutineType *
762 DIFile *File, unsigned LineNo, DISubroutineType *Ty,
775 unsigned LineNo, DISubroutineType *Ty, unsigned ScopeLine,
802 DIFile *File, unsigned LineNo, DISubroutineType *Ty,
H A DMetadata.def94 HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DISubroutineType)
H A DDebugInfoMetadata.h1306 class DISubroutineType : public DIType {
1314 DISubroutineType(LLVMContext &C, StorageType Storage, DIFlags Flags,
1316 ~DISubroutineType() = default;
1318 static DISubroutineType *getImpl(LLVMContext &Context, DIFlags Flags,
1324 static DISubroutineType *getImpl(LLVMContext &Context, DIFlags Flags,
1334 DEFINE_MDNODE_GET(DISubroutineType,
1337 DEFINE_MDNODE_GET(DISubroutineType,
1942 unsigned Line, DISubroutineType *Type, unsigned ScopeLine,
2047 DISubroutineType *getType() const { in getType()
2048 return cast_or_null<DISubroutineType>(getRawType()); in getType()
[all …]
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGDebugInfo.h232 llvm::DISubroutineType *getOrCreateMethodType(const CXXMethodDecl *Method,
234 llvm::DISubroutineType *
237 llvm::DISubroutineType *
686 getObjCMethodDeclaration(const Decl *D, llvm::DISubroutineType *FnType,
H A DCGDebugInfo.cpp1684 llvm::DISubroutineType *
1689 return cast_or_null<llvm::DISubroutineType>( in getOrCreateMethodType()
1694 llvm::DISubroutineType *CGDebugInfo::getOrCreateInstanceMethodType( in getOrCreateInstanceMethodType()
1710 const auto *OriginalFunc = cast<llvm::DISubroutineType>( in getOrCreateInstanceMethodType()
1772 llvm::DISubroutineType *MethodTy = getOrCreateMethodType(Method, Unit); in CreateCXXMemberFunction()
3942 const Decl *D, llvm::DISubroutineType *FnType, unsigned LineNo, in getObjCMethodDeclaration()
3979 llvm::DISubroutineType *CGDebugInfo::getOrCreateFunctionType(const Decl *D, in getOrCreateFunctionType()
4050 return cast<llvm::DISubroutineType>(getOrCreateType(FnType, F)); in getOrCreateFunctionType()
4143 llvm::DISubroutineType *DIFnType = getOrCreateFunctionType(D, FnType, Unit); in emitFunctionStart()
4221 llvm::DISubroutineType *STy = getOrCreateFunctionType(D, FnType, Unit); in EmitFunctionDecl()
/openbsd/gnu/llvm/llvm/lib/IR/
H A DDIBuilder.cpp548 DISubroutineType *DIBuilder::createSubroutineType(DITypeRefArray ParameterTypes, in createSubroutineType()
551 return DISubroutineType::get(VMContext, Flags, CC, ParameterTypes); in createSubroutineType()
850 unsigned LineNo, DISubroutineType *Ty, unsigned ScopeLine, in createFunction()
871 unsigned LineNo, DISubroutineType *Ty, unsigned ScopeLine, in createTempFunctionFwdDecl()
886 unsigned LineNo, DISubroutineType *Ty, unsigned VIndex, int ThisAdjustment, in createMethod()
H A DDebugInfoMetadata.cpp787 DISubroutineType::DISubroutineType(LLVMContext &C, StorageType Storage, in DISubroutineType() function in DISubroutineType
794 DISubroutineType *DISubroutineType::getImpl(LLVMContext &Context, DIFlags Flags, in getImpl()
798 DEFINE_GETIMPL_LOOKUP(DISubroutineType, (Flags, CC, TypeArray)); in getImpl()
800 DEFINE_GETIMPL_STORE(DISubroutineType, (Flags, CC), Ops); in getImpl()
H A DDebugInfo.cpp227 if (auto *ST = dyn_cast<DISubroutineType>(DT)) { in processType()
545 : EmptySubroutineType(DISubroutineType::get(C, DINode::FlagZero, 0, in DebugTypeInfoRemoval()
569 auto *Type = cast_or_null<DISubroutineType>(map(MDS->getType())); in getReplacementSubprogram()
667 if (isa<DISubroutineType>(N)) in remap()
1027 unwrapDI<DIFile>(File), LineNo, unwrapDI<DISubroutineType>(Ty), ScopeLine, in LLVMDIBuilderCreateFunction()
H A DLLVMContextImpl.h697 template <> struct MDNodeKeyImpl<DISubroutineType> {
704 MDNodeKeyImpl(const DISubroutineType *N)
707 bool isKeyOf(const DISubroutineType *RHS) const {
H A DVerifier.cpp1237 void Verifier::visitDISubroutineType(const DISubroutineType &N) { in visitDISubroutineType()
1339 CheckDI(isa<DISubroutineType>(T), "invalid subroutine type", &N, T); in visitDISubprogram()
1506 CheckDI(!isa<DISubroutineType>(Ty), "invalid type", &N, N.getType()); in visitDILocalVariable()
H A DAsmWriter.cpp2078 static void writeDISubroutineType(raw_ostream &Out, const DISubroutineType *N, in writeDISubroutineType()
/openbsd/gnu/llvm/llvm/examples/Kaleidoscope/Chapter9/
H A Dtoy.cpp855 static DISubroutineType *CreateFunctionType(unsigned NumArgs) { in CreateFunctionType()
/openbsd/gnu/llvm/llvm/docs/
H A DHowToUpdateDebugInfo.rst293 !7 = !DISubroutineType(types: !2)
H A DSourceLevelDebugging.rst356 !5 = !DISubroutineType(types: !6)
/openbsd/gnu/llvm/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp248 void writeDISubroutineType(const DISubroutineType *N,
1490 void DXILBitcodeWriter::writeDISubroutineType(const DISubroutineType *N, in writeDISubroutineType()
/openbsd/gnu/llvm/llvm/lib/Bitcode/Reader/
H A DMetadataLoader.cpp1594 GET_OR_DISTINCT(DISubroutineType, (Context, Flags, CC, Types)), in parseOneMetadata()
/openbsd/gnu/llvm/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp316 void writeDISubroutineType(const DISubroutineType *N,
1797 const DISubroutineType *N, SmallVectorImpl<uint64_t> &Record, in writeDISubroutineType()
/openbsd/gnu/llvm/llvm/lib/AsmParser/
H A DLLParser.cpp5047 Result = GET_OR_DISTINCT(DISubroutineType, in parseDISubroutineType()

12