/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ |
H A D | Target.cpp | 29 inline TargetLibraryInfoImpl *unwrap(LLVMTargetLibraryInfoRef P) { function 44 initializeTarget(*unwrap(R)); 48 return wrap(&unwrap(M)->getDataLayout()); 52 unwrap(M)->setDataLayout(*unwrap(DL)); 60 delete unwrap(TD); 65 unwrap(PM)->add(new TargetLibraryInfoWrapperPass(*unwrap(TLI))); 69 std::string StringRep = unwrap(TD)->getStringRepresentation(); 74 return unwrap(T [all...] |
H A D | TargetMachineC.cpp | 34 static TargetMachine *unwrap(LLVMTargetMachineRef P) { function 37 static Target *unwrap(LLVMTargetRef P) { function 56 return wrap(unwrap(T)->getNext()); 83 return unwrap(T)->getName(); 87 return unwrap(T)->getShortDescription(); 91 return unwrap(T)->hasJIT(); 95 return unwrap(T)->hasTargetMachine(); 99 return unwrap(T)->hasMCAsmBackend(); 131 Optional<CodeModel::Model> CM = unwrap(CodeModel, JIT); 150 return wrap(unwrap( [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | Vectorize.cpp | 33 initializeVectorization(*unwrap(R)); 37 unwrap(PM)->add(createLoopVectorizePass()); 41 unwrap(PM)->add(createSLPVectorizerPass());
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | Scalar.cpp | 118 unwrap(PM)->add(createLoopSimplifyCFGPass()); 122 initializeScalarOpts(*unwrap(R)); 126 unwrap(PM)->add(createAggressiveDCEPass()); 130 unwrap(PM)->add(createDeadCodeEliminationPass()); 134 unwrap(PM)->add(createBitTrackingDCEPass()); 138 unwrap(PM)->add(createAlignmentFromAssumptionsPass()); 142 unwrap(PM)->add(createCFGSimplificationPass(1, false, false, true)); 146 unwrap(PM)->add(createDeadStoreEliminationPass()); 150 unwrap(PM)->add(createScalarizerPass()); 154 unwrap(P [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | Core.cpp | 56 initializeCore(*unwrap(R)); 87 unwrap(C)->setDiagnosticHandlerCallBack( 95 unwrap(C)->getDiagnosticHandlerCallBack()); 99 return unwrap(C)->getDiagnosticContext(); 106 unwrap(C)->setYieldCallback(YieldCallback, OpaqueHandle); 110 return unwrap(C)->shouldDiscardValueNames(); 114 unwrap(C)->setDiscardValueNames(Discard); 118 delete unwrap(C); 123 return unwrap(C)->getMDKindID(StringRef(Name, SLen)); 143 auto &Ctx = *unwrap( [all...] |
H A D | Comdat.cpp | 29 return wrap(unwrap(M)->getOrInsertComdat(Name)); 33 GlobalObject *G = unwrap<GlobalObject>(V); 38 GlobalObject *G = unwrap<GlobalObject>(V); 39 G->setComdat(unwrap(C)); 43 switch (unwrap(C)->getSelectionKind()) { 59 Comdat *Cd = unwrap(C);
|
H A D | DebugInfo.cpp | 710 return (DIT *)(Ref ? unwrap<MDNode>(Ref) : nullptr); 731 return wrap(new DIBuilder(*unwrap(M), false)); 735 return wrap(new DIBuilder(*unwrap(M))); 739 return getDebugMetadataVersionFromModule(*unwrap(M)); 743 return StripDebugInfo(*unwrap(M)); 747 delete unwrap(Builder); 751 unwrap(Builder)->finalize(); 763 return wrap(unwrap(Builder)->createCompileUnit( 776 return wrap(unwrap(Builder)->createFile(StringRef(Filename, FilenameLen), 786 return wrap(unwrap(Builde [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Remarks/ |
H A D | Remark.cpp | 33 return unwrap(String)->data(); 37 return unwrap(String)->size(); 42 return wrap(&unwrap(DL)->SourceFilePath); 46 return unwrap(DL)->SourceLine; 51 return unwrap(DL)->SourceColumn; 55 return wrap(&unwrap(Arg)->Key); 59 return wrap(&unwrap(Arg)->Val); 64 if (const Optional<RemarkLocation> &Loc = unwrap(Arg)->Loc) 70 delete unwrap(Remark); 75 return static_cast<LLVMRemarkType>(unwrap(Remar [all...] |
H A D | RemarkParser.cpp | 144 CParser &TheCParser = *unwrap(Parser); 165 return unwrap(Parser)->hasError(); 170 return unwrap(Parser)->getMessage(); 174 delete unwrap(Parser);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | IPO.cpp | 66 initializeIPO(*unwrap(R)); 70 unwrap(PM)->add(createArgumentPromotionPass()); 74 unwrap(PM)->add(createCalledValuePropagationPass()); 78 unwrap(PM)->add(createConstantMergePass()); 82 unwrap(PM)->add(createDeadArgEliminationPass()); 86 unwrap(PM)->add(createPostOrderFunctionAttrsLegacyPass()); 90 unwrap(PM)->add(createFunctionInliningPass()); 94 unwrap(PM)->add(llvm::createAlwaysInlinerLegacyPass()); 98 unwrap(PM)->add(createGlobalDCEPass()); 102 unwrap(P [all...] |
H A D | PassManagerBuilder.cpp | 1100 inline PassManagerBuilder *unwrap(LLVMPassManagerBuilderRef P) { function 1114 PassManagerBuilder *Builder = unwrap(PMB); 1121 PassManagerBuilder *Builder = unwrap(PMB); 1128 PassManagerBuilder *Builder = unwrap(PMB); 1141 PassManagerBuilder *Builder = unwrap(PMB); 1154 PassManagerBuilder *Builder = unwrap(PMB); 1161 PassManagerBuilder *Builder = unwrap(PMB); 1162 legacy::FunctionPassManager *FPM = unwrap<legacy::FunctionPassManager>(PM); 1169 PassManagerBuilder *Builder = unwrap(PMB); 1170 legacy::PassManagerBase *MPM = unwrap(P [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Object/ |
H A D | Object.cpp | 23 inline OwningBinary<ObjectFile> *unwrap(LLVMObjectFileRef OF) { function 32 inline section_iterator *unwrap(LLVMSectionIteratorRef SI) { function 42 inline symbol_iterator *unwrap(LLVMSymbolIteratorRef SI) { function 52 inline relocation_iterator *unwrap(LLVMRelocationIteratorRef SI) { function 67 auto maybeContext = Context ? unwrap(Context) : nullptr; 69 createBinary(unwrap(MemBuf)->getMemBufferRef(), maybeContext)); 79 auto Buf = unwrap(BR)->getMemoryBufferRef(); 86 delete unwrap(BR); 132 return BinaryTypeMapper::mapBinaryTypeToLLVMBinaryType(unwrap(BR)->getType()); 139 auto universal = cast<MachOUniversalBinary>(unwrap(B [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
H A D | OrcCBindings.cpp | 16 TargetMachine *TM2(unwrap(TM)); 30 OrcCBindingsStack &J = *unwrap(JITStack); 36 OrcCBindingsStack &J = *unwrap(JITStack); 47 OrcCBindingsStack &J = *unwrap(JITStack); 58 OrcCBindingsStack &J = *unwrap(JITStack); 65 OrcCBindingsStack &J = *unwrap(JITStack); 74 OrcCBindingsStack &J = *unwrap(JITStack); 75 std::unique_ptr<Module> M(unwrap(Mod)); 89 OrcCBindingsStack &J = *unwrap(JITStack); 90 std::unique_ptr<Module> M(unwrap(Mo [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A 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); \
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | Utils.cpp | 47 initializeTransformUtils(*unwrap(R)); 51 unwrap(PM)->add(createLowerSwitchPass()); 55 unwrap(PM)->add(createPromoteMemoryToRegisterPass()); 59 unwrap(PM)->add(createAddDiscriminatorsPass());
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
H A D | 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( [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
H A D | BitWriter.cpp | 27 WriteBitcodeToFile(*unwrap(M), OS); 35 WriteBitcodeToFile(*unwrap(M), OS); 47 WriteBitcodeToFile(*unwrap(M), OS);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
H A D | ObjCARC.cpp | 38 initializeObjCARCOpts(*unwrap(R));
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
H A D | BitReader.cpp | 39 MemoryBufferRef Buf = unwrap(MemBuf)->getMemBufferRef(); 40 LLVMContext &Ctx = *unwrap(ContextRef); 61 MemoryBufferRef Buf = unwrap(MemBuf)->getMemBufferRef(); 62 LLVMContext &Ctx = *unwrap(ContextRef); 81 LLVMContext &Ctx = *unwrap(ContextRef); 82 std::unique_ptr<MemoryBuffer> Owner(unwrap(MemBuf)); 108 LLVMContext &Ctx = *unwrap(ContextRef); 109 std::unique_ptr<MemoryBuffer> Owner(unwrap(MemBuf));
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | Analysis.cpp | 91 initializeAnalysis(*unwrap(R)); 95 initializeAnalysis(*unwrap(R)); 104 LLVMBool Result = verifyModule(*unwrap(M), OutMessages ? &MsgsOS : DebugOS); 121 *unwrap<Function>(Fn), Action != LLVMReturnStatusAction ? &errs() 131 Function *F = unwrap<Function>(Fn); 136 Function *F = unwrap<Function>(Fn);
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Target/ |
H A D | CodeGenCWrappers.h | 25 inline Optional<CodeModel::Model> unwrap(LLVMCodeModel Model, bool &JIT) { function in namespace:llvm
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IRReader/ |
H A D | IRReader.cpp | 120 std::unique_ptr<MemoryBuffer> MB(unwrap(MemBuf)); 122 wrap(parseIR(MB->getMemBufferRef(), Diag, *unwrap(ContextRef)).release());
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | Error.cpp | 156 void LLVMConsumeError(LLVMErrorRef Err) { consumeError(unwrap(Err)); } 159 std::string Tmp = toString(unwrap(Err));
|
/freebsd-11-stable/kerberos5/lib/libgssapi_krb5/ |
H A D | Makefile | 63 unwrap.c \
|
/freebsd-11-stable/contrib/llvm-project/libcxx/src/filesystem/ |
H A D | filesystem_common.h | 96 const char* unwrap(string const& s) { return s.c_str(); } function in namespace:detail::__anon1250 97 const char* unwrap(path const& p) { return p.native().c_str(); } function in namespace:detail::__anon1250 99 Arg const& unwrap(Arg const& a) { function in namespace:detail::__anon1250 106 return format_string_imp(fmt, unwrap(args)...);
|