Home
last modified time | relevance | path

Searched refs:Action (Results 1 – 25 of 224) sorted by relevance

123456789

/freebsd-13.1/contrib/llvm-project/llvm/utils/TableGen/
H A DCallingConvEmitter.cpp101 if (Action->isSubClassOf("CCIfType")) { in EmitAction()
109 } else if (Action->isSubClassOf("CCIf")) { in EmitAction()
110 O << Action->getValueAsString("Predicate"); in EmitAction()
112 errs() << *Action; in EmitAction()
120 if (Action->isSubClassOf("CCDelegateTo")) { in EmitAction()
121 Record *CC = Action->getValueAsDef("CC"); in EmitAction()
149 PrintFatalError(Action->getLoc(), in EmitAction()
186 int Size = Action->getValueAsInt("Size"); in EmitAction()
211 int Size = Action->getValueAsInt("Size"); in EmitAction()
250 PrintFatalError(Action->getLoc(), in EmitAction()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Driver/
H A DAction.h47 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
132 Action(ActionClass Kind, Action *Input) in Action() function
138 virtual ~Action();
215 class InputAction : public Action {
234 class BindArchAction : public Action {
303 Action &HostAction;
364 Action *getHostDependence() const;
374 Action *
[all …]
H A DCompilation.h60 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>
167 template <Action::OffloadKind Kind>
180 assert(OffloadKind != Action::OFK_Host && OffloadKind != Action::OFK_None && in addOffloadDeviceToolChain()
203 AllActions.push_back(std::unique_ptr<Action>(RawPtr)); in MakeAction()
[all …]
H A DInputInfo.h41 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 DDriver.h498 Action *ConstructPhaseAction(
500 Action *Input,
501 Action::OffloadKind TargetDeviceOffloadKind = Action::OFK_None) const;
507 BuildJobsForAction(Compilation &C, const Action *A, const ToolChain *TC,
510 std::map<std::pair<const Action *, std::string>, InputInfo>
512 Action::OffloadKind TargetDeviceOffloadKind) const;
606 Compilation &C, const Action *A, const ToolChain *TC, StringRef BoundArch,
608 std::map<std::pair<const Action *, std::string>, InputInfo>
610 Action::OffloadKind TargetDeviceOffloadKind) const;
/freebsd-13.1/contrib/llvm-project/clang/lib/Driver/
H A DAction.cpp18 Action::~Action() = default;
20 const char *Action::getClassName(ActionClass AC) { in getClassName()
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()
187 : Action(OffloadClass, DDeps.getActions(), Ty), in OffloadAction()
270 Action *OffloadAction::getHostDependence() const { in getHostDependence()
283 Action *
312 : Action(Kind, Input, Type) {} in JobAction()
[all …]
H A DToolChain.cpp337 case Action::LinkJobClass: 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()
351 case Action::CompileJobClass: in getTool()
355 case Action::AnalyzeJobClass: in getTool()
356 case Action::MigrateJobClass: in getTool()
358 case Action::BackendJobClass: in getTool()
1203 Action::OffloadKind OFK, in TranslateXarchArgs()
[all …]
H A DDriver.cpp689 auto OFK = Action::OFK_Cuda; in CreateOffloadingDeviceToolChains()
704 auto OFK = Action::OFK_HIP; in CreateOffloadingDeviceToolChains()
2033 for (Action *A : C.getActions()) in PrintActions()
2409 Action::OffloadKind AssociatedOffloadKind = Action::OFK_None;
3239 Action::OFK_OpenMP); in appendLinkDeviceActions()
3333 Action *
3482 Action* makeHostLinkAction() { in makeHostLinkAction()
3495 Action* HA = nullptr; in makeHostLinkAction()
3508 Action *processHostLinkAction(Action *HostAction) { in processHostLinkAction()
3807 Action *LA; in BuildActions()
[all …]
/freebsd-13.1/contrib/googletest/googlemock/test/
H A Dgmock-more-actions_test.cc54 using testing::Action;
234 Action<int()> a = Invoke(Nullary); // NOLINT in TEST()
240 Action<bool(int)> a = Invoke(Unary); // NOLINT in TEST()
334 Action<int(int, int, bool, int*)> a2 = in TEST()
345 Action<int(char, double, int, int)> a2 = in TEST()
470 Action<long(int, short, char, bool)> a = // NOLINT in TEST()
489 const Action<int(int)> a = ReturnArg<0>(); in TEST()
543 const Action<void(int&)> a1 = SetArgReferee<0>(1); in TEST()
602 const Action<void(int n)> a = Throw('a'); in TEST()
614 const Action<double()> a = Throw(MyException()); in TEST()
[all …]
H A Dgmock-generated-actions_test.cc53 using testing::Action;
189 Action<int(SumOf5Functor)> a = // NOLINT in TEST()
237 Action<std::string(std::string(*)( in TEST()
607 Action<double()> a1 = Return5(); in TEST()
664 Action<int(bool)> a1 = InvokeDummy(); in TEST()
678 Action<int(bool)> a1 = InvokeDummy2(); in TEST()
722 Action<int(int)> a1 = PlusTwo(); in TEST()
992 Action<int()> a = Plus1<int&>(x); in TEST()
1063 Action<TenArgConstructorClass*()> a = in TEST()
1168 const Action<Giant()> a = ReturnGiant< in TEST()
[all …]
H A Dgmock-actions_test.cc57 using testing::Action;
462 const Action<int(char)> a2 = Action<int(char)>(a1); // NOLINT in TEST()
583 Action<Base*()> ret = Return(&base); in TEST()
614 Action<ToType()> action(Return(x)); in TEST()
669 Action<Base&()> a = ReturnRef(base); in TEST()
1011 Action<void(int)> a = in TEST()
1019 Action<void(int)> a = Assign(&x, 5); in TEST()
1033 Action<void(int)> a = Assign(&x, 5); in TEST()
1313 Action<int(int)> ai = Double(); in TEST()
1322 const Action<int(bool)> a2 = Action<int(bool)>(a1); in TEST()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerInfo.h136 LegalizeAction Action; member
144 : Action(Action), TypeIdx(TypeIdx), NewType(NewType) {} in LegalizeActionStep()
148 switch (Step.Action) { in LegalizeActionStep()
150 Action = LegalizeActions::Legal; in LegalizeActionStep()
168 Action = LegalizeActions::Lower; in LegalizeActionStep()
174 Action = LegalizeActions::Custom; in LegalizeActionStep()
364 LegalizeAction Action; variable
370 : Predicate(Predicate), Action(Action), Mutation(Mutation) {} in Predicate()
447 add({Predicate, Action}); in actionIf()
1145 auto Action = getAction(Query).Action; in isLegalOrCustom() local
[all …]
H A DLegacyLegalizerInfo.h78 LegacyLegalizeActions::LegacyLegalizeAction Action);
102 LegacyLegalizeActions::LegacyLegalizeAction Action; member
108 LegacyLegalizeActionStep(LegacyLegalizeActions::LegacyLegalizeAction Action, in LegacyLegalizeActionStep()
110 : Action(Action), TypeIdx(TypeIdx), NewType(NewType) {} in LegacyLegalizeActionStep()
113 return std::tie(Action, TypeIdx, NewType) ==
114 std::tie(RHS.Action, RHS.TypeIdx, RHS.NewType);
130 const LegacyLegalizeActions::LegacyLegalizeAction Action) { in needsLegalizingToDifferentSize() argument
132 switch (Action) { in needsLegalizingToDifferentSize()
154 LegacyLegalizeActions::LegacyLegalizeAction Action) { in setAction() argument
155 assert(!needsLegalizingToDifferentSize(Action)); in setAction()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/LineEditor/
H A DLineEditor.cpp56 CompletionAction Action; in complete() local
60 return Action; 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
88 return Action; in getCompletionAction()
148 switch (Action.Kind) { in ElCompletionFn()
150 ::el_insertstr(EL, Action.Text.c_str()); in ElCompletionFn()
[all …]
/freebsd-13.1/contrib/googletest/googlemock/include/gmock/
H A Dgmock-actions.h357 class Action {
364 Action() {}
384 explicit Action(const Action<Func>& action);
418 friend class Action;
459 operator Action<F>() const {
491 return Action<F>(impl);
574 operator Action<F>() const {
782 operator Action<F>() const { return Action<F>(); } // NOLINT
1045 Impl(const Action<VoidResult>& action1, const Action<F>& action2)
1055 const Action<F> action2_;
[all …]
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dreport.cpp108 static const char *stringifyAction(AllocatorAction Action) { in stringifyAction() argument
109 switch (Action) { in stringifyAction()
124 void NORETURN reportInvalidChunkState(AllocatorAction Action, void *Ptr) { in reportInvalidChunkState() argument
127 stringifyAction(Action), Ptr); in reportInvalidChunkState()
130 void NORETURN reportMisalignedPointer(AllocatorAction Action, void *Ptr) { in reportMisalignedPointer() argument
133 stringifyAction(Action), Ptr); in reportMisalignedPointer()
138 void NORETURN reportDeallocTypeMismatch(AllocatorAction Action, void *Ptr, in reportDeallocTypeMismatch() argument
142 stringifyAction(Action), Ptr, TypeA, TypeB); in reportDeallocTypeMismatch()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DEHStreamer.cpp135 Actions.push_back(Action); in computeActionsTable()
317 if (Site.LPad == Prev.LPad && Site.Action == Prev.Action) { in computeCallSiteTable()
603 if (S.Action == 0) in emitExceptionTable()
609 Asm->emitULEB128(S.Action); in emitExceptionTable()
743 if (S.Action == 0) in emitExceptionTable()
749 Asm->emitULEB128(S.Action); in emitExceptionTable()
768 if (Action.ValueForTypeID > 0) in emitExceptionTable()
771 else if (Action.ValueForTypeID < 0) in emitExceptionTable()
777 Asm->emitSLEB128(Action.ValueForTypeID); in emitExceptionTable()
781 if (Action.Previous == unsigned(-1)) { in emitExceptionTable()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegacyLegalizerInfo.cpp29 switch (Action) { in operator <<()
119 const LegacyLegalizeAction Action = LLT2Action.second; in computeTables() local
121 auto SizeAction = std::make_pair(Type.getSizeInBits(), Action); in computeTables()
254 LegacyLegalizeAction Action = Vec[VecIdx].second; in findAction() local
255 switch (Action) { in findAction()
261 return {Size, Action}; in findAction()
279 return {Vec[i].first, Action}; in findAction()
288 return {Vec[i].first, Action}; in findAction()
373 if (Action.first != Legal) { in getAction()
375 << Action.first << ", " << Action.second << "\n"); in getAction()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp1340 if (Action) in addMatcher()
1341 TK = Action->getCheckTraversalKind(); in addMatcher()
1346 Matchers.AllCallbacks.insert(Action); in addMatcher()
1352 Matchers.AllCallbacks.insert(Action); in addMatcher()
1358 if (Action) in addMatcher()
1364 Matchers.AllCallbacks.insert(Action); in addMatcher()
1370 Matchers.AllCallbacks.insert(Action); in addMatcher()
1376 Matchers.AllCallbacks.insert(Action); in addMatcher()
1382 Matchers.AllCallbacks.insert(Action); in addMatcher()
1388 Matchers.AllCallbacks.insert(Action); in addMatcher()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaAttr.cpp227 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()
372 if (Action & Sema::PSK_Pop) { in ActOnPragmaPack()
477 if ((Action == PSK_Push_Set || Action == PSK_Push || Action == PSK_Pop) && in ActOnPragmaFloatControl()
547 if (Action == PSK_Reset) { in Act()
552 if (Action & PSK_Push) in Act()
555 else if (Action & PSK_Pop) { in Act()
[all …]
/freebsd-13.1/sys/contrib/dev/acpica/components/utilities/
H A Dutdelete.c171 UINT32 Action);
523 UINT32 Action) in AcpiUtUpdateRefCount() argument
548 switch (Action) in AcpiUtUpdateRefCount()
608 Action)); in AcpiUtUpdateRefCount()
649 UINT16 Action) in AcpiUtUpdateObjectReference() argument
693 AcpiUtUpdateRefCount (PrevObject, Action); in AcpiUtUpdateObjectReference()
726 AcpiUtUpdateRefCount (NextObject, Action); in AcpiUtUpdateObjectReference()
735 NextObject, Action, &StateList); in AcpiUtUpdateObjectReference()
756 Object->BankField.RegionObj, Action, &StateList); in AcpiUtUpdateObjectReference()
767 Object->IndexField.DataObj, Action, &StateList); in AcpiUtUpdateObjectReference()
[all …]
/freebsd-13.1/sys/dev/mwl/
H A Dmwlreg.h641 uint16_t Action; member
660 uint16_t Action; member
724 uint32_t Action; member
732 uint32_t Action; member
739 uint16_t Action; member
778 uint16_t Action; member
787 uint16_t Action; member
796 uint16_t Action; member
837 uint16_t Action; member
1275 uint16_t Action; member
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchFinder.h155 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);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXTargetTransformInfo.cpp167 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 …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DAnalysis.cpp99 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()

123456789