| /netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/ |
| H A D | CallingConvEmitter.cpp | 31 void EmitAction(Record *Action, unsigned Indent, raw_ostream &O); 94 void CallingConvEmitter::EmitAction(Record *Action, in EmitAction() argument 98 if (Action->isSubClassOf("CCPredicateAction")) { in EmitAction() 101 if (Action->isSubClassOf("CCIfType")) { in EmitAction() 102 ListInit *VTs = Action->getValueAsListInit("VTs"); in EmitAction() 109 } else if (Action->isSubClassOf("CCIf")) { in EmitAction() 110 O << Action->getValueAsString("Predicate"); in EmitAction() 112 errs() << *Action; in EmitAction() 113 PrintFatalError(Action->getLoc(), "Unknown CCPredicateAction!"); in EmitAction() 117 EmitAction(Action->getValueAsDef("SubAction"), Indent+2, O); in EmitAction() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Driver/ |
| H A D | Action.h | 47 class Action { 129 Action(ActionClass Kind, types::ID Type) : Action(Kind, ActionList(), Type) {} in Action() function 130 Action(ActionClass Kind, Action *Input, types::ID Type) in Action() function 131 : Action(Kind, ActionList({Input}), Type) {} in Action() 132 Action(ActionClass Kind, Action *Input) in Action() function 133 : Action(Kind, ActionList({Input}), Input->getType()) {} in Action() 134 Action(ActionClass Kind, const ActionList &Inputs, types::ID Type) in Action() function 138 virtual ~Action(); 140 const char *getClassName() const { return Action::getClassName(getKind()); } in getClassName() 193 void propagateOffloadInfo(const Action *A); [all …]
|
| H A D | Compilation.h | 60 std::multimap<Action::OffloadKind, const ToolChain *> 72 std::vector<std::unique_ptr<Action>> AllActions; 86 Action::OffloadKind DeviceOffloadKind = Action::OFK_None; 89 Action::OffloadKind DeviceOffloadKind) in TCArgsKey() 142 unsigned isOffloadingHostKind(Action::OffloadKind Kind) const { in isOffloadingHostKind() 148 const std::multimap<Action::OffloadKind, 154 template <Action::OffloadKind Kind> 160 template <Action::OffloadKind Kind> bool hasOffloadToolChain() const { in hasOffloadToolChain() 167 template <Action::OffloadKind Kind> 179 Action::OffloadKind OffloadKind) { in addOffloadDeviceToolChain() [all …]
|
| H A D | Driver.h | 504 Action *ConstructPhaseAction( 506 Action *Input, 507 Action::OffloadKind TargetDeviceOffloadKind = Action::OFK_None) const; 513 BuildJobsForAction(Compilation &C, const Action *A, const ToolChain *TC, 516 std::map<std::pair<const Action *, std::string>, InputInfo> 518 Action::OffloadKind TargetDeviceOffloadKind) const; 612 Compilation &C, const Action *A, const ToolChain *TC, StringRef BoundArch, 614 std::map<std::pair<const Action *, std::string>, InputInfo> 616 Action::OffloadKind TargetDeviceOffloadKind) const;
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Driver/ |
| H A D | Action.cpp | 18 Action::~Action() = default; 20 const char *Action::getClassName(ActionClass AC) { in getClassName() 53 void Action::propagateDeviceOffloadInfo(OffloadKind OKind, const char *OArch) { in propagateDeviceOffloadInfo() 71 void Action::propagateHostOffloadInfo(unsigned OKinds, const char *OArch) { in propagateHostOffloadInfo() 85 void Action::propagateOffloadInfo(const Action *A) { in propagateOffloadInfo() 93 std::string Action::getOffloadingKindPrefix() const { in getOffloadingKindPrefix() 132 Action::GetOffloadingFileNamePrefix(OffloadKind Kind, in GetOffloadingFileNamePrefix() 148 StringRef Action::GetOffloadKindName(OffloadKind Kind) { in GetOffloadKindName() 169 : Action(InputClass, _Type), Input(_Input), Id(_Id.str()) {} in InputAction() 173 BindArchAction::BindArchAction(Action *Input, StringRef ArchName) in BindArchAction() [all …]
|
| H A D | InputInfo.h | 41 const Action* Act; 45 static types::ID GetActionType(const Action *A) { in GetActionType() 51 InputInfo(const Action *A, const char *_BaseInput) in InputInfo() 58 InputInfo(const Action *A, const char *_Filename, const char *_BaseInput) in InputInfo() 68 InputInfo(const Action *A, const llvm::opt::Arg *_InputArg, in InputInfo() 80 const Action *getAction() const { return Act; } in getAction() 81 void setAction(const Action *A) { Act = A; } in setAction()
|
| H A D | ToolChain.cpp | 329 Tool *ToolChain::getTool(Action::ActionClass AC) const { in getTool() 331 case Action::AssembleJobClass: in getTool() 334 case Action::IfsMergeJobClass: in getTool() 337 case Action::LinkJobClass: in getTool() 340 case Action::StaticLibJobClass: in getTool() 343 case Action::InputClass: in getTool() 344 case Action::BindArchClass: in getTool() 345 case Action::OffloadClass: in getTool() 346 case Action::LipoJobClass: in getTool() 347 case Action::DsymutilJobClass: in getTool() [all …]
|
| H A D | Driver.cpp | 697 const ToolChain *HostTC = C.getSingleOffloadToolChain<Action::OFK_Host>(); in CreateOffloadingDeviceToolChains() 700 auto OFK = Action::OFK_Cuda; in CreateOffloadingDeviceToolChains() 713 const ToolChain *HostTC = C.getSingleOffloadToolChain<Action::OFK_Host>(); in CreateOffloadingDeviceToolChains() 715 auto OFK = Action::OFK_HIP; in CreateOffloadingDeviceToolChains() 774 C.getSingleOffloadToolChain<Action::OFK_Host>(); in CreateOffloadingDeviceToolChains() 781 *this, TT, *HostTC, C.getInputArgs(), Action::OFK_OpenMP); in CreateOffloadingDeviceToolChains() 793 C.addOffloadDeviceToolChain(TC, Action::OFK_OpenMP); in CreateOffloadingDeviceToolChains() 1952 static unsigned PrintActions1(const Compilation &C, Action *A, in PrintActions1() 1953 std::map<Action *, unsigned> &Ids, in PrintActions1() argument 1967 os << Action::getClassName(A->getKind()) << ", "; [all …]
|
| H A D | Compilation.cpp | 43 std::make_pair(Action::OFK_Host, &DefaultToolChain)); in Compilation() 63 Action::OffloadKind DeviceOffloadKind) { in getArgsForToolChain() 72 if (DeviceOffloadKind == Action::OFK_OpenMP) { in getArgsForToolChain() 73 const ToolChain *HostTC = getSingleOffloadToolChain<Action::OFK_Host>(); in getArgsForToolChain() 212 static bool ActionFailed(const Action *A, in ActionFailed() 220 if (A->isOffloading(Action::OFK_Cuda) || A->isOffloading(Action::OFK_HIP)) in ActionFailed()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/LineEditor/ |
| H A D | LineEditor.cpp | 56 CompletionAction Action; in complete() local 59 Action.Kind = CompletionAction::AK_ShowCompletions; in complete() 60 return Action; in complete() 71 Action.Kind = CompletionAction::AK_ShowCompletions; in complete() 74 Action.Completions.push_back(I->DisplayText); in complete() 76 Action.Kind = CompletionAction::AK_Insert; in complete() 77 Action.Text = CommonPrefix; in complete() 80 return Action; in complete() 86 CompletionAction Action; in getCompletionAction() local 87 Action.Kind = CompletionAction::AK_ShowCompletions; in getCompletionAction() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | LegalizerInfo.h | 99 raw_ostream &operator<<(raw_ostream &OS, LegalizeActions::LegalizeAction Action); 152 LegalizeAction Action; member 158 LegalizeActionStep(LegalizeAction Action, unsigned TypeIdx, in LegalizeActionStep() 160 : Action(Action), TypeIdx(TypeIdx), NewType(NewType) {} in LegalizeActionStep() 163 return std::tie(Action, TypeIdx, NewType) == 164 std::tie(RHS.Action, RHS.TypeIdx, RHS.NewType); 340 LegalizeAction Action; variable 344 LegalizeRule(LegalityPredicate Predicate, LegalizeAction Action, 346 : Predicate(Predicate), Action(Action), Mutation(Mutation) {} in Predicate() 353 LegalizeAction getAction() const { return Action; } in getAction() [all …]
|
| /netbsd-src/sys/dev/acpi/ |
| H A D | apei_interp.c | 222 if (E->Action >= I->nact || I->actname[E->Action] == NULL) { in apei_interp_pass1_load() 224 I->name, i, E->Action); in apei_interp_pass1_load() 227 struct apei_actinst *const A = &I->actinst[E->Action]; in apei_interp_pass1_load() 259 E->Action, I->actname[E->Action]); in apei_interp_pass1_load() 292 if (E->Action > I->nact || I->actname[E->Action] == NULL) in apei_interp_pass2_verify() 298 struct apei_actinst *const A = &I->actinst[E->Action]; in apei_interp_pass2_verify() 339 if (E->Action >= I->nact || I->actname[E->Action] == NULL) in apei_interp_pass4_assemble() 342 struct apei_actinst *const A = &I->actinst[E->Action]; in apei_interp_pass4_assemble() 384 KASSERT(E->Action == action); in apei_interp_pass5_verify()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/ |
| H A D | gmock-actions.h | 348 class Action { 368 Action() {} 376 Action(G&& fun) : fun_(::std::forward<G>(fun)) {} // NOLINT 379 explicit Action(ActionInterface<F>* impl) 386 explicit Action(const Action<Func>& action) : fun_(action.fun_) {} 406 friend class Action; 439 operator Action<F>() const { 440 return Action<F>(new MonomorphicImpl<F>(impl_)); 470 Action<F> MakeAction(ActionInterface<F>* impl) { 471 return Action<F>(impl); [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | EHStreamer.cpp | 134 ActionEntry Action = { ValueForTypeID, NextAction, PrevAction }; in computeActionsTable() local 135 Actions.push_back(Action); in computeActionsTable() 317 if (Site.LPad == Prev.LPad && Site.Action == Prev.Action) { in computeCallSiteTable() 527 CallSiteTableSize += 12 + getULEB128Size(S.Action); in emitExceptionTable() 536 for (const ActionEntry &Action : Actions) { in emitExceptionTable() local 538 ActionTableSize += getSLEB128Size(Action.ValueForTypeID) + in emitExceptionTable() 539 getSLEB128Size(Action.NextAction); in emitExceptionTable() 603 if (S.Action == 0) in emitExceptionTable() 607 Twine((S.Action - 1) / 2 + 1)); in emitExceptionTable() 609 Asm->emitULEB128(S.Action); in emitExceptionTable() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/ASTMatchers/ |
| H A D | ASTMatchFinder.cpp | 1338 MatchCallback *Action) { in addMatcher() argument 1340 if (Action) in addMatcher() 1341 TK = Action->getCheckTraversalKind(); in addMatcher() 1343 Matchers.DeclOrStmt.emplace_back(traverse(*TK, NodeMatch), Action); in addMatcher() 1345 Matchers.DeclOrStmt.emplace_back(NodeMatch, Action); in addMatcher() 1346 Matchers.AllCallbacks.insert(Action); in addMatcher() 1350 MatchCallback *Action) { in addMatcher() argument 1351 Matchers.Type.emplace_back(NodeMatch, Action); in addMatcher() 1352 Matchers.AllCallbacks.insert(Action); in addMatcher() 1356 MatchCallback *Action) { in addMatcher() argument [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaAttr.cpp | 217 PragmaMsStackAction Action = Sema::PSK_Reset; in ActOnPragmaOptionsAlign() local 227 Action = Sema::PSK_Push_Set; in ActOnPragmaOptionsAlign() 230 Action = Sema::PSK_Push_Set; in ActOnPragmaOptionsAlign() 237 Action = Sema::PSK_Push_Set; in ActOnPragmaOptionsAlign() 247 Action = Sema::PSK_Push_Set; in ActOnPragmaOptionsAlign() 253 Action = Sema::PSK_Pop; in ActOnPragmaOptionsAlign() 257 Action = Sema::PSK_Reset; in ActOnPragmaOptionsAlign() 269 AlignPackStack.Act(PragmaLoc, Action, StringRef(), Info); in ActOnPragmaOptionsAlign() 273 PragmaClangSectionAction Action, in ActOnPragmaClangSection() argument 301 if (Action == PragmaClangSectionAction::PCSA_Clear) { in ActOnPragmaClangSection() [all …]
|
| /netbsd-src/sys/external/bsd/acpica/dist/tools/acpidump/ |
| H A D | apmain.c | 365 AP_DUMP_ACTION *Action; in main() local 391 Action = &ActionTable[i]; in main() 392 switch (Action->ToBeDone) in main() 401 Status = ApDumpTableByAddress (Action->Argument); in main() 406 Status = ApDumpTableByName (Action->Argument); in main() 411 Status = ApDumpTableFromFile (Action->Argument); in main() 417 Action->ToBeDone); in main()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerInfo.cpp | 45 raw_ostream &llvm::operator<<(raw_ostream &OS, LegalizeAction Action) { in operator <<() argument 46 switch (Action) { in operator <<() 311 const LegalizeAction Action = LLT2Action.second; in computeTables() local 313 auto SizeAction = std::make_pair(Type.getSizeInBits(), Action); in computeTables() 468 if (Step.Action != LegalizeAction::UseLegacyRules) { in getAction() 473 auto Action = getAspectAction({Query.Opcode, i, Query.Types[i]}); in getAction() local 474 if (Action.first != Legal) { in getAction() 476 << Action.first << ", " << Action.second << "\n"); in getAction() 477 return {Action.first, i, Action.second}; in getAction() 518 return getAction(MI, MRI).Action == Legal; in isLegal() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXTargetTransformInfo.cpp | 167 const SimplifyAction Action = [II]() -> SimplifyAction { in simplifyNvvmIntrinsic() local 318 if (Action.FtzRequirement != FTZ_Any) { in simplifyNvvmIntrinsic() 325 if (FtzEnabled != (Action.FtzRequirement == FTZ_MustBeOn)) in simplifyNvvmIntrinsic() 330 if (Action.IID) { in simplifyNvvmIntrinsic() 336 Intrinsic::getDeclaration(II->getModule(), *Action.IID, Tys), Args); in simplifyNvvmIntrinsic() 340 if (Action.BinaryOp) in simplifyNvvmIntrinsic() 341 return BinaryOperator::Create(*Action.BinaryOp, II->getArgOperand(0), in simplifyNvvmIntrinsic() 345 if (Action.CastOp) in simplifyNvvmIntrinsic() 346 return CastInst::Create(*Action.CastOp, II->getArgOperand(0), II->getType(), in simplifyNvvmIntrinsic() 350 if (!Action.Special) in simplifyNvvmIntrinsic() [all …]
|
| /netbsd-src/sys/external/bsd/acpica/dist/utilities/ |
| H A D | utdelete.c | 63 UINT32 Action); 412 * Action - What to do (REF_INCREMENT or REF_DECREMENT) 423 UINT32 Action) in AcpiUtUpdateRefCount() argument 448 switch (Action) in AcpiUtUpdateRefCount() 509 Action)); in AcpiUtUpdateRefCount() 532 * Action - Either REF_INCREMENT or REF_DECREMENT 550 UINT16 Action) in AcpiUtUpdateObjectReference() argument 594 AcpiUtUpdateRefCount (PrevObject, Action); in AcpiUtUpdateObjectReference() 627 AcpiUtUpdateRefCount (NextObject, Action); in AcpiUtUpdateObjectReference() 636 NextObject, Action, in AcpiUtUpdateObjectReference() [all...] |
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchFinder.h | 155 MatchCallback *Action); 157 MatchCallback *Action); 159 MatchCallback *Action); 161 MatchCallback *Action); 163 MatchCallback *Action); 165 MatchCallback *Action); 167 MatchCallback *Action); 169 MatchCallback *Action); 181 MatchCallback *Action);
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/ |
| H A D | Tooling.cpp | 289 std::unique_ptr<FrontendAction> Action; member in __anon911f7f8c0111::SingleFrontendActionFactory 292 SingleFrontendActionFactory(std::unique_ptr<FrontendAction> Action) in SingleFrontendActionFactory() argument 293 : Action(std::move(Action)) {} in SingleFrontendActionFactory() 296 return std::move(Action); in create() 303 std::vector<std::string> CommandLine, ToolAction *Action, in ToolInvocation() argument 305 : CommandLine(std::move(CommandLine)), Action(Action), OwnsAction(false), in ToolInvocation() 313 Action(new SingleFrontendActionFactory(std::move(FAction))), in ToolInvocation() 319 delete Action; in ~ToolInvocation() 375 return Action->runInvocation(std::move(Invocation), Files, in runInvocation() 452 int ClangTool::run(ToolAction *Action) { in run() argument [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| H A D | Analysis.cpp | 99 LLVMBool LLVMVerifyModule(LLVMModuleRef M, LLVMVerifierFailureAction Action, in LLVMVerifyModule() argument 101 raw_ostream *DebugOS = Action != LLVMReturnStatusAction ? &errs() : nullptr; in LLVMVerifyModule() 111 if (Action == LLVMAbortProcessAction && Result) in LLVMVerifyModule() 120 LLVMBool LLVMVerifyFunction(LLVMValueRef Fn, LLVMVerifierFailureAction Action) { in LLVMVerifyFunction() argument 122 *unwrap<Function>(Fn), Action != LLVMReturnStatusAction ? &errs() in LLVMVerifyFunction() 125 if (Action == LLVMAbortProcessAction && Result) in LLVMVerifyFunction()
|
| /netbsd-src/external/bsd/kyua-cli/dist/integration/ |
| H A D | cmd_report_test.sh | 77 Action: 1 89 Action: 2 153 Action: 1 170 Action: 1 201 Action: 1 219 Action: 1 240 Action: 1 259 Action: 1
|
| /netbsd-src/external/apache2/llvm/dist/clang/tools/clang-refactor/ |
| H A D | ClangRefactor.cpp | 255 RefactoringActionSubcommand(std::unique_ptr<RefactoringAction> Action, in RefactoringActionSubcommand() argument 258 : SubCommand(Action->getCommand(), Action->getDescription()), in RefactoringActionSubcommand() 259 Action(std::move(Action)), ActionRules(std::move(ActionRules)) { in RefactoringActionSubcommand() 307 std::unique_ptr<RefactoringAction> Action; member in __anond439ce910111::RefactoringActionSubcommand 354 for (const auto &Action : Actions) { in ClangRefactorTool() local 355 if (!CommandNames.insert(Action->getCommand()).second) { in ClangRefactorTool() 357 << Action->getCommand() << "'!"; in ClangRefactorTool() 363 for (auto &Action : Actions) { in ClangRefactorTool() local 365 std::move(Action), Action->createActiveActionRules(), in ClangRefactorTool()
|