/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | TLSVariableHoist.cpp | 58 bool runOnFunction(Function &Fn) override; 89 if (skipFunction(Fn)) in runOnFunction() 101 << Fn.getName() << '\n'); in runOnFunction() 102 LLVM_DEBUG(dbgs() << Fn); in runOnFunction() 127 Module *M = Fn.getParent(); in collectTLSCandidates() 139 for (BasicBlock &BB : Fn) { in collectTLSCandidates() 220 BasicBlock *PosBB = &Fn.getEntryBlock(); in genBitCastInst() 238 auto *CastInst = genBitCastInst(Fn, GV); in tryReplaceTLSCandidate() 254 Replaced |= tryReplaceTLSCandidate(Fn, GV); in tryReplaceTLSCandidates() 263 if (Fn.hasOptNone()) in runImpl() [all …]
|
H A D | LowerExpectIntrinsic.cpp | 81 Function *Fn = CI->getCalledFunction(); in handleSwitchExpect() local 82 if (!Fn || (Fn->getIntrinsicID() != Intrinsic::expect && in handleSwitchExpect() 83 Fn->getIntrinsicID() != Intrinsic::expect_with_probability)) in handleSwitchExpect() 95 getBranchWeight(Fn->getIntrinsicID(), CI, n + 1); in handleSwitchExpect() 123 Function *Fn = Expect->getCalledFunction(); in handlePhiDef() local 128 if (Fn->getIntrinsicID() == Intrinsic::expect_with_probability) { in handlePhiDef() 314 Function *Fn = CI->getCalledFunction(); in handleBrSelExpect() local 315 if (!Fn || (Fn->getIntrinsicID() != Intrinsic::expect && in handleBrSelExpect() 329 getBranchWeight(Fn->getIntrinsicID(), CI, 2); in handleBrSelExpect() 388 Function *Fn = CI->getCalledFunction(); in lowerExpectIntrinsic() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsCCState.h | 115 CCAssignFn Fn, in AnalyzeCallOperands() argument 119 CCState::AnalyzeCallOperands(Outs, Fn); in AnalyzeCallOperands() 140 CCAssignFn Fn) { in AnalyzeFormalArguments() argument 141 PreAnalyzeFormalArguments(Ins, Fn); in AnalyzeFormalArguments() 142 CCState::AnalyzeFormalArguments(Ins, Fn); in AnalyzeFormalArguments() 165 CCState::AnalyzeCallResult(Ins, Fn); in AnalyzeCallResult() 169 CCAssignFn Fn) { in PreAnalyzeReturn() argument 178 CCAssignFn Fn) { in AnalyzeReturn() argument 179 PreAnalyzeReturn(Outs, Fn); in AnalyzeReturn() 180 CCState::AnalyzeReturn(Outs, Fn); in AnalyzeReturn() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | TargetRegistry.h | 711 MCSymbolizerCtorTy Fn = in createMCSymbolizer() local 864 T.MCAsmInfoCtorFn = Fn; in RegisterMCAsmInfo() 890 T.MCInstrInfoCtorFn = Fn; in RegisterMCInstrInfo() 910 T.MCRegInfoCtorFn = Fn; in RegisterMCRegInfo() 950 T.MCAsmBackendCtorFn = Fn; in RegisterMCAsmBackend() 963 T.MCAsmParserCtorFn = Fn; in RegisterMCAsmParser() 976 T.AsmPrinterCtorFn = Fn; in RegisterAsmPrinter() 1020 T.COFFStreamerCtorFn = Fn; in RegisterCOFFStreamer() 1024 T.GOFFStreamerCtorFn = Fn; in RegisterGOFFStreamer() 1032 T.ELFStreamerCtorFn = Fn; in RegisterELFStreamer() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGDeclCXX.cpp | 453 Fn->setDoesNotThrow(); in CreateGlobalInitOrCleanUpFunction() 495 return Fn; in CreateGlobalInitOrCleanUpFunction() 620 Fn->setComdat(C); in EmitCXXGlobalVarDeclInitFunc() 745 llvm::Function *Fn; in EmitCXXModuleInitFunc() local 776 AddGlobalCtor(Fn); in EmitCXXModuleInitFunc() 781 GenKernelArgMetadata(Fn); in EmitCXXModuleInitFunc() 907 llvm::Function *Fn; in EmitCXXGlobalInitFunc() local 924 AddGlobalCtor(Fn); in EmitCXXGlobalInitFunc() 995 llvm::Function *Fn = in EmitCXXGlobalCleanUpFunc() local 1000 AddGlobalDtor(Fn); in EmitCXXGlobalCleanUpFunc() [all …]
|
H A D | CodeGenFunction.cpp | 726 CurFn = Fn; in StartFunction() 854 Fn->addFnAttr( in StartFunction() 865 Fn->addFnAttr("xray-skip-exit"); in StartFunction() 957 EmitKernelMetadata(FD, Fn); in StartFunction() 966 Fn->setMetadata( in StartFunction() 1017 Fn->addFnAttr("stackrealign"); in StartFunction() 1082 Fn->addFnAttr("mnop-mcount"); in StartFunction() 1099 Fn->addFnAttr("packed-stack"); in StartFunction() 1104 Fn->addFnAttr("warn-stack-size", in StartFunction() 1370 Fn = Clone; in GenerateCode() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCBranchSelector.cpp | 55 void modifyAdjustment(MachineFunction &Fn); 56 int computeBranchSize(MachineFunction &Fn, 112 !Fn.getRegInfo().use_empty(PPC::X2)) in GetInitialOffset() 121 unsigned FuncSize = GetInitialOffset(Fn); in ComputeBlockSizes() 123 for (MachineBasicBlock &MBB : Fn) { in ComputeBlockSizes() 180 unsigned Offset = GetInitialOffset(Fn); in modifyAdjustment() 181 for (MachineBasicBlock &MBB : Fn) { in modifyAdjustment() 292 Fn.RenumberBlocks(); in runOnMachineFunction() 293 BlockSizes.resize(Fn.getNumBlockIDs()); in runOnMachineFunction() 322 for (MachineFunction::iterator MFI = Fn.begin(), E = Fn.end(); MFI != E; in runOnMachineFunction() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
H A D | TaskDispatch.h | 60 GenericNamedTaskImpl(FnT &&Fn, std::string DescBuffer) in GenericNamedTaskImpl() argument 61 : Fn(std::forward<FnT>(Fn)), Desc(DescBuffer.c_str()), in GenericNamedTaskImpl() 63 GenericNamedTaskImpl(FnT &&Fn, const char *Desc) in GenericNamedTaskImpl() argument 64 : Fn(std::forward<FnT>(Fn)), Desc(Desc) { in GenericNamedTaskImpl() 68 void run() override { Fn(); } in run() 71 FnT Fn; 78 std::unique_ptr<GenericNamedTask> makeGenericNamedTask(FnT &&Fn, in makeGenericNamedTask() argument 80 return std::make_unique<GenericNamedTaskImpl<FnT>>(std::forward<FnT>(Fn), in makeGenericNamedTask() 87 makeGenericNamedTask(FnT &&Fn, const char *Desc = nullptr) { 90 return std::make_unique<GenericNamedTaskImpl<FnT>>(std::forward<FnT>(Fn),
|
/freebsd/contrib/openpam/doc/man/ |
H A D | pam.man | 34 .Fn pam_start 42 .Fn pam_end 47 .Fn pam_set_item 49 .Fn pam_get_item 55 .Fn pam_set_data 57 .Fn pam_get_data 64 .Fn pam_setcred . 69 .Fn pam_acct_mgmt 85 .Fn pam_putenv , 86 .Fn pam_getenv [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | DiagnosticInfo.h | 325 const Function &Fn, in DiagnosticInfoWithLocationBase() argument 327 : DiagnosticInfo(Kind, Severity), Fn(Fn), Loc(Loc) {} in DiagnosticInfoWithLocationBase() 345 const Function &getFunction() const { return Fn; } in getFunction() 350 const Function &Fn; 361 const Function &Fn; 380 const Function &getFunction() const { return Fn; } in getFunction() 636 const Function &Fn, 956 const Function &Fn; variable 959 DiagnosticInfoISelFallback(const Function &Fn, 961 : DiagnosticInfo(DK_ISelFallback, Severity), Fn(Fn) {} in DiagnosticInfo() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | CallingConvLower.cpp | 86 CCAssignFn Fn) { in AnalyzeFormalArguments() argument 100 CCAssignFn Fn) { in CheckReturn() argument 105 if (Fn(i, VT, VT, CCValAssign::Full, ArgFlags, *this)) in CheckReturn() 114 CCAssignFn Fn) { in AnalyzeReturn() argument 119 if (Fn(i, VT, VT, CCValAssign::Full, ArgFlags, *this)) in AnalyzeReturn() 127 CCAssignFn Fn) { in AnalyzeCallOperands() argument 145 CCAssignFn Fn) { in AnalyzeCallOperands() argument 163 CCAssignFn Fn) { in AnalyzeCallResult() argument 167 if (Fn(i, VT, VT, CCValAssign::Full, Flags, *this)) { in AnalyzeCallResult() 178 void CCState::AnalyzeCallResult(MVT VT, CCAssignFn Fn) { in AnalyzeCallResult() argument [all …]
|
H A D | CallBrPrepare.cpp | 62 static SmallVector<CallBrInst *, 2> FindCallBrs(Function &Fn); 70 bool runOnFunction(Function &Fn) override; 76 PreservedAnalyses CallBrPreparePass::run(Function &Fn, in run() argument 79 SmallVector<CallBrInst *, 2> CBRs = FindCallBrs(Fn); in run() 84 auto &DT = FAM.getResult<DominatorTreeAnalysis>(Fn); in run() 107 SmallVector<CallBrInst *, 2> FindCallBrs(Function &Fn) { in FindCallBrs() argument 109 for (BasicBlock &BB : Fn) in FindCallBrs() 220 bool CallBrPrepare::runOnFunction(Function &Fn) { in runOnFunction() argument 222 SmallVector<CallBrInst *, 2> CBRs = FindCallBrs(Fn); in runOnFunction() 239 LazilyComputedDomTree.emplace(Fn); in runOnFunction()
|
H A D | PostRAHazardRecognizer.cpp | 54 bool runOnMachineFunction(MachineFunction &Fn) override; 66 bool PostRAHazardRecognizer::runOnMachineFunction(MachineFunction &Fn) { in runOnMachineFunction() argument 67 const TargetInstrInfo *TII = Fn.getSubtarget().getInstrInfo(); in runOnMachineFunction() 69 TII->CreateTargetPostRAHazardRecognizer(Fn)); in runOnMachineFunction() 77 for (auto &MBB : Fn) { in runOnMachineFunction()
|
H A D | WinEHPrepare.cpp | 67 bool runOnFunction(Function &Fn); 131 if (!Fn.hasPersonalityFn()) in runOnFunction() 142 return prepareExplicitEH(Fn); in runOnFunction() 190 auto *F = const_cast<Function *>(Fn); in calculateStateNumbersForInvokes() 268 if (Fn && Fn->isIntrinsic() && in calculateCXXStateForAsynchEH() 273 else if (Fn && Fn->isIntrinsic() && in calculateCXXStateForAsynchEH() 336 if (Fn && Fn->isIntrinsic() && in calculateSEHStateForAsynchEH() 340 else if (Fn && Fn->isIntrinsic() && in calculateSEHStateForAsynchEH() 593 for (const BasicBlock &BB : *Fn) { in calculateSEHStateNumbers() 617 for (const BasicBlock &BB : *Fn) { in calculateWinCXXEHStateNumbers() [all …]
|
H A D | LocalStackSlotAllocation.cpp | 86 void calculateFrameObjectOffsets(MachineFunction &Fn); 87 bool insertFrameReferenceRegisters(MachineFunction &Fn); 186 void LocalStackSlotPass::calculateFrameObjectOffsets(MachineFunction &Fn) { in calculateFrameObjectOffsets() argument 188 MachineFrameInfo &MFI = Fn.getFrameInfo(); in calculateFrameObjectOffsets() 189 const TargetFrameLowering &TFI = *Fn.getSubtarget().getFrameLowering(); in calculateFrameObjectOffsets() 284 bool LocalStackSlotPass::insertFrameReferenceRegisters(MachineFunction &Fn) { in insertFrameReferenceRegisters() argument 292 MachineFrameInfo &MFI = Fn.getFrameInfo(); in insertFrameReferenceRegisters() 293 const TargetRegisterInfo *TRI = Fn.getSubtarget().getRegisterInfo(); in insertFrameReferenceRegisters() 294 const TargetFrameLowering &TFI = *Fn.getSubtarget().getFrameLowering(); in insertFrameReferenceRegisters() 306 for (MachineBasicBlock &BB : Fn) { in insertFrameReferenceRegisters() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
H A D | Speculation.cpp | 82 for (auto &Fn : M.getFunctionList()) { in emit() local 83 if (!Fn.isDeclaration()) { in emit() 85 auto IRNames = QueryAnalysis(Fn); in emit() 94 "__orc_speculate.guard.for." + Fn.getName()); in emit() 98 BasicBlock &ProgramEntry = Fn.getEntryBlock(); in emit() 101 MContext, "__orc_speculate.block", &Fn, &ProgramEntry); in emit() 103 MContext, "__orc_speculate.decision.block", &Fn, SpeculateBlock); in emit() 105 assert(SpeculateDecisionBlock == &Fn.getEntryBlock() && in emit() 119 Mutator.CreatePtrToInt(&Fn, Type::getInt64Ty(MContext)); in emit() 126 assert(Mutator.GetInsertBlock()->getParent() == &Fn && in emit()
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | Stack.h | 36 llvm::function_ref<void()> Fn); 41 llvm::function_ref<void()> Fn) { in runWithSufficientStackSpace() argument 44 runWithSufficientStackSpaceSlow(Diag, Fn); in runWithSufficientStackSpace() 46 Fn(); in runWithSufficientStackSpace() 50 Fn(); in runWithSufficientStackSpace()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonVectorPrint.cpp | 66 bool runOnMachineFunction(MachineFunction &Fn) override; 99 MachineFunction &Fn) { in addAsmInstr() argument 101 const char *cstr = Fn.createExternalSymbolName(VDescStr); in addAsmInstr() 131 bool HexagonVectorPrint::runOnMachineFunction(MachineFunction &Fn) { in runOnMachineFunction() argument 133 QST = &Fn.getSubtarget<HexagonSubtarget>(); in runOnMachineFunction() 137 for (auto &MBB : Fn) in runOnMachineFunction() 185 addAsmInstr(MBB, Reg, MII, DL, QII, Fn); in runOnMachineFunction() 189 MII, DL, QII, Fn); in runOnMachineFunction() 191 MII, DL, QII, Fn); in runOnMachineFunction() 194 addAsmInstr(MBB, Reg, MII, DL, QII, Fn); in runOnMachineFunction()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Demangle/ |
H A D | ItaniumDemangle.h | 229 template<typename Fn> void visit(Fn F) const; 816 template<typename Fn> void match(Fn F) const { in match() 936 template<typename Fn> void match(Fn F) const { in match() 1083 template <typename Fn> void match(Fn F) const { in match() 1784 template<typename Fn> void match(Fn F) const { in match() 1846 template <typename Fn> void match(Fn F) const { in match() 1877 template <typename Fn> void match(Fn F) const { in match() 1897 template <typename Fn> void match(Fn F) const { in match() 1965 template<typename Fn> void match(Fn F) const { in match() 2089 template<typename Fn> void match(Fn F) const { in match() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | CallingConvLower.h | 267 CCAssignFn Fn) { in AnalyzeArguments() argument 268 AnalyzeFormalArguments(Ins, Fn); in AnalyzeArguments() 274 CCAssignFn Fn); 280 CCAssignFn Fn); 285 CCAssignFn Fn); 291 CCAssignFn Fn); 295 CCAssignFn Fn) { in AnalyzeArguments() argument 296 AnalyzeCallOperands(Outs, Fn); in AnalyzeArguments() 302 CCAssignFn Fn); 502 CCAssignFn Fn); [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVPushPopOptimizer.cpp | 36 bool runOnMachineFunction(MachineFunction &Fn) override; 107 bool RISCVPushPopOpt::runOnMachineFunction(MachineFunction &Fn) { in runOnMachineFunction() argument 108 if (skipFunction(Fn.getFunction())) in runOnMachineFunction() 112 const RISCVSubtarget *Subtarget = &Fn.getSubtarget<RISCVSubtarget>(); in runOnMachineFunction() 118 if (Fn.getTarget().Options.DisableFramePointerElim(Fn)) in runOnMachineFunction() 129 for (auto &MBB : Fn) { in runOnMachineFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | Analysis.cpp | 89 LLVMBool LLVMVerifyFunction(LLVMValueRef Fn, LLVMVerifierFailureAction Action) { in LLVMVerifyFunction() argument 91 *unwrap<Function>(Fn), Action != LLVMReturnStatusAction ? &errs() in LLVMVerifyFunction() 100 void LLVMViewFunctionCFG(LLVMValueRef Fn) { in LLVMViewFunctionCFG() argument 101 Function *F = unwrap<Function>(Fn); in LLVMViewFunctionCFG() 105 void LLVMViewFunctionCFGOnly(LLVMValueRef Fn) { in LLVMViewFunctionCFGOnly() argument 106 Function *F = unwrap<Function>(Fn); in LLVMViewFunctionCFGOnly()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | PredicateExpander.cpp | 438 const Record *Rec = Fn.getDeclaration(); in expandHeader() 467 Fn.getDeclaration()->getValueAsBit("UpdatesOpcodeMask"); in expandPrologue() 530 const STIPredicateFunction &Fn) { in expandBody() argument 532 Fn.getDeclaration()->getValueAsBit("UpdatesOpcodeMask"); in expandBody() 542 for (const OpcodeGroup &Group : Fn.getGroups()) { in expandBody() 567 expandPredicate(OS, Fn.getDefaultReturnPredicate()); in expandEpilogue() 578 const Record *Rec = Fn.getDeclaration(); in expandSTIPredicate() 582 expandHeader(OS, Fn); in expandSTIPredicate() 584 expandPrologue(OS, Fn); in expandSTIPredicate() 585 expandBody(OS, Fn); in expandSTIPredicate() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | WebAssembly.cpp | 62 llvm::Function *Fn = cast<llvm::Function>(GV); in setTargetAttributes() local 65 Fn->addFnAttrs(B); in setTargetAttributes() 68 llvm::Function *Fn = cast<llvm::Function>(GV); in setTargetAttributes() local 71 Fn->addFnAttrs(B); in setTargetAttributes() 74 llvm::Function *Fn = cast<llvm::Function>(GV); in setTargetAttributes() local 77 Fn->addFnAttrs(B); in setTargetAttributes() 82 llvm::Function *Fn = cast<llvm::Function>(GV); in setTargetAttributes() local 84 Fn->addFnAttr("no-prototype"); in setTargetAttributes()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/ |
H A D | TLSVariableHoist.h | 118 void collectTLSCandidates(Function &Fn); 122 BasicBlock::iterator findInsertPos(Function &Fn, GlobalVariable *GV, 124 Instruction *genBitCastInst(Function &Fn, GlobalVariable *GV); 125 bool tryReplaceTLSCandidates(Function &Fn); 126 bool tryReplaceTLSCandidate(Function &Fn, GlobalVariable *GV);
|