/external/swiftshader/third_party/LLVM/lib/Target/ |
Target.cpp | 32 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(TD)->getTypeSizeInBits(unwrap(Ty)) [all...] |
/external/llvm/lib/Target/ |
Target.cpp | 30 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(TD)->isLittleEndian() ? LLVMLittleEndian : LLVMBigEndian [all...] |
TargetMachineC.cpp | 35 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(T)->createTargetMachine(Triple, CPU, Features, opt, RM [all...] |
/external/llvm/lib/Transforms/Vectorize/ |
Vectorize.cpp | 36 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/ |
Scalar.cpp | 70 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(PM)->add(createLoopDeletionPass()) [all...] |
/external/llvm/bindings/go/llvm/ |
DIBuilderBindings.cpp | 25 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<DILocalScope>(Scope) [all...] |
InstrumentationBindings.cpp | 23 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));
|
IRBindings.cpp | 25 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(M)->getOrInsertNamedMetadata(name) [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
IPO.cpp | 50 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(PM)->add(createIPConstantPropagationPass()) [all...] |
/external/llvm/lib/IR/ |
Core.cpp | 57 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(A) [all...] |
/external/swiftshader/third_party/LLVM/lib/Object/ |
Object.cpp | 22 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(SI))->getContents(ret) [all...] |
/external/llvm/lib/Transforms/Scalar/ |
Scalar.cpp | 95 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(PM)->add(createIndVarSimplifyPass()) [all...] |
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
Core.cpp | 46 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(M)->dump() [all...] |
/external/llvm/lib/Object/ |
Object.cpp | 22 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(SI) == OB->getBinary()->section_end()) ? 1 : 0 [all...] |
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/ |
ExecutionEngineBindings.cpp | 29 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(M)) [all...] |
/external/llvm/lib/Transforms/IPO/ |
IPO.cpp | 61 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(PM)->add(createIPConstantPropagationPass()) [all...] |
/external/llvm/include/llvm/Support/ |
CBindingWrapping.h | 21 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/ |
OrcCBindings.cpp | 16 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(Mod)) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/ |
Wrapper.java | 16 public byte[] unwrap(byte[] in, int inOff, int inLen) method in interface:Wrapper
|
/external/swiftshader/third_party/LLVM/lib/Analysis/IPA/ |
IPA.cpp | 28 initializeIPA(*unwrap(R));
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Instrumentation/ |
Instrumentation.cpp | 32 initializeInstrumentation(*unwrap(R));
|
/external/llvm/lib/ExecutionEngine/ |
ExecutionEngineBindings.cpp | 44 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(M))) [all...] |
/external/llvm/tools/lto/ |
lto.cpp | 147 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(cg)->setDiagnosticHandler(diag_handler, ctxt) [all...] |
/external/llvm/lib/Bitcode/Writer/ |
BitWriter.cpp | 27 WriteBitcodeToFile(unwrap(M), OS); 35 WriteBitcodeToFile(unwrap(M), OS); 47 WriteBitcodeToFile(unwrap(M), OS);
|
/external/swiftshader/third_party/LLVM/lib/Bitcode/Writer/ |
BitWriter.cpp | 26 WriteBitcodeToFile(unwrap(M), OS); 34 WriteBitcodeToFile(unwrap(M), OS);
|