/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() 77 void swap(OwningPtr &RHS) { in swap() 85 inline void swap(OwningPtr<T> &a, OwningPtr<T> &b) { in swap()
|
/external/llvm/lib/Target/Mips/ |
D | MipsTargetMachine.h | 37 OwningPtr<const MipsInstrInfo> InstrInfo; 38 OwningPtr<const MipsFrameLowering> FrameLowering; 39 OwningPtr<const MipsTargetLowering> TLInfo; 40 OwningPtr<const MipsInstrInfo> InstrInfo16; 41 OwningPtr<const MipsFrameLowering> FrameLowering16; 42 OwningPtr<const MipsTargetLowering> TLInfo16; 43 OwningPtr<const MipsInstrInfo> InstrInfoSE; 44 OwningPtr<const MipsFrameLowering> FrameLoweringSE; 45 OwningPtr<const MipsTargetLowering> TLInfoSE;
|
/external/llvm/lib/Object/ |
D | Binary.cpp | 46 OwningPtr<Binary> &Result) { in createBinary() 47 OwningPtr<MemoryBuffer> scopedSource(Source); in createBinary() 54 OwningPtr<Binary> ret(new Archive(scopedSource.take(), ec)); in createBinary() 63 OwningPtr<Binary> ret( in createBinary() 80 OwningPtr<Binary> ret( in createBinary() 88 OwningPtr<Binary> ret(new MachOUniversalBinary(scopedSource.take(), ec)); in createBinary() 95 OwningPtr<Binary> ret( in createBinary() 111 error_code object::createBinary(StringRef Path, OwningPtr<Binary> &Result) { in createBinary() 112 OwningPtr<MemoryBuffer> File; in createBinary()
|
/external/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 26 template<class T> class OwningPtr; variable 69 static error_code getFile(StringRef Filename, OwningPtr<MemoryBuffer> &result, 73 OwningPtr<MemoryBuffer> &result, 81 OwningPtr<MemoryBuffer> &Result, 87 OwningPtr<MemoryBuffer> &Result, 118 static error_code getSTDIN(OwningPtr<MemoryBuffer> &result); 125 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 | Compression.h | 22 template<typename T> class OwningPtr; variable 46 OwningPtr<MemoryBuffer> &CompressedBuffer, 50 OwningPtr<MemoryBuffer> &UncompressedBuffer,
|
/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/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/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_debug.cpp | 206 OwningPtr<const MCAsmInfo> AsmInfo(T->createMCAsmInfo(Triple)); 208 OwningPtr<const MCAsmInfo> AsmInfo(T->createAsmInfo(Triple)); 218 OwningPtr<const MCDisassembler> DisAsm(T->createMCDisassembler(*STI)); 220 OwningPtr<const MCDisassembler> DisAsm(T->createMCDisassembler()); 236 OwningPtr<const MCRegisterInfo> MRI(T->createMCRegInfo(Triple)); 242 OwningPtr<const MCInstrInfo> MII(T->createMCInstrInfo()); 250 OwningPtr<MCInstPrinter> Printer( 253 OwningPtr<MCInstPrinter> Printer( 256 OwningPtr<MCInstPrinter> Printer( 259 OwningPtr<MCInstPrinter> Printer(
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
D | lp_bld_debug.cpp | 206 OwningPtr<const MCAsmInfo> AsmInfo(T->createMCAsmInfo(Triple)); 208 OwningPtr<const MCAsmInfo> AsmInfo(T->createAsmInfo(Triple)); 218 OwningPtr<const MCDisassembler> DisAsm(T->createMCDisassembler(*STI)); 220 OwningPtr<const MCDisassembler> DisAsm(T->createMCDisassembler()); 236 OwningPtr<const MCRegisterInfo> MRI(T->createMCRegInfo(Triple)); 242 OwningPtr<const MCInstrInfo> MII(T->createMCInstrInfo()); 250 OwningPtr<MCInstPrinter> Printer( 253 OwningPtr<MCInstPrinter> Printer( 256 OwningPtr<MCInstPrinter> Printer( 259 OwningPtr<MCInstPrinter> Printer(
|
/external/llvm/tools/llvm-readobj/ |
D | ObjDumper.h | 22 class OwningPtr; variable 49 OwningPtr<ObjDumper> &Result); 53 OwningPtr<ObjDumper> &Result); 57 OwningPtr<ObjDumper> &Result);
|
/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/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 168 OwningPtr<MemoryBuffer> &result, in getFileOrSTDIN() 222 OwningPtr<MemoryBuffer> &result) { in getMemoryBufferForStream() 242 OwningPtr<MemoryBuffer> &result, in getFile() 252 OwningPtr<MemoryBuffer> &Result, 257 OwningPtr<MemoryBuffer> &result, in getFile() 314 OwningPtr<MemoryBuffer> &result, in getOpenFileImpl() 358 OwningPtr<MemoryBuffer> SB(Buf); in getOpenFileImpl() 394 OwningPtr<MemoryBuffer> &Result, in getOpenFile() 402 OwningPtr<MemoryBuffer> &Result, in getOpenFileSlice() 411 error_code MemoryBuffer::getSTDIN(OwningPtr<MemoryBuffer> &result) { in getSTDIN()
|
D | Compression.cpp | 51 OwningPtr<MemoryBuffer> &CompressedBuffer, in compress() 69 OwningPtr<MemoryBuffer> &UncompressedBuffer, in uncompress() 87 OwningPtr<MemoryBuffer> &CompressedBuffer, in compress() 92 OwningPtr<MemoryBuffer> &UncompressedBuffer, in uncompress()
|
/external/clang/tools/driver/ |
D | cc1as_main.cpp | 154 OwningPtr<OptTable> OptTbl(createCC1AsOptTable()); in CreateFromArgs() 156 OwningPtr<InputArgList> Args( in CreateFromArgs() 274 OwningPtr<MemoryBuffer> BufferPtr; in ExecuteAssembler() 291 OwningPtr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(Opts.Triple)); in ExecuteAssembler() 294 OwningPtr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(*MRI, Opts.Triple)); in ExecuteAssembler() 304 OwningPtr<MCObjectFileInfo> MOFI(new MCObjectFileInfo()); in ExecuteAssembler() 330 OwningPtr<MCStreamer> Str; in ExecuteAssembler() 332 OwningPtr<MCInstrInfo> MCII(TheTarget->createMCInstrInfo()); in ExecuteAssembler() 333 OwningPtr<MCSubtargetInfo> in ExecuteAssembler() 366 OwningPtr<MCAsmParser> Parser(createMCAsmParser(SrcMgr, Ctx, in ExecuteAssembler() [all …]
|
/external/llvm/lib/DebugInfo/ |
D | DWARFContext.h | 31 OwningPtr<DWARFDebugAbbrev> Abbrev; 32 OwningPtr<DWARFDebugLoc> Loc; 33 OwningPtr<DWARFDebugAranges> Aranges; 34 OwningPtr<DWARFDebugLine> Line; 35 OwningPtr<DWARFDebugFrame> DebugFrame; 38 OwningPtr<DWARFDebugAbbrev> AbbrevDWO;
|
/external/llvm/tools/llvm-objdump/ |
D | MachODump.cpp | 203 OwningPtr<MemoryBuffer> Buff; in DisassembleInputMachO() 210 OwningPtr<MachOObjectFile> MachOOF(static_cast<MachOObjectFile*>( in DisassembleInputMachO() 223 OwningPtr<const MCInstrInfo> InstrInfo(TheTarget->createMCInstrInfo()); in DisassembleInputMachO2() 224 OwningPtr<MCInstrAnalysis> in DisassembleInputMachO2() 228 OwningPtr<const MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in DisassembleInputMachO2() 229 OwningPtr<const MCAsmInfo> AsmInfo( in DisassembleInputMachO2() 231 OwningPtr<const MCSubtargetInfo> in DisassembleInputMachO2() 233 OwningPtr<const MCDisassembler> DisAsm(TheTarget->createMCDisassembler(*STI)); in DisassembleInputMachO2() 235 OwningPtr<MCInstPrinter> in DisassembleInputMachO2() 290 OwningPtr<DIContext> diContext; in DisassembleInputMachO2() [all …]
|
/external/llvm/unittests/Support/ |
D | FileOutputBufferTest.cpp | 41 OwningPtr<FileOutputBuffer> Buffer; in TEST() 64 OwningPtr<FileOutputBuffer> Buffer2; in TEST() 79 OwningPtr<FileOutputBuffer> Buffer; in TEST() 102 OwningPtr<FileOutputBuffer> Buffer; in TEST()
|
/external/llvm/include/llvm/MC/ |
D | MCDisassembler.h | 105 OwningPtr<MCSymbolizer> Symbolizer; 118 void setSymbolizer(OwningPtr<MCSymbolizer> &Symzer); 125 OwningPtr<MCRelocationInfo> &RelInfo);
|
/external/clang/lib/Frontend/ |
D | ChainedIncludesSource.cpp | 34 OwningPtr<ASTReader> Reader; in createASTReader() 70 OwningPtr<ChainedIncludesSource> source(new ChainedIncludesSource()); in create() 78 OwningPtr<CompilerInvocation> CInvok; in create() 99 OwningPtr<CompilerInstance> Clang(new CompilerInstance()); in create() 113 OwningPtr<ASTConsumer> consumer; in create() 140 OwningPtr<ExternalASTSource> Reader; in create() 165 OwningPtr<ASTReader> Reader; in create()
|
/external/llvm/tools/llvm-mc/ |
D | llvm-mc.cpp | 323 OwningPtr<MCAsmParser> Parser(createMCAsmParser(SrcMgr, Ctx, in AssembleInput() 325 OwningPtr<MCTargetAsmParser> TAP(TheTarget->createMCAsmParser(STI, *Parser)); in AssembleInput() 366 OwningPtr<MemoryBuffer> BufferPtr; in main() 382 llvm::OwningPtr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in main() 385 llvm::OwningPtr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(*MRI, TripleName)); in main() 390 OwningPtr<MCObjectFileInfo> MOFI(new MCObjectFileInfo()); in main() 416 OwningPtr<tool_output_file> Out(GetOutputStream()); in main() 421 OwningPtr<MCStreamer> Str; in main() 423 OwningPtr<MCInstrInfo> MCII(TheTarget->createMCInstrInfo()); in main() 424 OwningPtr<MCSubtargetInfo> in main()
|
/external/clang/examples/clang-interpreter/ |
D | main.cpp | 49 OwningPtr<llvm::ExecutionEngine> EE( in Execute() 86 OwningPtr<Compilation> C(TheDriver.BuildCompilation(Args)); in main() 111 OwningPtr<CompilerInvocation> CI(new CompilerInvocation); in main() 143 OwningPtr<CodeGenAction> Act(new EmitLLVMOnlyAction()); in main()
|
/external/llvm/unittests/Transforms/Utils/ |
D | SpecialCaseList.cpp | 38 OwningPtr<MemoryBuffer> MB(MemoryBuffer::getMemBuffer(List)); in makeSpecialCaseList() 50 OwningPtr<SpecialCaseList> SCL(makeSpecialCaseList("# This is a comment.\n" in TEST_F() 73 OwningPtr<SpecialCaseList> SCL(makeSpecialCaseList("fun:foo\n")); in TEST_F() 99 OwningPtr<SpecialCaseList> SCL(makeSpecialCaseList("global:foo\n")); in TEST_F() 147 OwningPtr<SpecialCaseList> SCL(makeSpecialCaseList("src:hello\n" in TEST_F()
|
/external/llvm/unittests/Option/ |
D | OptionParsingTest.cpp | 71 OwningPtr<InputArgList> AL(T.ParseArgs(Args, array_endof(Args), MAI, MAC)); in TEST() 114 OwningPtr<InputArgList> AL; in TEST() 145 OwningPtr<InputArgList> AL(T.ParseArgs(MyArgs, array_endof(MyArgs), MAI, MAC)); in TEST() 154 OwningPtr<InputArgList> AL(T.ParseArgs(MyArgs, array_endof(MyArgs), MAI, MAC)); in TEST() 165 OwningPtr<InputArgList> AL(T.ParseArgs(MyArgs, array_endof(MyArgs), MAI, MAC)); in TEST()
|