/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | Stack.h | 36 llvm::function_ref<void()> Fn); 39 /// is insufficient, calls Diag to emit a diagnostic before calling Fn. 41 llvm::function_ref<void()> Fn) { 44 runWithSufficientStackSpaceSlow(Diag, Fn); 46 Fn(); 50 Fn(); 40 runWithSufficientStackSpace(llvm::function_ref<void()> Diag, llvm::function_ref<void()> Fn) argument
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm-c/ |
H A D | Analysis.h | 49 LLVMBool LLVMVerifyFunction(LLVMValueRef Fn, LLVMVerifierFailureAction Action); 53 void LLVMViewFunctionCFG(LLVMValueRef Fn); 54 void LLVMViewFunctionCFGOnly(LLVMValueRef Fn);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | PostRAHazardRecognizer.cpp | 57 bool runOnMachineFunction(MachineFunction &Fn) override; 69 bool PostRAHazardRecognizer::runOnMachineFunction(MachineFunction &Fn) { argument 70 const TargetInstrInfo *TII = Fn.getSubtarget().getInstrInfo(); 72 TII->CreateTargetPostRAHazardRecognizer(Fn)); 79 for (auto &MBB : Fn) {
|
H A D | DwarfEHPrepare.cpp | 54 bool InsertUnwindResumeCalls(Function &Fn); 57 pruneUnreachableResumes(Function &Fn, 66 bool runOnFunction(Function &Fn) override; 143 Function &Fn, SmallVectorImpl<ResumeInst *> &Resumes, 162 getAnalysis<TargetTransformInfoWrapperPass>().getTTI(Fn); 163 LLVMContext &Ctx = Fn.getContext(); 184 bool DwarfEHPrepare::InsertUnwindResumeCalls(Function &Fn) { argument 187 for (BasicBlock &BB : Fn) { 199 EHPersonality Pers = classifyEHPersonality(Fn.getPersonalityFn()); 203 LLVMContext &Ctx = Fn 142 pruneUnreachableResumes( Function &Fn, SmallVectorImpl<ResumeInst *> &Resumes, SmallVectorImpl<LandingPadInst *> &CleanupLPads) argument 259 runOnFunction(Function &Fn) argument [all...] |
H A D | CallingConvLower.cpp | 87 CCAssignFn Fn) { 93 if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this)) 101 CCAssignFn Fn) { 106 if (Fn(i, VT, VT, CCValAssign::Full, ArgFlags, *this)) 115 CCAssignFn Fn) { 120 if (Fn(i, VT, VT, CCValAssign::Full, ArgFlags, *this)) 128 CCAssignFn Fn) { 133 if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this)) { 146 CCAssignFn Fn) { 151 if (Fn( 86 AnalyzeFormalArguments(const SmallVectorImpl<ISD::InputArg> &Ins, CCAssignFn Fn) argument 100 CheckReturn(const SmallVectorImpl<ISD::OutputArg> &Outs, CCAssignFn Fn) argument 114 AnalyzeReturn(const SmallVectorImpl<ISD::OutputArg> &Outs, CCAssignFn Fn) argument 127 AnalyzeCallOperands(const SmallVectorImpl<ISD::OutputArg> &Outs, CCAssignFn Fn) argument 144 AnalyzeCallOperands(SmallVectorImpl<MVT> &ArgVTs, SmallVectorImpl<ISD::ArgFlagsTy> &Flags, CCAssignFn Fn) argument 163 AnalyzeCallResult(const SmallVectorImpl<ISD::InputArg> &Ins, CCAssignFn Fn) argument 179 AnalyzeCallResult(MVT VT, CCAssignFn Fn) argument 199 getRemainingRegParmsForType(SmallVectorImpl<MCPhysReg> &Regs, MVT VT, CCAssignFn Fn) argument [all...] |
H A D | OptimizePHIs.cpp | 48 bool runOnMachineFunction(MachineFunction &Fn) override; 74 bool OptimizePHIs::runOnMachineFunction(MachineFunction &Fn) { argument 75 if (skipFunction(Fn.getFunction())) 78 MRI = &Fn.getRegInfo(); 79 TII = Fn.getSubtarget().getInstrInfo(); 86 for (MachineFunction::iterator I = Fn.begin(), E = Fn.end(); I != E; ++I)
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerExtFunctionsDlsym.cpp | 25 void *Fn = dlsym(RTLD_DEFAULT, FnName); local 26 if (Fn == nullptr) { 35 return reinterpret_cast<T>(Fn);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCBranchSelector.cpp | 51 unsigned ComputeBlockSizes(MachineFunction &Fn); 52 void modifyAdjustment(MachineFunction &Fn); 53 int computeBranchSize(MachineFunction &Fn, 58 bool runOnMachineFunction(MachineFunction &Fn) override; 106 static inline unsigned GetInitialOffset(MachineFunction &Fn) { argument 108 if (Fn.getSubtarget<PPCSubtarget>().isELFv2ABI() && 109 !Fn.getRegInfo().use_empty(PPC::X2)) 115 unsigned PPCBSel::ComputeBlockSizes(MachineFunction &Fn) { argument 117 static_cast<const PPCInstrInfo *>(Fn.getSubtarget().getInstrInfo()); 118 unsigned FuncSize = GetInitialOffset(Fn); 151 modifyAdjustment(MachineFunction &Fn) argument 176 computeBranchSize(MachineFunction &Fn, const MachineBasicBlock *Src, const MachineBasicBlock *Dest, unsigned BrOffset) argument 263 runOnMachineFunction(MachineFunction &Fn) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | CFLSteensAliasAnalysis.cpp | 77 FunctionInfo(Function &Fn, const SmallVectorImpl<Value *> &RetVals, 117 Function &Fn, const SmallVectorImpl<Value *> &RetVals, 122 if (Fn.arg_size() > MaxSupportedArgsInSummary) 174 for (auto &Param : Fn.args()) { 185 CFLSteensAAResult::FunctionInfo CFLSteensAAResult::buildSetsFrom(Function *Fn) { argument 186 CFLGraphBuilder<CFLSteensAAResult> GraphBuilder(*this, GetTLI(*Fn), *Fn); 224 return FunctionInfo(*Fn, GraphBuilder.getReturnValues(), SetBuilder.build()); 227 void CFLSteensAAResult::scan(Function *Fn) { argument 228 auto InsertPair = Cache.insert(std::make_pair(Fn, Optiona 116 FunctionInfo( Function &Fn, const SmallVectorImpl<Value *> &RetVals, StratifiedSets<InstantiatedValue> S) argument 242 evict(Function *Fn) argument 247 ensureCached(Function *Fn) argument 258 getAliasSummary(Function &Fn) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsCCState.h | 90 CCAssignFn Fn, 94 CCState::AnalyzeCallOperands(Outs, Fn); 105 CCAssignFn Fn) = delete; 108 CCAssignFn Fn) = delete; 111 CCAssignFn Fn) { 113 CCState::AnalyzeFormalArguments(Ins, Fn); 120 CCAssignFn Fn, const Type *RetTy, 124 CCState::AnalyzeCallResult(Ins, Fn); 131 CCAssignFn Fn) { 134 CCState::AnalyzeReturn(Outs, Fn); 89 AnalyzeCallOperands(const SmallVectorImpl<ISD::OutputArg> &Outs, CCAssignFn Fn, std::vector<TargetLowering::ArgListEntry> &FuncArgs, const char *Func) argument 110 AnalyzeFormalArguments(const SmallVectorImpl<ISD::InputArg> &Ins, CCAssignFn Fn) argument 119 AnalyzeCallResult(const SmallVectorImpl<ISD::InputArg> &Ins, CCAssignFn Fn, const Type *RetTy, const char *Func) argument 130 AnalyzeReturn(const SmallVectorImpl<ISD::OutputArg> &Outs, CCAssignFn Fn) argument 140 CheckReturn(const SmallVectorImpl<ISD::OutputArg> &ArgsFlags, CCAssignFn Fn) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | CFLAliasAnalysisUtils.h | 24 FunctionHandle(Function *Fn, AAResult *Result) argument 25 : CallbackVH(Fn), Result(Result) { 26 assert(Fn != nullptr);
|
H A D | CFLSteensAliasAnalysis.h | 59 void scan(Function *Fn); 61 void evict(Function *Fn); 65 const Optional<FunctionInfo> &ensureCached(Function *Fn); 69 const cflaa::AliasSummary *getAliasSummary(Function &Fn);
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | CoroutineStmtBuilder.h | 27 sema::FunctionScopeInfo &Fn; member in class:clang::CoroutineStmtBuilder 37 CoroutineStmtBuilder(Sema &S, FunctionDecl &FD, sema::FunctionScopeInfo &Fn,
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | ValueProfilePlugins.inc | 31 MemIntrinsicPlugin(Function &Fn) : F(Fn), Candidates(nullptr) {} 57 IndirectCallPromotionPlugin(Function &Fn) : F(Fn) {}
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | Parallel.h | 129 void parallel_for_each(IterTy Begin, IterTy End, FuncTy Fn) { argument 140 TG.spawn([=, &Fn] { std::for_each(Begin, Begin + TaskSize, Fn); }); 143 std::for_each(Begin, End, Fn); 147 void parallel_for_each_n(IndexTy Begin, IndexTy End, FuncTy Fn) { argument 155 TG.spawn([=, &Fn] { 157 Fn(J); 161 Fn(J); 183 void for_each(Policy policy, IterTy Begin, IterTy End, FuncTy Fn) { argument 186 std::for_each(Begin, End, Fn); 190 for_each_n(Policy policy, IndexTy Begin, IndexTy End, FuncTy Fn) argument 208 for_each(parallel_execution_policy policy, IterTy Begin, IterTy End, FuncTy Fn) argument 214 for_each_n(parallel_execution_policy policy, IndexTy Begin, IndexTy End, FuncTy Fn) argument [all...] |
H A D | TargetRegistry.h | 564 MCRelocationInfoCtorTy Fn = MCRelocationInfoCtorFn local 567 return Fn(Triple(TT), Ctx); 587 MCSymbolizerCtorTy Fn = local 589 return Fn(Triple(TT), GetOpInfo, SymbolLookUp, DisInfo, Ctx, 704 /// @param Fn - A function to construct a MCAsmInfo for the target. 705 static void RegisterMCAsmInfo(Target &T, Target::MCAsmInfoCtorFnTy Fn) { argument 706 T.MCAsmInfoCtorFn = Fn; 717 /// @param Fn - A function to construct a MCInstrInfo for the target. 718 static void RegisterMCInstrInfo(Target &T, Target::MCInstrInfoCtorFnTy Fn) { argument 719 T.MCInstrInfoCtorFn = Fn; 724 RegisterMCInstrAnalysis(Target &T, Target::MCInstrAnalysisCtorFnTy Fn) argument 738 RegisterMCRegInfo(Target &T, Target::MCRegInfoCtorFnTy Fn) argument 751 RegisterMCSubtargetInfo(Target &T, Target::MCSubtargetInfoCtorFnTy Fn) argument 765 RegisterTargetMachine(Target &T, Target::TargetMachineCtorTy Fn) argument 778 RegisterMCAsmBackend(Target &T, Target::MCAsmBackendCtorTy Fn) argument 791 RegisterMCAsmParser(Target &T, Target::MCAsmParserCtorTy Fn) argument 804 RegisterAsmPrinter(Target &T, Target::AsmPrinterCtorTy Fn) argument 817 RegisterMCDisassembler(Target &T, Target::MCDisassemblerCtorTy Fn) argument 831 RegisterMCInstPrinter(Target &T, Target::MCInstPrinterCtorTy Fn) argument 844 RegisterMCCodeEmitter(Target &T, Target::MCCodeEmitterCtorTy Fn) argument 848 RegisterCOFFStreamer(Target &T, Target::COFFStreamerCtorTy Fn) argument 852 RegisterMachOStreamer(Target &T, Target::MachOStreamerCtorTy Fn) argument 856 RegisterELFStreamer(Target &T, Target::ELFStreamerCtorTy Fn) argument 860 RegisterWasmStreamer(Target &T, Target::WasmStreamerCtorTy Fn) argument 864 RegisterNullTargetStreamer(Target &T, Target::NullTargetStreamerCtorTy Fn) argument 869 RegisterAsmTargetStreamer(Target &T, Target::AsmTargetStreamerCtorTy Fn) argument 875 RegisterObjectTargetStreamer(Target &T, Target::ObjectTargetStreamerCtorTy Fn) argument 889 RegisterMCRelocationInfo(Target &T, Target::MCRelocationInfoCtorTy Fn) argument 903 RegisterMCSymbolizer(Target &T, Target::MCSymbolizerCtorTy Fn) argument 967 RegisterMCAsmInfoFn(Target &T, Target::MCAsmInfoCtorFnTy Fn) argument 998 RegisterMCInstrInfoFn(Target &T, Target::MCInstrInfoCtorFnTy Fn) argument 1031 RegisterMCInstrAnalysisFn(Target &T, Target::MCInstrAnalysisCtorFnTy Fn) argument 1064 RegisterMCRegInfoFn(Target &T, Target::MCRegInfoCtorFnTy Fn) argument 1098 RegisterMCSubtargetInfoFn(Target &T, Target::MCSubtargetInfoCtorFnTy Fn) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
H A D | Speculation.cpp | 86 for (auto &Fn : M.getFunctionList()) { 87 if (!Fn.isDeclaration()) { 89 auto IRNames = QueryAnalysis(Fn); 98 "__orc_speculate.guard.for." + Fn.getName()); 102 BasicBlock &ProgramEntry = Fn.getEntryBlock(); 105 MContext, "__orc_speculate.block", &Fn, &ProgramEntry); 107 MContext, "__orc_speculate.decision.block", &Fn, SpeculateBlock); 109 assert(SpeculateDecisionBlock == &Fn.getEntryBlock() && 123 Mutator.CreatePtrToInt(&Fn, Type::getInt64Ty(MContext)); 130 assert(Mutator.GetInsertBlock()->getParent() == &Fn [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGDeclCXX.cpp | 339 llvm::Function *Fn = local 345 Fn->setSection(Section); 348 SetInternalFunctionAttributes(GlobalDecl(), Fn, FI); local 350 Fn->setCallingConv(getRuntimeCC()); 353 Fn->setDoesNotThrow(); 356 !isInSanitizerBlacklist(SanitizerKind::Address, Fn, Loc)) 357 Fn->addFnAttr(llvm::Attribute::SanitizeAddress); 360 !isInSanitizerBlacklist(SanitizerKind::KernelAddress, Fn, Loc)) 361 Fn->addFnAttr(llvm::Attribute::SanitizeAddress); 364 !isInSanitizerBlacklist(SanitizerKind::HWAddress, Fn, Lo 464 llvm::Function *Fn = local 568 llvm::Function *Fn = CreateGlobalInitOrDestructFunction( local 594 llvm::Function *Fn = CreateGlobalInitOrDestructFunction( local 629 llvm::Function *Fn = local 637 GenerateCXXGlobalVarDeclInitFunc(llvm::Function *Fn, const VarDecl *D, llvm::GlobalVariable *Addr, bool PerformInit) argument 671 GenerateCXXGlobalInitFunc(llvm::Function *Fn, ArrayRef<llvm::Function *> Decls, ConstantAddress Guard) argument 729 GenerateCXXGlobalDtorsFunc( llvm::Function *Fn, const std::vector<std::tuple<llvm::FunctionType *, llvm::WeakTrackingVH, llvm::Constant *>> &DtorsAndObjects) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Basic/ |
H A D | Stack.cpp | 68 llvm::function_ref<void()> Fn) { 73 Fn(); 67 runWithSufficientStackSpaceSlow(llvm::function_ref<void()> Diag, llvm::function_ref<void()> Fn) argument
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | Threading.cpp | 42 void llvm::llvm_execute_on_thread(void (*Fn)(void *), void *UserData, 45 Fn(UserData); 126 void llvm::llvm_execute_on_thread(void (*Fn)(void *), void *UserData, 129 SyncThreadInfo Info = {Fn, UserData};
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonAsmPrinter.h | 37 bool runOnMachineFunction(MachineFunction &Fn) override { 38 Subtarget = &Fn.getSubtarget<HexagonSubtarget>(); 39 return AsmPrinter::runOnMachineFunction(Fn);
|
H A D | HexagonSplitConst32AndConst64.cpp | 48 bool runOnMachineFunction(MachineFunction &Fn) override; 61 bool HexagonSplitConst32AndConst64::runOnMachineFunction(MachineFunction &Fn) { argument 62 auto &HST = Fn.getSubtarget<HexagonSubtarget>(); 63 auto &HTM = static_cast<const HexagonTargetMachine&>(Fn.getTarget()); 72 for (MachineBasicBlock &B : Fn) {
|
H A D | HexagonVectorPrint.cpp | 66 bool runOnMachineFunction(MachineFunction &Fn) override; 98 MachineFunction &Fn) { 100 const char *cstr = Fn.createExternalSymbolName(VDescStr); 130 bool HexagonVectorPrint::runOnMachineFunction(MachineFunction &Fn) { argument 132 QST = &Fn.getSubtarget<HexagonSubtarget>(); 136 for (auto &MBB : Fn) 184 addAsmInstr(MBB, Reg, MII, DL, QII, Fn); 188 MII, DL, QII, Fn); 190 MII, DL, QII, Fn); 193 addAsmInstr(MBB, Reg, MII, DL, QII, Fn); 95 addAsmInstr(MachineBasicBlock *MBB, unsigned Reg, MachineBasicBlock::instr_iterator I, const DebugLoc &DL, const HexagonInstrInfo *QII, MachineFunction &Fn) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZCallingConv.h | 45 CCAssignFn Fn) { 55 CCState::AnalyzeFormalArguments(Ins, Fn); 59 CCAssignFn Fn) { 69 CCState::AnalyzeCallOperands(Outs, Fn); 76 CCAssignFn Fn) = delete; 44 AnalyzeFormalArguments(const SmallVectorImpl<ISD::InputArg> &Ins, CCAssignFn Fn) argument 58 AnalyzeCallOperands(const SmallVectorImpl<ISD::OutputArg> &Outs, CCAssignFn Fn) argument
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | DiagnosticInfo.h | 179 const Function &Fn; member in class:llvm::DiagnosticInfoResourceLimit 193 DiagnosticInfoResourceLimit(const Function &Fn, const char *ResourceName, argument 198 : DiagnosticInfo(Kind, Severity), Fn(Fn), ResourceName(ResourceName), 201 const Function &getFunction() const { return Fn; } 217 DiagnosticInfoStackSize(const Function &Fn, uint64_t StackSize, argument 220 : DiagnosticInfoResourceLimit(Fn, "stack size", StackSize, Severity, 368 /// \p Fn is the function where the diagnostic is being emitted. \p Loc is 372 const Function &Fn, 374 : DiagnosticInfo(Kind, Severity), Fn(F 370 DiagnosticInfoWithLocationBase(enum DiagnosticKind Kind, enum DiagnosticSeverity Severity, const Function &Fn, const DiagnosticLocation &Loc) argument 397 const Function &Fn; member in class:llvm::DiagnosticInfoWithLocationBase 446 DiagnosticInfoOptimizationBase(enum DiagnosticKind Kind, enum DiagnosticSeverity Severity, const char *PassName, StringRef RemarkName, const Function &Fn, const DiagnosticLocation &Loc) argument 616 DiagnosticInfoIROptimization(enum DiagnosticKind Kind, enum DiagnosticSeverity Severity, const char *PassName, StringRef RemarkName, const Function &Fn, const DiagnosticLocation &Loc, const Value *CodeRegion = nullptr) argument 651 DiagnosticInfoIROptimization(enum DiagnosticKind Kind, enum DiagnosticSeverity Severity, const char *PassName, const Function &Fn, const DiagnosticLocation &Loc, const Twine &Msg) argument 710 OptimizationRemark(const char *PassName, const Function &Fn, const DiagnosticLocation &Loc, const Twine &Msg) argument 751 OptimizationRemarkMissed(const char *PassName, const Function &Fn, const DiagnosticLocation &Loc, const Twine &Msg) argument 798 OptimizationRemarkAnalysis(enum DiagnosticKind Kind, const char *PassName, const Function &Fn, const DiagnosticLocation &Loc, const Twine &Msg) argument 818 OptimizationRemarkAnalysis(const char *PassName, const Function &Fn, const DiagnosticLocation &Loc, const Twine &Msg) argument 859 OptimizationRemarkAnalysisFPCommute(const char *PassName, const Function &Fn, const DiagnosticLocation &Loc, const Twine &Msg) argument 900 OptimizationRemarkAnalysisAliasing(const char *PassName, const Function &Fn, const DiagnosticLocation &Loc, const Twine &Msg) argument 928 const Function &Fn; member in class:llvm::DiagnosticInfoISelFallback 931 DiagnosticInfoISelFallback(const Function &Fn, DiagnosticSeverity Severity = DS_Warning) argument 956 DiagnosticInfoOptimizationFailure(const Function &Fn, const DiagnosticLocation &Loc, const Twine &Msg) argument 991 DiagnosticInfoUnsupported( const Function &Fn, const Twine &Msg, const DiagnosticLocation &Loc = DiagnosticLocation(), DiagnosticSeverity Severity = DS_Error) argument [all...] |