| /freebsd/sys/dev/kbd/ |
| H A D | kbdtables.h | 104 /*3b*/{{ F( 1), F(13), F(25), F(37), S( 1), S(11), S( 1), S(11),}, 0xFF,0x00 }, 105 /*3c*/{{ F( 2), F(14), F(26), F(38), S( 2), S(12), S( 2), S(12),}, 0xFF,0x00 }, 106 /*3d*/{{ F( 3), F(15), F(27), F(39), S( 3), S(13), S( 3), S(13),}, 0xFF,0x00 }, 107 /*3e*/{{ F( 4), F(16), F(28), F(40), S( 4), S(14), S( 4), S(14),}, 0xFF,0x00 }, 108 /*3f*/{{ F( 5), F(17), F(29), F(41), S( 5), S(15), S( 5), S(15),}, 0xFF,0x00 }, 109 /*40*/{{ F( 6), F(18), F(30), F(42), S( 6), S(16), S( 6), S(16),}, 0xFF,0x00 }, 110 /*41*/{{ F( 7), F(19), F(31), F(43), S( 7), S( 7), S( 7), S( 7),}, 0xFF,0x00 }, 111 /*42*/{{ F( 8), F(20), F(32), F(44), S( 8), S( 8), S( 8), S( 8),}, 0xFF,0x00 }, 112 /*43*/{{ F( 9), F(21), F(33), F(45), S( 9), S( 9), S( 9), S( 9),}, 0xFF,0x00 }, 113 /*44*/{{ F(10), F(22), F(34), F(46), S(10), S(10), S(10), S(10),}, 0xFF,0x00 }, [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | BuildLibCalls.cpp | 61 static bool setDoesNotAccessMemory(Function &F) { in setDoesNotAccessMemory() argument 62 if (F.doesNotAccessMemory()) in setDoesNotAccessMemory() 64 F.setDoesNotAccessMemory(); in setDoesNotAccessMemory() 69 static bool setIsCold(Function &F) { in setIsCold() argument 70 if (F.hasFnAttribute(Attribute::Cold)) in setIsCold() 72 F.addFnAttr(Attribute::Cold); in setIsCold() 77 static bool setNoReturn(Function &F) { in setNoReturn() argument 78 if (F.hasFnAttribute(Attribute::NoReturn)) in setNoReturn() 80 F.addFnAttr(Attribute::NoReturn); in setNoReturn() 85 static bool setMemoryEffects(Function &F, MemoryEffects ME) { in setMemoryEffects() argument [all …]
|
| /freebsd/contrib/bmake/filemon/ |
| H A D | filemon_ktrace.c | 198 struct filemon *F; in filemon_open() local 203 F = calloc(1, sizeof *F); in filemon_open() 204 if (F == NULL) in filemon_open() 214 if ((F->in = fdopen(ktrpipe[0], "r")) == NULL) { in filemon_open() 224 F->ktrfd = ktrpipe[1]; in filemon_open() 225 rb_tree_init(&F->active, &filemon_rb_ops); in filemon_open() 228 return F; in filemon_open() 232 fail0: free(F); in filemon_open() 246 filemon_closefd(struct filemon *F) in filemon_closefd() argument 251 if (F->out == NULL) in filemon_closefd() [all …]
|
| H A D | filemon_dev.c | 67 struct filemon *F; in filemon_open() local 72 F = calloc(1, sizeof *F); in filemon_open() 73 if (F == NULL) in filemon_open() 77 for (i = 0; (F->fd = open(_PATH_FILEMON, O_RDWR|O_CLOEXEC)) == -1; i++) { in filemon_open() 85 return F; in filemon_open() 87 fail0: free(F); in filemon_open() 93 filemon_setfd(struct filemon *F, int fd) in filemon_setfd() argument 97 if (ioctl(F->fd, FILEMON_SET_FD, &fd) == -1) in filemon_setfd() 108 filemon_setpid_parent(struct filemon *F MAKE_ATTR_UNUSED, pid_t pid MAKE_ATTR_UNUSED) in filemon_setpid_parent() 114 filemon_setpid_child(const struct filemon *F, pid_t pid) in filemon_setpid_child() argument [all …]
|
| /freebsd/contrib/kyua/utils/format/ |
| H A D | formatter_test.cpp | 101 EQ("Plain string", F("Plain string")); in ATF_TEST_CASE_BODY() 108 EQ("foo", F("%sfoo") % ""); in ATF_TEST_CASE_BODY() 109 EQ(" foo", F("%sfoo") % " "); in ATF_TEST_CASE_BODY() 110 EQ("foo ", F("foo %s") % ""); in ATF_TEST_CASE_BODY() 111 EQ("foo bar", F("foo %s") % "bar"); in ATF_TEST_CASE_BODY() 112 EQ("foo bar baz", F("foo %s baz") % "bar"); in ATF_TEST_CASE_BODY() 113 EQ("foo %s %s", F("foo %s %s") % "%s" % "%s"); in ATF_TEST_CASE_BODY() 120 EQ("", F("%s%s") % "" % ""); in ATF_TEST_CASE_BODY() 121 EQ("foo", F("%s%s%s") % "" % "foo" % ""); in ATF_TEST_CASE_BODY() 122 EQ("some 5 text", F("%s %s %s") % "some" % 5 % "text"); in ATF_TEST_CASE_BODY() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | DeadArgumentElimination.cpp | 124 bool DeadArgumentEliminationPass::deleteDeadVarargs(Function &F) { in deleteDeadVarargs() argument 125 assert(F.getFunctionType()->isVarArg() && "Function isn't varargs!"); in deleteDeadVarargs() 126 if (F.isDeclaration() || !F.hasLocalLinkage()) in deleteDeadVarargs() 130 if (F.hasAddressTaken()) in deleteDeadVarargs() 136 if (F.hasFnAttribute(Attribute::Naked)) { in deleteDeadVarargs() 142 for (BasicBlock &BB : F) { in deleteDeadVarargs() 161 FunctionType *FTy = F.getFunctionType(); in deleteDeadVarargs() 168 Function *NF = Function::Create(NFTy, F.getLinkage(), F.getAddressSpace()); in deleteDeadVarargs() 169 NF->copyAttributesFrom(&F); in deleteDeadVarargs() 170 NF->setComdat(F.getComdat()); in deleteDeadVarargs() [all …]
|
| H A D | SCCP.cpp | 50 static void findReturnsToZap(Function &F, in findReturnsToZap() argument 54 if (!Solver.isArgumentTrackedFunction(&F)) in findReturnsToZap() 57 if (Solver.mustPreserveReturn(&F)) { in findReturnsToZap() 60 << "Can't zap returns of the function : " << F.getName() in findReturnsToZap() 67 all_of(F.users(), in findReturnsToZap() 94 for (BasicBlock &BB : F) { in findReturnsToZap() 122 for (Function &F : M) { in runIPSCCP() 123 if (F.isDeclaration()) in runIPSCCP() 126 DominatorTree &DT = GetDT(F); in runIPSCCP() 127 AssumptionCache &AC = GetAC(F); in runIPSCCP() [all …]
|
| H A D | MergeFunctions.cpp | 172 mutable AssertingVH<Function> F; member in __anonc9c4572e0111::FunctionNode 177 FunctionNode(Function *F) : F(F), Hash(StructuralHash(*F)) {} in FunctionNode() argument 179 Function *getFunc() const { return F; } in getFunc() 185 F = G; in replaceBy() 199 DenseMap<Function *, Function *> runOnFunctions(ArrayRef<Function *> F); 243 void remove(Function *F); 256 void mergeTwoFunctions(Function *F, Function *G); 280 void writeThunk(Function *F, Function *G); 283 void writeAlias(Function *F, Function *G); 288 bool writeThunkOrAliasIfNeeded(Function *F, Function *G); [all …]
|
| H A D | AlwaysInliner.cpp | 42 for (Function &F : make_early_inc_range(M)) { in AlwaysInlineImpl() 43 if (F.isPresplitCoroutine()) in AlwaysInlineImpl() 46 if (F.isDeclaration() || !isInlineViable(F).isSuccess()) in AlwaysInlineImpl() 51 for (User *U : F.users()) in AlwaysInlineImpl() 53 if (CB->getCalledFunction() == &F && in AlwaysInlineImpl() 66 &GetAAR(F), InsertLifetime); in AlwaysInlineImpl() 70 << "'" << ore::NV("Callee", &F) << "' is not inlined into '" in AlwaysInlineImpl() 78 ORE, DLoc, Block, F, *Caller, in AlwaysInlineImpl() 87 F.removeDeadConstantUsers(); in AlwaysInlineImpl() 88 if (F.hasFnAttribute(Attribute::AlwaysInline) && F.isDefTriviallyDead()) { in AlwaysInlineImpl() [all …]
|
| H A D | ElimAvailExtern.cpp | 53 void deleteFunction(Function &F) { in deleteFunction() argument 55 F.deleteBody(); in deleteFunction() 71 static void convertToLocalCopy(Module &M, Function &F) { in convertToLocalCopy() argument 72 assert(F.hasAvailableExternallyLinkage()); in convertToLocalCopy() 73 assert(!F.isDeclaration()); in convertToLocalCopy() 75 if (F.uses().end() == llvm::find_if(F.uses(), [&](Use &U) { in convertToLocalCopy() 78 return deleteFunction(F); in convertToLocalCopy() 80 auto OrigName = F.getName().str(); in convertToLocalCopy() 86 std::string NewName = getNewName(M, F); in convertToLocalCopy() 87 F.setName(NewName); in convertToLocalCopy() [all …]
|
| H A D | FunctionAttrs.cpp | 173 checkFunctionMemoryAccess(Function &F, bool ThisBody, AAResults &AAR, in checkFunctionMemoryAccess() argument 175 MemoryEffects OrigME = AAR.getMemoryEffects(&F); in checkFunctionMemoryAccess() 188 if (F.getAttributes().hasAttrSomewhere(Attribute::InAlloca) || in checkFunctionMemoryAccess() 189 F.getAttributes().hasAttrSomewhere(Attribute::Preallocated)) in checkFunctionMemoryAccess() 193 for (Instruction &I : instructions(F)) { in checkFunctionMemoryAccess() 268 MemoryEffects llvm::computeFunctionBodyMemoryAccess(Function &F, in computeFunctionBodyMemoryAccess() argument 270 return checkFunctionMemoryAccess(F, /*ThisBody=*/true, AAR, {}).first; in computeFunctionBodyMemoryAccess() 279 for (Function *F : SCCNodes) { in addMemoryAttrs() 281 AAResults &AAR = AARGetter(*F); in addMemoryAttrs() 286 checkFunctionMemoryAccess(*F, F->hasExactDefinition(), AAR, SCCNodes); in addMemoryAttrs() [all …]
|
| /freebsd/sbin/growfs/ |
| H A D | debug.h | 70 #define DBG_DUMP_HEX(F,C,M) dbg_dump_hex((F),(C),(M)) argument 71 #define DBG_DUMP_FS(F,C) dbg_dump_fs((F),(C)) argument 72 #define DBG_DUMP_CG(F,C,M) dbg_dump_cg((C),(M)) argument 73 #define DBG_DUMP_CSUM(F,C,M) dbg_dump_csum((C),(M)) argument 74 #define DBG_DUMP_INO(F,C,M) (F)->fs_magic == FS_UFS1_MAGIC \ argument 75 ? dbg_dump_ufs1_ino((F),(C),(struct ufs1_dinode *)(M)) \ 76 : dbg_dump_ufs2_ino((F),(C),(struct ufs2_dinode *)(M)) 77 #define DBG_DUMP_IBLK(F,C,M,L) dbg_dump_iblk((F),(C),(M),(L)) argument 78 #define DBG_DUMP_INMAP(F,C,M) dbg_dump_inmap((F),(C),(M)) argument 79 #define DBG_DUMP_FRMAP(F,C,M) dbg_dump_frmap((F),(C),(M)) argument [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetLibraryInfo.h | 100 void setState(LibFunc F, AvailabilityState State) { in setState() argument 101 AvailableArray[F/4] &= ~(3 << 2*(F&3)); in setState() 102 AvailableArray[F/4] |= State << 2*(F&3); in setState() 104 AvailabilityState getState(LibFunc F) const { in getState() argument 105 return static_cast<AvailabilityState>((AvailableArray[F/4] >> 2*(F&3)) & 3); in getState() 116 LLVM_ABI bool isValidProtoForLibFunc(const FunctionType &FTy, LibFunc F, 152 LLVM_ABI bool getLibFunc(StringRef funcName, LibFunc &F) const; 161 LLVM_ABI bool getLibFunc(const Function &FDecl, LibFunc &F) const; 165 LLVM_ABI bool getLibFunc(unsigned int Opcode, Type *Ty, LibFunc &F) const; 168 void setUnavailable(LibFunc F) { in setUnavailable() argument [all …]
|
| /freebsd/contrib/arm-optimized-routines/math/test/ |
| H A D | ulp_funcs.h | 8 F (sincosf_sinf, sincosf_sinf, sincos_sin, sincos_mpfr_sin, 1, 1, f1, 0) 9 F (sincosf_cosf, sincosf_cosf, sincos_cos, sincos_mpfr_cos, 1, 1, f1, 0) 13 F (_ZGVnN4v_expf_1u, Z_expf_1u, exp, mpfr_exp, 1, 1, f1, 1) 14 F (_ZGVnN4v_exp2f_1u, Z_exp2f_1u, exp2, mpfr_exp2, 1, 1, f1, 1) 15 F (_ZGVnN4vv_powf, Z_powf, pow, mpfr_pow, 2, 1, f2, 1) 16 F (_ZGVnN2vv_pow, Z_pow, powl, mpfr_pow, 2, 0, d2, 1) 17 F (_ZGVnN4v_sincosf_sin, v_sincosf_sin, sin, mpfr_sin, 1, 1, f1, 0) 18 F (_ZGVnN4v_sincosf_cos, v_sincosf_cos, cos, mpfr_cos, 1, 1, f1, 0) 19 F (_ZGVnN4v_cexpif_sin, v_cexpif_sin, sin, mpfr_sin, 1, 1, f1, 0) 20 F (_ZGVnN4v_cexpif_cos, v_cexpif_cos, cos, mpfr_cos, 1, 1, f1, 0) [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | GCMetadata.cpp | 26 for (const auto &F : M) { in invalidate() local 27 if (F.isDeclaration() || !F.hasGC()) in invalidate() 29 if (!contains(F.getGC())) in invalidate() 40 for (auto &F : M) { in run() local 41 if (F.isDeclaration() || !F.hasGC()) in run() 43 StringRef GCName = F.getGC(); in run() 56 GCFunctionAnalysis::run(Function &F, FunctionAnalysisManager &FAM) { in run() argument 57 assert(!F.isDeclaration() && "Can only get GCFunctionInfo for a definition!"); in run() 58 assert(F.hasGC() && "Function doesn't have GC!"); in run() 60 auto &MAMProxy = FAM.getResult<ModuleAnalysisManagerFunctionProxy>(F); in run() [all …]
|
| H A D | PreISelIntrinsicLowering.cpp | 73 expandMemIntrinsicUses(Function &F, 101 static bool lowerLoadRelative(Function &F) { in lowerLoadRelative() argument 102 if (F.use_empty()) in lowerLoadRelative() 106 Type *Int32Ty = Type::getInt32Ty(F.getContext()); in lowerLoadRelative() 108 for (Use &U : llvm::make_early_inc_range(F.uses())) { in lowerLoadRelative() 110 if (!CI || CI->getCalledOperand() != &F) in lowerLoadRelative() 130 static CallInst::TailCallKind getOverridingTailCallKind(const Function &F) { in getOverridingTailCallKind() argument 131 objcarc::ARCInstKind Kind = objcarc::GetFunctionClass(&F); in getOverridingTailCallKind() 139 static bool lowerObjCCall(Function &F, RTLIB::LibcallImpl NewFn, in lowerObjCCall() argument 141 assert(IntrinsicInst::mayLowerToFunctionCall(F.getIntrinsicID()) && in lowerObjCCall() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64MachineFunctionInfo.cpp | 45 static std::pair<bool, bool> GetSignReturnAddress(const Function &F) { in GetSignReturnAddress() argument 46 if (F.hasFnAttribute("ptrauth-returns")) in GetSignReturnAddress() 51 if (!F.hasFnAttribute("sign-return-address")) in GetSignReturnAddress() 54 StringRef Scope = F.getFnAttribute("sign-return-address").getValueAsString(); in GetSignReturnAddress() 65 static bool ShouldSignWithBKey(const Function &F, const AArch64Subtarget &STI) { in ShouldSignWithBKey() argument 66 if (F.hasFnAttribute("ptrauth-returns")) in ShouldSignWithBKey() 68 if (!F.hasFnAttribute("sign-return-address-key")) { in ShouldSignWithBKey() 75 F.getFnAttribute("sign-return-address-key").getValueAsString(); in ShouldSignWithBKey() 80 static bool hasELFSignedGOTHelper(const Function &F, in hasELFSignedGOTHelper() argument 84 const Module *M = F.getParent(); in hasELFSignedGOTHelper() [all …]
|
| H A D | AArch64Arm64ECCallLowering.cpp | 68 Function *buildEntryThunk(Function *F); 70 Function *buildGuestExitThunk(Function *F); 73 bool processFunction(Function &F, SetVector<GlobalValue *> &DirectCalledFns, 396 if (Function *F = M->getFunction(ExitThunkName)) in buildExitThunk() local 397 return F; in buildExitThunk() 399 Function *F = Function::Create(Arm64Ty, GlobalValue::LinkOnceODRLinkage, 0, in buildExitThunk() local 401 F->setCallingConv(CallingConv::ARM64EC_Thunk_Native); in buildExitThunk() 402 F->setSection(".wowthk$aa"); in buildExitThunk() 403 F->setComdat(M->getOrInsertComdat(ExitThunkName)); in buildExitThunk() 405 F->addFnAttr("frame-pointer", "all"); in buildExitThunk() [all …]
|
| /freebsd/crypto/krb5/src/lib/crypto/builtin/aes/ |
| H A D | kresults.expected | 3 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 12 46 64 31 29 64 86 ED 9C D7 1F C2 07 25 48 20 A2 15 C4 A8 5A EB 0B 20 41 49 4F 8B F1 F8 CD 30 F1 13 23 22 3C F8 A8 29 95 80 49 57 87 6E 9F A7 11 63 50 24 6B 4E 5B 8C 8F A4 DB 1B 95 D3 E8 C5 C5 FB 5A 00 27 83 FE B6 7B 73 4F CE DB 8E 97 D4 06 96 11 B7 23 32 94 8F E9 20 1F 8D FB 3A 22 CF 22 E8 94 1D 42 7B 34 25 4F 90 96 01 9B 09 27 5E FF 95 69 E0 70 DC 50 35 A3 D1 6F E1 EF 7B 6D 2F 4F 93 48 90 02 0D F1 8A 39 54 94 0B B4 7C 1B 5E BA B2 76 98 F1 9F D9 7F 33 [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyFixFunctionBitcasts.cpp | 66 static void findUses(Value *V, Function &F, in findUses() argument 70 findUses(BC, F, Uses); in findUses() 72 findUses(A, F, Uses); in findUses() 78 if (CB->getFunctionType() == F.getValueType()) in findUses() 81 Uses.push_back(std::make_pair(CB, &F)); in findUses() 109 static Function *createWrapper(Function *F, FunctionType *Ty) { in createWrapper() argument 110 Module *M = F->getParent(); in createWrapper() 113 F->getName() + "_bitcast", M); in createWrapper() 114 Wrapper->setAttributes(F->getAttributes()); in createWrapper() 122 FunctionType::param_iterator PI = F->getFunctionType()->param_begin(); in createWrapper() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | InstIterator.h | 129 inline inst_iterator inst_begin(Function *F) { return inst_iterator(*F); } in inst_begin() argument 130 inline inst_iterator inst_end(Function *F) { return inst_iterator(*F, true); } in inst_end() argument 131 inline inst_range instructions(Function *F) { in instructions() argument 132 return inst_range(inst_begin(F), inst_end(F)); in instructions() 134 inline const_inst_iterator inst_begin(const Function *F) { in inst_begin() argument 135 return const_inst_iterator(*F); in inst_begin() 137 inline const_inst_iterator inst_end(const Function *F) { in inst_end() argument 138 return const_inst_iterator(*F, true); in inst_end() 140 inline const_inst_range instructions(const Function *F) { in instructions() argument 141 return const_inst_range(inst_begin(F), inst_end(F)); in instructions() [all …]
|
| /freebsd/contrib/bc/tests/bc/ |
| H A D | lib2_uint_results.txt | 8 F 22 7F 24 7F 38 FF 7F 52 7F FF 54 7F FF 68 FF FF 7F FF 82 7F FF FF FF 84 7F FF FF FF 101 FF FF FF FF 7F FF FF FF [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | PGOCtxProfLowering.cpp | 74 bool lowerFunction(Function &F); 81 std::pair<uint32_t, uint32_t> getNumCountersAndCallsites(const Function &F) { in getNumCountersAndCallsites() argument 84 for (const auto &BB : F) { in getNumCountersAndCallsites() 110 void emitUnsupportedRootError(const Function &F, StringRef Reason) { in emitUnsupportedRootError() argument 111 F.getContext().emitError("[ctxprof] The function " + F.getName() + in emitUnsupportedRootError() 167 if (const auto *F = M.getFunction(Fname)) { in CtxInstrumentationLowerer() local 168 if (F->isDeclaration()) in CtxInstrumentationLowerer() 170 ContextRootSet.insert(F); in CtxInstrumentationLowerer() 171 for (const auto &BB : *F) in CtxInstrumentationLowerer() 175 emitUnsupportedRootError(*F, "it features musttail calls"); in CtxInstrumentationLowerer() [all …]
|
| /freebsd/crypto/openssl/crypto/sm3/ |
| H A D | sm3.c | 23 c->F = SM3_F; in ossl_sm3_init() 32 register unsigned MD32_REG_T A, B, C, D, E, F, G, H; in ossl_sm3_block_data_order() local 44 F = ctx->F; in ossl_sm3_block_data_order() 69 R1(A, B, C, D, E, F, G, H, 0x79CC4519, W00, W00 ^ W04); in ossl_sm3_block_data_order() 71 R1(D, A, B, C, H, E, F, G, 0xF3988A32, W01, W01 ^ W05); in ossl_sm3_block_data_order() 73 R1(C, D, A, B, G, H, E, F, 0xE7311465, W02, W02 ^ W06); in ossl_sm3_block_data_order() 75 R1(B, C, D, A, F, G, H, E, 0xCE6228CB, W03, W03 ^ W07); in ossl_sm3_block_data_order() 77 R1(A, B, C, D, E, F, G, H, 0x9CC45197, W04, W04 ^ W08); in ossl_sm3_block_data_order() 79 R1(D, A, B, C, H, E, F, G, 0x3988A32F, W05, W05 ^ W09); in ossl_sm3_block_data_order() 81 R1(C, D, A, B, G, H, E, F, 0x7311465E, W06, W06 ^ W10); in ossl_sm3_block_data_order() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVPrepareFunctions.cpp | 42 bool substituteIntrinsicCalls(Function *F); 43 Function *removeAggregateTypesFromSignature(Function *F); 79 Function *F = M->getFunction(Name); in getOrCreateFunction() local 80 if (F && F->getFunctionType() == FT) in getOrCreateFunction() 81 return F; in getOrCreateFunction() 83 if (F) in getOrCreateFunction() 84 NewF->setDSOLocal(F->isDSOLocal()); in getOrCreateFunction() 103 Function *F = M->getFunction(FuncName); in lowerIntrinsicToFunction() local 104 if (F) { in lowerIntrinsicToFunction() 105 Intrinsic->setCalledFunction(F); in lowerIntrinsicToFunction() [all …]
|