Home
last modified time | relevance | path

Searched refs:Params (Results 1 – 25 of 209) sorted by relevance

123456789

/freebsd/contrib/llvm-project/llvm/lib/Passes/
H A DPassBuilder.cpp527 std::pair<bool, bool> Params; in parseFunctionPipelineName() local
531 return Params; in parseFunctionPipelineName()
538 Params.first = true; in parseFunctionPipelineName()
540 Params.second = true; in parseFunctionPipelineName()
544 return Params; in parseFunctionPipelineName()
567 Expected<bool> PassBuilder::parseSinglePassOption(StringRef Params, in parseSinglePassOption() argument
571 while (!Params.empty()) { in parseSinglePassOption()
573 std::tie(ParamName, Params) = Params.split(';'); in parseSinglePassOption()
590 Expected<HardwareLoopOptions> parseHardwareLoopOptions(StringRef Params) { in parseHardwareLoopOptions() argument
593 while (!Params.empty()) { in parseHardwareLoopOptions()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRuntimeLibcallSignatures.cpp552 SmallVectorImpl<wasm::ValType> &Params) { in getLibcallSignature() argument
554 assert(Params.empty()); in getLibcallSignature()
565 Params.push_back(wasm::ValType::F32); in getLibcallSignature()
569 Params.push_back(wasm::ValType::F64); in getLibcallSignature()
573 Params.push_back(wasm::ValType::I32); in getLibcallSignature()
577 Params.push_back(wasm::ValType::I64); in getLibcallSignature()
581 Params.push_back(wasm::ValType::I32); in getLibcallSignature()
585 Params.push_back(wasm::ValType::F32); in getLibcallSignature()
589 Params.push_back(wasm::ValType::F64); in getLibcallSignature()
593 Params.push_back(wasm::ValType::I32); in getLibcallSignature()
[all …]
H A DWebAssemblyMachineFunctionInfo.cpp69 SmallVectorImpl<MVT> &Params, in computeSignatureVTs() argument
82 Params.push_back(PtrVT); in computeSignatureVTs()
86 computeLegalValueVTs(ContextFunc, TM, Param, Params); in computeSignatureVTs()
88 Params.push_back(PtrVT); in computeSignatureVTs()
104 Params.push_back(PtrVT); in computeSignatureVTs()
106 Params.push_back(PtrVT); in computeSignatureVTs()
118 const SmallVectorImpl<MVT> &Params) { in signatureFromMVTs() argument
121 valTypesFromMVTs(Params, Sig->Params); in signatureFromMVTs()
129 Params.push_back(EVT(VT).getEVTString()); in WebAssemblyFunctionInfo()
159 for (auto VT : YamlMFI.Params) in initializeBaseYamlFields()
H A DWebAssemblyMachineFunctionInfo.h35 std::vector<MVT> Params; variable
81 void addParam(MVT VT) { Params.push_back(VT); } in addParam()
82 const std::vector<MVT> &getParams() const { return Params; } in getParams()
88 Params.clear(); in clearParamsAndResults()
169 SmallVectorImpl<MVT> &Params,
176 const SmallVectorImpl<MVT> &Params);
183 std::vector<FlowStringValue> Params; member
200 YamlIO.mapOptional("params", MFI.Params, std::vector<FlowStringValue>());
H A DWebAssemblyMCInstLower.cpp143 SmallVectorImpl<wasm::ValType> &&Params) const { in lowerTypeIndexOperand()
146 Signature->Params = std::move(Params); in lowerTypeIndexOperand()
199 SmallVector<wasm::ValType, 4> Params; in lower() local
208 Params.push_back(WebAssembly::regClassToValType( in lower()
214 Params.pop_back(); in lower()
221 MCOp = lowerTypeIndexOperand(std::move(Returns), std::move(Params)); in lower()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineOrder.cpp47 const InlineParams &Params) { in getInlineCostWrapper() argument
70 return getInlineCost(CB, Params, CalleeTTI, GetAssumptionCache, GetTLI, in getInlineCostWrapper()
95 const InlineParams &Params) { in CostPriority() argument
96 auto IC = getInlineCostWrapper(const_cast<CallBase &>(*CB), FAM, Params); in CostPriority()
115 const InlineParams &Params) { in CostBenefitPriority() argument
116 auto IC = getInlineCostWrapper(const_cast<CallBase &>(*CB), FAM, Params); in CostBenefitPriority()
186 const InlineParams &Params) { in MLPriority() argument
187 auto IC = getInlineCostWrapper(const_cast<CallBase &>(*CB), FAM, Params); in MLPriority()
216 It->second = PriorityT(CB, FAM, Params); in updateAndCheckDecreased()
237 PriorityInlineOrder(FunctionAnalysisManager &FAM, const InlineParams &Params) in PriorityInlineOrder() argument
[all …]
H A DInlineCost.cpp555 const InlineParams &Params; member in __anon463f3bdb0111::InlineCostCallAnalyzer
684 auto IndirectCallParams = Params; in onLoweredCall()
1104 Function &Callee, CallBase &Call, const InlineParams &Params, in InlineCostCallAnalyzer() argument
1113 Params.ComputeFullInlineCost || ORE || in InlineCostCallAnalyzer()
1115 Params(Params), Threshold(Params.DefaultThreshold), in InlineCostCallAnalyzer()
1119 AllowRecursiveCall = *Params.AllowRecursiveCall; in InlineCostCallAnalyzer()
1889 return Params.HotCallSiteThreshold; in getHotCallSiteThreshold()
1893 if (!CallerBFI || !Params.LocallyHotCallSiteThreshold) in getHotCallSiteThreshold()
1905 return Params.LocallyHotCallSiteThreshold; in getHotCallSiteThreshold()
1956 Threshold = MinIfValid(Threshold, Params.OptMinSizeThreshold); in updateThreshold()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSTLFunctionalExtras.h38 template<typename Ret, typename ...Params>
39 class function_ref<Ret(Params...)> {
40 Ret (*callback)(intptr_t callable, Params ...params) = nullptr;
44 static Ret callback_fn(intptr_t callable, Params ...params) { in callback_fn()
46 std::forward<Params>(params)...); in callback_fn()
62 std::declval<Params>()...)),
67 Ret operator()(Params ...params) const { in operator()
68 return callback(callable, std::forward<Params>(params)...); in operator()
H A DFunctionExtras.h68 template <typename CallableT, typename Ret, typename... Params>
71 std::is_same<decltype(std::declval<CallableT>()(std::declval<Params>()...)),
74 std::declval<Params>()...)),
77 std::declval<Params>()...)),
122 AdjustedParamT<ParamTs>... Params);
218 AdjustedParamT<ParamTs>... Params) {
220 return Func(std::forward<ParamTs>(Params)...);
383 R operator()(P... Params) {
384 return this->getCallPtr()(this->getCalleePtr(), Params...);
409 R operator()(P... Params) const {
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSampleProfileInference.cpp88 MinCostMaxFlow(const ProfiParams &Params) : Params(Params) {} in MinCostMaxFlow() argument
97 if (Params.EvenFlowDistribution) in initialize()
191 if (Params.EvenFlowDistribution) { in applyFlowAugmentation()
264 if (!Params.EvenFlowDistribution && Nodes[Target].Distance == 0) in findAugmentingPath()
581 const ProfiParams &Params; member in __anon5aecd1f00111::MinCostMaxFlow
602 FlowAdjuster(const ProfiParams &Params, FlowFunction &Func) in FlowAdjuster() argument
603 : Params(Params), Func(Func) {} in FlowAdjuster()
607 if (Params.JoinIslands) { in run()
612 if (Params.RebalanceUnknown) { in run()
755 return Params.CostUnlikely; in jumpDistance()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_primary32.h47 template <class Params>
51 (Params::kSpaceSize >> Params::kRegionSizeLog) >> 12;
55 using AddressSpaceView = typename Params::AddressSpaceView;
56 static const uptr kSpaceBeg = Params::kSpaceBeg;
57 static const u64 kSpaceSize = Params::kSpaceSize;
58 static const uptr kMetadataSize = Params::kMetadataSize;
59 typedef typename Params::SizeClassMap SizeClassMap;
60 static const uptr kRegionSizeLog = Params::kRegionSizeLog;
61 typedef typename Params::MapUnmapCallback MapUnmapCallback;
64 FlatByteMap<(Params::kSpaceSize >> Params::kRegionSizeLog),
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclTemplate.cpp51 ArrayRef<NamedDecl *> Params, in TemplateParameterList() argument
55 NumParams(Params.size()), ContainsUnexpandedParameterPack(false), in TemplateParameterList()
59 NamedDecl *P = Params[Idx]; in TemplateParameterList()
121 ArrayRef<NamedDecl *> Params, in Create() argument
124 Params.size(), RequiresClause ? 1u : 0u), in Create()
126 return new (Mem) TemplateParameterList(C, TemplateLoc, LAngleLoc, Params, in Create()
202 static bool AdoptTemplateParameterList(TemplateParameterList *Params, in AdoptTemplateParameterList() argument
205 for (NamedDecl *P : *Params) { in AdoptTemplateParameterList()
264 DeclarationName Name, TemplateParameterList *Params, in TemplateDecl() argument
266 : NamedDecl(DK, DC, L, Name), TemplatedDecl(Decl), TemplateParams(Params) {} in TemplateDecl()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DFunction.cpp21 llvm::DenseMap<unsigned, ParamDescriptor> &&Params, in Function() argument
25 ParamTypes(std::move(ParamTypes)), Params(std::move(Params)), in Function()
31 auto It = Params.find(Offset); in getParamDescriptor()
32 assert(It != Params.end() && "Invalid parameter offset"); in getParamDescriptor()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DCompression.h93 struct Params { struct
94 constexpr Params(Format F) in Params() function
97 constexpr Params(Format F, int L, bool Ldm = false)
99 Params(DebugCompressionType Type) : Params(formatFor(Type)) {} in Params() argument
116 void compress(Params P, ArrayRef<uint8_t> Input, argument
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DModuleInliner.h29 ModuleInlinerPass(InlineParams Params = getInlineParams(),
32 : Params(Params), Mode(Mode), LTOPhase(LTOPhase){}; in Params() function
41 const InlineParams Params; variable
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_common_fuchsia.cpp73 struct Params { in LockStuffAndStopTheWorld() struct
81 auto params = static_cast<const Params *>(data); in LockStuffAndStopTheWorld()
89 auto params = static_cast<const Params *>(data); in LockStuffAndStopTheWorld()
98 auto params = static_cast<const Params *>(data); in LockStuffAndStopTheWorld()
116 auto params = static_cast<const Params *>(data); in LockStuffAndStopTheWorld()
144 auto params = static_cast<const Params *>(data); in LockStuffAndStopTheWorld()
74 allocator_caches__lsan::LockStuffAndStopTheWorld::Params LockStuffAndStopTheWorld() argument
75 callback__lsan::LockStuffAndStopTheWorld::Params LockStuffAndStopTheWorld() argument
76 argument__lsan::LockStuffAndStopTheWorld::Params LockStuffAndStopTheWorld() argument
/freebsd/sys/contrib/dev/acpica/components/debugger/
H A Ddbtest.c1031 ACPI_OBJECT Params[2]; in AcpiDbReadFromObject() local
1036 Params[0].Type = ACPI_TYPE_LOCAL_REFERENCE; in AcpiDbReadFromObject()
1037 Params[0].Reference.ActualType = Node->Type; in AcpiDbReadFromObject()
1038 Params[0].Reference.Handle = ACPI_CAST_PTR (ACPI_HANDLE, Node); in AcpiDbReadFromObject()
1041 ParamObjects.Pointer = Params; in AcpiDbReadFromObject()
1118 ACPI_OBJECT Params[2]; in AcpiDbWriteToObject() local
1122 Params[0].Type = ACPI_TYPE_LOCAL_REFERENCE; in AcpiDbWriteToObject()
1123 Params[0].Reference.ActualType = Node->Type; in AcpiDbWriteToObject()
1124 Params[0].Reference.Handle = ACPI_CAST_PTR (ACPI_HANDLE, Node); in AcpiDbWriteToObject()
1128 memcpy (&Params[1], Value, sizeof (ACPI_OBJECT)); in AcpiDbWriteToObject()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DIntrinsicInst.cpp659 ArrayRef<Value *> Params) { in getDeclarationForParams() argument
664 Type *OverloadTy = Params[0]->getType(); in getDeclarationForParams()
667 Params[*VPReductionIntrinsic::getVectorParamPos(VPID)]->getType(); in getDeclarationForParams()
687 Intrinsic::getDeclaration(M, VPID, {ReturnType, Params[0]->getType()}); in getDeclarationForParams()
690 VPFunc = Intrinsic::getDeclaration(M, VPID, {Params[0]->getType()}); in getDeclarationForParams()
694 VPFunc = Intrinsic::getDeclaration(M, VPID, {Params[1]->getType()}); in getDeclarationForParams()
698 M, VPID, {ReturnType, Params[0]->getType()}); in getDeclarationForParams()
702 M, VPID, {ReturnType, Params[0]->getType(), Params[1]->getType()}); in getDeclarationForParams()
706 M, VPID, {ReturnType, Params[0]->getType()}); in getDeclarationForParams()
710 M, VPID, {Params[0]->getType(), Params[1]->getType()}); in getDeclarationForParams()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclTemplate.h100 SourceLocation LAngleLoc, ArrayRef<NamedDecl *> Params,
119 ArrayRef<NamedDecl *> Params,
232 ArrayRef<NamedDecl *> Params, in FixedSizeTemplateParameterListStorage() argument
236 (assert(N == Params.size()), in FixedSizeTemplateParameterListStorage()
239 TemplateLoc, LAngleLoc, Params, RAngleLoc, RequiresClause))) {} in FixedSizeTemplateParameterListStorage()
400 TemplateParameterList *Params, NamedDecl *Decl);
405 TemplateParameterList *Params) in TemplateDecl() argument
406 : TemplateDecl(DK, DC, L, Name, Params, nullptr) {} in TemplateDecl()
825 TemplateParameterList *Params, NamedDecl *Decl) in RedeclarableTemplateDecl() argument
826 : TemplateDecl(DK, DC, L, Name, Params, Decl), redeclarable_base(C) {} in RedeclarableTemplateDecl()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/Coverage/
H A DMCDCTypes.h66 MaybeConstInnerParameters *Params = std::get_if<InnerParameters>(&MCDCParams); in getParams() local
67 assert(Params && "InnerParameters unavailable"); in getParams()
68 return *Params; in getParams()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInlineOrder.h35 getDefaultInlineOrder(FunctionAnalysisManager &FAM, const InlineParams &Params,
39 getInlineOrder(FunctionAnalysisManager &FAM, const InlineParams &Params,
58 const InlineParams &Params,
H A DInlineAdvisor.h233 InlineParams Params, InlineContext IC) in DefaultInlineAdvisor()
234 : InlineAdvisor(M, FAM, IC), Params(Params) {} in DefaultInlineAdvisor() argument
239 InlineParams Params;
253 /// InlineParams Params, InlineContext IC)
255 /// return new DefaultInlineAdvisor(M, FAM, Params, IC);
295 InlineParams Params,
330 bool tryCreate(InlineParams Params, InliningAdvisorMode Mode, in invalidate()
240 InlineParams Params; global() variable
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DMacroExpander.cpp36 SmallVector<FormatToken *, 8> Params; member
78 Def.Params.push_back(Current); in parseParams()
79 Def.ArgMap[Def.Params.back()->TokenText] = Def.Params.size() - 1; in parseParams()
147 FunctionLike[Definition.Name][Definition.Params.size()] = in parseDefinition()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DPrintPreprocessedOutput.cpp162 const LexEmbedParametersResult &Params) override;
418 OptionalFileEntryRef File, const LexEmbedParametersResult &Params) { in EmbedDirective() argument
445 if (Params.MaybeIfEmptyParam) { in EmbedDirective()
447 PrintToks(Params.MaybeIfEmptyParam->Tokens); in EmbedDirective()
452 NumToksToSkip += Params.MaybeIfEmptyParam->Tokens.size(); in EmbedDirective()
457 if (Params.MaybeLimitParam) { in EmbedDirective()
458 *OS << " limit(" << Params.MaybeLimitParam->Limit << ")"; in EmbedDirective()
460 if (Params.MaybeOffsetParam) { in EmbedDirective()
461 *OS << " clang::offset(" << Params.MaybeOffsetParam->Offset << ")"; in EmbedDirective()
463 if (Params.MaybePrefixParam) { in EmbedDirective()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDebugLineSectionEmitter.h298 MCDwarfLineTableParams Params; in emitLineTableRows() local
299 Params.DWARF2LineOpcodeBase = LineTable.Prologue.OpcodeBase; in emitLineTableRows()
300 Params.DWARF2LineBase = LineTable.Prologue.LineBase; in emitLineTableRows()
301 Params.DWARF2LineRange = LineTable.Prologue.LineRange; in emitLineTableRows()
308 MCDwarfLineAddr::encode(*MC, Params, std::numeric_limits<int64_t>::max(), in emitLineTableRows()
384 MCDwarfLineAddr::encode(*MC, Params, LineDelta, AddressDelta, in emitLineTableRows()
400 MCDwarfLineAddr::encode(*MC, Params, in emitLineTableRows()
412 MCDwarfLineAddr::encode(*MC, Params, std::numeric_limits<int64_t>::max(), in emitLineTableRows()

123456789