/external/llvm/include/llvm/ADT/ |
D | OwningPtr.h | 28 class OwningPtr { 29 OwningPtr(OwningPtr const &) LLVM_DELETED_FUNCTION; 30 OwningPtr &operator=(OwningPtr const &) LLVM_DELETED_FUNCTION; 33 explicit OwningPtr(T *P = 0) : Ptr(P) {} in Ptr() 36 OwningPtr(OwningPtr &&Other) : Ptr(Other.take()) {} in OwningPtr() function 38 OwningPtr &operator=(OwningPtr &&Other) { 44 ~OwningPtr() { in ~OwningPtr() 76 void swap(OwningPtr &RHS) { in swap() 84 inline void swap(OwningPtr<T> &a, OwningPtr<T> &b) { in swap()
|
/external/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/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 24 template<class T> class OwningPtr; variable 67 static error_code getFile(StringRef Filename, OwningPtr<MemoryBuffer> &result, 71 OwningPtr<MemoryBuffer> &result, 78 OwningPtr<MemoryBuffer> &result, 111 static error_code getSTDIN(OwningPtr<MemoryBuffer> &result); 118 OwningPtr<MemoryBuffer> &result, 121 OwningPtr<MemoryBuffer> &result,
|
D | YAMLParser.h | 98 OwningPtr<Scanner> scanner; 99 OwningPtr<Document> CurrentDoc; 119 Node(unsigned int Type, OwningPtr<Document>&, StringRef Anchor); 151 OwningPtr<Document> &Doc; 169 NullNode(OwningPtr<Document> &D) : Node(NK_Null, D, StringRef()) {} in NullNode() 183 ScalarNode(OwningPtr<Document> &D, StringRef Anchor, StringRef Val) in ScalarNode() 224 KeyValueNode(OwningPtr<Document> &D) in KeyValueNode() 341 MappingNode(OwningPtr<Document> &D, StringRef Anchor, MappingType MT) in MappingNode() 400 SequenceNode(OwningPtr<Document> &D, StringRef Anchor, SequenceType ST) in SequenceNode() 444 AliasNode(OwningPtr<Document> &D, StringRef Val) in AliasNode() [all …]
|
D | FileOutputBuffer.h | 44 OwningPtr<FileOutputBuffer> &Result, 86 OwningPtr<llvm::sys::fs::mapped_file_region> Region;
|
/external/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/llvm/lib/MC/MCDisassembler/ |
D | Disassembler.h | 63 llvm::OwningPtr<const llvm::MCAsmInfo> MAI; 65 llvm::OwningPtr<const llvm::MCRegisterInfo> MRI; 67 llvm::OwningPtr<const llvm::MCSubtargetInfo> MSI; 69 llvm::OwningPtr<const llvm::MCInstrInfo> MII; 71 llvm::OwningPtr<const llvm::MCContext> Ctx; 73 llvm::OwningPtr<const llvm::MCDisassembler> DisAsm; 75 llvm::OwningPtr<llvm::MCInstPrinter> IP;
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CallAndMessageChecker.cpp | 33 mutable OwningPtr<BugType> BT_call_null; 34 mutable OwningPtr<BugType> BT_call_undef; 35 mutable OwningPtr<BugType> BT_cxx_call_null; 36 mutable OwningPtr<BugType> BT_cxx_call_undef; 37 mutable OwningPtr<BugType> BT_call_arg; 38 mutable OwningPtr<BugType> BT_msg_undef; 39 mutable OwningPtr<BugType> BT_objc_prop_undef; 40 mutable OwningPtr<BugType> BT_objc_subscript_undef; 41 mutable OwningPtr<BugType> BT_msg_arg; 42 mutable OwningPtr<BugType> BT_msg_ret; [all …]
|
/external/clang/tools/driver/ |
D | cc1as_main.cpp | 151 OwningPtr<OptTable> OptTbl(createCC1AsOptTable()); in CreateFromArgs() 153 OwningPtr<InputArgList> Args( in CreateFromArgs() 273 OwningPtr<MemoryBuffer> BufferPtr; in ExecuteAssembler() 290 OwningPtr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(Opts.Triple)); in ExecuteAssembler() 293 OwningPtr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(Opts.Triple)); in ExecuteAssembler() 303 OwningPtr<MCObjectFileInfo> MOFI(new MCObjectFileInfo()); in ExecuteAssembler() 329 OwningPtr<MCStreamer> Str; in ExecuteAssembler() 331 OwningPtr<MCInstrInfo> MCII(TheTarget->createMCInstrInfo()); in ExecuteAssembler() 332 OwningPtr<MCSubtargetInfo> in ExecuteAssembler() 365 OwningPtr<MCAsmParser> Parser(createMCAsmParser(SrcMgr, Ctx, in ExecuteAssembler() [all …]
|
/external/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 168 OwningPtr<MemoryBuffer> &result, in getFileOrSTDIN() 176 OwningPtr<MemoryBuffer> &result, in getFileOrSTDIN() 230 OwningPtr<MemoryBuffer> &result) { in getMemoryBufferForStream() 250 OwningPtr<MemoryBuffer> &result, in getFile() 260 OwningPtr<MemoryBuffer> &result, in getFile() 332 OwningPtr<MemoryBuffer> &result, in getOpenFile() 377 OwningPtr<MemoryBuffer> SB(Buf); in getOpenFile() 416 error_code MemoryBuffer::getSTDIN(OwningPtr<MemoryBuffer> &result) { in getSTDIN()
|
/external/llvm/lib/DebugInfo/ |
D | DWARFContext.h | 30 OwningPtr<DWARFDebugAbbrev> Abbrev; 31 OwningPtr<DWARFDebugAranges> Aranges; 32 OwningPtr<DWARFDebugLine> Line; 33 OwningPtr<DWARFDebugFrame> DebugFrame; 36 OwningPtr<DWARFDebugAbbrev> AbbrevDWO;
|
/external/llvm/unittests/Support/ |
D | FileOutputBufferTest.cpp | 45 OwningPtr<FileOutputBuffer> Buffer; in TEST() 68 OwningPtr<FileOutputBuffer> Buffer2; in TEST() 83 OwningPtr<FileOutputBuffer> Buffer; in TEST() 106 OwningPtr<FileOutputBuffer> Buffer; in TEST()
|
/external/llvm/tools/llvm-mc/ |
D | llvm-mc.cpp | 326 OwningPtr<MCAsmParser> Parser(createMCAsmParser(SrcMgr, Ctx, in AssembleInput() 328 OwningPtr<MCTargetAsmParser> TAP(TheTarget->createMCAsmParser(STI, *Parser)); in AssembleInput() 369 OwningPtr<MemoryBuffer> BufferPtr; in main() 385 llvm::OwningPtr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(TripleName)); in main() 388 llvm::OwningPtr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in main() 393 OwningPtr<MCObjectFileInfo> MOFI(new MCObjectFileInfo()); in main() 419 OwningPtr<tool_output_file> Out(GetOutputStream()); in main() 424 OwningPtr<MCStreamer> Str; in main() 426 OwningPtr<MCInstrInfo> MCII(TheTarget->createMCInstrInfo()); in main() 427 OwningPtr<MCSubtargetInfo> in main()
|
/external/clang/lib/Frontend/ |
D | ChainedIncludesSource.cpp | 34 OwningPtr<ASTReader> Reader; in createASTReader() 69 OwningPtr<ChainedIncludesSource> source(new ChainedIncludesSource()); in create() 77 OwningPtr<CompilerInvocation> CInvok; in create() 98 OwningPtr<CompilerInstance> Clang(new CompilerInstance()); in create() 112 OwningPtr<ASTConsumer> consumer; in create() 141 OwningPtr<ExternalASTSource> Reader; in create() 165 OwningPtr<ASTReader> Reader; in create()
|
/external/clang/examples/clang-interpreter/ |
D | main.cpp | 48 OwningPtr<llvm::ExecutionEngine> EE( in Execute() 85 OwningPtr<Compilation> C(TheDriver.BuildCompilation(Args)); in main() 110 OwningPtr<CompilerInvocation> CI(new CompilerInvocation); in main() 142 OwningPtr<CodeGenAction> Act(new EmitLLVMOnlyAction()); in main()
|
/external/clang/unittests/Tooling/ |
D | ToolingTest.cpp | 101 OwningPtr<FrontendActionFactory> Factory( in TEST() 103 OwningPtr<FrontendAction> Action(Factory->create()); in TEST() 115 OwningPtr<FrontendActionFactory> Factory( in TEST() 117 OwningPtr<FrontendAction> Action(Factory->create()); in TEST()
|
/external/llvm/lib/Target/Mips/ |
D | MipsTargetMachine.h | 35 OwningPtr<const MipsInstrInfo> InstrInfo; 36 OwningPtr<const MipsFrameLowering> FrameLowering; 37 OwningPtr<const MipsTargetLowering> TLInfo;
|
/external/llvm/tools/llvm-rtdyld/ |
D | llvm-rtdyld.cpp | 131 OwningPtr<MemoryBuffer> InputBuffer; in printLineInfoForInput() 132 OwningPtr<ObjectImage> LoadedObject; in printLineInfoForInput() 146 OwningPtr<DIContext> Context(DIContext::getDWARFContext(LoadedObject->getObjectFile())); in printLineInfoForInput() 191 OwningPtr<MemoryBuffer> InputBuffer; in executeInput() 192 OwningPtr<ObjectImage> LoadedObject; in executeInput()
|
/external/llvm/unittests/ExecutionEngine/MCJIT/ |
D | MCJITMemoryManagerTest.cpp | 20 OwningPtr<SectionMemoryManager> MemMgr(new SectionMemoryManager()); in TEST() 53 OwningPtr<SectionMemoryManager> MemMgr(new SectionMemoryManager()); in TEST() 86 OwningPtr<SectionMemoryManager> MemMgr(new SectionMemoryManager()); in TEST() 121 OwningPtr<SectionMemoryManager> MemMgr(new SectionMemoryManager()); in TEST()
|
/external/llvm/tools/llvm-objdump/ |
D | MachODump.cpp | 236 OwningPtr<MemoryBuffer> Buff; in DisassembleInputMachO() 243 OwningPtr<MachOObjectFile> MachOOF(static_cast<MachOObjectFile*>( in DisassembleInputMachO() 252 OwningPtr<const MCInstrInfo> InstrInfo(TheTarget->createMCInstrInfo()); in DisassembleInputMachO() 253 OwningPtr<MCInstrAnalysis> in DisassembleInputMachO() 257 OwningPtr<const MCAsmInfo> AsmInfo(TheTarget->createMCAsmInfo(TripleName)); in DisassembleInputMachO() 258 OwningPtr<const MCSubtargetInfo> in DisassembleInputMachO() 260 OwningPtr<const MCDisassembler> DisAsm(TheTarget->createMCDisassembler(*STI)); in DisassembleInputMachO() 261 OwningPtr<const MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in DisassembleInputMachO() 263 OwningPtr<MCInstPrinter> in DisassembleInputMachO() 312 OwningPtr<DIContext> diContext; in DisassembleInputMachO() [all …]
|
/external/clang/lib/CodeGen/ |
D | ModuleBuilder.cpp | 31 OwningPtr<const llvm::DataLayout> TD; 36 OwningPtr<llvm::Module> M; 37 OwningPtr<CodeGen::CodeGenModule> Builder;
|
/external/llvm/tools/llvm-dwarfdump/ |
D | llvm-dwarfdump.cpp | 83 OwningPtr<MemoryBuffer> Buff; in DumpInput() 90 OwningPtr<ObjectFile> Obj(ObjectFile::createObjectFile(Buff.take())); in DumpInput() 96 OwningPtr<DIContext> DICtx(DIContext::getDWARFContext(Obj.get())); in DumpInput()
|
/external/clang/include/clang/Frontend/ |
D | ASTUnit.h | 71 OwningPtr<HeaderSearch> HeaderInfo; 80 OwningPtr<ASTWriterData> WriterData; 86 OwningPtr<ASTConsumer> Consumer; 90 OwningPtr<Sema> TheSema; 340 OwningPtr<CodeCompletionTUInfo> CCTUInfo; 727 OwningPtr<ASTUnit> *ErrAST = 0); 785 OwningPtr<ASTUnit> *ErrAST = 0);
|
/external/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()
|