Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/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.cpp100 if (isa<DISubroutineType>(Ty)) in BPFPreserveDITypeImpl()
H A DBTFDebug.cpp332 const DISubroutineType *STy, uint32_t VLen, in BTFTypeFuncProto()
559 const DISubroutineType *STy, bool ForSubprog, in visitSubroutineType()
924 else if (const auto *STy = dyn_cast<DISubroutineType>(Ty)) in visitTypeEntry()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.h423 const DISubroutineType *SubroutineTy);
450 codeview::TypeIndex lowerTypeFunction(const DISubroutineType *Ty);
453 const DISubroutineType *Ty, const DIType *ClassTy, int ThisAdjustment,
H A DCodeViewDebug.cpp424 getFunctionOptions(const DISubroutineType *Ty, in getFunctionOptions()
440 // DISubroutineType is unnamed. Use DISubprogram's i.e. SPName in comparison. in getFunctionOptions()
1687 return lowerTypeMemberFunction(cast<DISubroutineType>(Ty), ClassTy, in lowerType()
1691 return lowerTypeFunction(cast<DISubroutineType>(Ty)); in lowerType()
1979 bool IsPMF = isa<DISubroutineType>(Ty->getBaseType());
2067 TypeIndex CodeViewDebug::lowerTypeFunction(const DISubroutineType *Ty) { in lowerTypeFunction()
2096 TypeIndex CodeViewDebug::lowerTypeMemberFunction(const DISubroutineType *Ty, in lowerTypeMemberFunction()
2701 const DISubroutineType *SubroutineTy) { in getTypeIndexForThisPtr()
H A DDwarfUnit.h335 void constructTypeDIE(DIE &Buffer, const DISubroutineType *CTy);
H A DDwarfUnit.cpp604 else if (auto *STy = dyn_cast<DISubroutineType>(Ty)) in createTypeDIE()
856 void DwarfUnit::constructTypeDIE(DIE &Buffer, const DISubroutineType *CTy) { in constructTypeDIE()
858 auto Elements = cast<DISubroutineType>(CTy)->getTypeArray(); in constructTypeDIE()
1305 if (const DISubroutineType *SPTy = SP->getType()) { in applySubprogramAttributes()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDIBuilder.h644 DISubroutineType *
803 DIFile *File, unsigned LineNo, DISubroutineType *Ty,
816 unsigned LineNo, DISubroutineType *Ty, unsigned ScopeLine,
843 DIFile *File, unsigned LineNo, DISubroutineType *Ty,
H A DMetadata.def95 HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DISubroutineType)
H A DDebugInfoMetadata.h1375 class DISubroutineType : public DIType {
1383 DISubroutineType(LLVMContext &C, StorageType Storage, DIFlags Flags,
1385 ~DISubroutineType() = default;
1387 static DISubroutineType *getImpl(LLVMContext &Context, DIFlags Flags,
1393 static DISubroutineType *getImpl(LLVMContext &Context, DIFlags Flags,
1403 DEFINE_MDNODE_GET(DISubroutineType,
1406 DEFINE_MDNODE_GET(DISubroutineType,
1725 DISubroutineType *Type, unsigned ScopeLine, DIType *ContainingType,
1764 unsigned Line, DISubroutineType *Type, unsigned ScopeLine,
1869 DISubroutineType *getType() const { in getType()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.h244 llvm::DISubroutineType *getOrCreateMethodType(const CXXMethodDecl *Method,
246 llvm::DISubroutineType *
249 llvm::DISubroutineType *
736 getObjCMethodDeclaration(const Decl *D, llvm::DISubroutineType *FnType,
H A DCGDebugInfo.cpp1744 llvm::DISubroutineType *DIFnTy = DBuilder.createSubroutineType(nullptr); in createInlinedTrapSubprogram()
1938 llvm::DISubroutineType *
1943 return cast_or_null<llvm::DISubroutineType>( in getOrCreateMethodType()
1948 llvm::DISubroutineType *CGDebugInfo::getOrCreateInstanceMethodType( in getOrCreateInstanceMethodType()
1964 const auto *OriginalFunc = cast<llvm::DISubroutineType>( in getOrCreateInstanceMethodType()
2026 llvm::DISubroutineType *MethodTy = getOrCreateMethodType(Method, Unit); in CreateCXXMemberFunction()
4241 const Decl *D, llvm::DISubroutineType *FnType, unsigned LineNo, in getObjCMethodDeclaration()
4278 llvm::DISubroutineType *CGDebugInfo::getOrCreateFunctionType(const Decl *D, in getOrCreateFunctionType()
4349 return cast<llvm::DISubroutineType>(getOrCreateType(FnType, F)); in getOrCreateFunctionType()
4442 llvm::DISubroutineType *DIFnType = getOrCreateFunctionType(D, FnType, Unit); in emitFunctionStart()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDIBuilder.cpp559 DISubroutineType *DIBuilder::createSubroutineType(DITypeRefArray ParameterTypes, in createSubroutineType()
562 return DISubroutineType::get(VMContext, Flags, CC, ParameterTypes); in createSubroutineType()
857 unsigned LineNo, DISubroutineType *Ty, unsigned ScopeLine, in createFunction()
877 unsigned LineNo, DISubroutineType *Ty, unsigned ScopeLine, in createTempFunctionFwdDecl()
892 unsigned LineNo, DISubroutineType *Ty, unsigned VIndex, int ThisAdjustment, in createMethod()
H A DDebugInfoMetadata.cpp866 DISubroutineType::DISubroutineType(LLVMContext &C, StorageType Storage, in DISubroutineType() function in DISubroutineType
873 DISubroutineType *DISubroutineType::getImpl(LLVMContext &Context, DIFlags Flags, in getImpl()
877 DEFINE_GETIMPL_LOOKUP(DISubroutineType, (Flags, CC, TypeArray)); in getImpl()
879 DEFINE_GETIMPL_STORE(DISubroutineType, (Flags, CC), Ops); in getImpl()
H A DDebugInfo.cpp268 if (auto *ST = dyn_cast<DISubroutineType>(DT)) { in processType()
643 : EmptySubroutineType(DISubroutineType::get(C, DINode::FlagZero, 0, in DebugTypeInfoRemoval()
667 auto *Type = cast_or_null<DISubroutineType>(map(MDS->getType())); in getReplacementSubprogram()
765 if (isa<DISubroutineType>(N)) in remap()
1126 unwrapDI<DIFile>(File), LineNo, unwrapDI<DISubroutineType>(Ty), ScopeLine, in LLVMDIBuilderCreateFunction()
H A DLLVMContextImpl.h712 template <> struct MDNodeKeyImpl<DISubroutineType> {
719 MDNodeKeyImpl(const DISubroutineType *N)
722 bool isKeyOf(const DISubroutineType *RHS) const {
H A DVerifier.cpp1353 void Verifier::visitDISubroutineType(const DISubroutineType &N) { in visitDISubroutineType()
1451 CheckDI(isa<DISubroutineType>(T), "invalid subroutine type", &N, T); in visitDISubprogram()
1622 CheckDI(!isa<DISubroutineType>(Ty), "invalid type", &N, N.getType()); in visitDILocalVariable()
H A DAsmWriter.cpp2223 static void writeDISubroutineType(raw_ostream &Out, const DISubroutineType *N, in writeDISubroutineType()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp248 void writeDISubroutineType(const DISubroutineType *N,
1484 void DXILBitcodeWriter::writeDISubroutineType(const DISubroutineType *N, in writeDISubroutineType()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DMetadataLoader.cpp1718 GET_OR_DISTINCT(DISubroutineType, (Context, Flags, CC, Types)), in parseOneMetadata()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp327 void writeDISubroutineType(const DISubroutineType *N,
1934 const DISubroutineType *N, SmallVectorImpl<uint64_t> &Record, in writeDISubroutineType()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp5471 Result = GET_OR_DISTINCT(DISubroutineType, in parseDISubroutineType()