/external/llvm/lib/IR/ |
D | Core.cpp | 56 initializeCore(*unwrap(R)); in LLVMInitializeCore() 87 unwrap(C)->setDiagnosticHandler( in LLVMContextSetDiagnosticHandler() 96 unwrap(C)->setYieldCallback(YieldCallback, OpaqueHandle); in LLVMContextSetYieldCallback() 100 delete unwrap(C); in LLVMContextDispose() 105 return unwrap(C)->getMDKindID(StringRef(Name, SLen)); in LLVMGetMDKindIDInContext() 117 unwrap(DI)->print(DP); in LLVMGetDiagInfoDescription() 126 switch(unwrap(DI)->getSeverity()) { in LLVMGetDiagInfoSeverity() 155 return wrap(new Module(ModuleID, *unwrap(C))); in LLVMModuleCreateWithNameInContext() 159 delete unwrap(M); in LLVMDisposeModule() 164 return unwrap(M)->getDataLayoutStr().c_str(); in LLVMGetDataLayout() [all …]
|
/external/llvm/lib/Target/ |
D | Target.cpp | 27 inline TargetLibraryInfoImpl *unwrap(LLVMTargetLibraryInfoRef P) { in unwrap() function 42 initializeTarget(*unwrap(R)); in LLVMInitializeTarget() 54 unwrap(PM)->add(new TargetLibraryInfoWrapperPass(*unwrap(TLI))); in LLVMAddTargetLibraryInfo() 58 std::string StringRep = unwrap(TD)->getStringRepresentation(); in LLVMCopyStringRepOfTargetData() 63 return unwrap(TD)->isLittleEndian() ? LLVMLittleEndian : LLVMBigEndian; in LLVMByteOrder() 67 return unwrap(TD)->getPointerSize(0); in LLVMPointerSize() 71 return unwrap(TD)->getPointerSize(AS); in LLVMPointerSizeForAS() 75 return wrap(unwrap(TD)->getIntPtrType(getGlobalContext())); in LLVMIntPtrType() 79 return wrap(unwrap(TD)->getIntPtrType(getGlobalContext(), AS)); in LLVMIntPtrTypeForAS() 83 return wrap(unwrap(TD)->getIntPtrType(*unwrap(C))); in LLVMIntPtrTypeInContext() [all …]
|
D | TargetMachineC.cpp | 35 inline TargetMachine *unwrap(LLVMTargetMachineRef P) { in unwrap() function 38 inline Target *unwrap(LLVMTargetRef P) { in unwrap() function 58 return wrap(unwrap(T)->getNext()); in LLVMGetNextTarget() 89 return unwrap(T)->getName(); in LLVMGetTargetName() 93 return unwrap(T)->getShortDescription(); in LLVMGetTargetDescription() 97 return unwrap(T)->hasJIT(); in LLVMTargetHasJIT() 101 return unwrap(T)->hasTargetMachine(); in LLVMTargetHasTargetMachine() 105 return unwrap(T)->hasMCAsmBackend(); in LLVMTargetHasAsmBackend() 128 CodeModel::Model CM = unwrap(CodeModel); in LLVMCreateTargetMachine() 147 return wrap(unwrap(T)->createTargetMachine(Triple, CPU, Features, opt, RM, in LLVMCreateTargetMachine() [all …]
|
/external/llvm/bindings/go/llvm/ |
D | DIBuilderBindings.cpp | 25 Module *m = unwrap(mref); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() 30 DIBuilder *d = unwrap(dref); in LLVMDIBuilderDestroy() 34 void LLVMDIBuilderFinalize(LLVMDIBuilderRef dref) { unwrap(dref)->finalize(); } in LLVMDIBuilderFinalize() 42 DIBuilder *D = unwrap(Dref); in LLVMDIBuilderCreateCompileUnit() 50 DIBuilder *D = unwrap(Dref); in LLVMDIBuilderCreateFile() 60 DIBuilder *D = unwrap(Dref); in LLVMDIBuilderCreateLexicalBlock() 61 auto *LB = D->createLexicalBlock(unwrap<MDLocalScope>(Scope), in LLVMDIBuilderCreateLexicalBlock() 62 unwrap<MDFile>(File), Line, Column); in LLVMDIBuilderCreateLexicalBlock() 70 DIBuilder *D = unwrap(Dref); in LLVMDIBuilderCreateLexicalBlockFile() 72 unwrap<MDLocalScope>(Scope), unwrap<MDFile>(File), Discriminator); in LLVMDIBuilderCreateLexicalBlockFile() [all …]
|
D | IRBindings.cpp | 25 Function *Func = unwrap<Function>(Fn); in LLVMAddFunctionAttr2() 36 Function *Func = unwrap<Function>(Fn); in LLVMGetFunctionAttr2() 42 Function *Func = unwrap<Function>(Fn); in LLVMRemoveFunctionAttr2() 53 return wrap(ConstantAsMetadata::get(unwrap<Constant>(C))); in LLVMConstantAsMetadata() 57 return wrap(MDString::get(*unwrap(C), StringRef(Str, SLen))); in LLVMMDString2() 63 MDNode::get(*unwrap(C), ArrayRef<Metadata *>(unwrap(MDs), Count))); in LLVMMDNode2() 68 return wrap(MDTuple::getTemporary(*unwrap(C), in LLVMTemporaryMDNode() 69 ArrayRef<Metadata *>(unwrap(MDs), Count)) in LLVMTemporaryMDNode() 75 NamedMDNode *N = unwrap(M)->getOrInsertNamedMetadata(name); in LLVMAddNamedMetadataOperand2() 80 N->addOperand(unwrap<MDNode>(Val)); in LLVMAddNamedMetadataOperand2() [all …]
|
D | InstrumentationBindings.cpp | 23 unwrap(PM)->add(createAddressSanitizerFunctionPass()); in LLVMAddAddressSanitizerFunctionPass() 27 unwrap(PM)->add(createAddressSanitizerModulePass()); in LLVMAddAddressSanitizerModulePass() 31 unwrap(PM)->add(createThreadSanitizerPass()); in LLVMAddThreadSanitizerPass() 35 unwrap(PM)->add(createMemorySanitizerPass()); in LLVMAddMemorySanitizerPass() 45 unwrap(PM)->add(createDataFlowSanitizerPass(ABIListFilesVec)); in LLVMAddDataFlowSanitizerPass()
|
/external/llvm/lib/Transforms/Scalar/ |
D | Scalar.cpp | 85 initializeScalarOpts(*unwrap(R)); in LLVMInitializeScalarOpts() 89 unwrap(PM)->add(createAggressiveDCEPass()); in LLVMAddAggressiveDCEPass() 93 unwrap(PM)->add(createBitTrackingDCEPass()); in LLVMAddBitTrackingDCEPass() 97 unwrap(PM)->add(createAlignmentFromAssumptionsPass()); in LLVMAddAlignmentFromAssumptionsPass() 101 unwrap(PM)->add(createCFGSimplificationPass()); in LLVMAddCFGSimplificationPass() 105 unwrap(PM)->add(createDeadStoreEliminationPass()); in LLVMAddDeadStoreEliminationPass() 109 unwrap(PM)->add(createScalarizerPass()); in LLVMAddScalarizerPass() 113 unwrap(PM)->add(createGVNPass()); in LLVMAddGVNPass() 117 unwrap(PM)->add(createMergedLoadStoreMotionPass()); in LLVMAddMergedLoadStoreMotionPass() 121 unwrap(PM)->add(createIndVarSimplifyPass()); in LLVMAddIndVarSimplifyPass() [all …]
|
/external/llvm/lib/Object/ |
D | Object.cpp | 22 inline OwningBinary<ObjectFile> *unwrap(LLVMObjectFileRef OF) { in unwrap() function 31 inline section_iterator *unwrap(LLVMSectionIteratorRef SI) { in unwrap() function 41 inline symbol_iterator *unwrap(LLVMSymbolIteratorRef SI) { in unwrap() function 51 inline relocation_iterator *unwrap(LLVMRelocationIteratorRef SI) { in unwrap() function 63 std::unique_ptr<MemoryBuffer> Buf(unwrap(MemBuf)); in LLVMCreateObjectFile() 75 delete unwrap(ObjectFile); in LLVMDisposeObjectFile() 80 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMGetSections() 86 delete unwrap(SI); in LLVMDisposeSectionIterator() 91 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMIsSectionIteratorAtEnd() 92 return (*unwrap(SI) == OB->getBinary()->section_end()) ? 1 : 0; in LLVMIsSectionIteratorAtEnd() [all …]
|
/external/llvm/lib/ExecutionEngine/ |
D | ExecutionEngineBindings.cpp | 42 GenVal->IntVal = APInt(unwrap<IntegerType>(Ty)->getBitWidth(), N, IsSigned); in LLVMCreateGenericValueOfInt() 54 switch (unwrap(TyRef)->getTypeID()) { in LLVMCreateGenericValueOfFloat() 68 return unwrap(GenValRef)->IntVal.getBitWidth(); in LLVMGenericValueIntWidth() 73 GenericValue *GenVal = unwrap(GenValRef); in LLVMGenericValueToInt() 81 return unwrap(GenVal)->PointerVal; in LLVMGenericValueToPointer() 85 switch (unwrap(TyRef)->getTypeID()) { in LLVMGenericValueToFloat() 87 return unwrap(GenVal)->FloatVal; in LLVMGenericValueToFloat() 89 return unwrap(GenVal)->DoubleVal; in LLVMGenericValueToFloat() 96 delete unwrap(GenVal); in LLVMDisposeGenericValue() 105 EngineBuilder builder(std::unique_ptr<Module>(unwrap(M))); in LLVMCreateExecutionEngineForModule() [all …]
|
/external/llvm/lib/Transforms/IPO/ |
D | IPO.cpp | 52 initializeIPO(*unwrap(R)); in LLVMInitializeIPO() 56 unwrap(PM)->add(createArgumentPromotionPass()); in LLVMAddArgumentPromotionPass() 60 unwrap(PM)->add(createConstantMergePass()); in LLVMAddConstantMergePass() 64 unwrap(PM)->add(createDeadArgEliminationPass()); in LLVMAddDeadArgEliminationPass() 68 unwrap(PM)->add(createFunctionAttrsPass()); in LLVMAddFunctionAttrsPass() 72 unwrap(PM)->add(createFunctionInliningPass()); in LLVMAddFunctionInliningPass() 76 unwrap(PM)->add(llvm::createAlwaysInlinerPass()); in LLVMAddAlwaysInlinerPass() 80 unwrap(PM)->add(createGlobalDCEPass()); in LLVMAddGlobalDCEPass() 84 unwrap(PM)->add(createGlobalOptimizerPass()); in LLVMAddGlobalOptimizerPass() 88 unwrap(PM)->add(createIPConstantPropagationPass()); in LLVMAddIPConstantPropagationPass() [all …]
|
D | PassManagerBuilder.cpp | 539 inline PassManagerBuilder *unwrap(LLVMPassManagerBuilderRef P) { in unwrap() function 553 PassManagerBuilder *Builder = unwrap(PMB); in LLVMPassManagerBuilderDispose() 560 PassManagerBuilder *Builder = unwrap(PMB); in LLVMPassManagerBuilderSetOptLevel() 567 PassManagerBuilder *Builder = unwrap(PMB); in LLVMPassManagerBuilderSetSizeLevel() 574 PassManagerBuilder *Builder = unwrap(PMB); in LLVMPassManagerBuilderSetDisableUnitAtATime() 581 PassManagerBuilder *Builder = unwrap(PMB); in LLVMPassManagerBuilderSetDisableUnrollLoops() 594 PassManagerBuilder *Builder = unwrap(PMB); in LLVMPassManagerBuilderUseInlinerWithThreshold() 601 PassManagerBuilder *Builder = unwrap(PMB); in LLVMPassManagerBuilderPopulateFunctionPassManager() 602 legacy::FunctionPassManager *FPM = unwrap<legacy::FunctionPassManager>(PM); in LLVMPassManagerBuilderPopulateFunctionPassManager() 609 PassManagerBuilder *Builder = unwrap(PMB); in LLVMPassManagerBuilderPopulateModulePassManager() [all …]
|
/external/llvm/tools/lto/ |
D | lto.cpp | 81 LTOCodeGenerator *CG = unwrap(cg); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() 185 path, &unwrap(cg)->getContext())); in lto_module_create_in_codegen_context() 188 void lto_module_dispose(lto_module_t mod) { delete unwrap(mod); } in lto_module_dispose() 191 return unwrap(mod)->getTargetTriple().c_str(); in lto_module_get_target_triple() 195 return unwrap(mod)->setTargetTriple(triple); in lto_module_set_target_triple() 199 return unwrap(mod)->getSymbolCount(); in lto_module_get_num_symbols() 203 return unwrap(mod)->getSymbolName(index); in lto_module_get_symbol_name() 208 return unwrap(mod)->getSymbolAttributes(index); in lto_module_get_symbol_attribute() 212 return unwrap(mod)->getDependentLibraryCount(); in lto_module_get_num_deplibs() 216 return unwrap(mod)->getDependentLibrary(index); in lto_module_get_deplib() [all …]
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_misc.cpp | 85 …llvm::unwrap(EE)->RegisterJITEventListener(llvm::JITEventListener::createOProfileJITEventListener(… in lp_register_oprofile_jit_event_listener() 87 llvm::unwrap(EE)->RegisterJITEventListener(llvm::createOProfileJITEventListener()); in lp_register_oprofile_jit_event_listener() 201 llvm::Function *func = llvm::unwrap<llvm::Function>(FF); in lp_func_delete_body() 211 return llvm::wrap(llvm::unwrap(B)->CreateLoad(llvm::unwrap(PointerVal), true, Name)); in lp_build_load_volatile() 220 llvm::unwrap<llvm::LoadInst>(Inst)->setAlignment(Align); in lp_set_load_alignment() 228 llvm::unwrap<llvm::StoreInst>(Inst)->setAlignment(Align); in lp_set_store_alignment() 253 EngineBuilder builder(unwrap(M)); in lp_build_create_mcjit_compiler_for_module() 282 Triple TT(unwrap(M)->getTargetTriple()); in lp_build_create_mcjit_compiler_for_module()
|
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/ |
D | SSLEngineTest.java | 230 e.unwrap(bbN, bb); in testUnwrap01() 231 e.unwrap(bb, bbN); in testUnwrap01() 236 e.unwrap(bb, roBb); in testUnwrap01() 261 e.unwrap(bb, bbNA); in testUnwrap02() 266 e.unwrap(bb, bbA); in testUnwrap02() 267 e.unwrap(bbN, bbA); in testUnwrap02() 275 e.unwrap(bb, bbA); in testUnwrap02() 290 e.unwrap(bbs, bbd); in testUnwrap03() 294 SSLEngineResult res = e.unwrap(bbd, bbs); in testUnwrap03() 299 e.unwrap(bbs, new ByteBuffer[] { bbd }); in testUnwrap03() [all …]
|
/external/llvm/include/llvm/Support/ |
D | CBindingWrapping.h | 20 inline ty *unwrap(ref P) { \ 32 inline T *unwrap(ref P) { \ 33 return cast<T>(unwrap(P)); \ 40 inline T *unwrap(ref P) { \ 41 T *Q = (T*)unwrap(P); \
|
/external/chromium-trace/trace-viewer/tracing/third_party/components/webcomponentsjs/ |
D | ShadowDOM.js | 252 function unwrap(wrapper) { function 265 return object && isWrapper(object) ? unwrap(object) : object; 315 scope.unwrap = unwrap; 785 var unwrap = scope.unwrap; 1011 var originalEvent = unwrap(event); 1116 value: unwrap(options.relatedTarget) 1142 return wrap(unwrap(this).relatedTarget); 1147 arguments[relatedTargetIndex] = unwrap(arguments[relatedTargetIndex]); 1148 var impl = unwrap(this); 1171 var event = unwrap(document.createEvent(name)); [all …]
|
D | webcomponents.js | 294 function unwrap(wrapper) { function 307 return object && isWrapper(object) ? unwrap(object) : object; 357 scope.unwrap = unwrap; 822 var unwrap = scope.unwrap; 1048 var originalEvent = unwrap(event); 1153 value: unwrap(options.relatedTarget) 1179 return wrap(unwrap(this).relatedTarget); 1184 arguments[relatedTargetIndex] = unwrap(arguments[relatedTargetIndex]); 1185 var impl = unwrap(this); 1208 var event = unwrap(document.createEvent(name)); [all …]
|
/external/llvm/lib/Transforms/Vectorize/ |
D | Vectorize.cpp | 35 initializeVectorization(*unwrap(R)); in LLVMInitializeVectorization() 39 unwrap(PM)->add(createBBVectorizePass()); in LLVMAddBBVectorizePass() 43 unwrap(PM)->add(createLoopVectorizePass()); in LLVMAddLoopVectorizePass() 47 unwrap(PM)->add(createSLPVectorizerPass()); in LLVMAddSLPVectorizePass()
|
/external/llvm/lib/Analysis/ |
D | Analysis.cpp | 75 initializeAnalysis(*unwrap(R)); in LLVMInitializeAnalysis() 84 LLVMBool Result = verifyModule(*unwrap(M), OutMessages ? &MsgsOS : DebugOS); in LLVMVerifyModule() 101 *unwrap<Function>(Fn), Action != LLVMReturnStatusAction ? &errs() in LLVMVerifyFunction() 111 Function *F = unwrap<Function>(Fn); in LLVMViewFunctionCFG() 116 Function *F = unwrap<Function>(Fn); in LLVMViewFunctionCFGOnly()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitReader.cpp | 35 MemoryBufferRef Buf = unwrap(MemBuf)->getMemBufferRef(); in LLVMParseBitcodeInContext() 36 LLVMContext &Ctx = *unwrap(ContextRef); in LLVMParseBitcodeInContext() 65 std::unique_ptr<MemoryBuffer> Owner(unwrap(MemBuf)); in LLVMGetBitcodeModuleInContext() 68 getLazyBitcodeModule(std::move(Owner), *unwrap(ContextRef)); in LLVMGetBitcodeModuleInContext()
|
/external/llvm/lib/Bitcode/Writer/ |
D | BitWriter.cpp | 27 WriteBitcodeToFile(unwrap(M), OS); in LLVMWriteBitcodeToFile() 35 WriteBitcodeToFile(unwrap(M), OS); in LLVMWriteBitcodeToFD() 47 WriteBitcodeToFile(unwrap(M), OS); in LLVMWriteBitcodeToMemoryBuffer()
|
/external/clang/tools/libclang/ |
D | BuildSystem.cpp | 56 unwrap(VFO)->addFileMapping(virtualPath, realPath); in clang_VirtualFileOverlay_addFileMapping() 65 unwrap(VFO)->setCaseSensitivity(caseSensitive); in clang_VirtualFileOverlay_setCaseSensitivity() 78 unwrap(VFO)->write(OS); in clang_VirtualFileOverlay_writeToBuffer() 88 delete unwrap(VFO); in clang_VirtualFileOverlay_dispose()
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
D | PrimitivesTest.java | 44 assertSame(int.class, Primitives.unwrap(Integer.class)); in testUnwrap() 45 assertSame(int.class, Primitives.unwrap(int.class)); in testUnwrap() 46 assertSame(String.class, Primitives.unwrap(String.class)); in testUnwrap()
|
/external/jsilver/src/com/google/clearsilver/jsilver/data/ |
D | DelegatedData.java | 54 protected static Data unwrap(Data data) { in unwrap() method in DelegatedData 217 destination = unwrap(destination); in setSymlink() 223 symLink = unwrap(symLink); in setSymlink() 234 from = unwrap(from); in copy() 240 from = unwrap(from); in copy()
|
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
D | SSLEngineImplTest.java | 555 print(client.unwrap(buffer, app_data_buffer)); in testCloseInbound2() 610 print(server.unwrap(ByteBuffer.allocate(40), app_data_buffer)); in testErrorProcessing() 632 server.unwrap(ByteBuffer.allocate(40), app_data_buffer)); in testErrorProcessing() 673 print(client.unwrap(buffer, app_data_buffer)); in testErrorProcessing() 836 print(result = engines[(step + 1) % 2].unwrap( in doHandshakeImpl() 864 print(result = current_engine.unwrap(buffer, app_data)); in doHandshakeImpl() 933 print(result = not_allowed.unwrap(buffer, app_data_plain)); in doNoRenegotiationTest() 958 print(result = not_allowed.unwrap(buffer, app_data_plain)); in doNoRenegotiationTest() 1006 print(result = allowed.unwrap(buffer, app_data_plain)); in doNoRenegotiationTest() 1069 print(result = server.unwrap(co, ByteBuffer.allocate(0))); in doDataExchange() [all …]
|