Home
last modified time | relevance | path

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

12345678910>>...30

/netbsd-src/sys/external/bsd/acpica/dist/dispatcher/
H A Ddsfield.c78 ACPI_PARSE_OBJECT *Arg);
169 ACPI_PARSE_OBJECT *Arg; in AcpiDsCreateBufferField() local
187 Arg = AcpiPsGetArg (Op, 3); in AcpiDsCreateBufferField()
193 Arg = AcpiPsGetArg (Op, 2); in AcpiDsCreateBufferField()
196 if (!Arg) in AcpiDsCreateBufferField()
234 Arg->Common.Value.String, ACPI_TYPE_ANY, in AcpiDsCreateBufferField()
244 Arg->Common.Value.String, Status); in AcpiDsCreateBufferField()
327 ACPI_PARSE_OBJECT *Arg) in AcpiDsGetFieldNames() argument
349 while (Arg) in AcpiDsGetFieldNames()
358 switch (Arg->Common.AmlOpcode) in AcpiDsGetFieldNames()
[all …]
H A Ddspkginit.c100 ACPI_PARSE_OBJECT *Arg; in AcpiDsBuildInternalPackageObj() local
174 Arg = Op->Common.Value.Arg; in AcpiDsBuildInternalPackageObj()
175 Arg = Arg->Common.Next; in AcpiDsBuildInternalPackageObj()
199 for (i = 0; Arg && (i < ElementCount); i++) in AcpiDsBuildInternalPackageObj()
201 if (Arg->Common.AmlOpcode == AML_INT_RETURN_VALUE_OP) in AcpiDsBuildInternalPackageObj()
203 if (!Arg->Common.Node) in AcpiDsBuildInternalPackageObj()
229 if (Arg->Common.Node->Type == ACPI_TYPE_METHOD) in AcpiDsBuildInternalPackageObj()
235 Arg->Common.AmlOpcode = AML_INT_NAMEPATH_OP; in AcpiDsBuildInternalPackageObj()
237 WalkState, Arg, &ObjDesc->Package.Elements[i]); in AcpiDsBuildInternalPackageObj()
244 ACPI_CAST_PTR (ACPI_OPERAND_OBJECT, Arg->Common.Node); in AcpiDsBuildInternalPackageObj()
[all …]
H A Ddsutils.c499 ACPI_PARSE_OBJECT *Arg, in AcpiDsCreateOperand() argument
512 ACPI_FUNCTION_TRACE_PTR (DsCreateOperand, Arg); in AcpiDsCreateOperand()
517 if ((Arg->Common.AmlOpcode == AML_INT_NAMEPATH_OP) && in AcpiDsCreateOperand()
518 (Arg->Common.Value.String) && in AcpiDsCreateOperand()
519 !(Arg->Common.Flags & ACPI_PARSEOP_IN_STACK)) in AcpiDsCreateOperand()
521 ACPI_DEBUG_PRINT ((ACPI_DB_DISPATCH, "Getting a name: Arg=%p\n", Arg)); in AcpiDsCreateOperand()
526 Arg->Common.Value.Buffer, &NameString, &NameLength); in AcpiDsCreateOperand()
561 ParentOp = Arg->Common.Parent; in AcpiDsCreateOperand()
655 if ((Arg->Common.AmlOpcode == AML_INT_NAMEPATH_OP) && in AcpiDsCreateOperand()
656 !(Arg->Common.Flags & ACPI_PARSEOP_IN_STACK)) in AcpiDsCreateOperand()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Option/
H A DArgList.cpp33 void ArgList::append(Arg *A) { in append()
49 for (Arg *const &A : filtered(Id)) { in eraseArg()
51 Arg **ArgsBegin = Args.data(); in eraseArg()
74 if (Arg *A = getLastArg(Pos, Neg)) in hasFlag()
81 if (Arg *A = getLastArg(Pos, PosAlias, Neg)) in hasFlag()
87 if (Arg *A = getLastArg(Id)) in getLastArgValue()
101 for (const Arg *Arg : *this) { in AddAllArgsExcept()
104 if (Arg->getOption().matches(Id)) { in AddAllArgsExcept()
111 if (Arg->getOption().matches(Id)) { in AddAllArgsExcept()
112 Arg->claim(); in AddAllArgsExcept()
[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.cpp109 Arg *Option::acceptInternal(const ArgList &Args, StringRef Spelling, in acceptInternal()
116 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()
161 return new Arg(*this, Spelling, Index - 2, Args.getArgString(Index - 1)); in acceptInternal()
172 Arg *A = new Arg(*this, Spelling, Index - 1 - getNumArgs(), in acceptInternal()
183 return new Arg(*this, Spelling, Index++, Value); in acceptInternal()
192 return new Arg(*this, Spelling, Index - 2, Args.getArgString(Index - 1)); in acceptInternal()
201 return new Arg(*this, Spelling, Index - 2, in acceptInternal()
209 Arg *A = new Arg(*this, Spelling, Index++); in acceptInternal()
[all …]
/netbsd-src/sys/external/bsd/acpica/dist/parser/
H A Dpstree.c80 ACPI_PARSE_OBJECT *Arg = NULL; in AcpiPsGetArg() local
113 Arg = Op->Common.Value.Arg; in AcpiPsGetArg()
114 while (Arg && Argn) in AcpiPsGetArg()
117 Arg = Arg->Common.Next; in AcpiPsGetArg()
120 return (Arg); in AcpiPsGetArg()
140 ACPI_PARSE_OBJECT *Arg) in AcpiPsAppendArg() argument
177 if (Op->Common.Value.Arg) in AcpiPsAppendArg()
181 PrevArg = Op->Common.Value.Arg; in AcpiPsAppendArg()
186 PrevArg->Common.Next = Arg; in AcpiPsAppendArg()
192 Op->Common.Value.Arg = Arg; in AcpiPsAppendArg()
[all …]
H A Dpsargs.c241 * Arg - Where the namepath will be stored
261 ACPI_PARSE_OBJECT *Arg, in AcpiPsGetNextNamepath()
276 AcpiPsInitOp (Arg, AML_INT_NAMEPATH_OP); in AcpiPsGetNextNamepath()
282 Arg->Common.Value.Name = Path; in AcpiPsGetNextNamepath()
317 AcpiPsInitOp (Arg, AML_INT_METHODCALL_OP); in AcpiPsGetNextNamepath()
333 /* Change Arg into a METHOD CALL and attach name to it */ in AcpiPsGetNextNamepath()
335 AcpiPsInitOp (Arg, AML_INT_METHODCALL_OP); in AcpiPsGetNextNamepath()
341 AcpiPsAppendArg (Arg, NameOp); in AcpiPsGetNextNamepath()
387 else if ((Arg->Common.Parent) && in AcpiPsGetNextNamepath()
388 ((Arg in AcpiPsGetNextNamepath()
257 AcpiPsGetNextNamepath(ACPI_WALK_STATE * WalkState,ACPI_PARSE_STATE * ParserState,ACPI_PARSE_OBJECT * Arg,BOOLEAN PossibleMethodCall) AcpiPsGetNextNamepath() argument
431 AcpiPsGetNextSimpleArg(ACPI_PARSE_STATE * ParserState,UINT32 ArgType,ACPI_PARSE_OBJECT * Arg) AcpiPsGetNextSimpleArg() argument
533 ACPI_PARSE_OBJECT *Arg = NULL; AcpiPsGetNextField() local
791 ACPI_PARSE_OBJECT *Arg = NULL; AcpiPsGetNextArg() local
[all...]
/netbsd-src/external/apache2/llvm/dist/clang/tools/scan-build/libexec/
H A Dccc-analyzer500 my $Arg = $ARGV[$i];
501 my @ArgParts = split /=/,$Arg,2;
510 if ($Arg =~ /^-(E|MM?)$/) { $Action = 'preprocess'; }
511 elsif ($Arg eq '-c') { $Action = 'compile'; }
512 elsif ($Arg =~ /^-print-prog-name/) { exit 0; }
515 if ($Arg eq "-arch") {
527 if ($Arg =~ /^-isysroot/) {
534 push @CompileOpts,$Arg;
539 if ($Arg =~ /^-iquote.*/) {
540 push @CompileOpts,$Arg;
[all …]
/netbsd-src/external/apache2/llvm/dist/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);
69 Arg(const Option Opt, StringRef Spelling, unsigned Index,
70 const char *Value0, const Arg *BaseArg = nullptr);
71 Arg(const Option Opt, StringRef Spelling, unsigned Index,
72 const char *Value0, const char *Value1, const Arg *BaseArg = nullptr);
73 Arg(const Arg &) = delete;
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXLowerArgs.cpp118 void handleByValParam(Argument *Arg);
228 void NVPTXLowerArgs::handleByValParam(Argument *Arg) { in handleByValParam() argument
229 Function *Func = Arg->getParent(); in handleByValParam()
231 PointerType *PType = dyn_cast<PointerType>(Arg->getType()); in handleByValParam()
253 LLVM_DEBUG(dbgs() << "Need a copy of " << *Arg << " because of " << *V in handleByValParam()
255 (void)Arg; in handleByValParam()
264 if (llvm::all_of(Arg->users(), IsALoadChain)) { in handleByValParam()
267 SmallVector<User *, 16> UsersToUpdate(Arg->users()); in handleByValParam()
269 Arg, PointerType::get(StructType, ADDRESS_SPACE_PARAM), Arg->getName(), in handleByValParam()
274 LLVM_DEBUG(dbgs() << "No need to copy " << *Arg << "\n"); in handleByValParam()
[all …]
/netbsd-src/external/apache2/llvm/dist/libcxx/benchmarks/
H A Dunordered_set_operations.bench.cpp128 getRandomIntegerInputs<uint32_t>) -> Arg(TestNumInputs);
133 getRandomIntegerInputs<uint32_t>) -> Arg(TestNumInputs);
138 getSortedTopBitsIntegerInputs<uint32_t>) -> Arg(TestNumInputs);
143 getSortedTopBitsIntegerInputs<uint32_t>) -> Arg(TestNumInputs);
155 getRandomIntegerInputs<uint32_t>)->Arg(TestNumInputs);
160 getSortedIntegerInputs<uint32_t>)->Arg(TestNumInputs);
166 getSortedTopBitsIntegerInputs<uint32_t>)->Arg(TestNumInputs);
171 getSortedTopBitsIntegerInputs<uint32_t>)->Arg(TestNumInputs);
177 getRandomStringInputs)->Arg(TestNumInputs);
182 getRandomStringInputs)->Arg(TestNumInputs);
[all …]
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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
47 if (llvm::any_of(OutputCommands, [&Arg](llvm::StringRef OutputCommand) { in getClangSyntaxOnlyAdjuster()
48 return Arg.startswith(OutputCommand); in getClangSyntaxOnlyAdjuster()
52 if (!Arg.startswith("-fcolor-diagnostics") && in getClangSyntaxOnlyAdjuster()
53 !Arg.startswith("-fdiagnostics-color")) in getClangSyntaxOnlyAdjuster()
61 if (Arg == "-fsyntax-only") in getClangSyntaxOnlyAdjuster()
75 StringRef Arg = Args[i]; in getClangStripOutputAdjuster() local
76 if (!Arg.startswith("-o")) in getClangStripOutputAdjuster()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUHSAMetadataStreamer.cpp24 static std::pair<Type *, Align> getArgumentTypeAlign(const Argument &Arg, in getArgumentTypeAlign() argument
26 Type *Ty = Arg.getType(); in getArgumentTypeAlign()
28 if (Arg.hasByRefAttr()) { in getArgumentTypeAlign()
29 Ty = Arg.getParamByRefType(); in getArgumentTypeAlign()
30 ArgAlign = Arg.getParamAlign(); in getArgumentTypeAlign()
283 for (auto &Arg : Func.args()) in emitKernelArgs() local
284 emitKernelArg(Arg); in emitKernelArgs()
289 void MetadataStreamerV2::emitKernelArg(const Argument &Arg) { in emitKernelArg() argument
290 auto Func = Arg.getParent(); in emitKernelArg()
291 auto ArgNo = Arg.getArgNo(); in emitKernelArg()
[all …]
H A DAMDGPULowerKernelArguments.cpp91 for (Argument &Arg : F.args()) { in runOnFunction()
92 const bool IsByRef = Arg.hasByRefAttr(); in runOnFunction()
93 Type *ArgTy = IsByRef ? Arg.getParamByRefType() : Arg.getType(); in runOnFunction()
94 MaybeAlign ABITypeAlign = IsByRef ? Arg.getParamAlign() : None; in runOnFunction()
104 if (Arg.use_empty()) in runOnFunction()
112 Arg.getName() + ".byval.kernarg.offset"); in runOnFunction()
115 ArgOffsetPtr, Arg.getType()); in runOnFunction()
116 Arg.replaceAllUsesWith(CastOffsetPtr); in runOnFunction()
132 if (Arg.hasNoAliasAttr()) in runOnFunction()
158 Arg.getName() + ".kernarg.offset.align.down"); in runOnFunction()
[all …]
H A DAMDGPURewriteOutArguments.cpp86 bool checkArgumentUses(Value &Arg) const;
87 bool isOutArgumentCandidate(Argument &Arg) const;
117 bool AMDGPURewriteOutArguments::checkArgumentUses(Value &Arg) const { in checkArgumentUses()
121 for (Use &U : Arg.uses()) { in checkArgumentUses()
139 Type *SrcEltTy = Arg.getType()->getPointerElementType(); in checkArgumentUses()
170 bool AMDGPURewriteOutArguments::isOutArgumentCandidate(Argument &Arg) const { in isOutArgumentCandidate()
172 PointerType *ArgTy = dyn_cast<PointerType>(Arg.getType()); in isOutArgumentCandidate()
177 Arg.hasByValAttr() || Arg.hasStructRetAttr() || in isOutArgumentCandidate()
182 return checkArgumentUses(Arg); in isOutArgumentCandidate()
231 for (Argument &Arg : F.args()) { in runOnFunction()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/
H A DConfigManager.cpp575 for (StringRef Arg : SymbolsToAdd) { in getELFConfig() local
577 Arg, in getELFConfig()
691 for (auto Arg : InputArgs.filtered(OBJCOPY_UNKNOWN)) in parseObjcopyOptions() local
693 Arg->getAsString(InputArgs).c_str()); in parseObjcopyOptions()
695 for (auto Arg : InputArgs.filtered(OBJCOPY_INPUT)) in parseObjcopyOptions() local
696 Positional.push_back(Arg->getValue()); in parseObjcopyOptions()
767 if (auto Arg = InputArgs.getLastArg(OBJCOPY_compress_debug_sections, in parseObjcopyOptions() local
771 if (Arg->getOption().getID() == OBJCOPY_compress_debug_sections_eq) { in parseObjcopyOptions()
809 if (auto Arg = InputArgs.getLastArg(OBJCOPY_extract_partition)) in parseObjcopyOptions() local
810 Config.ExtractPartition = Arg->getValue(); in parseObjcopyOptions()
[all …]
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/symbolizer/
H A Dsanitizer_wrappers.cc54 struct Arg { struct
66 GetTypes<__VA_ARGS__>::Arg<0>::Type) __attribute__((weak)); \
68 GetTypes<__VA_ARGS__>::Arg<0>::Type arg0) { \
74 GetTypes<__VA_ARGS__>::Arg<0>::Type, \
75 GetTypes<__VA_ARGS__>::Arg<1>::Type) __attribute__((weak)); \
77 GetTypes<__VA_ARGS__>::Arg<0>::Type arg0, \
78 GetTypes<__VA_ARGS__>::Arg<1>::Type arg1) { \
84 GetTypes<__VA_ARGS__>::Arg<0>::Type, \
85 GetTypes<__VA_ARGS__>::Arg<1>::Type, \
86 GetTypes<__VA_ARGS__>::Arg<2>::Type) __attribute__((weak)); \
[all …]
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/
H A DFuzzerCommand.h55 bool hasArgument(const std::string &Arg) const { in hasArgument() argument
57 return std::find(Args.begin(), i, Arg) != i; in hasArgument()
66 void addArgument(const std::string &Arg) { in addArgument() argument
67 Args.insert(endMutableArgs(), Arg); in addArgument()
78 void removeArgument(const std::string &Arg) { in removeArgument() argument
80 Args.erase(std::remove(Args.begin(), i, Arg), i); in removeArgument()
85 std::string Arg("-" + Flag + "="); in hasFlag()
87 return Arg.compare(0, std::string::npos, Other, 0, Arg.length()) == 0; in hasFlag()
96 std::string Arg("-" + Flag + "="); in getFlagValue()
98 return Arg.compare(0, std::string::npos, Other, 0, Arg.length()) == 0; in getFlagValue()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libcc1/
H A Drpc.hh104 template<typename R, typename... Arg>
106 call (connection *conn, const char *method, R *result, Arg... args) in call()
112 if (!marshall (conn, (int) sizeof... (Arg))) in call()
144 template<typename R, typename... Arg>
148 template<int I, R func (connection *, Arg...), typename... T>
149 static typename std::enable_if<I == sizeof... (Arg), R>::type
150 call (connection *conn, const std::tuple<argument_wrapper<Arg>...> &, in call() argument
157 template<int I, R func (connection *, Arg...), typename... T>
158 static typename std::enable_if<I < sizeof... (Arg), R>::type
159 call (connection *conn, const std::tuple<argument_wrapper<Arg>...> &value,
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-config/
H A Dllvm-config.cpp499 StringRef Arg = argv[i]; in main() local
501 if (Arg.startswith("-")) { in main()
503 if (Arg == "--version") { in main()
505 } else if (Arg == "--prefix") { in main()
507 } else if (Arg == "--bindir") { in main()
509 } else if (Arg == "--includedir") { in main()
511 } else if (Arg == "--libdir") { in main()
513 } else if (Arg == "--cmakedir") { in main()
515 } else if (Arg == "--cppflags") { in main()
517 } else if (Arg == "--cflags") { in main()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Driver/
H A DSanitizerArgs.cpp97 static SanitizerMask parseArgValues(const Driver &D, const llvm::opt::Arg *A,
102 static int parseCoverageFeatures(const Driver &D, const llvm::opt::Arg *A);
116 static std::string describeSanitizeArg(const llvm::opt::Arg *A,
178 for (const auto *Arg : Args) { in parseSpecialCaseListArg() local
180 if (Arg->getOption().matches(SCLOptionID)) { in parseSpecialCaseListArg()
181 Arg->claim(); in parseSpecialCaseListArg()
182 std::string SCLPath = Arg->getValue(); in parseSpecialCaseListArg()
189 } else if (Arg->getOption().matches(NoSCLOptionID)) { in parseSpecialCaseListArg()
190 Arg->claim(); in parseSpecialCaseListArg()
218 const auto *Arg = *I; in parseSanitizeTrapArgs() local
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/ObjCARC/
H A DObjCARCOpts.cpp89 static const Value *FindSingleUseIdentifiedObject(const Value *Arg) { in FindSingleUseIdentifiedObject() argument
92 if (isa<ConstantData>(Arg)) in FindSingleUseIdentifiedObject()
95 if (Arg->hasOneUse()) { in FindSingleUseIdentifiedObject()
96 if (const BitCastInst *BC = dyn_cast<BitCastInst>(Arg)) in FindSingleUseIdentifiedObject()
98 if (const GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Arg)) in FindSingleUseIdentifiedObject()
101 if (IsForwarding(GetBasicARCInstKind(Arg))) in FindSingleUseIdentifiedObject()
103 cast<CallInst>(Arg)->getArgOperand(0)); in FindSingleUseIdentifiedObject()
104 if (!IsObjCIdentifiedObject(Arg)) in FindSingleUseIdentifiedObject()
106 return Arg; in FindSingleUseIdentifiedObject()
111 if (IsObjCIdentifiedObject(Arg)) { in FindSingleUseIdentifiedObject()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DMemoryLocation.cpp152 const Value *Arg = Call->getArgOperand(ArgIdx); in getForArgument() local
168 return MemoryLocation(Arg, LocationSize::precise(LenCI->getZExtValue()), in getForArgument()
170 return MemoryLocation::getAfter(Arg, AATags); in getForArgument()
177 Arg, in getForArgument()
185 Arg, in getForArgument()
192 Arg, in getForArgument()
201 return MemoryLocation(Arg, LocationSize::precise(0), AATags); in getForArgument()
204 Arg, in getForArgument()
214 Arg, LocationSize::precise(DL.getTypeStoreSize(II->getType())), in getForArgument()
219 return MemoryLocation(Arg, in getForArgument()
[all …]

12345678910>>...30