/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | OwningPtr.h | 27 class OwningPtr { 28 OwningPtr(OwningPtr const &); // DO NOT IMPLEMENT 29 OwningPtr &operator=(OwningPtr const &); // DO NOT IMPLEMENT 32 explicit OwningPtr(T *P = 0) : Ptr(P) {} in Ptr() 34 ~OwningPtr() { in ~OwningPtr() 66 void swap(OwningPtr &RHS) { in swap() 74 inline void swap(OwningPtr<T> &a, OwningPtr<T> &b) { in swap()
|
/external/swiftshader/third_party/LLVM/lib/Object/ |
D | Binary.cpp | 44 OwningPtr<Binary> &Result) { in createBinary() 45 OwningPtr<MemoryBuffer> scopedSource(Source); in createBinary() 55 OwningPtr<Binary> ret(new Archive(scopedSource.take(), ec)); in createBinary() 64 OwningPtr<Binary> ret( in createBinary() 80 OwningPtr<Binary> ret( in createBinary() 88 OwningPtr<Binary> ret(new COFFObjectFile(scopedSource.take(), ec)); in createBinary() 98 error_code object::createBinary(StringRef Path, OwningPtr<Binary> &Result) { in createBinary() 99 OwningPtr<MemoryBuffer> File; in createBinary()
|
/external/swiftshader/third_party/LLVM/lib/MC/MCDisassembler/ |
D | EDDisassembler.h | 139 llvm::OwningPtr<const llvm::MCAsmInfo> AsmInfo; 141 llvm::OwningPtr<const llvm::MCSubtargetInfo> STI; 143 llvm::OwningPtr<const llvm::MCRegisterInfo> MRI; 145 llvm::OwningPtr<const llvm::MCDisassembler> Disassembler; 148 llvm::OwningPtr<std::string> InstString; 151 llvm::OwningPtr<llvm::raw_string_ostream> InstStream; 154 llvm::OwningPtr<llvm::MCInstPrinter> InstPrinter; 163 llvm::OwningPtr<llvm::AsmLexer> GenericAsmLexer; 164 llvm::OwningPtr<llvm::MCTargetAsmLexer> SpecificAsmLexer;
|
D | Disassembler.h | 61 llvm::OwningPtr<const llvm::MCAsmInfo> MAI; 63 llvm::OwningPtr<const llvm::MCRegisterInfo> MRI; 65 llvm::OwningPtr<const llvm::MCContext> Ctx; 67 llvm::OwningPtr<const llvm::MCDisassembler> DisAsm; 69 llvm::OwningPtr<llvm::MCInstPrinter> IP;
|
D | EDDisassembler.cpp | 374 OwningPtr<MCStreamer> streamer(createNullStreamer(context)); in parseInst() 375 OwningPtr<MCAsmParser> genericParser(createMCAsmParser(sourceMgr, in parseInst() 380 OwningPtr<MCSubtargetInfo> STI(Tgt->createMCSubtargetInfo(triple, "", "")); in parseInst() 381 OwningPtr<MCTargetAsmParser> in parseInst()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | MemoryBuffer.h | 23 template<class T> class OwningPtr; variable 66 static error_code getFile(StringRef Filename, OwningPtr<MemoryBuffer> &result, 70 OwningPtr<MemoryBuffer> &result, 77 OwningPtr<MemoryBuffer> &result, 110 static error_code getSTDIN(OwningPtr<MemoryBuffer> &result); 117 OwningPtr<MemoryBuffer> &result, 120 OwningPtr<MemoryBuffer> &result,
|
D | IRReader.h | 61 OwningPtr<MemoryBuffer> File; in getLazyIRFileModule() 98 OwningPtr<MemoryBuffer> File; in ParseIRFile()
|
/external/swiftshader/third_party/LLVM/unittests/ExecutionEngine/JIT/ |
D | JITMemoryManagerTest.cpp | 34 OwningPtr<JITMemoryManager> MemMgr( in TEST() 40 OwningPtr<Function> F1(makeFakeFunction()); in TEST() 47 OwningPtr<Function> F2(makeFakeFunction()); in TEST() 54 OwningPtr<Function> F3(makeFakeFunction()); in TEST() 73 OwningPtr<JITMemoryManager> MemMgr( in TEST() 84 OwningPtr<Function> F1(makeFakeFunction()); in TEST() 92 OwningPtr<Function> F2(makeFakeFunction()); in TEST() 100 OwningPtr<Function> F3(makeFakeFunction()); in TEST() 112 OwningPtr<Function> F4(makeFakeFunction()); in TEST() 121 OwningPtr<Function> F5(makeFakeFunction()); in TEST() [all …]
|
D | MultiJITTest.cpp | 83 OwningPtr<ExecutionEngine> EE1(EngineBuilder(M1).create()); in TEST() 85 OwningPtr<ExecutionEngine> EE2(EngineBuilder(M2).create()); in TEST() 113 OwningPtr<ExecutionEngine> EE1(EngineBuilder(M1).create()); in TEST() 115 OwningPtr<ExecutionEngine> EE2(EngineBuilder(M2).create()); in TEST() 147 OwningPtr<ExecutionEngine> EE1(EngineBuilder(M1).create()); in TEST() 148 OwningPtr<ExecutionEngine> EE2(EngineBuilder(M2).create()); in TEST()
|
/external/swiftshader/third_party/LLVM/tools/llvm-mc/ |
D | llvm-mc.cpp | 234 OwningPtr<MemoryBuffer> BufferPtr; in AsLexInput() 254 llvm::OwningPtr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(TripleName)); in AsLexInput() 260 OwningPtr<tool_output_file> Out(GetOutputStream()); in AsLexInput() 347 OwningPtr<MemoryBuffer> BufferPtr; in AssembleInput() 364 llvm::OwningPtr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(TripleName)); in AssembleInput() 367 llvm::OwningPtr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in AssembleInput() 372 OwningPtr<MCObjectFileInfo> MOFI(new MCObjectFileInfo()); in AssembleInput() 388 OwningPtr<tool_output_file> Out(GetOutputStream()); in AssembleInput() 393 OwningPtr<MCStreamer> Str; in AssembleInput() 395 OwningPtr<MCInstrInfo> MCII(TheTarget->createMCInstrInfo()); in AssembleInput() [all …]
|
D | Disassembler.cpp | 149 OwningPtr<const MCAsmInfo> AsmInfo(T.createMCAsmInfo(Triple)); in disassemble() 156 OwningPtr<const MCSubtargetInfo> STI(T.createMCSubtargetInfo(Triple, Cpu, FeaturesStr)); in disassemble() 162 OwningPtr<const MCDisassembler> DisAsm(T.createMCDisassembler(*STI)); in disassemble() 169 OwningPtr<MCInstPrinter> IP(T.createMCInstPrinter(AsmPrinterVariant, in disassemble() 251 OwningPtr<EDDisassembler> in disassembleEnhanced() 260 OwningPtr<EDInst> in disassembleEnhanced()
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | MemoryBuffer.cpp | 159 OwningPtr<MemoryBuffer> &result, in getFileOrSTDIN() 167 OwningPtr<MemoryBuffer> &result, in getFileOrSTDIN() 206 OwningPtr<MemoryBuffer> &result, in getFile() 216 OwningPtr<MemoryBuffer> &result, in getFile() 277 OwningPtr<MemoryBuffer> &result, in getOpenFile() 320 OwningPtr<MemoryBuffer> SB(Buf); in getOpenFile() 353 error_code MemoryBuffer::getSTDIN(OwningPtr<MemoryBuffer> &result) { in getSTDIN()
|
/external/swiftshader/third_party/LLVM/lib/DebugInfo/ |
D | DWARFContext.h | 30 OwningPtr<DWARFDebugAbbrev> Abbrev; 31 OwningPtr<DWARFDebugAranges> Aranges; 32 OwningPtr<DWARFDebugLine> Line;
|
/external/swiftshader/third_party/LLVM/tools/llvm-dwarfdump/ |
D | llvm-dwarfdump.cpp | 43 OwningPtr<MemoryBuffer> Buff; in DumpInput() 50 OwningPtr<ObjectFile> Obj(ObjectFile::createObjectFile(Buff.take())); in DumpInput() 82 OwningPtr<DIContext> dictx(DIContext::getDWARFContext(/*FIXME*/true, in DumpInput()
|
/external/swiftshader/third_party/LLVM/tools/llvm-objdump/ |
D | MachODump.cpp | 273 OwningPtr<MemoryBuffer> Buff; in DisassembleInputMachO() 280 OwningPtr<MachOObject> MachOObj(MachOObject::LoadFromBuffer(Buff.take())); in DisassembleInputMachO() 287 OwningPtr<const MCInstrInfo> InstrInfo(TheTarget->createMCInstrInfo()); in DisassembleInputMachO() 288 OwningPtr<MCInstrAnalysis> in DisassembleInputMachO() 292 OwningPtr<const MCAsmInfo> AsmInfo(TheTarget->createMCAsmInfo(TripleName)); in DisassembleInputMachO() 293 OwningPtr<const MCSubtargetInfo> in DisassembleInputMachO() 295 OwningPtr<const MCDisassembler> DisAsm(TheTarget->createMCDisassembler(*STI)); in DisassembleInputMachO() 297 OwningPtr<MCInstPrinter> IP(TheTarget->createMCInstPrinter( in DisassembleInputMachO() 345 OwningPtr<DIContext> diContext; in DisassembleInputMachO() 346 OwningPtr<MachOObject> DSYMObj; in DisassembleInputMachO() [all …]
|
D | llvm-objdump.cpp | 219 OwningPtr<const MCAsmInfo> AsmInfo(TheTarget->createMCAsmInfo(TripleName)); in DisassembleObject() 226 OwningPtr<const MCSubtargetInfo> STI( in DisassembleObject() 234 OwningPtr<const MCDisassembler> DisAsm( in DisassembleObject() 242 OwningPtr<MCInstPrinter> IP(TheTarget->createMCInstPrinter( in DisassembleObject() 386 OwningPtr<Binary> child; in DumpArchive() 414 OwningPtr<Binary> binary; in DumpInput()
|
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
D | DAGISelMatcherOpt.cpp | 25 static void ContractNodes(OwningPtr<Matcher> &MatcherPtr, in ContractNodes() 34 OwningPtr<Matcher> Child(Scope->takeChild(i)); in ContractNodes() 183 static void SinkPatternPredicates(OwningPtr<Matcher> &MatcherPtr) { in SinkPatternPredicates() 192 OwningPtr<Matcher> Child(Scope->takeChild(i)); in SinkPatternPredicates() 248 static void FactorNodes(OwningPtr<Matcher> &MatcherPtr) { in FactorNodes() 265 OwningPtr<Matcher> Child(Scope->takeChild(i)); in FactorNodes() 508 OwningPtr<Matcher> MatcherPtr(TheMatcher); in OptimizeMatcher()
|
/external/swiftshader/third_party/LLVM/include/llvm/Object/ |
D | Binary.h | 61 error_code createBinary(MemoryBuffer *Source, OwningPtr<Binary> &Result); 62 error_code createBinary(StringRef Path, OwningPtr<Binary> &Result);
|
/external/swiftshader/third_party/LLVM/tools/lto/ |
D | LTOModule.cpp | 69 OwningPtr<MemoryBuffer> buffer; in isBitcodeFileForTarget() 91 OwningPtr<MemoryBuffer> buffer; in makeLTOModule() 110 OwningPtr<MemoryBuffer> buffer; in makeLTOModule() 128 OwningPtr<MemoryBuffer> buffer(makeBuffer(mem, length)); in makeLTOModule() 145 OwningPtr<Module> m(getLazyBitcodeModule(buffer, getGlobalContext(), in makeLTOModule() 621 OwningPtr<RecordStreamer> Streamer(new RecordStreamer(Context)); in addAsmGlobalSymbols() 625 OwningPtr<MCAsmParser> Parser(createMCAsmParser(SrcMgr, in addAsmGlobalSymbols() 628 OwningPtr<MCSubtargetInfo> STI(_target->getTarget(). in addAsmGlobalSymbols() 632 OwningPtr<MCTargetAsmParser> in addAsmGlobalSymbols()
|
/external/swiftshader/third_party/LLVM/tools/llvm-dis/ |
D | llvm-dis.cpp | 130 OwningPtr<MemoryBuffer> BufferPtr; in main() 165 OwningPtr<tool_output_file> in main() 173 OwningPtr<AssemblyAnnotationWriter> Annotator; in main()
|
/external/swiftshader/third_party/LLVM/lib/AsmParser/ |
D | Parser.cpp | 37 OwningPtr<Module> M2(new Module(F->getBufferIdentifier(), Context)); in ParseAssembly() 45 OwningPtr<MemoryBuffer> File; in ParseAssemblyFile()
|
/external/swiftshader/third_party/LLVM/tools/llvm-cov/ |
D | llvm-cov.cpp | 47 OwningPtr<MemoryBuffer> GCNO_Buff; in main() 59 OwningPtr<MemoryBuffer> GCDA_Buff; in main()
|
/external/swiftshader/third_party/LLVM/utils/FileUpdate/ |
D | FileUpdate.cpp | 47 OwningPtr<MemoryBuffer> In; in main() 55 OwningPtr<MemoryBuffer> Out; in main()
|
/external/swiftshader/third_party/LLVM/tools/llvm-nm/ |
D | llvm-nm.cpp | 308 OwningPtr<MemoryBuffer> Buffer; in DumpSymbolNamesFromFile() 322 OwningPtr<Binary> arch; in DumpSymbolNamesFromFile() 330 OwningPtr<Binary> child; in DumpSymbolNamesFromFile() 333 OwningPtr<MemoryBuffer> buff(i->getBuffer()); in DumpSymbolNamesFromFile() 351 OwningPtr<Binary> obj; in DumpSymbolNamesFromFile()
|
/external/swiftshader/third_party/LLVM/lib/Archive/ |
D | Archive.cpp | 152 OwningPtr<MemoryBuffer> File; in mapToMemory() 222 OwningPtr<MemoryBuffer> Buffer; in GetBitcodeSymbols() 248 OwningPtr<MemoryBuffer> Buffer( in GetBitcodeSymbols()
|