/freebsd/contrib/libfido2/src/ |
H A D | info.c | 285 fido_cbor_info_t *ci = arg; in parse_reply_element() local 296 return (decode_string_array(val, &ci->versions)); in parse_reply_element() 298 return (decode_string_array(val, &ci->extensions)); in parse_reply_element() 300 return (decode_aaguid(val, ci->aaguid, sizeof(ci->aaguid))); in parse_reply_element() 302 return (decode_options(val, &ci->options)); in parse_reply_element() 304 return (cbor_decode_uint64(val, &ci->maxmsgsiz)); in parse_reply_element() 306 return (decode_protocols(val, &ci->protocols)); in parse_reply_element() 308 return (cbor_decode_uint64(val, &ci->maxcredcntlst)); in parse_reply_element() 310 return (cbor_decode_uint64(val, &ci->maxcredidlen)); in parse_reply_element() 312 return (decode_string_array(val, &ci->transports)); in parse_reply_element() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | SimplifyLibCalls.h | 52 Value *optimizeCall(CallInst *CI, IRBuilderBase &B); 55 Value *optimizeMemCpyChk(CallInst *CI, IRBuilderBase &B); 56 Value *optimizeMemMoveChk(CallInst *CI, IRBuilderBase &B); 57 Value *optimizeMemSetChk(CallInst *CI, IRBuilderBase &B); 60 Value *optimizeStrpCpyChk(CallInst *CI, IRBuilderBase &B, LibFunc Func); 61 Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilderBase &B, LibFunc Func); 62 Value *optimizeStrLenChk(CallInst *CI, IRBuilderBase &B); 63 Value *optimizeMemPCpyChk(CallInst *CI, IRBuilderBase &B); 64 Value *optimizeMemCCpyChk(CallInst *CI, IRBuilderBase &B); 65 Value *optimizeSNPrintfChk(CallInst *CI, IRBuilderBase &B); [all …]
|
/freebsd/contrib/libfido2/man/ |
H A D | fido_cbor_info_new.3 | 74 .Fn fido_dev_get_cbor_info "fido_dev_t *dev" "fido_cbor_info_t *ci" 76 .Fn fido_cbor_info_aaguid_ptr "const fido_cbor_info_t *ci" 78 .Fn fido_cbor_info_extensions_ptr "const fido_cbor_info_t *ci" 80 .Fn fido_cbor_info_protocols_ptr "const fido_cbor_info_t *ci" 82 .Fn fido_cbor_info_transports_ptr "const fido_cbor_info_t *ci" 84 .Fn fido_cbor_info_versions_ptr "const fido_cbor_info_t *ci" 86 .Fn fido_cbor_info_options_name_ptr "const fido_cbor_info_t *ci" 88 .Fn fido_cbor_info_options_value_ptr "const fido_cbor_info_t *ci" 90 .Fn fido_cbor_info_algorithm_type "const fido_cbor_info_t *ci" "size_t idx" 92 .Fn fido_cbor_info_algorithm_cose "const fido_cbor_info_t *ci" "size_t idx" [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SimplifyLibCalls.cpp | 118 static bool callHasFloatingPointArgument(const CallInst *CI) { in callHasFloatingPointArgument() argument 119 return any_of(CI->operands(), [](const Use &OI) { in callHasFloatingPointArgument() 124 static bool callHasFP128Argument(const CallInst *CI) { in callHasFP128Argument() argument 125 return any_of(CI->operands(), [](const Use &OI) { in callHasFP128Argument() 137 static Value *convertStrToInt(CallInst *CI, StringRef &Str, Value *EndPtr, in convertStrToInt() argument 170 Type *RetTy = CI->getType(); in convertStrToInt() 227 Value *StrBeg = CI->getArgOperand(0); in convertStrToInt() 251 static bool canTransformToMemCmp(CallInst *CI, Value *Str, uint64_t Len, in canTransformToMemCmp() argument 253 if (!isOnlyUsedInComparisonWithZero(CI)) in canTransformToMemCmp() 259 if (CI->getFunction()->hasFnAttribute(Attribute::SanitizeMemory)) in canTransformToMemCmp() [all …]
|
H A D | LibCallsShrinkWrap.cpp | 57 void visitCallInst(CallInst &CI) { checkCandidate(CI); } in visitCallInst() argument 60 for (auto &CI : WorkList) { in perform() local 61 LLVM_DEBUG(dbgs() << "CDCE calls: " << CI->getCalledFunction()->getName() in perform() 63 if (perform(CI)) { in perform() 72 bool perform(CallInst *CI); 73 void checkCandidate(CallInst &CI); 74 void shrinkWrapCI(CallInst *CI, Value *Cond); 75 bool performCallDomainErrorOnly(CallInst *CI, const LibFunc &Func); 76 bool performCallErrors(CallInst *CI, const LibFunc &Func); 77 bool performCallRangeErrorOnly(CallInst *CI, const LibFunc &Func); [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | FrontendAction.cpp | 158 CompilerInstance &CI = getCompilerInstance(); in getCurrentModule() local 159 return CI.getPreprocessor().getHeaderSearchInfo().lookupModule( in getCurrentModule() 160 CI.getLangOpts().CurrentModule, SourceLocation(), /*AllowSearch*/false); in getCurrentModule() 164 FrontendAction::CreateWrappedASTConsumer(CompilerInstance &CI, in CreateWrappedASTConsumer() argument 166 std::unique_ptr<ASTConsumer> Consumer = CreateASTConsumer(CI, InFile); in CreateWrappedASTConsumer() 172 for (const std::string &Arg : CI.getFrontendOpts().AddPluginActions) { in CreateWrappedASTConsumer() 180 CI.getDiagnostics().Report(diag::err_fe_invalid_plugin_name) << Arg; in CreateWrappedASTConsumer() 192 if (CI.hasCodeCompletionConsumer()) in CreateWrappedASTConsumer() 207 if (llvm::is_contained(CI.getFrontendOpts().AddPluginActions, in CreateWrappedASTConsumer() 218 CI, in CreateWrappedASTConsumer() [all …]
|
H A D | FrontendActions.cpp | 42 CodeCompleteConsumer *GetCodeCompletionConsumer(CompilerInstance &CI) { in GetCodeCompletionConsumer() argument 43 return CI.hasCodeCompletionConsumer() ? &CI.getCodeCompletionConsumer() in GetCodeCompletionConsumer() 47 void EnsureSemaIsCreated(CompilerInstance &CI, FrontendAction &Action) { in EnsureSemaIsCreated() argument 49 !CI.getFrontendOpts().CodeCompletionAt.FileName.empty()) in EnsureSemaIsCreated() 50 CI.createCodeCompletionConsumer(); in EnsureSemaIsCreated() 52 if (!CI.hasSema()) in EnsureSemaIsCreated() 53 CI.createSema(Action.getTranslationUnitKind(), in EnsureSemaIsCreated() 54 GetCodeCompletionConsumer(CI)); in EnsureSemaIsCreated() 63 InitOnlyAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer() argument 86 ReadPCHAndPreprocessAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer() argument [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | IntrinsicLowering.cpp | 30 static CallInst *ReplaceCallWith(const char *NewFn, CallInst *CI, in ReplaceCallWith() argument 35 Module *M = CI->getModule(); in ReplaceCallWith() 43 IRBuilder<> Builder(CI->getParent(), CI->getIterator()); in ReplaceCallWith() 46 NewCI->setName(CI->getName()); in ReplaceCallWith() 47 if (!CI->use_empty()) in ReplaceCallWith() 48 CI->replaceAllUsesWith(NewCI); in ReplaceCallWith() 202 static void ReplaceFPIntrinsicWithCall(CallInst *CI, const char *Fname, in ReplaceFPIntrinsicWithCall() argument 205 switch (CI->getArgOperand(0)->getType()->getTypeID()) { in ReplaceFPIntrinsicWithCall() 208 ReplaceCallWith(Fname, CI, CI->arg_begin(), CI->arg_end(), in ReplaceFPIntrinsicWithCall() 209 Type::getFloatTy(CI->getContext())); in ReplaceFPIntrinsicWithCall() [all …]
|
/freebsd/lib/libc/iconv/ |
H A D | citrus_iconv.c | 93 close_shared(struct _citrus_iconv_shared *ci) in close_shared() argument 96 if (ci) { in close_shared() 97 if (ci->ci_module) { in close_shared() 98 if (ci->ci_ops) { in close_shared() 99 if (ci->ci_closure) in close_shared() 100 (*ci->ci_ops->io_uninit_shared)(ci); in close_shared() 101 free(ci->ci_ops); in close_shared() 103 _citrus_unload_module(ci->ci_module); in close_shared() 105 free(ci); in close_shared() 114 struct _citrus_iconv_shared *ci; in open_shared() local [all …]
|
/freebsd/contrib/lua/src/ |
H A D | ldo.c | 166 CallInfo *ci; in relstack() local 172 for (ci = L->ci; ci != NULL; ci = ci->previous) { in relstack() 173 ci->top.offset = savestack(L, ci->top.p); in relstack() 174 ci->func.offset = savestack(L, ci->func.p); in relstack() 183 CallInfo *ci; in correctstack() local 189 for (ci = L->ci; ci != NULL; ci = ci->previous) { in correctstack() 190 ci->top.p = restorestack(L, ci->top.offset); in correctstack() 191 ci->func.p = restorestack(L, ci->func.offset); in correctstack() 192 if (isLua(ci)) in correctstack() 193 ci->u.l.trap = 1; /* signal to update 'trap' in 'luaV_execute' */ in correctstack() [all …]
|
H A D | ldebug.c | 37 static const char *funcnamefromcall (lua_State *L, CallInfo *ci, 41 static int currentpc (CallInfo *ci) { in currentpc() argument 42 lua_assert(isLua(ci)); in currentpc() 43 return pcRel(ci->u.l.savedpc, ci_func(ci)->p); in currentpc() 98 static int getcurrentline (CallInfo *ci) { in getcurrentline() argument 99 return luaG_getfuncline(ci_func(ci)->p, currentpc(ci)); in getcurrentline() 106 ** assumptions. A new 'ci' is completely linked in the list before it 114 static void settraps (CallInfo *ci) { in settraps() argument 115 for (; ci != NULL; ci = ci->previous) in settraps() 116 if (isLua(ci)) in settraps() [all …]
|
H A D | lstate.c | 106 CallInfo *ci; in luaE_extendCI() local 107 lua_assert(L->ci->next == NULL); in luaE_extendCI() 108 ci = luaM_new(L, CallInfo); in luaE_extendCI() 109 lua_assert(L->ci->next == NULL); in luaE_extendCI() 110 L->ci->next = ci; in luaE_extendCI() 111 ci->previous = L->ci; in luaE_extendCI() 112 ci->next = NULL; in luaE_extendCI() 113 ci->u.l.trap = 0; in luaE_extendCI() 115 return ci; in luaE_extendCI() 123 CallInfo *ci = L->ci; in luaE_freeCI() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SILoadStoreOptimizer.cpp | 125 bool hasSameBaseAddress(const CombineInfo &CI) { in hasSameBaseAddress() 126 if (NumAddresses != CI.NumAddresses) in hasSameBaseAddress() 129 const MachineInstr &MI = *CI.I; in hasSameBaseAddress() 212 static bool dmasksCanBeCombined(const CombineInfo &CI, 215 static bool offsetsCanBeCombined(CombineInfo &CI, const GCNSubtarget &STI, 217 static bool widthsFit(const GCNSubtarget &STI, const CombineInfo &CI, 219 unsigned getNewOpcode(const CombineInfo &CI, const CombineInfo &Paired); 220 static std::pair<unsigned, unsigned> getSubRegIdxs(const CombineInfo &CI, 223 getTargetRegisterClass(const CombineInfo &CI, 227 CombineInfo *checkAndPrepareMerge(CombineInfo &CI, CombineInfo &Paired); [all …]
|
/freebsd/sys/contrib/openzfs/module/lua/ |
H A D | ldo.c | 226 CallInfo *ci; in correctstack() local 231 for (ci = L->ci; ci != NULL; ci = ci->previous) { in correctstack() 232 ci->top = (ci->top - oldstack) + L->stack; in correctstack() 233 ci->func = (ci->func - oldstack) + L->stack; in correctstack() 234 if (isLua(ci)) in correctstack() 235 ci->u.l.base = (ci->u.l.base - oldstack) + L->stack; in correctstack() 278 CallInfo *ci; in stackinuse() local 280 for (ci = L->ci; ci != NULL; ci = ci->previous) { in stackinuse() 281 lua_assert(ci->top <= L->stack_last); in stackinuse() 282 if (lim < ci->top) lim = ci->top; in stackinuse() [all …]
|
H A D | ldebug.c | 31 static const char *getfuncname (lua_State *L, CallInfo *ci, const char **name); 34 static int currentpc (CallInfo *ci) { in currentpc() argument 35 lua_assert(isLua(ci)); in currentpc() 36 return pcRel(ci->u.l.savedpc, ci_func(ci)->p); in currentpc() 40 static int currentline (CallInfo *ci) { in currentline() argument 41 return getfuncline(ci_func(ci)->p, currentpc(ci)); in currentline() 47 CallInfo *ci = L->ci; /* get function that yielded */ in swapextra() local 48 StkId temp = ci->func; /* exchange its 'func' and 'extra' values */ in swapextra() 49 ci->func = restorestack(L, ci->extra); in swapextra() 50 ci->extra = savestack(L, temp); in swapextra() [all …]
|
H A D | lstate.c | 109 CallInfo *ci = luaM_new(L, CallInfo); in luaE_extendCI() local 110 lua_assert(L->ci->next == NULL); in luaE_extendCI() 111 L->ci->next = ci; in luaE_extendCI() 112 ci->previous = L->ci; in luaE_extendCI() 113 ci->next = NULL; in luaE_extendCI() 114 return ci; in luaE_extendCI() 119 CallInfo *ci = L->ci; in luaE_freeCI() local 120 CallInfo *next = ci->next; in luaE_freeCI() 121 ci->next = NULL; in luaE_freeCI() 122 while ((ci = next) != NULL) { in luaE_freeCI() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | AutoUpgrade.cpp | 1653 static Value *upgradeX86VPERMT2Intrinsics(IRBuilder<> &Builder, CallBase &CI, in upgradeX86VPERMT2Intrinsics() argument 1655 Type *Ty = CI.getType(); in upgradeX86VPERMT2Intrinsics() 1699 Value *Args[] = { CI.getArgOperand(0) , CI.getArgOperand(1), in upgradeX86VPERMT2Intrinsics() 1700 CI.getArgOperand(2) }; in upgradeX86VPERMT2Intrinsics() 1706 Value *V = Builder.CreateCall(Intrinsic::getDeclaration(CI.getModule(), IID), in upgradeX86VPERMT2Intrinsics() 1709 : Builder.CreateBitCast(CI.getArgOperand(1), in upgradeX86VPERMT2Intrinsics() 1711 return emitX86Select(Builder, CI.getArgOperand(3), V, PassThru); in upgradeX86VPERMT2Intrinsics() 1714 static Value *upgradeX86BinaryIntrinsics(IRBuilder<> &Builder, CallBase &CI, in upgradeX86BinaryIntrinsics() argument 1716 Type *Ty = CI.getType(); in upgradeX86BinaryIntrinsics() 1717 Value *Op0 = CI.getOperand(0); in upgradeX86BinaryIntrinsics() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/ |
H A D | ExtractAPIConsumer.cpp | 60 std::optional<std::string> getRelativeIncludeName(const CompilerInstance &CI, in getRelativeIncludeName() argument 63 assert(CI.hasFileManager() && in getRelativeIncludeName() 67 const auto &FS = CI.getVirtualFileSystem(); in getRelativeIncludeName() 125 for (const auto &Entry : CI.getHeaderSearchOpts().UserEntries) { in getRelativeIncludeName() 130 if (auto EntryFile = CI.getFileManager().getOptionalFileRef(Entry.Path)) { in getRelativeIncludeName() 131 if (auto HMap = HeaderMap::Create(*EntryFile, CI.getFileManager())) { in getRelativeIncludeName() 172 std::optional<std::string> getRelativeIncludeName(const CompilerInstance &CI, in getRelativeIncludeName() argument 175 return getRelativeIncludeName(CI, FE.getNameAsRequested(), IsQuoted); in getRelativeIncludeName() 182 auto &SM = CI.getSourceManager(); in operator ()() 200 if (auto IncludeName = getRelativeIncludeName(CI, *File, &IsQuoted)) in operator ()() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | ScalarizeMaskedMemIntrin.cpp | 72 static bool optimizeCallInst(CallInst *CI, bool &ModifiedDT, 143 static void scalarizeMaskedLoad(const DataLayout &DL, CallInst *CI, in scalarizeMaskedLoad() argument 145 Value *Ptr = CI->getArgOperand(0); in scalarizeMaskedLoad() 146 Value *Alignment = CI->getArgOperand(1); in scalarizeMaskedLoad() 147 Value *Mask = CI->getArgOperand(2); in scalarizeMaskedLoad() 148 Value *Src0 = CI->getArgOperand(3); in scalarizeMaskedLoad() 151 VectorType *VecType = cast<FixedVectorType>(CI->getType()); in scalarizeMaskedLoad() 155 IRBuilder<> Builder(CI->getContext()); in scalarizeMaskedLoad() 156 Instruction *InsertPt = CI; in scalarizeMaskedLoad() 157 BasicBlock *IfBlock = CI->getParent(); in scalarizeMaskedLoad() [all …]
|
H A D | TailRecursionElimination.cpp | 238 CallInst *CI = dyn_cast<CallInst>(&I); in markTails() local 242 if (!CI || CI->isTailCall() || isa<DbgInfoIntrinsic>(&I) || in markTails() 248 bool IsNoTail = CI->isNoTailCall() || in markTails() 249 CI->hasOperandBundlesOtherThan( in markTails() 253 if (!IsNoTail && CI->doesNotAccessMemory()) { in markTails() 262 for (auto &Arg : CI->args()) { in markTails() 274 return OptimizationRemark(DEBUG_TYPE, "tailcall-readnone", CI) in markTails() 277 CI->setTailCall(); in markTails() 283 if (!IsNoTail && Escaped == UNESCAPED && !Tracker.AllocaUsers.count(CI)) in markTails() 284 DeferredTails.push_back(CI); in markTails() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/ |
H A D | ModuleDepCollector.cpp | 27 if (const auto *CI = std::get_if<CowCompilerInvocation>(&BuildInfo)) in getBuildArguments() local 28 BuildInfo = CI->getCC1CommandLine(); in getBuildArguments() 132 void ModuleDepCollector::addOutputPaths(CowCompilerInvocation &CI, in addOutputPaths() argument 134 CI.getMutFrontendOpts().OutputFile = in addOutputPaths() 136 if (!CI.getDiagnosticOpts().DiagnosticSerializationFile.empty()) in addOutputPaths() 137 CI.getMutDiagnosticOpts().DiagnosticSerializationFile = in addOutputPaths() 140 if (!CI.getDependencyOutputOpts().OutputFile.empty()) { in addOutputPaths() 141 CI.getMutDependencyOutputOpts().OutputFile = Controller.lookupModuleOutput( in addOutputPaths() 143 CI.getMutDependencyOutputOpts().Targets = in addOutputPaths() 147 if (!CI.getDependencyOutputOpts().OutputFile.empty() && in addOutputPaths() [all …]
|
/freebsd/contrib/libfido2/examples/ |
H A D | info.c | 130 print_algorithms(const fido_cbor_info_t *ci) in print_algorithms() argument 135 if ((len = fido_cbor_info_algorithm_count(ci)) == 0) in print_algorithms() 142 switch (fido_cbor_info_algorithm_cose(ci, i)) { in print_algorithms() 156 if (fido_cbor_info_algorithm_type(ci, i) != NULL) in print_algorithms() 157 type = fido_cbor_info_algorithm_type(ci, i); in print_algorithms() 283 fido_cbor_info_t *ci; in getinfo() local 297 if ((ci = fido_cbor_info_new()) == NULL) in getinfo() 299 if ((r = fido_dev_get_cbor_info(dev, ci)) != FIDO_OK) in getinfo() 303 print_str_array("version", fido_cbor_info_versions_ptr(ci), in getinfo() 304 fido_cbor_info_versions_len(ci)); in getinfo() [all …]
|
/freebsd/contrib/googletest/ |
H A D | .travis.yml | 2 # https://docs.travis-ci.com/user/customizing-the-build/ 4 # http://lint.travis-ci.org/ 16 install: ./ci/install-linux.sh && ./ci/log-config.sh 17 script: ./ci/build-linux-bazel.sh 21 install: ./ci/install-linux.sh && ./ci/log-config.sh 22 script: ./ci/build-linux-bazel.sh 26 install: ./ci/install-linux.sh && ./ci/log-config.sh 27 script: ./ci/build-linux-autotools.sh 60 - ./ci/install-${TRAVIS_OS_NAME}.sh 61 - . ./ci/env-${TRAVIS_OS_NAME}.sh [all …]
|
/freebsd/contrib/llvm-project/lldb/bindings/interface/ |
H A D | SBCommandInterpreterDocstrings.i | 17 ci = self.dbg.GetCommandInterpreter() 18 self.assertTrue(ci, VALID_COMMAND_INTERPRETER) 22 self.assertTrue(ci.HasCommands()) 23 self.assertTrue(ci.HasAliases()) 24 self.assertTrue(ci.HasAliasOptions()) 25 self.assertTrue(ci.CommandExists('breakpoint')) 26 self.assertTrue(ci.CommandExists('target')) 27 self.assertTrue(ci.CommandExists('platform')) 28 self.assertTrue(ci.AliasExists('file')) 29 self.assertTrue(ci.AliasExists('run')) [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/ |
H A D | FrontendActions.h | 26 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI, 39 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI, 47 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer() argument 64 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI, 70 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI, 76 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI, 82 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI, 88 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI, 104 static bool ComputeASTConsumerArguments(CompilerInstance &CI, 110 CreateOutputFile(CompilerInstance &CI, StringRef InFile, [all …]
|