| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Core.cpp | 3161 return wrap(unwrap(B)->CreateCondBr(unwrap(If), unwrap(Then), unwrap(Else))); in LLVMBuildCondBr() 3193 unwrap<FunctionType>(Ty), unwrap(Fn), unwrap(Then), unwrap(Catch), in LLVMBuildInvokeWithOperandBundles() 3357 return wrap(unwrap(B)->CreateAdd(unwrap(LHS), unwrap(RHS), Name)); in LLVMBuildAdd() 3377 return wrap(unwrap(B)->CreateSub(unwrap(LHS), unwrap(RHS), Name)); in LLVMBuildSub() 3397 return wrap(unwrap(B)->CreateMul(unwrap(LHS), unwrap(RHS), Name)); in LLVMBuildMul() 3477 return wrap(unwrap(B)->CreateOr(unwrap(LHS), unwrap(RHS), Name)); in LLVMBuildOr() 3603 return wrap(unwrap(B)->CreateMemSet(unwrap(Ptr), unwrap(Val), unwrap(Len), in LLVMBuildMemSet() 3939 return wrap(unwrap(B)->CreateIntCast(unwrap(Val), unwrap(DestTy), in LLVMBuildIntCast() 4002 return wrap(unwrap(B)->CreateSelect(unwrap(If), unwrap(Then), unwrap(Else), in LLVMBuildSelect() 4061 return wrap(unwrap(B)->CreatePtrDiff(unwrap(ElemTy), unwrap(LHS), in LLVMBuildPtrDiff2() [all …]
|
| H A D | DebugInfo.cpp | 1279 auto Elts = unwrap(Builder)->getOrCreateArray({unwrap(Elements), in LLVMDIBuilderCreateEnumerationType() 1292 auto Elts = unwrap(Builder)->getOrCreateArray({unwrap(Elements), in LLVMDIBuilderCreateUnionType() 1306 auto Subs = unwrap(Builder)->getOrCreateArray({unwrap(Subscripts), in LLVMDIBuilderCreateArrayType() 1317 auto Subs = unwrap(Builder)->getOrCreateArray({unwrap(Subscripts), in LLVMDIBuilderCreateVectorType() 1349 auto Elts = unwrap(Builder)->getOrCreateArray({unwrap(Elements), in LLVMDIBuilderCreateStructType() 1521 auto Elts = unwrap(Builder)->getOrCreateArray({unwrap(Elements), in LLVMDIBuilderCreateClassType() 1665 unwrap(Storage), unwrap<DILocalVariable>(VarInfo), in LLVMDIBuilderInsertDeclareBefore() 1674 unwrap(Storage), unwrap<DILocalVariable>(VarInfo), in LLVMDIBuilderInsertDeclareAtEnd() 1686 unwrap(Val), unwrap<DILocalVariable>(VarInfo), in LLVMDIBuilderInsertDbgValueBefore() 1698 unwrap(Val), unwrap<DILocalVariable>(VarInfo), in LLVMDIBuilderInsertDbgValueAtEnd() [all …]
|
| H A D | Comdat.cpp | 35 return wrap(unwrap(M)->getOrInsertComdat(Name)); in LLVMGetOrInsertComdat() 39 GlobalObject *G = unwrap<GlobalObject>(V); in LLVMGetComdat() 44 GlobalObject *G = unwrap<GlobalObject>(V); in LLVMSetComdat() 45 G->setComdat(unwrap(C)); in LLVMSetComdat() 49 switch (unwrap(C)->getSelectionKind()) { in LLVMGetComdatSelectionKind() 65 Comdat *Cd = unwrap(C); in LLVMSetComdatSelectionKind()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ |
| H A D | Target.cpp | 47 unwrap(M)->setDataLayout(*unwrap(DL)); in LLVMSetModuleDataLayout() 55 delete unwrap(TD); in LLVMDisposeTargetData() 60 unwrap(PM)->add(new TargetLibraryInfoWrapperPass(*unwrap(TLI))); in LLVMAddTargetLibraryInfo() 89 return wrap(unwrap(TD)->getIntPtrType(*unwrap(C))); in LLVMIntPtrTypeInContext() 93 return wrap(unwrap(TD)->getIntPtrType(*unwrap(C), AS)); in LLVMIntPtrTypeForASInContext() 97 return unwrap(TD)->getTypeSizeInBits(unwrap(Ty)); in LLVMSizeOfTypeInBits() 101 return unwrap(TD)->getTypeStoreSize(unwrap(Ty)); in LLVMStoreSizeOfType() 105 return unwrap(TD)->getTypeAllocSize(unwrap(Ty)); in LLVMABISizeOfType() 109 return unwrap(TD)->getABITypeAlign(unwrap(Ty)).value(); in LLVMABIAlignmentOfType() 113 return unwrap(TD)->getABITypeAlign(unwrap(Ty)).value(); in LLVMCallFrameAlignmentOfType() [all …]
|
| H A D | TargetMachineC.cpp | 99 return unwrap(T)->getName(); in LLVMGetTargetName() 107 return unwrap(T)->hasJIT(); in LLVMTargetHasJIT() 123 delete unwrap(Options); in LLVMDisposeTargetMachineOptions() 128 unwrap(Options)->CPU = CPU; in LLVMTargetMachineOptionsSetCPU() 138 unwrap(Options)->ABI = ABI; in LLVMTargetMachineOptionsSetABI() 160 unwrap(Options)->OL = OL; in LLVMTargetMachineOptionsSetCodeGenOptLevel() 190 unwrap(Options)->RM = RM; in LLVMTargetMachineOptionsSetRelocMode() 195 auto CM = unwrap(CodeModel, unwrap(Options)->JIT); in LLVMTargetMachineOptionsSetCodeModel() 196 unwrap(Options)->CM = CM; in LLVMTargetMachineOptionsSetCodeModel() 295 Module* Mod = unwrap(M); in LLVMTargetMachineEmit() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Object/ |
| H A D | Object.cpp | 87 delete unwrap(BR); in LLVMDisposeBinary() 197 delete unwrap(ObjectFile); in LLVMDisposeObjectFile() 208 delete unwrap(SI); in LLVMDisposeSectionIterator() 218 ++(*unwrap(SI)); in LLVMMoveToNextSection() 230 *unwrap(Sect) = *SecOrErr; in LLVMMoveToContainingSection() 241 delete unwrap(SI); in LLVMDisposeSymbolIterator() 251 ++(*unwrap(SI)); in LLVMMoveToNextSymbol() 279 return (*unwrap(SI))->containsSymbol(**unwrap(Sym)); in LLVMGetSectionContainsSymbol() 289 delete unwrap(SI); in LLVMDisposeRelocationIterator() 294 return (*unwrap(SI) == (*unwrap(Section))->relocation_end()) ? 1 : 0; in LLVMIsRelocationIteratorAtEnd() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
| H A D | OrcV2CBindings.cpp | 349 unwrap(ES)->lookup( in LLVMOrcExecutionSessionLookup() 366 unwrap(S).retain(); in LLVMOrcRetainSymbolStringPoolEntry() 370 unwrap(S).release(); in LLVMOrcReleaseSymbolStringPoolEntry() 453 return wrap(lazyReexports(*unwrap(LCTM), *unwrap(ISM), *unwrap(SourceJD), in LLVMOrcLazyReexports() 756 delete unwrap(TSM); in LLVMOrcDisposeThreadSafeModule() 815 *unwrap(JD), std::unique_ptr<MemoryBuffer>(unwrap(ObjBuffer)))); in LLVMOrcObjectLayerAddObjectFile() 822 unwrap(ObjLayer)->add(ResourceTrackerSP(unwrap(RT)), in LLVMOrcObjectLayerAddObjectFileWithRT() 941 delete unwrap(J); in LLVMOrcDisposeLLJIT() 970 *unwrap(JD), std::unique_ptr<MemoryBuffer>(unwrap(ObjBuffer)))); in LLVMOrcLLJITAddObjectFile() 985 return wrap(unwrap(J)->addIRModule(*unwrap(JD), std::move(*TmpTSM))); in LLVMOrcLLJITAddLLVMIRModule() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngineBindings.cpp | 99 delete unwrap(GenVal); in LLVMDisposeGenericValue() 217 delete unwrap(EE); in LLVMDisposeExecutionEngine() 221 unwrap(EE)->finalizeObject(); in LLVMRunStaticConstructors() 226 unwrap(EE)->finalizeObject(); in LLVMRunStaticDestructors() 236 return unwrap(EE)->runFunctionAsMain(unwrap<Function>(F), ArgVec, EnvP); in LLVMRunFunctionAsMain() 250 *Result = unwrap(EE)->runFunction(unwrap<Function>(F), ArgVec); in LLVMRunFunction() 258 unwrap(EE)->addModule(std::unique_ptr<Module>(unwrap(M))); in LLVMAddModule() 263 Module *Mod = unwrap(M); in LLVMRemoveModule() 294 unwrap(EE)->addGlobalMapping(unwrap<GlobalValue>(Global), Addr); in LLVMAddGlobalMapping() 300 return unwrap(EE)->getPointerToGlobal(unwrap<GlobalValue>(Global)); in LLVMGetPointerToGlobal() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Passes/ |
| H A D | PassBuilderBindings.cpp | 39 static TargetMachine *unwrap(LLVMTargetMachineRef P) { in unwrap() function 49 TargetMachine *Machine = unwrap(TM); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() 50 LLVMPassBuilderOptions *PassOpts = unwrap(Options); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() 54 Module *Mod = unwrap(M); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() 88 unwrap(Options)->VerifyEach = VerifyEach; in LLVMPassBuilderOptionsSetVerifyEach() 93 unwrap(Options)->DebugLogging = DebugLogging; in LLVMPassBuilderOptionsSetDebugLogging() 113 unwrap(Options)->PTO.LoopUnrolling = LoopUnrolling; in LLVMPassBuilderOptionsSetLoopUnrolling() 123 unwrap(Options)->PTO.LicmMssaOptCap = LicmMssaOptCap; in LLVMPassBuilderOptionsSetLicmMssaOptCap() 128 unwrap(Options)->PTO.LicmMssaNoAccForPromotionCap = in LLVMPassBuilderOptionsSetLicmMssaNoAccForPromotionCap() 144 unwrap(Options)->PTO.InlinerThreshold = Threshold; in LLVMPassBuilderOptionsSetInlinerThreshold() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Remarks/ |
| H A D | Remark.cpp | 70 return unwrap(String)->data(); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() 74 return unwrap(String)->size(); in LLVMRemarkStringGetLen() 79 return wrap(&unwrap(DL)->SourceFilePath); in LLVMRemarkDebugLocGetSourceFilePath() 83 return unwrap(DL)->SourceLine; in LLVMRemarkDebugLocGetSourceLine() 88 return unwrap(DL)->SourceColumn; in LLVMRemarkDebugLocGetSourceColumn() 92 return wrap(&unwrap(Arg)->Key); in LLVMRemarkArgGetKey() 96 return wrap(&unwrap(Arg)->Val); in LLVMRemarkArgGetValue() 107 delete unwrap(Remark); in LLVMRemarkEntryDispose() 117 return wrap(&unwrap(Remark)->PassName); in LLVMRemarkEntryGetPassName() 144 return unwrap(Remark)->Args.size(); in LLVMRemarkEntryGetNumArgs() [all …]
|
| H A D | RemarkParser.cpp | 144 CParser &TheCParser = *unwrap(Parser); in LLVMRemarkParserGetNext() 165 return unwrap(Parser)->hasError(); in LLVMRemarkParserHasError() 170 return unwrap(Parser)->getMessage(); in LLVMRemarkParserGetErrorMessage() 174 delete unwrap(Parser); in LLVMRemarkParserDispose()
|
| /freebsd-14.2/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); \
|
| H A D | Parallel.h | 280 return unwrap(parallelTransformReduce( in parallelForEachError() 283 return wrap(joinErrors(unwrap(Lhs), unwrap(Rhs))); in parallelForEachError()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
| H A D | BitReader.cpp | 38 MemoryBufferRef Buf = unwrap(MemBuf)->getMemBufferRef(); in LLVMParseBitcodeInContext() 39 LLVMContext &Ctx = *unwrap(ContextRef); in LLVMParseBitcodeInContext() 60 MemoryBufferRef Buf = unwrap(MemBuf)->getMemBufferRef(); in LLVMParseBitcodeInContext2() 61 LLVMContext &Ctx = *unwrap(ContextRef); in LLVMParseBitcodeInContext2() 80 LLVMContext &Ctx = *unwrap(ContextRef); in LLVMGetBitcodeModuleInContext() 81 std::unique_ptr<MemoryBuffer> Owner(unwrap(MemBuf)); in LLVMGetBitcodeModuleInContext() 107 LLVMContext &Ctx = *unwrap(ContextRef); in LLVMGetBitcodeModuleInContext2() 108 std::unique_ptr<MemoryBuffer> Owner(unwrap(MemBuf)); in LLVMGetBitcodeModuleInContext2()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
| H A D | BitWriter.cpp | 27 WriteBitcodeToFile(*unwrap(M), OS); in LLVMWriteBitcodeToFile() 35 WriteBitcodeToFile(*unwrap(M), OS); in LLVMWriteBitcodeToFD() 47 WriteBitcodeToFile(*unwrap(M), OS); in LLVMWriteBitcodeToMemoryBuffer()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | Analysis.cpp | 74 LLVMBool Result = verifyModule(*unwrap(M), OutMessages ? &MsgsOS : DebugOS); in LLVMVerifyModule() 91 *unwrap<Function>(Fn), Action != LLVMReturnStatusAction ? &errs() in LLVMVerifyFunction() 101 Function *F = unwrap<Function>(Fn); in LLVMViewFunctionCFG() 106 Function *F = unwrap<Function>(Fn); in LLVMViewFunctionCFGOnly()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IRReader/ |
| H A D | IRReader.cpp | 117 std::unique_ptr<MemoryBuffer> MB(unwrap(MemBuf)); in LLVMParseIRInContext() 119 wrap(parseIR(MB->getMemBufferRef(), Diag, *unwrap(ContextRef)).release()); in LLVMParseIRInContext()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Debugging/ |
| H A D | LLJITUtilsCBindings.cpp | 21 return wrap(llvm::orc::enableDebuggerSupport(*unwrap(J))); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Support/ |
| H A D | Error.cpp | 172 void LLVMConsumeError(LLVMErrorRef Err) { consumeError(unwrap(Err)); } in LLVMConsumeError() 175 std::string Tmp = toString(unwrap(Err)); in LLVMGetErrorMessage()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Target/ |
| H A D | CodeGenCWrappers.h | 25 inline std::optional<CodeModel::Model> unwrap(LLVMCodeModel Model, bool &JIT) { in unwrap() function
|
| /freebsd-14.2/crypto/openssl/test/ |
| H A D | evp_libctx_test.c | 530 unsigned char unwrap[256] = { 0, }; in kem_rsa_gen_recover() local 554 && TEST_int_eq(EVP_PKEY_decapsulate(rctx, unwrap, &unwraplen, in kem_rsa_gen_recover() 556 && TEST_mem_eq(unwrap, unwraplen, secret, secretlen); in kem_rsa_gen_recover() 565 if (!TEST_int_eq(EVP_PKEY_decapsulate(rctx, unwrap, &unwraplen, ct, in kem_rsa_gen_recover()
|
| /freebsd-14.2/contrib/wpa/src/crypto/ |
| H A D | Makefile | 22 aes-unwrap.o \
|
| /freebsd-14.2/kerberos5/lib/libgssapi_krb5/ |
| H A D | Makefile | 64 unwrap.c \
|
| /freebsd-14.2/contrib/file/src/ |
| H A D | file.c | 183 file_private int unwrap(struct magic_set *, const char *); 284 e |= unwrap(magic, optarg); in main() 512 unwrap(struct magic_set *ms, const char *fn) in unwrap() function
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Value.h | 1054 inline Value **unwrap(LLVMValueRef *Vals) { 1059 inline T **unwrap(LLVMValueRef *Vals, unsigned Length) { 1062 unwrap<T>(*I); // For side effect of calling assert on invalid usage.
|