Home
last modified time | relevance | path

Searched refs:OrigEntry (Results 1 – 15 of 15) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DInstrOrderFile.cpp118 BasicBlock *OrigEntry = &F.getEntryBlock(); in generateCodeSequence() local
127 BasicBlock::Create(M.getContext(), "order_file_entry", &F, OrigEntry); in generateCodeSequence()
131 BasicBlock::Create(M.getContext(), "order_file_set", &F, OrigEntry); in generateCodeSequence()
143 entryB.CreateCondBr(IsNotExecuted, UpdateOrderFileBB, OrigEntry); in generateCodeSequence()
157 updateB.CreateBr(OrigEntry); in generateCodeSequence()
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DInstrOrderFile.cpp117 BasicBlock *OrigEntry = &F.getEntryBlock(); in generateCodeSequence() local
126 BasicBlock::Create(M.getContext(), "order_file_entry", &F, OrigEntry); in generateCodeSequence()
130 BasicBlock::Create(M.getContext(), "order_file_set", &F, OrigEntry); in generateCodeSequence()
142 entryB.CreateCondBr(IsNotExecuted, UpdateOrderFileBB, OrigEntry); in generateCodeSequence()
156 updateB.CreateBr(OrigEntry); in generateCodeSequence()
/external/llvm-project/clang/tools/libclang/
DCIndexInclusionStack.cpp38 if (!FI.getContentCache().OrigEntry) in getInclusions()
63 const_cast<FileEntry *>(FI.getContentCache().OrigEntry)), in getInclusions()
/external/clang/tools/libclang/
DCIndexInclusionStack.cpp42 if (!FI.getContentCache()->OrigEntry) in getInclusions()
67 const_cast<FileEntry *>(FI.getContentCache()->OrigEntry)), in getInclusions()
/external/clang/lib/Basic/
DSourceManager.cpp670 const_cast<SrcMgr::ContentCache *>(IR)->ContentsEntry = IR->OrigEntry; in disableFileContentsOverride()
1475 if (C->OrigEntry) in getPresumedLoc()
1476 Filename = C->OrigEntry->getName(); in getPresumedLoc()
1628 } else if (MainContentCache->OrigEntry == SourceFile) { in translateFile()
1633 const FileEntry *MainFile = MainContentCache->OrigEntry; in translateFile()
1662 SLoc.getFile().getContentCache()->OrigEntry == SourceFile) { in translateFile()
1673 SLoc.getFile().getContentCache()->OrigEntry == SourceFile) { in translateFile()
1699 const FileEntry *Entry = FileContentCache ? FileContentCache->OrigEntry in translateFile()
2178 out << " for " << (CC->OrigEntry ? CC->OrigEntry->getName() : "<none>") in dump()
2182 if (CC->ContentsEntry != CC->OrigEntry) { in dump()
/external/llvm-project/clang/lib/Basic/
DSourceManager.cpp360 Clone->OrigEntry = Cache->OrigEntry; in initializeForReplay()
721 if (Entry->getFile().getContentCache().OrigEntry) in getNonBuiltinFilenameForID()
1482 if (C->OrigEntry) in getPresumedLoc()
1483 Filename = C->OrigEntry->getName(); in getPresumedLoc()
1613 if (MainSLoc.getFile().getContentCache().OrigEntry == SourceFile) in translateFile()
1623 SLoc.getFile().getContentCache().OrigEntry == SourceFile) in translateFile()
1631 SLoc.getFile().getContentCache().OrigEntry == SourceFile) in translateFile()
2118 out << " for " << (CC.OrigEntry ? CC.OrigEntry->getName() : "<none>") in dump()
2122 if (CC.ContentsEntry != CC.OrigEntry) { in dump()
/external/clang/include/clang/Basic/
DSourceManager.h107 const FileEntry *OrigEntry;
145 : Buffer(nullptr, false), OrigEntry(Ent), ContentsEntry(contentEnt), in ContentCache()
157 OrigEntry = RHS.OrigEntry; in ContentCache()
935 return Content->OrigEntry; in getFileEntryForID()
944 return Content->OrigEntry; in getFileEntryForSLocEntry()
/external/llvm-project/clang/include/clang/Basic/
DSourceManager.h142 const FileEntry *OrigEntry;
182 : OrigEntry(Ent), ContentsEntry(contentEnt), BufferOverridden(false), in ContentCache()
191 OrigEntry = RHS.OrigEntry; in ContentCache()
1028 return Entry->getFile().getContentCache().OrigEntry; in getFileEntryForID()
1041 return sloc.getFile().getContentCache().OrigEntry; in getFileEntryForSLocEntry()
/external/clang/lib/Frontend/
DCacheTokens.cpp509 const FileEntry *FE = C.OrigEntry; in GeneratePTH()
/external/clang/lib/Serialization/
DASTWriter.cpp1575 if (!Cache->OrigEntry) in WriteInputFiles()
1579 Entry.File = Cache->OrigEntry; in WriteInputFiles()
1934 if (Cache->OrigEntry) { in WriteSourceManagerBlock()
1953 if (Content->OrigEntry) { in WriteSourceManagerBlock()
1954 assert(Content->OrigEntry == Content->ContentsEntry && in WriteSourceManagerBlock()
1958 assert(InputFileIDs[Content->OrigEntry] != 0 && "Missed file entry"); in WriteSourceManagerBlock()
1959 Record.push_back(InputFileIDs[Content->OrigEntry]); in WriteSourceManagerBlock()
DASTReader.cpp1298 ContentCache->ContentsEntry == ContentCache->OrigEntry && in ReadSLocEntry()
/external/llvm-project/clang/lib/Serialization/
DASTWriter.cpp1457 if (!Cache->OrigEntry) in WriteInputFiles()
1461 Entry.File = Cache->OrigEntry; in WriteInputFiles()
1956 if (Cache->OrigEntry) { in WriteSourceManagerBlock()
1975 if (Content->OrigEntry) { in WriteSourceManagerBlock()
1976 assert(Content->OrigEntry == Content->ContentsEntry && in WriteSourceManagerBlock()
1980 assert(InputFileIDs[Content->OrigEntry] != 0 && "Missed file entry"); in WriteSourceManagerBlock()
1981 Record.push_back(InputFileIDs[Content->OrigEntry]); in WriteSourceManagerBlock()
DASTReader.cpp1538 ContentCache.ContentsEntry == ContentCache.OrigEntry && in ReadSLocEntry()
/external/clang/lib/AST/
DASTImporter.cpp6414 if (Cache->OrigEntry && Cache->OrigEntry->getDir()) { in Import()
6419 const FileEntry *Entry = ToFileManager.getFile(Cache->OrigEntry->getName()); in Import()
/external/llvm-project/clang/lib/AST/
DASTImporter.cpp8716 if (Cache->OrigEntry && Cache->OrigEntry->getDir()) { in Import()
8722 ToFileManager.getOptionalFileRef(Cache->OrigEntry->getName()); in Import()