Searched refs:unwrap (Results 1 - 25 of 148) sorted by relevance

123456

/external/swiftshader/third_party/LLVM/lib/Target/
H A DTarget.cpp32 initializeTarget(*unwrap(R));
40 unwrap(PM)->add(new TargetData(*unwrap(TD)));
45 unwrap(PM)->add(new TargetLibraryInfo(*unwrap(TLI)));
49 std::string StringRep = unwrap(TD)->getStringRepresentation();
54 return unwrap(TD)->isLittleEndian() ? LLVMLittleEndian : LLVMBigEndian;
58 return unwrap(TD)->getPointerSize();
62 return wrap(unwrap(TD)->getIntPtrType(getGlobalContext()));
66 return unwrap(T
[all...]
/external/llvm/lib/Target/
H A DTarget.cpp30 inline TargetLibraryInfoImpl *unwrap(LLVMTargetLibraryInfoRef P) { function
45 initializeTarget(*unwrap(R));
49 return wrap(&unwrap(M)->getDataLayout());
53 unwrap(M)->setDataLayout(*unwrap(DL));
61 delete unwrap(TD);
66 unwrap(PM)->add(new TargetLibraryInfoWrapperPass(*unwrap(TLI)));
70 std::string StringRep = unwrap(TD)->getStringRepresentation();
75 return unwrap(T
[all...]
H A DTargetMachineC.cpp35 static TargetMachine *unwrap(LLVMTargetMachineRef P) { function
38 static Target *unwrap(LLVMTargetRef P) { function
57 return wrap(unwrap(T)->getNext());
85 return unwrap(T)->getName();
89 return unwrap(T)->getShortDescription();
93 return unwrap(T)->hasJIT();
97 return unwrap(T)->hasTargetMachine();
101 return unwrap(T)->hasMCAsmBackend();
123 CodeModel::Model CM = unwrap(CodeModel);
142 return wrap(unwrap(
[all...]
/external/llvm/lib/Transforms/Vectorize/
H A DVectorize.cpp36 initializeVectorization(*unwrap(R));
40 unwrap(PM)->add(createBBVectorizePass());
44 unwrap(PM)->add(createLoopVectorizePass());
48 unwrap(PM)->add(createSLPVectorizerPass());
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
H A DScalar.cpp70 initializeScalarOpts(*unwrap(R));
74 unwrap(PM)->add(createAggressiveDCEPass());
78 unwrap(PM)->add(createCFGSimplificationPass());
82 unwrap(PM)->add(createDeadStoreEliminationPass());
86 unwrap(PM)->add(createGVNPass());
90 unwrap(PM)->add(createIndVarSimplifyPass());
94 unwrap(PM)->add(createInstructionCombiningPass());
98 unwrap(PM)->add(createJumpThreadingPass());
102 unwrap(PM)->add(createLICMPass());
106 unwrap(P
[all...]
/external/llvm/bindings/go/llvm/
H A DDIBuilderBindings.cpp25 Module *m = unwrap(mref);
30 DIBuilder *d = unwrap(dref);
34 void LLVMDIBuilderFinalize(LLVMDIBuilderRef dref) { unwrap(dref)->finalize(); }
42 DIBuilder *D = unwrap(Dref);
49 DIBuilder *D = unwrap(Dref);
58 DIBuilder *D = unwrap(Dref);
59 auto *LB = D->createLexicalBlock(unwrap<DILocalScope>(Scope),
60 unwrap<DIFile>(File), Line, Column);
68 DIBuilder *D = unwrap(Dref);
69 return wrap(D->createLexicalBlockFile(unwrap<DILocalScop
[all...]
H A DInstrumentationBindings.cpp23 unwrap(PM)->add(createAddressSanitizerFunctionPass());
27 unwrap(PM)->add(createAddressSanitizerModulePass());
31 unwrap(PM)->add(createThreadSanitizerPass());
35 unwrap(PM)->add(createMemorySanitizerPass());
45 unwrap(PM)->add(createDataFlowSanitizerPass(ABIListFilesVec));
H A DIRBindings.cpp25 Function *Func = unwrap<Function>(Fn);
36 Function *Func = unwrap<Function>(Fn);
42 Function *Func = unwrap<Function>(Fn);
53 return wrap(ConstantAsMetadata::get(unwrap<Constant>(C)));
57 return wrap(MDString::get(*unwrap(C), StringRef(Str, SLen)));
63 MDNode::get(*unwrap(C), ArrayRef<Metadata *>(unwrap(MDs), Count)));
68 return wrap(MDTuple::getTemporary(*unwrap(C),
69 ArrayRef<Metadata *>(unwrap(MDs), Count))
75 NamedMDNode *N = unwrap(
[all...]
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
H A DIPO.cpp50 initializeIPO(*unwrap(R));
54 unwrap(PM)->add(createArgumentPromotionPass());
58 unwrap(PM)->add(createConstantMergePass());
62 unwrap(PM)->add(createDeadArgEliminationPass());
66 unwrap(PM)->add(createFunctionAttrsPass());
70 unwrap(PM)->add(createFunctionInliningPass());
74 unwrap(PM)->add(llvm::createAlwaysInlinerPass());
78 unwrap(PM)->add(createGlobalDCEPass());
82 unwrap(PM)->add(createGlobalOptimizerPass());
86 unwrap(P
[all...]
/external/llvm/lib/IR/
H A DCore.cpp57 initializeCore(*unwrap(R));
88 unwrap(C)->setDiagnosticHandler(
96 unwrap(C)->getDiagnosticHandler());
100 return unwrap(C)->getDiagnosticContext();
107 unwrap(C)->setYieldCallback(YieldCallback, OpaqueHandle);
111 delete unwrap(C);
116 return unwrap(C)->getMDKindID(StringRef(Name, SLen));
136 return wrap(Attribute::get(*unwrap(C), (Attribute::AttrKind)KindID, Val));
140 return unwrap(A).getKindAsEnum();
144 auto Attr = unwrap(
[all...]
/external/swiftshader/third_party/LLVM/lib/Object/
H A DObject.cpp22 return wrap(ObjectFile::createObjectFile(unwrap(MemBuf)));
26 delete unwrap(ObjectFile);
30 section_iterator SI = unwrap(ObjectFile)->begin_sections();
35 delete unwrap(SI);
40 return (*unwrap(SI) == unwrap(ObjectFile)->end_sections()) ? 1 : 0;
45 unwrap(SI)->increment(ec);
51 if (error_code ec = (*unwrap(SI))->getName(ret))
58 if (error_code ec = (*unwrap(SI))->getSize(ret))
65 if (error_code ec = (*unwrap(S
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DScalar.cpp95 initializeScalarOpts(*unwrap(R));
99 unwrap(PM)->add(createAggressiveDCEPass());
103 unwrap(PM)->add(createBitTrackingDCEPass());
107 unwrap(PM)->add(createAlignmentFromAssumptionsPass());
111 unwrap(PM)->add(createCFGSimplificationPass());
115 unwrap(PM)->add(createDeadStoreEliminationPass());
119 unwrap(PM)->add(createScalarizerPass());
123 unwrap(PM)->add(createGVNPass());
127 unwrap(PM)->add(createMergedLoadStoreMotionPass());
131 unwrap(P
[all...]
/external/swiftshader/third_party/LLVM/lib/VMCore/
H A DCore.cpp46 initializeCore(*unwrap(R));
67 delete unwrap(C);
72 return unwrap(C)->getMDKindID(StringRef(Name, SLen));
88 return wrap(new Module(ModuleID, *unwrap(C)));
92 delete unwrap(M);
97 return unwrap(M)->getDataLayout().c_str();
101 unwrap(M)->setDataLayout(Triple);
106 return unwrap(M)->getTargetTriple().c_str();
110 unwrap(M)->setTargetTriple(Triple);
114 unwrap(
[all...]
/external/llvm/lib/Object/
H A DObject.cpp22 inline OwningBinary<ObjectFile> *unwrap(LLVMObjectFileRef OF) { function
31 inline section_iterator *unwrap(LLVMSectionIteratorRef SI) { function
41 inline symbol_iterator *unwrap(LLVMSymbolIteratorRef SI) { function
51 inline relocation_iterator *unwrap(LLVMRelocationIteratorRef SI) { function
63 std::unique_ptr<MemoryBuffer> Buf(unwrap(MemBuf));
78 delete unwrap(ObjectFile);
83 OwningBinary<ObjectFile> *OB = unwrap(OF);
89 delete unwrap(SI);
94 OwningBinary<ObjectFile> *OB = unwrap(OF);
95 return (*unwrap(S
[all...]
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp29 GenVal->IntVal = APInt(unwrap<IntegerType>(Ty)->getBitWidth(), N, IsSigned);
41 switch (unwrap(TyRef)->getTypeID()) {
55 return unwrap(GenValRef)->IntVal.getBitWidth();
60 GenericValue *GenVal = unwrap(GenValRef);
68 return unwrap(GenVal)->PointerVal;
72 switch (unwrap(TyRef)->getTypeID()) {
74 return unwrap(GenVal)->FloatVal;
76 return unwrap(GenVal)->DoubleVal;
85 delete unwrap(GenVal);
94 EngineBuilder builder(unwrap(
[all...]
/external/llvm/lib/Transforms/IPO/
H A DIPO.cpp61 initializeIPO(*unwrap(R));
65 unwrap(PM)->add(createArgumentPromotionPass());
69 unwrap(PM)->add(createConstantMergePass());
73 unwrap(PM)->add(createDeadArgEliminationPass());
77 unwrap(PM)->add(createPostOrderFunctionAttrsLegacyPass());
81 unwrap(PM)->add(createFunctionInliningPass());
85 unwrap(PM)->add(llvm::createAlwaysInlinerPass());
89 unwrap(PM)->add(createGlobalDCEPass());
93 unwrap(PM)->add(createGlobalOptimizerPass());
97 unwrap(P
[all...]
/external/llvm/include/llvm/Support/
H A DCBindingWrapping.h21 inline ty *unwrap(ref P) { \
33 inline T *unwrap(ref P) { \
34 return cast<T>(unwrap(P)); \
41 inline T *unwrap(ref P) { \
42 T *Q = (T*)unwrap(P); \
/external/llvm/lib/ExecutionEngine/Orc/
H A DOrcCBindings.cpp16 TargetMachine *TM2(unwrap(TM));
31 OrcCBindingsStack &J = *unwrap(JITStack);
37 OrcCBindingsStack &J = *unwrap(JITStack);
49 OrcCBindingsStack &J = *unwrap(JITStack);
56 OrcCBindingsStack &J = *unwrap(JITStack);
63 OrcCBindingsStack &J = *unwrap(JITStack);
71 OrcCBindingsStack &J = *unwrap(JITStack);
72 Module *M(unwrap(Mod));
80 OrcCBindingsStack &J = *unwrap(JITStack);
81 Module *M(unwrap(Mo
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
H A DWrapper.java16 public byte[] unwrap(byte[] in, int inOff, int inLen) method in interface:Wrapper
/external/swiftshader/third_party/LLVM/lib/Analysis/IPA/
H A DIPA.cpp28 initializeIPA(*unwrap(R));
/external/swiftshader/third_party/LLVM/lib/Transforms/Instrumentation/
H A DInstrumentation.cpp32 initializeInstrumentation(*unwrap(R));
/external/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp44 GenVal->IntVal = APInt(unwrap<IntegerType>(Ty)->getBitWidth(), N, IsSigned);
56 switch (unwrap(TyRef)->getTypeID()) {
70 return unwrap(GenValRef)->IntVal.getBitWidth();
75 GenericValue *GenVal = unwrap(GenValRef);
83 return unwrap(GenVal)->PointerVal;
87 switch (unwrap(TyRef)->getTypeID()) {
89 return unwrap(GenVal)->FloatVal;
91 return unwrap(GenVal)->DoubleVal;
98 delete unwrap(GenVal);
107 EngineBuilder builder(std::unique_ptr<Module>(unwrap(
[all...]
/external/llvm/tools/lto/
H A Dlto.cpp147 LTOCodeGenerator *CG = unwrap(cg);
285 unwrap(cg)->getContext(), mem, length, Options, path);
289 void lto_module_dispose(lto_module_t mod) { delete unwrap(mod); }
292 return unwrap(mod)->getTargetTriple().c_str();
296 return unwrap(mod)->setTargetTriple(triple);
300 return unwrap(mod)->getSymbolCount();
304 return unwrap(mod)->getSymbolName(index);
309 return unwrap(mod)->getSymbolAttributes(index);
313 return unwrap(mod)->getLinkerOpts();
319 unwrap(c
[all...]
/external/llvm/lib/Bitcode/Writer/
H A DBitWriter.cpp27 WriteBitcodeToFile(unwrap(M), OS);
35 WriteBitcodeToFile(unwrap(M), OS);
47 WriteBitcodeToFile(unwrap(M), OS);
/external/swiftshader/third_party/LLVM/lib/Bitcode/Writer/
H A DBitWriter.cpp26 WriteBitcodeToFile(unwrap(M), OS);
34 WriteBitcodeToFile(unwrap(M), OS);

Completed in 671 milliseconds

123456