/freebsd/sys/contrib/dev/acpica/components/dispatcher/ |
H A D | dsfield.c | 186 ACPI_PARSE_OBJECT *Arg); 277 ACPI_PARSE_OBJECT *Arg; in AcpiDsCreateBufferField() local 295 Arg = AcpiPsGetArg (Op, 3); in AcpiDsCreateBufferField() 301 Arg = AcpiPsGetArg (Op, 2); in AcpiDsCreateBufferField() 304 if (!Arg) in AcpiDsCreateBufferField() 342 Arg->Common.Value.String, ACPI_TYPE_ANY, in AcpiDsCreateBufferField() 352 Arg->Common.Value.String, Status); in AcpiDsCreateBufferField() 435 ACPI_PARSE_OBJECT *Arg) in AcpiDsGetFieldNames() argument 457 while (Arg) in AcpiDsGetFieldNames() 466 switch (Arg->Common.AmlOpcode) in AcpiDsGetFieldNames() [all …]
|
H A D | dspkginit.c | 208 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() 309 if (Arg->Common.AmlOpcode == AML_INT_RETURN_VALUE_OP) in AcpiDsBuildInternalPackageObj() 311 if (!Arg->Common.Node) in AcpiDsBuildInternalPackageObj() 337 if (Arg->Common.Node->Type == ACPI_TYPE_METHOD) in AcpiDsBuildInternalPackageObj() 343 Arg->Common.AmlOpcode = AML_INT_NAMEPATH_OP; in AcpiDsBuildInternalPackageObj() 345 WalkState, Arg, &ObjDesc->Package.Elements[i]); in AcpiDsBuildInternalPackageObj() 352 ACPI_CAST_PTR (ACPI_OPERAND_OBJECT, Arg->Common.Node); in AcpiDsBuildInternalPackageObj() [all …]
|
H A D | dsutils.c | 607 ACPI_PARSE_OBJECT *Arg, in AcpiDsCreateOperand() argument 620 ACPI_FUNCTION_TRACE_PTR (DsCreateOperand, Arg); in AcpiDsCreateOperand() 625 if ((Arg->Common.AmlOpcode == AML_INT_NAMEPATH_OP) && in AcpiDsCreateOperand() 626 (Arg->Common.Value.String) && in AcpiDsCreateOperand() 627 !(Arg->Common.Flags & ACPI_PARSEOP_IN_STACK)) in AcpiDsCreateOperand() 629 ACPI_DEBUG_PRINT ((ACPI_DB_DISPATCH, "Getting a name: Arg=%p\n", Arg)); in AcpiDsCreateOperand() 634 Arg->Common.Value.Buffer, &NameString, &NameLength); in AcpiDsCreateOperand() 669 ParentOp = Arg->Common.Parent; in AcpiDsCreateOperand() 763 if ((Arg->Common.AmlOpcode == AML_INT_NAMEPATH_OP) && in AcpiDsCreateOperand() 764 !(Arg->Common.Flags & ACPI_PARSEOP_IN_STACK)) in AcpiDsCreateOperand() [all …]
|
/freebsd/sys/contrib/dev/acpica/components/parser/ |
H A D | pstree.c | 188 ACPI_PARSE_OBJECT *Arg = NULL; in AcpiPsGetArg() local 221 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() 248 ACPI_PARSE_OBJECT *Arg) in AcpiPsAppendArg() argument 285 if (Op->Common.Value.Arg) in AcpiPsAppendArg() 289 PrevArg = Op->Common.Value.Arg; in AcpiPsAppendArg() 294 PrevArg->Common.Next = Arg; in AcpiPsAppendArg() 300 Op->Common.Value.Arg = Arg; in AcpiPsAppendArg() [all …]
|
H A D | psargs.c | 365 ACPI_PARSE_OBJECT *Arg, in AcpiPsGetNextNamepath() argument 380 AcpiPsInitOp (Arg, AML_INT_NAMEPATH_OP); in AcpiPsGetNextNamepath() 386 Arg->Common.Value.Name = Path; in AcpiPsGetNextNamepath() 421 AcpiPsInitOp (Arg, AML_INT_METHODCALL_OP); in AcpiPsGetNextNamepath() 439 AcpiPsInitOp (Arg, AML_INT_METHODCALL_OP); in AcpiPsGetNextNamepath() 445 AcpiPsAppendArg (Arg, NameOp); in AcpiPsGetNextNamepath() 491 else if ((Arg->Common.Parent) && in AcpiPsGetNextNamepath() 492 ((Arg->Common.Parent->Common.AmlOpcode == AML_PACKAGE_OP) || in AcpiPsGetNextNamepath() 493 (Arg->Common.Parent->Common.AmlOpcode == AML_VARIABLE_PACKAGE_OP))) in AcpiPsGetNextNamepath() 516 Arg->Common.Value.Name = Path; in AcpiPsGetNextNamepath() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Option/ |
H A D | ArgList.cpp | 15 #include "llvm/Option/Arg.h" 32 void ArgList::append(Arg *A) { in append() 48 for (Arg *const &A : filtered(Id)) { in eraseArg() 50 Arg **ArgsBegin = Args.data(); in eraseArg() 73 if (Arg *A = getLastArg(Pos, Neg)) in hasFlag() 80 if (Arg *A = getLastArgNoClaim(Pos, Neg)) in hasFlagNoClaim() 87 if (Arg *A = getLastArg(Pos, PosAlias, Neg)) in hasFlag() 93 if (Arg *A = getLastArg(Id)) in getLastArgValue() 106 if (Arg *A = getLastArg(Pos, Neg)) in addOptInFlag() 114 for (const Arg *Ar in AddAllArgsExcept() 145 for (auto *Arg : filtered(Id0, Id1, Id2)) { AddAllArgs() local 153 for (auto *Arg : filtered(Id0, Id1, Id2)) { AddAllArgValues() local 163 for (auto *Arg : filtered(Id0)) { AddAllArgsTranslated() local 177 for (auto *Arg : filtered(Id0)) ClaimAllArgs() local [all...] |
H A D | Arg.cpp | 1 //===- Arg.cpp - Argument Implementations ---------------------------------===// 11 #include "llvm/Option/Arg.h" 21 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(cons function in Arg [all...] |
/freebsd/contrib/llvm-project/llvm/include/llvm/Option/ |
H A D | Arg.h | 34 class Arg { 41 const Arg *BaseArg; 70 std::unique_ptr<Arg> Alias; 73 Arg(const Option Opt, StringRef Spelling, unsigned Index, 74 const Arg *BaseArg = nullptr); 75 Arg(const Option Opt, StringRef Spelling, unsigned Index, 76 const char *Value0, const Arg *BaseArg = nullptr); 77 Arg(const Option Opt, StringRef Spelling, unsigned Index, 78 const char *Value0, const char *Value1, const Arg *BaseArg = nullptr); 79 Arg(const Arg &) = delete; [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXLowerArgs.cpp | 171 void handleByValParam(const NVPTXTargetMachine &TM, Argument *Arg); 327 static void adjustByValArgAlignment(Argument *Arg, Value *ArgInParamAS, in adjustByValArgAlignment() argument 329 Function *Func = Arg->getParent(); in adjustByValArgAlignment() 330 Type *StructType = Arg->getParamByValType(); in adjustByValArgAlignment() 336 Arg->getAttribute(Attribute::Alignment).getValueAsInt(); in adjustByValArgAlignment() 342 << CurArgAlign << " for " << *Arg << '\n'); in adjustByValArgAlignment() 346 Arg->removeAttr(Attribute::Alignment); in adjustByValArgAlignment() 347 Arg->addAttr(NewAlignAttr); in adjustByValArgAlignment() 362 bool IsGridConstant = isParamGridConstant(*Arg); in adjustByValArgAlignment() 413 Argument *Arg) { in handleByValParam() argument [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaBPF.cpp | 27 static bool isValidPreserveFieldInfoArg(Expr *Arg) { in isValidPreserveFieldInfoArg() argument 28 if (Arg->getType()->getAsPlaceholderType()) in isValidPreserveFieldInfoArg() 35 return (Arg->IgnoreParens()->getObjectKind() == OK_BitField || in isValidPreserveFieldInfoArg() 36 isa<MemberExpr>(Arg->IgnoreParens()) || in isValidPreserveFieldInfoArg() 37 isa<ArraySubscriptExpr>(Arg->IgnoreParens())); in isValidPreserveFieldInfoArg() 40 static bool isValidPreserveTypeInfoArg(Expr *Arg) { in isValidPreserveTypeInfoArg() argument 41 QualType ArgType = Arg->getType(); in isValidPreserveTypeInfoArg() 50 if (!isa<DeclRefExpr>(Arg->IgnoreParens()) && in isValidPreserveTypeInfoArg() 51 !isa<UnaryOperator>(Arg->IgnoreParens())) in isValidPreserveTypeInfoArg() 71 static bool isValidPreserveEnumValueArg(Expr *Arg) { in isValidPreserveEnumValueArg() argument [all …]
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-objcopy/ |
H A D | ObjcopyOptions.cpp | 630 for (auto *Arg : InputArgs.filtered(OBJCOPY_UNKNOWN)) in parseObjcopyOptions() local 632 Arg->getAsString(InputArgs).c_str()); in parseObjcopyOptions() 634 for (auto *Arg : InputArgs.filtered(OBJCOPY_INPUT)) in parseObjcopyOptions() local 635 Positional.push_back(Arg->getValue()); in parseObjcopyOptions() 705 for (const auto *Arg : InputArgs.filtered(OBJCOPY_subsystem)) { in parseObjcopyOptions() local 707 std::tie(Subsystem, Version) = StringRef(Arg->getValue()).split(':'); in parseObjcopyOptions() 837 if (auto Arg = InputArgs.getLastArg(OBJCOPY_extract_partition)) in parseObjcopyOptions() local 838 Config.ExtractPartition = Arg->getValue(); in parseObjcopyOptions() 869 if (const auto *Arg = InputArgs.getLastArg(OBJCOPY_change_section_lma)) { in parseObjcopyOptions() local 871 parseChangeSectionLMA(Arg->getValue(), Arg->getSpelling()); in parseObjcopyOptions() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | AliasAnalysisEvaluator.h | 41 AAEvaluator(AAEvaluator &&Arg) 42 : FunctionCount(Arg.FunctionCount), NoAliasCount(Arg.NoAliasCount), in AAEvaluator() argument 43 MayAliasCount(Arg.MayAliasCount), in AAEvaluator() 44 PartialAliasCount(Arg.PartialAliasCount), in AAEvaluator() 45 MustAliasCount(Arg.MustAliasCount), NoModRefCount(Arg.NoModRefCount), in AAEvaluator() 46 ModCount(Arg.ModCount), RefCount(Arg.RefCount), in AAEvaluator() 47 ModRefCount(Arg in AAEvaluator() [all...] |
H A D | BasicAliasAnalysis.h | 60 BasicAAResult(const BasicAAResult &Arg) in BasicAAResult() 61 : AAResultBase(Arg), DL(Arg.DL), F(Arg.F), TLI(Arg.TLI), AC(Arg.AC), 62 DT_(Arg.DT_) {} 63 BasicAAResult(BasicAAResult &&Arg) 64 : AAResultBase(std::move(Arg)), DL(Arg 55 BasicAAResult(const BasicAAResult & Arg) BasicAAResult() argument 58 BasicAAResult(BasicAAResult && Arg) BasicAAResult() argument [all...] |
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/ |
H A D | sanitizer_wrappers.cpp | 47 struct Arg { struct 59 GetTypes<__VA_ARGS__>::Arg<0>::Type) __attribute__((weak)); \ 61 GetTypes<__VA_ARGS__>::Arg<0>::Type arg0) { \ 67 GetTypes<__VA_ARGS__>::Arg<0>::Type, \ 68 GetTypes<__VA_ARGS__>::Arg<1>::Type) __attribute__((weak)); \ 70 GetTypes<__VA_ARGS__>::Arg<0>::Type arg0, \ 71 GetTypes<__VA_ARGS__>::Arg<1>::Type arg1) { \ 77 GetTypes<__VA_ARGS__>::Arg<0>::Type, \ 78 GetTypes<__VA_ARGS__>::Arg<1>::Type, \ 79 GetTypes<__VA_ARGS__>::Arg<2>::Type) __attribute__((weak)); \ [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUHSAMetadataStreamer.cpp | 26 static std::pair<Type *, Align> getArgumentTypeAlign(const Argument &Arg, in getArgumentTypeAlign() argument 28 Type *Ty = Arg.getType(); in getArgumentTypeAlign() 30 if (Arg.hasByRefAttr()) { in getArgumentTypeAlign() 31 Ty = Arg.getParamByRefType(); in getArgumentTypeAlign() 32 ArgAlign = Arg.getParamAlign(); in getArgumentTypeAlign() 263 for (auto &Arg : Func.args()) in emitKernelArgs() local 264 emitKernelArg(Arg, Offset, Args); in emitKernelArgs() 271 void MetadataStreamerMsgPackV4::emitKernelArg(const Argument &Arg, in emitKernelArg() argument 274 auto Func = Arg.getParent(); in emitKernelArg() 275 auto ArgNo = Arg.getArgNo(); in emitKernelArg() [all …]
|
H A D | AMDGPULowerKernelArguments.cpp | 132 for (Argument &Arg : F.args()) { in lowerKernelArguments() 133 const bool IsByRef = Arg.hasByRefAttr(); in lowerKernelArguments() 134 Type *ArgTy = IsByRef ? Arg.getParamByRefType() : Arg.getType(); in lowerKernelArguments() 135 MaybeAlign ParamAlign = IsByRef ? Arg.getParamAlign() : std::nullopt; in lowerKernelArguments() 146 if (Arg.hasInRegAttr() && InPreloadSequence && ST.hasKernargPreload() && in lowerKernelArguments() 147 !Arg.getType()->isAggregateType()) in lowerKernelArguments() 154 if (Arg.use_empty()) in lowerKernelArguments() 162 Arg.getName() + ".byval.kernarg.offset"); in lowerKernelArguments() 165 Builder.CreateAddrSpaceCast(ArgOffsetPtr, Arg.getType()); in lowerKernelArguments() 166 Arg.replaceAllUsesWith(CastOffsetPtr); in lowerKernelArguments() [all …]
|
H A D | AMDGPURewriteOutArguments.cpp | 86 Type *getStoredType(Value &Arg) const; 87 Type *getOutArgumentType(Argument &Arg) const; 113 Type *AMDGPURewriteOutArguments::getStoredType(Value &Arg) const { 118 for (Use &U : Arg.uses()) in getStoredType() 152 Type *AMDGPURewriteOutArguments::getOutArgumentType(Argument &Arg) const { 154 PointerType *ArgTy = dyn_cast<PointerType>(Arg.getType()); in getOutArgumentType() 159 Arg.hasByValAttr() || Arg.hasStructRetAttr()) { in getOutArgumentType() 163 Type *StoredType = getStoredType(Arg); in getOutArgumentType() 200 for (Argument &Arg in runOnFunction() [all...] |
H A D | AMDGPUPrintfRuntimeBinding.cpp | 184 Value *Arg = CI->getArgOperand(ArgCount); in lowerPrintfForGpu() local 185 Type *ArgType = Arg->getType(); in lowerPrintfForGpu() 199 Arg = Builder.CreateBitCast( in lowerPrintfForGpu() 200 Arg, in lowerPrintfForGpu() 208 Arg = Builder.CreateZExt(Arg, ResType); in lowerPrintfForGpu() 210 Arg = Builder.CreateSExt(Arg, ResType); in lowerPrintfForGpu() 211 ArgType = Arg->getType(); in lowerPrintfForGpu() 213 CI->setOperand(ArgCount, Arg); in lowerPrintfForGpu() 216 ConstantFP *FpCons = dyn_cast<ConstantFP>(Arg); in lowerPrintfForGpu() 220 FPExtInst *FpExt = dyn_cast<FPExtInst>(Arg); in lowerPrintfForGpu() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerCommand.h | 53 // Returns true if the given Arg is present in Args. Only checks up to 55 bool hasArgument(const std::string &Arg) const { in hasArgument() 57 return std::find(Args.begin(), i, Arg) != i; in hasArgument() 66 void addArgument(const std::string &Arg) { in addArgument() 67 Args.insert(endMutableArgs(), Arg); in addArgument() 78 void removeArgument(const std::string &Arg) { in removeArgument() 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 in hasFlag() 54 hasArgument(const std::string & Arg) hasArgument() argument 65 addArgument(const std::string & Arg) addArgument() argument 77 removeArgument(const std::string & Arg) removeArgument() argument [all...] |
/freebsd/contrib/llvm-project/clang/lib/Driver/ |
H A D | SanitizerArgs.cpp | 114 static SanitizerMask parseArgValues(const Driver &D, const llvm::opt::Arg *A, 119 static int parseCoverageFeatures(const Driver &D, const llvm::opt::Arg *A, 124 static int parseBinaryMetadataFeatures(const Driver &D, const llvm::opt::Arg *A, 139 static std::string describeSanitizeArg(const llvm::opt::Arg *A, 216 for (const auto *Arg : Args) { in parseSpecialCaseListArg() local 218 if (Arg->getOption().matches(SCLOptionID)) { in parseSpecialCaseListArg() 219 Arg->claim(); in parseSpecialCaseListArg() 220 std::string SCLPath = Arg->getValue(); in parseSpecialCaseListArg() 227 } else if (Arg->getOption().matches(NoSCLOptionID)) { in parseSpecialCaseListArg() 228 Arg->claim(); in parseSpecialCaseListArg() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | MemoryLocation.cpp | 164 const Value *Arg = Call->getArgOperand(ArgIdx); in getForArgument() local 183 return MemoryLocation(Arg, LocationSize::precise(LenCI->getZExtValue()), in getForArgument() 185 return MemoryLocation::getAfter(Arg, AATags); in getForArgument() 192 Arg, in getForArgument() 200 Arg, in getForArgument() 207 Arg, in getForArgument() 216 return MemoryLocation(Arg, LocationSize::precise(0), AATags); in getForArgument() 219 Arg, in getForArgument() 229 Arg, LocationSize::precise(DL.getTypeStoreSize(II->getType())), in getForArgument() 234 return MemoryLocation(Arg, in getForArgument() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Commands/ |
H A D | Options.td | 38 def setwrite_file : Option<"file", "f">, Required, Arg<"Filename">, 46 def setread_file : Option<"file", "f">, Required, Arg<"Filename">, 75 Arg<"Count">, 78 Arg<"Boolean">, 81 Arg<"ThreadIndex">, Desc<"The breakpoint stops only for the thread whose " 84 Arg<"ThreadID">, Desc<"The breakpoint stops only for the thread whose TID " 87 Arg<"ThreadName">, Desc<"The breakpoint stops only for the thread whose " 90 Arg<"QueueName">, Desc<"The breakpoint stops only for threads in the queue " 93 Arg<"Expression">, Desc<"The breakpoint stops only if this condition " 96 Arg<"Boolean">, [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/ |
H A D | ARCTargetTransformInfo.h | 45 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/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
H A D | ObjCARCOpts.cpp | 86 static const Value *FindSingleUseIdentifiedObject(const Value *Arg) { in FindSingleUseIdentifiedObject() argument 89 if (isa<ConstantData>(Arg)) in FindSingleUseIdentifiedObject() 92 if (Arg->hasOneUse()) { in FindSingleUseIdentifiedObject() 93 if (const BitCastInst *BC = dyn_cast<BitCastInst>(Arg)) in FindSingleUseIdentifiedObject() 95 if (const GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Arg)) in FindSingleUseIdentifiedObject() 98 if (IsForwarding(GetBasicARCInstKind(Arg))) in FindSingleUseIdentifiedObject() 100 cast<CallInst>(Arg)->getArgOperand(0)); in FindSingleUseIdentifiedObject() 101 if (!IsObjCIdentifiedObject(Arg)) in FindSingleUseIdentifiedObject() 103 return Arg; in FindSingleUseIdentifiedObject() 108 if (IsObjCIdentifiedObject(Arg)) { in FindSingleUseIdentifiedObject() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVCallLowering.cpp | 101 for (auto &Arg : F.args()) { in fixFunctionTypeIfPtrArgs() local 103 if (Arg.getType()->isPointerTy()) { in fixFunctionTypeIfPtrArgs() 134 for (auto &Arg : F.args()) in getOriginalFunctionType() local 135 ArgTypes.push_back(Arg.getType()); in getOriginalFunctionType() 204 Argument *Arg = F.getArg(ArgIdx); in getArgSPIRVType() local 205 Type *ArgType = Arg->getType(); in getArgSPIRVType() 222 if (hasPointeeTypeAttr(Arg)) { in getArgSPIRVType() 224 GR->getOrCreateSPIRVType(getPointeeTypeByAttr(Arg), MIRBuilder); in getArgSPIRVType() 230 for (auto User : Arg->users()) { in getArgSPIRVType() 294 for (const auto &Arg : F.args()) { in lowerFormalArguments() local [all …]
|