Home
last modified time | relevance | path

Searched refs:Arg (Results 1 – 25 of 627) sorted by relevance

12345678910>>...26

/freebsd-13.1/sys/contrib/dev/acpica/components/dispatcher/
H A Ddsfield.c620 Arg = Arg->Common.Next; in AcpiDsGetFieldNames()
657 Arg = Op->Common.Value.Arg; in AcpiDsCreateField()
680 Arg = Arg->Common.Next; in AcpiDsCreateField()
834 Arg = Arg->Common.Next; in AcpiDsInitFieldObjects()
871 Arg = Op->Common.Value.Arg; in AcpiDsCreateBankField()
891 Arg = Arg->Common.Next; in AcpiDsCreateBankField()
907 Arg = Arg->Common.Next; in AcpiDsCreateBankField()
911 Arg = Arg->Common.Next; in AcpiDsCreateBankField()
965 Arg = Op->Common.Value.Arg; in AcpiDsCreateIndexField()
978 Arg = Arg->Common.Next; in AcpiDsCreateIndexField()
[all …]
H A Ddspkginit.c208 ACPI_PARSE_OBJECT *Arg; in AcpiDsBuildInternalPackageObj() local
282 Arg = Op->Common.Value.Arg; in AcpiDsBuildInternalPackageObj()
283 Arg = Arg->Common.Next; in AcpiDsBuildInternalPackageObj()
307 for (i = 0; Arg && (i < ElementCount); i++) in AcpiDsBuildInternalPackageObj()
311 if (!Arg->Common.Node) in AcpiDsBuildInternalPackageObj()
394 Arg = Arg->Common.Next; in AcpiDsBuildInternalPackageObj()
399 if (Arg) in AcpiDsBuildInternalPackageObj()
413 while (Arg) in AcpiDsBuildInternalPackageObj()
419 if (Arg->Common.Node) in AcpiDsBuildInternalPackageObj()
423 Arg->Common.Node = NULL; in AcpiDsBuildInternalPackageObj()
[all …]
H A Ddsutils.c607 ACPI_PARSE_OBJECT *Arg, in AcpiDsCreateOperand() argument
626 (Arg->Common.Value.String) && in AcpiDsCreateOperand()
669 ParentOp = Arg->Common.Parent; in AcpiDsCreateOperand()
779 Opcode = Arg->Common.AmlOpcode; in AcpiDsCreateOperand()
866 ACPI_PARSE_OBJECT *Arg; in AcpiDsCreateOperands() local
878 Arg = FirstArg; in AcpiDsCreateOperands()
879 while (Arg) in AcpiDsCreateOperands()
886 Arguments[Index] = Arg; in AcpiDsCreateOperands()
891 Arg = Arg->Common.Next; in AcpiDsCreateOperands()
905 Arg = Arguments[Index]; in AcpiDsCreateOperands()
[all …]
/freebsd-13.1/sys/contrib/dev/acpica/components/parser/
H A Dpstree.c221 Arg = Op->Common.Value.Arg; in AcpiPsGetArg()
222 while (Arg && Argn) in AcpiPsGetArg()
225 Arg = Arg->Common.Next; in AcpiPsGetArg()
228 return (Arg); in AcpiPsGetArg()
285 if (Op->Common.Value.Arg) in AcpiPsAppendArg()
300 Op->Common.Value.Arg = Arg; in AcpiPsAppendArg()
305 while (Arg) in AcpiPsAppendArg()
308 Arg = Arg->Common.Next; in AcpiPsAppendArg()
374 while (Arg && (Arg != Origin) && (Arg != Op)) in AcpiPsGetDepthNext()
378 Arg = Arg->Common.Next; in AcpiPsGetDepthNext()
[all …]
H A Dpsargs.c365 ACPI_PARSE_OBJECT *Arg, in AcpiPsGetNextNamepath() argument
617 AcpiPsInitOp (Arg, Opcode); in AcpiPsGetNextSimpleArg()
797 if (!Arg) in AcpiPsGetNextField()
849 if (!Arg) in AcpiPsGetNextField()
925 if (!Arg) in AcpiPsGetNextArg()
979 if (!Arg) in AcpiPsGetNextArg()
1012 if (!Arg) in AcpiPsGetNextArg()
1044 if (!Arg) in AcpiPsGetNextArg()
1056 AcpiPsFreeOp (Arg->Common.Value.Arg); in AcpiPsGetNextArg()
1058 Arg = NULL; in AcpiPsGetNextArg()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Option/
H A DArgList.cpp101 for (const Arg *Arg : *this) { in AddAllArgsExcept()
112 Arg->claim(); in AddAllArgsExcept()
133 Arg->claim(); in AddAllArgs()
141 Arg->claim(); in AddAllArgValues()
151 Arg->claim(); in AddAllArgsTranslated()
165 Arg->claim(); in ClaimAllArgs()
171 Arg->claim(); in ClaimAllArgs()
198 for (Arg *A : *this) in releaseMemory()
249 Arg *DerivedArgList::MakePositionalArg(const Arg *BaseArg, const Option Opt, in MakePositionalArg()
258 Arg *DerivedArgList::MakeSeparateArg(const Arg *BaseArg, const Option Opt, in MakeSeparateArg()
[all …]
H A DArg.cpp21 Arg::Arg(const Option Opt, StringRef S, unsigned Index, const Arg *BaseArg) in Arg() function in Arg
25 Arg::Arg(const Option Opt, StringRef S, unsigned Index, const char *Value0, in Arg() function in Arg
26 const Arg *BaseArg) in Arg()
32 Arg::Arg(const Option Opt, StringRef S, unsigned Index, const char *Value0, in Arg() function in Arg
33 const char *Value1, const Arg *BaseArg) in Arg()
40 Arg::~Arg() { in ~Arg()
47 void Arg::print(raw_ostream& O) const { in print()
65 LLVM_DUMP_METHOD void Arg::dump() const { print(dbgs()); } in dump()
68 std::string Arg::getAsString(const ArgList &Args) const { in getAsString()
87 void Arg::renderAsInput(const ArgList &Args, ArgStringList &Output) const { in renderAsInput()
[all …]
H A DOption.cpp116 return new Arg(*this, Spelling, Index++); in acceptInternal()
120 return new Arg(*this, Spelling, Index++, Value); in acceptInternal()
125 Arg *A = new Arg(*this, Spelling, Index++); in acceptInternal()
172 Arg *A = new Arg(*this, Spelling, Index - 1 - getNumArgs(), in acceptInternal()
183 return new Arg(*this, Spelling, Index++, Value); in acceptInternal()
201 return new Arg(*this, Spelling, Index - 2, in acceptInternal()
209 Arg *A = new Arg(*this, Spelling, Index++); in acceptInternal()
216 Arg *A = new Arg(*this, Spelling, Index); in acceptInternal()
233 Arg *Option::accept(const ArgList &Args, StringRef CurArg, in accept()
262 Arg *UnaliasedA = new Arg(UnaliasedOption, UnaliasedSpelling, A->getIndex()); in accept()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Option/
H A DArg.h34 class Arg {
41 const Arg *BaseArg;
64 std::unique_ptr<Arg> Alias;
67 Arg(const Option Opt, StringRef Spelling, unsigned Index,
68 const Arg *BaseArg = nullptr);
70 const char *Value0, const Arg *BaseArg = nullptr);
73 Arg(const Arg &) = delete;
74 Arg &operator=(const Arg &) = delete;
75 ~Arg();
93 const Arg &getBaseArg() const { in getBaseArg()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DAliasAnalysisEvaluator.h45 AAEvaluator(AAEvaluator &&Arg) in AAEvaluator() argument
46 : FunctionCount(Arg.FunctionCount), NoAliasCount(Arg.NoAliasCount), in AAEvaluator()
47 MayAliasCount(Arg.MayAliasCount), in AAEvaluator()
48 PartialAliasCount(Arg.PartialAliasCount), in AAEvaluator()
49 MustAliasCount(Arg.MustAliasCount), NoModRefCount(Arg.NoModRefCount), in AAEvaluator()
50 ModCount(Arg.ModCount), RefCount(Arg.RefCount), in AAEvaluator()
51 ModRefCount(Arg.ModRefCount), MustCount(Arg.MustCount), in AAEvaluator()
52 MustRefCount(Arg.MustRefCount), MustModCount(Arg.MustModCount), in AAEvaluator()
53 MustModRefCount(Arg.MustModRefCount) { in AAEvaluator()
54 Arg.FunctionCount = 0; in AAEvaluator()
H A DLazyValueInfo.h45 LazyValueInfo(LazyValueInfo &&Arg) in LazyValueInfo() argument
46 : AC(Arg.AC), DL(Arg.DL), TLI(Arg.TLI), PImpl(Arg.PImpl) { in LazyValueInfo()
47 Arg.PImpl = nullptr; in LazyValueInfo()
49 LazyValueInfo &operator=(LazyValueInfo &&Arg) {
51 AC = Arg.AC;
52 DL = Arg.DL;
53 TLI = Arg.TLI;
54 PImpl = Arg.PImpl;
55 Arg.PImpl = nullptr;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXLowerArgs.cpp256 (void)Arg; in handleByValParam()
270 Arg, PointerType::get(StructType, ADDRESS_SPACE_PARAM), Arg->getName(), in handleByValParam()
288 Arg->replaceAllUsesWith(AllocA); in handleByValParam()
291 Arg, PointerType::get(StructType, ADDRESS_SPACE_PARAM), Arg->getName(), in handleByValParam()
354 for (Argument &Arg : F.args()) { in runOnKernelFunction()
356 if (Arg.hasByValAttr()) in runOnKernelFunction()
357 handleByValParam(&Arg); in runOnKernelFunction()
359 markPointerAsGlobal(&Arg); in runOnKernelFunction()
368 for (Argument &Arg : F.args()) in runOnDeviceFunction()
369 if (Arg.getType()->isPointerTy() && Arg.hasByValAttr()) in runOnDeviceFunction()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/
H A DArgumentsAdjusters.cpp25 for (const auto &Arg : Args) { in getDriverMode() local
26 StringRef ArgRef = Arg; in getDriverMode()
45 StringRef Arg = Args[i]; in getClangSyntaxOnlyAdjuster() local
48 return Arg.startswith(OutputCommand); in getClangSyntaxOnlyAdjuster()
61 if (Arg == "-fsyntax-only") in getClangSyntaxOnlyAdjuster()
75 StringRef Arg = Args[i]; in getClangStripOutputAdjuster() local
76 if (!Arg.startswith("-o")) in getClangStripOutputAdjuster()
79 if (Arg == "-o") { in getClangStripOutputAdjuster()
95 StringRef Arg = Args[i]; in getClangStripDependencyFileAdjuster() local
98 if (!UsingClDriver && (Arg == "-MF" || Arg == "-MT" || Arg == "-MQ")) { in getClangStripDependencyFileAdjuster()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUHSAMetadataStreamer.cpp312 if (Arg.getType()->isPointerTy() && Arg.onlyReadsMemory() && in emitKernelArg()
706 if (Arg.getType()->isPointerTy() && Arg.onlyReadsMemory() && in emitKernelArg()
723 Type *Ty = Arg.hasByRefAttr() ? Arg.getParamByRefType() : Arg.getType(); in emitKernelArg()
751 Arg[".name"] = Arg.getDocument()->getNode(Name, /*Copy=*/true); in emitKernelArg()
755 Arg[".size"] = Arg.getDocument()->getNode(Size); in emitKernelArg()
757 Arg[".offset"] = Arg.getDocument()->getNode(Offset); in emitKernelArg()
768 Arg[".access"] = Arg.getDocument()->getNode(*AQ, /*Copy=*/true); in emitKernelArg()
776 Arg[".is_const"] = Arg.getDocument()->getNode(true); in emitKernelArg()
778 Arg[".is_restrict"] = Arg.getDocument()->getNode(true); in emitKernelArg()
780 Arg[".is_volatile"] = Arg.getDocument()->getNode(true); in emitKernelArg()
[all …]
H A DAMDGPULowerKernelArguments.cpp92 for (Argument &Arg : F.args()) { in runOnFunction()
93 const bool IsByRef = Arg.hasByRefAttr(); in runOnFunction()
94 Type *ArgTy = IsByRef ? Arg.getParamByRefType() : Arg.getType(); in runOnFunction()
105 if (Arg.use_empty()) in runOnFunction()
116 ArgOffsetPtr, Arg.getType()); in runOnFunction()
117 Arg.replaceAllUsesWith(CastOffsetPtr); in runOnFunction()
133 if (Arg.hasNoAliasAttr()) in runOnFunction()
183 if (Arg.hasNonNullAttr()) in runOnFunction()
224 Arg.replaceAllUsesWith(NewVal); in runOnFunction()
228 Arg.replaceAllUsesWith(Shuf); in runOnFunction()
[all …]
H A DAMDGPURewriteOutArguments.cpp86 bool checkArgumentUses(Value &Arg) const;
121 for (Use &U : Arg.uses()) { in checkArgumentUses()
177 Arg.hasByValAttr() || Arg.hasStructRetAttr() || in isOutArgumentCandidate()
182 return checkArgumentUses(Arg); in isOutArgumentCandidate()
231 for (Argument &Arg : F.args()) { in runOnFunction()
232 if (isOutArgumentCandidate(Arg)) { in runOnFunction()
235 OutArgs.push_back(&Arg); in runOnFunction()
380 Argument *Arg = ReturnPoint.first; in runOnFunction() local
415 for (Argument &Arg : F.args()) { in runOnFunction()
421 StubCallArgs.push_back(&Arg); in runOnFunction()
[all …]
H A DAMDGPUPrintfRuntimeBinding.cpp229 Arg = Builder.CreateZExt(Arg, ResType); in lowerPrintfForGpu()
231 Arg = Builder.CreateSExt(Arg, ResType); in lowerPrintfForGpu()
232 ArgType = Arg->getType(); in lowerPrintfForGpu()
416 Arg = new BitCastInst(Arg, IType, "PrintArgFP", Brnch); in lowerPrintfForGpu()
417 WhatToStore.push_back(Arg); in lowerPrintfForGpu()
462 Arg = new PtrToIntInst(Arg, DstType, "PrintArgPtr", Brnch); in lowerPrintfForGpu()
472 new ShuffleVectorInst(Arg, Arg, ArrayRef<int>{0, 1, 2, 2}); in lowerPrintfForGpu()
474 Arg = Shuffle; in lowerPrintfForGpu()
475 ArgType = Arg->getType(); in lowerPrintfForGpu()
508 Arg = new BitCastInst(Arg, IType, "PrintArgVect", Brnch); in lowerPrintfForGpu()
[all …]
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/
H A Dsanitizer_wrappers.cpp46 struct Arg { struct
58 GetTypes<__VA_ARGS__>::Arg<0>::Type) __attribute__((weak)); \
60 GetTypes<__VA_ARGS__>::Arg<0>::Type arg0) { \
66 GetTypes<__VA_ARGS__>::Arg<0>::Type, \
67 GetTypes<__VA_ARGS__>::Arg<1>::Type) __attribute__((weak)); \
69 GetTypes<__VA_ARGS__>::Arg<0>::Type arg0, \
70 GetTypes<__VA_ARGS__>::Arg<1>::Type arg1) { \
76 GetTypes<__VA_ARGS__>::Arg<0>::Type, \
77 GetTypes<__VA_ARGS__>::Arg<1>::Type, \
78 GetTypes<__VA_ARGS__>::Arg<2>::Type) __attribute__((weak)); \
[all …]
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerCommand.h56 return std::find(Args.begin(), i, Arg) != i; in hasArgument()
65 void addArgument(const std::string &Arg) { in addArgument() argument
66 Args.insert(endMutableArgs(), Arg); in addArgument()
77 void removeArgument(const std::string &Arg) { in removeArgument() argument
84 std::string Arg("-" + Flag + "="); in hasFlag()
86 return Arg.compare(0, std::string::npos, Other, 0, Arg.length()) == 0; in hasFlag()
95 std::string Arg("-" + Flag + "="); in getFlagValue()
97 return Arg.compare(0, std::string::npos, Other, 0, Arg.length()) == 0; in getFlagValue()
103 result = j->substr(Arg.length()); in getFlagValue()
115 std::string Arg("-" + Flag + "="); in removeFlag()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/
H A DConfigManager.cpp674 Positional.push_back(Arg->getValue()); in parseObjcopyOptions()
880 StringRef ArgValue(Arg->getValue()); in parseObjcopyOptions()
891 StringRef Value(Arg->getValue()); in parseObjcopyOptions()
1009 for (auto Arg : InputArgs) in parseObjcopyOptions() local
1096 StringRef RPath = Arg->getValue(); in parseInstallNameToolOptions()
1114 StringRef Old = Arg->getValue(0); in parseInstallNameToolOptions()
1115 StringRef New = Arg->getValue(1); in parseInstallNameToolOptions()
1156 Config.SharedLibId = Arg->getValue(); in parseInstallNameToolOptions()
1163 Config.InstallNamesToUpdate.insert({Arg->getValue(0), Arg->getValue(1)}); in parseInstallNameToolOptions()
1173 Positional.push_back(Arg->getValue()); in parseInstallNameToolOptions()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Commands/
H A DOptions.td66 Arg<"Count">,
69 Arg<"Boolean">,
87 Arg<"Boolean">,
94 Arg<"Command">,
184 Arg<"Language">,
374 Arg<"Boolean">,
403 Arg<"PythonClass">,
961 Arg<"ClassName">,
1065 Arg<"Count">,
1070 Arg<"Index">,
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Driver/
H A DSanitizerArgs.cpp182 Arg->claim(); in parseSpecialCaseListArg()
191 Arg->claim(); in parseSpecialCaseListArg()
221 Arg->claim(); in parseSanitizeTrapArgs()
232 Arg->claim(); in parseSanitizeTrapArgs()
317 Arg->claim(); in SanitizerArgs()
431 Arg->claim(); in SanitizerArgs()
562 Arg->claim(); in SanitizerArgs()
600 if (Arg *A = in SanitizerArgs()
774 if (Arg *A = in SanitizerArgs()
845 << Arg->getOption().getName() << Arg->getValue(); in SanitizerArgs()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryLocation.cpp152 const Value *Arg = Call->getArgOperand(ArgIdx); in getForArgument() local
170 return MemoryLocation::getAfter(Arg, AATags); in getForArgument()
177 Arg, in getForArgument()
185 Arg, in getForArgument()
192 Arg, in getForArgument()
204 Arg, in getForArgument()
219 return MemoryLocation(Arg, in getForArgument()
242 return MemoryLocation::getAfter(Arg, AATags); in getForArgument()
251 return MemoryLocation::getAfter(Arg, AATags); in getForArgument()
258 return MemoryLocation::getAfter(Arg, AATags); in getForArgument()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCTargetTransformInfo.h45 ARCTTIImpl(const ARCTTIImpl &Arg) in ARCTTIImpl() argument
46 : BaseT(static_cast<const BaseT &>(Arg)), ST(Arg.ST), TLI(Arg.TLI) {} in ARCTTIImpl()
47 ARCTTIImpl(ARCTTIImpl &&Arg) in ARCTTIImpl() argument
48 : BaseT(std::move(static_cast<BaseT &>(Arg))), ST(std::move(Arg.ST)), in ARCTTIImpl()
49 TLI(std::move(Arg.TLI)) {} in ARCTTIImpl()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARCOpts.cpp92 if (isa<ConstantData>(Arg)) in FindSingleUseIdentifiedObject()
95 if (Arg->hasOneUse()) { in FindSingleUseIdentifiedObject()
106 return Arg; in FindSingleUseIdentifiedObject()
116 return Arg; in FindSingleUseIdentifiedObject()
1031 Arg = FindSingleUseIdentifiedObject(Arg); in OptimizeIndividualCallImpl()
1032 if (Arg) { in OptimizeIndividualCallImpl()
1090 if (!Arg) in OptimizeIndividualCallImpl()
1122 Arg = Pair.second; in OptimizeIndividualCallImpl()
1423 if (Ptr == Arg) in VisitInstructionBottomUp()
1607 if (Ptr == Arg) in VisitInstructionTopDown()
[all …]

12345678910>>...26