Searched refs:MDCompileUnit (Results 1 - 22 of 22) sorted by relevance

/external/llvm/include/llvm/IR/
H A DDebugInfo.h226 MDCompileUnit *N;
229 DICompileUnit(const MDCompileUnit *N = nullptr)
230 : N(const_cast<MDCompileUnit *>(N)) {}
234 operator MDCompileUnit *() const { return N; }
235 MDCompileUnit *operator->() const { return N; }
236 MDCompileUnit &operator*() const { return *N; }
H A DDebugInfoMetadata.h972 class MDCompileUnit : public MDScope { class in namespace:llvm
981 MDCompileUnit(LLVMContext &C, StorageType Storage, unsigned SourceLanguage, function in class:llvm::MDCompileUnit
987 ~MDCompileUnit() = default;
989 static MDCompileUnit *
1005 static MDCompileUnit *
1023 DEFINE_MDNODE_GET(MDCompileUnit,
1035 DEFINE_MDNODE_GET(MDCompileUnit,
1087 /// MDCompileUnit should be fairly rare.
H A DDIBuilder.h107 MDCompileUnit *createCompileUnit(unsigned Lang, StringRef File,
/external/llvm/lib/IR/
H A DDebugInfoMetadata.cpp141 assert((isa<MDFile>(this) || isa<MDCompileUnit>(this)) &&
154 isa<MDCompileUnit>(this)) &&
309 MDCompileUnit *MDCompileUnit::getImpl(
320 MDCompileUnit,
328 MDCompileUnit,
H A DDebugInfo.cpp78 auto *CU = cast<MDCompileUnit>(CU_Nodes->getOperand(CUi));
126 DICompileUnit CU = cast<MDCompileUnit>(CU_Nodes->getOperand(i));
190 if (DICompileUnit CU = dyn_cast<MDCompileUnit>(Scope)) {
381 DICompileUnit CUNode = cast<MDCompileUnit>(N);
H A DDIBuilder.cpp120 if (!N || isa<MDCompileUnit>(N))
125 MDCompileUnit *DIBuilder::createCompileUnit(
136 // TODO: Once we make MDCompileUnit distinct, stop using temporaries here
146 MDCompileUnit *CUNode = MDCompileUnit::get(
336 assert((!Context || isa<MDCompileUnit>(Context)) && "Expected compile unit");
344 assert((!Context || isa<MDCompileUnit>(Context)) && "Expected compile unit");
H A DLLVMContextImpl.h461 template <> struct MDNodeKeyImpl<MDCompileUnit> {
488 MDNodeKeyImpl(const MDCompileUnit *N)
499 bool isKeyOf(const MDCompileUnit *RHS) const {
H A DVerifier.cpp608 Assert(MD && isa<MDCompileUnit>(MD), "invalid compile unit", &NMD, MD);
887 void Verifier::visitMDCompileUnit(const MDCompileUnit &N) {
3497 if (auto Ts = cast<MDCompileUnit>(CU)->getRetainedTypes())
H A DAsmWriter.cpp1599 static void writeMDCompileUnit(raw_ostream &Out, const MDCompileUnit *N,
1602 Out << "!MDCompileUnit(";
/external/llvm/lib/Analysis/
H A DModuleDebugInfoPrinter.cpp75 for (MDCompileUnit *CU : Finder.compile_units()) {
/external/llvm/unittests/Transforms/Utils/
H A DCloning.cpp323 DICompileUnit CU1 = cast<MDCompileUnit>(*Iter);
325 DICompileUnit CU2 = cast<MDCompileUnit>(*Iter);
/external/llvm/unittests/IR/
H A DMetadataTest.cpp1295 auto *N = MDCompileUnit::get(
1314 EXPECT_EQ(N, MDCompileUnit::get(Context, SourceLanguage, File, Producer,
1320 EXPECT_NE(N, MDCompileUnit::get(Context, SourceLanguage + 1, File, Producer,
1325 EXPECT_NE(N, MDCompileUnit::get(Context, SourceLanguage, getFile(), Producer,
1330 EXPECT_NE(N, MDCompileUnit::get(Context, SourceLanguage, File, "other",
1335 EXPECT_NE(N, MDCompileUnit::get(Context, SourceLanguage, File, Producer,
1340 EXPECT_NE(N, MDCompileUnit::get(Context, SourceLanguage, File, Producer,
1345 EXPECT_NE(N, MDCompileUnit::get(Context, SourceLanguage, File, Producer,
1351 MDCompileUnit::get(Context, SourceLanguage, File, Producer,
1355 EXPECT_NE(N, MDCompileUnit
[all...]
/external/llvm/lib/Transforms/IPO/
H A DStripSymbols.cpp308 for (MDCompileUnit *DIC : F.compile_units()) {
/external/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp490 DICompileUnit CU = cast<MDCompileUnit>(CU_Nodes->getOperand(i));
573 DICompileUnit CU = cast<MDCompileUnit>(CU_Nodes->getOperand(i));
849 DICompileUnit CU = cast<MDCompileUnit>(CU_Nodes->getOperand(i));
/external/llvm/lib/CodeGen/AsmPrinter/
H A DWinCodeViewLineTables.cpp23 assert((isa<MDCompileUnit>(S) || isa<MDFile>(S) || isa<MDSubprogram>(S) ||
H A DDwarfDebug.cpp448 DICompileUnit CUNode = cast<MDCompileUnit>(N);
516 DICompileUnit TheCU = cast<MDCompileUnit>(N);
H A DDwarfUnit.cpp862 if (!Context || isa<MDCompileUnit>(Context) || isa<MDFile>(Context) ||
904 while (!isa<MDCompileUnit>(Context)) {
/external/llvm/lib/Linker/
H A DLinkModules.cpp1272 DICompileUnit CU = cast<MDCompileUnit>(CompileUnits->getOperand(I));
/external/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp776 for (const MDCompileUnit *DIUnit : DbgFinder.compile_units()) {
/external/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp931 static void WriteMDCompileUnit(const MDCompileUnit *N,
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1820 GET_OR_DISTINCT(MDCompileUnit, Record[0],
/external/llvm/lib/AsmParser/
H A DLLParser.cpp3526 /// ::= !MDCompileUnit(language: DW_LANG_C99, file: !0, producer: "clang",
3549 Result = GET_OR_DISTINCT(MDCompileUnit,

Completed in 322 milliseconds