Home
last modified time | relevance | path

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

1234567891011

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Driver/
H A DAction.h47 class Action {
134 Action(ActionClass Kind, types::ID Type) : Action(Kind, ActionList(), Type) {} in Action() function
135 Action(ActionClass Kind, Action *Input, types::ID Type) in Action() function
137 Action(ActionClass Kind, Action *Input) in Action() function
143 virtual ~Action();
229 class InputAction : public Action {
248 class BindArchAction : public Action {
322 Action &HostAction;
383 Action *getHostDependence() const;
393 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()
153 const std::multimap<Action::OffloadKind,
159 template <Action::OffloadKind Kind>
165 getOffloadToolChains(Action::OffloadKind Kind) const { in getOffloadToolChains()
177 template <Action::OffloadKind Kind>
190 assert(OffloadKind != Action::OFK_Host && OffloadKind != Action::OFK_None && in addOffloadDeviceToolChain()
213 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()
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DCallingConvEmitter.cpp111 llvm::any_of(Action->getSuperClasses(), in EmitCallingConv()
118 EmitAction(Action, 2, O); in EmitCallingConv()
132 if (Action->isSubClassOf("CCIfType")) { in EmitAction()
140 } else if (Action->isSubClassOf("CCIf")) { in EmitAction()
143 errs() << *Action; in EmitAction()
151 if (Action->isSubClassOf("CCDelegateTo")) { in EmitAction()
152 Record *CC = Action->getValueAsDef("CC"); in EmitAction()
215 PrintFatalError(Action->getLoc(), in EmitAction()
252 int Size = Action->getValueAsInt("Size"); in EmitAction()
316 PrintFatalError(Action->getLoc(), in EmitAction()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Driver/
H A DAction.cpp18 Action::~Action() = default;
20 const char *Action::getClassName(ActionClass AC) { in getClassName()
92 void Action::propagateOffloadInfo(const Action *A) { in propagateOffloadInfo()
101 std::string Action::getOffloadingKindPrefix() const { in getOffloadingKindPrefix()
140 Action::GetOffloadingFileNamePrefix(OffloadKind Kind, in GetOffloadingFileNamePrefix()
156 StringRef Action::GetOffloadKindName(OffloadKind Kind) { in GetOffloadKindName()
195 : Action(OffloadClass, DDeps.getActions(), Ty), in OffloadAction()
284 Action *OffloadAction::getHostDependence() const { in getHostDependence()
297 Action *
339 : Action(Kind, Input, Type) {} in JobAction()
[all …]
/freebsd-14.2/contrib/googletest/googlemock/test/
H A Dgmock-more-actions_test.cc56 using testing::Action;
764 Action<std::string(std::string(*)( in TEST()
955 Action<bool()> a = in TEST()
962 Action<int(std::unique_ptr<int>)> a = in TEST()
974 Action<int(std::vector<int>)> a = in TEST()
994 Action<double()> a1 = Return5(); in TEST()
1055 Action<int(bool)> a1 = InvokeDummy(); in TEST()
1069 Action<int(bool)> a1 = InvokeDummy2(); in TEST()
1113 Action<int(int)> a1 = PlusTwo(); in TEST()
1384 Action<int()> a = Plus1<int&>(x); in TEST()
[all …]
H A Dgmock-actions_test.cc590 const Action<int(char)> a2 = Action<int(char)>(a1); // NOLINT in TEST()
824 Action<Base*()> ret = Return(&base); in TEST()
853 Action<ToType()> action(Return(x)); in TEST()
893 Action<Base&()> a = ReturnRef(base); in TEST()
1299 Action<void(int)> a = in TEST()
1307 Action<void(int)> a = Assign(&x, 5); in TEST()
2086 Action<int(int)> ai = Double(); in TEST()
2095 const Action<int(bool)> a2 = Action<int(bool)>(a1); in TEST()
2101 const Action<int(const char*)> s2 = Action<int(const char*)>(s1); in TEST()
2113 Action<int(int)> d = f; in TEST()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDependencyTracker.h81 bool isLiveAction(LiveRootWorklistActionTy Action) { in isLiveAction() argument
82 switch (Action) { in isLiveAction()
94 bool isTypeAction(LiveRootWorklistActionTy Action) { in isTypeAction() argument
95 switch (Action) { in isTypeAction()
108 bool isSingleAction(LiveRootWorklistActionTy Action) { in isSingleAction() argument
109 switch (Action) { in isSingleAction()
121 bool isChildrenAction(LiveRootWorklistActionTy Action) { in isChildrenAction() argument
122 switch (Action) { in isChildrenAction()
137 LiveRootWorklistItemTy(LiveRootWorklistActionTy Action, in LiveRootWorklistItemTy() argument
139 RootCU.setInt(Action); in LiveRootWorklistItemTy()
[all …]
H A DDependencyTracker.cpp131 RootEntriesWorkList.emplace_back(Action, Entry); in addActionToRootEntriesWorkList()
165 LiveRootWorklistActionTy Action = in collectRootsToKeep() local
182 LiveRootWorklistActionTy Action = in collectRootsToKeep() local
445 if (!isChildrenAction(Action)) in markDIEEntryAsKeptRec()
467 if (isSingleAction(Action)) in markDIEEntryAsKeptRec()
660 Action = LiveRootWorklistActionTy::MarkLiveEntryRec; in maybeAddReferencedRoots()
666 Action = LiveRootWorklistActionTy::MarkTypeEntryRec; in maybeAddReferencedRoots()
667 else if (isLiveAction(Action)) in maybeAddReferencedRoots()
668 Action = LiveRootWorklistActionTy::MarkLiveEntryRec; in maybeAddReferencedRoots()
670 Action = LiveRootWorklistActionTy::MarkTypeEntryRec; in maybeAddReferencedRoots()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DPGOOptions.cpp17 IntrusiveRefCntPtr<vfs::FileSystem> FS, PGOAction Action, in PGOOptions() argument
22 Action(Action), CSAction(CSAction), in PGOOptions()
24 (Action == SampleUse && !PseudoProbeForProfiling)), in PGOOptions()
32 (this->Action != IRInstr && this->Action != SampleUse)); in PGOOptions()
39 assert(this->CSAction != CSIRUse || this->Action == IRUse); in PGOOptions()
42 assert(this->MemoryProfile.empty() || this->Action != PGOOptions::IRInstr); in PGOOptions()
46 assert(this->Action != NoAction || this->CSAction != NoCSAction || in PGOOptions()
51 assert(this->FS || !(this->Action == IRUse || this->CSAction == CSIRUse || in PGOOptions()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerInfo.h145 LegalizeAction Action; member
153 : Action(Action), TypeIdx(TypeIdx), NewType(NewType) {} in LegalizeActionStep()
157 switch (Step.Action) { in LegalizeActionStep()
159 Action = LegalizeActions::Legal; in LegalizeActionStep()
177 Action = LegalizeActions::Lower; in LegalizeActionStep()
183 Action = LegalizeActions::Custom; in LegalizeActionStep()
401 LegalizeAction Action; variable
407 : Predicate(Predicate), Action(Action), Mutation(Mutation) {} in Predicate()
474 add({Predicate, Action}); in actionIf()
1288 auto Action = getAction(Query).Action; in isLegalOrCustom() local
[all …]
H A DLegacyLegalizerInfo.h79 LegacyLegalizeActions::LegacyLegalizeAction Action);
103 LegacyLegalizeActions::LegacyLegalizeAction Action; member
109 LegacyLegalizeActionStep(LegacyLegalizeActions::LegacyLegalizeAction Action, in LegacyLegalizeActionStep()
111 : Action(Action), TypeIdx(TypeIdx), NewType(NewType) {} in LegacyLegalizeActionStep()
114 return std::tie(Action, TypeIdx, NewType) ==
115 std::tie(RHS.Action, RHS.TypeIdx, RHS.NewType);
131 const LegacyLegalizeActions::LegacyLegalizeAction Action) { in needsLegalizingToDifferentSize() argument
133 switch (Action) { in needsLegalizingToDifferentSize()
155 LegacyLegalizeActions::LegacyLegalizeAction Action) { in setAction() argument
156 assert(!needsLegalizingToDifferentSize(Action)); in setAction()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/LineEditor/
H A DLineEditor.cpp55 CompletionAction Action; in complete() local
59 return Action; in complete()
72 Action.Completions.push_back(Comp.DisplayText); in complete()
74 Action.Kind = CompletionAction::AK_Insert; in complete()
75 Action.Text = CommonPrefix; in complete()
78 return Action; in complete()
84 CompletionAction Action; in getCompletionAction() local
86 return Action; in getCompletionAction()
146 switch (Action.Kind) { in ElCompletionFn()
148 ::el_insertstr(EL, Action.Text.c_str()); in ElCompletionFn()
[all …]
/freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/Testing/
H A DTestAST.cpp120 Action = in TestAST()
123 if (!Action->BeginSourceFile(*Clang, Main)) { in TestAST()
125 Action.reset(); // Don't call EndSourceFile if BeginSourceFile failed. in TestAST()
128 if (auto Err = Action->Execute()) in TestAST()
141 if (Action) { in clear()
146 Action->EndSourceFile(); // Destroy ASTContext and Sema. in clear()
149 Action.reset(); in clear()
156 Action = std::move(M.Action); in operator =()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DEHStreamer.cpp133 Actions.push_back(Action); in computeActionsTable()
319 if (Site.LPad == Prev.LPad && Site.Action == Prev.Action) { in computeCallSiteTable()
611 if (S.Action == 0) in emitExceptionTable()
617 Asm->emitULEB128(S.Action); in emitExceptionTable()
752 if (S.Action == 0) in emitExceptionTable()
758 Asm->emitULEB128(S.Action); in emitExceptionTable()
777 if (Action.ValueForTypeID > 0) in emitExceptionTable()
780 else if (Action.ValueForTypeID < 0) in emitExceptionTable()
786 Asm->emitSLEB128(Action.ValueForTypeID); in emitExceptionTable()
790 if (Action.Previous == unsigned(-1)) { in emitExceptionTable()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegacyLegalizerInfo.cpp29 switch (Action) { in operator <<()
122 const LegacyLegalizeAction Action = LLT2Action.second; in computeTables() local
124 auto SizeAction = std::make_pair(Type.getSizeInBits(), Action); in computeTables()
257 LegacyLegalizeAction Action = Vec[VecIdx].second; in findAction() local
258 switch (Action) { in findAction()
264 return {Size, Action}; in findAction()
282 return {Vec[i].first, Action}; in findAction()
291 return {Vec[i].first, Action}; in findAction()
376 if (Action.first != Legal) { in getAction()
378 << Action.first << ", " << Action.second << "\n"); in getAction()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DAnalysis.cpp68 LLVMBool LLVMVerifyModule(LLVMModuleRef M, LLVMVerifierFailureAction Action, in LLVMVerifyModule() argument
70 raw_ostream *DebugOS = Action != LLVMReturnStatusAction ? &errs() : nullptr; in LLVMVerifyModule()
80 if (Action == LLVMAbortProcessAction && Result) in LLVMVerifyModule()
89 LLVMBool LLVMVerifyFunction(LLVMValueRef Fn, LLVMVerifierFailureAction Action) { in LLVMVerifyFunction() argument
91 *unwrap<Function>(Fn), Action != LLVMReturnStatusAction ? &errs() in LLVMVerifyFunction()
94 if (Action == LLVMAbortProcessAction && Result) in LLVMVerifyFunction()
/freebsd-14.2/contrib/googletest/googlemock/include/gmock/
H A Dgmock-actions.h717 class Action;
726 class Action<R(Args...)> {
752 Action() = default;
774 Action(const Action<Func>& action) // NOLINT
800 Action<F> action;
813 friend class Action;
894 return Action<F>(impl);
1255 return Action<F>();
1784 Action&&... action) {
2242 name##Action(const name##Action&) noexcept {} \
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchFinder.h156 MatchCallback *Action);
158 MatchCallback *Action);
160 MatchCallback *Action);
162 MatchCallback *Action);
164 MatchCallback *Action);
166 MatchCallback *Action);
168 MatchCallback *Action);
170 MatchCallback *Action);
171 void addMatcher(const AttrMatcher &NodeMatch, MatchCallback *Action);
183 MatchCallback *Action);
/freebsd-14.2/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp1588 if (Action) in addMatcher()
1594 Matchers.AllCallbacks.insert(Action); in addMatcher()
1600 Matchers.AllCallbacks.insert(Action); in addMatcher()
1606 if (Action) in addMatcher()
1612 Matchers.AllCallbacks.insert(Action); in addMatcher()
1618 Matchers.AllCallbacks.insert(Action); in addMatcher()
1624 Matchers.AllCallbacks.insert(Action); in addMatcher()
1630 Matchers.AllCallbacks.insert(Action); in addMatcher()
1636 Matchers.AllCallbacks.insert(Action); in addMatcher()
1642 Matchers.AllCallbacks.insert(Action); in addMatcher()
[all …]
/freebsd-14.2/sys/dev/mwl/
H A Dmwlreg.h639 uint16_t Action; member
658 uint16_t Action; member
722 uint32_t Action; member
730 uint32_t Action; member
737 uint16_t Action; member
776 uint16_t Action; member
785 uint16_t Action; member
794 uint16_t Action; member
835 uint16_t Action; member
1273 uint16_t Action; member
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXTargetTransformInfo.cpp172 const SimplifyAction Action = [II]() -> SimplifyAction { in simplifyNvvmIntrinsic() local
345 if (Action.FtzRequirement != FTZ_Any) { in simplifyNvvmIntrinsic()
348 Action.IsHalfTy ? APFloat::IEEEhalf() : APFloat::IEEEsingle()); in simplifyNvvmIntrinsic()
351 if (FtzEnabled != (Action.FtzRequirement == FTZ_MustBeOn)) in simplifyNvvmIntrinsic()
356 if (Action.IID) { in simplifyNvvmIntrinsic()
362 Intrinsic::getDeclaration(II->getModule(), *Action.IID, Tys), Args); in simplifyNvvmIntrinsic()
366 if (Action.BinaryOp) in simplifyNvvmIntrinsic()
367 return BinaryOperator::Create(*Action.BinaryOp, II->getArgOperand(0), in simplifyNvvmIntrinsic()
371 if (Action.CastOp) in simplifyNvvmIntrinsic()
376 if (!Action.Special) in simplifyNvvmIntrinsic()
[all …]
/freebsd-14.2/sys/contrib/dev/acpica/components/utilities/
H A Dutdelete.c171 UINT32 Action);
531 UINT32 Action) in AcpiUtUpdateRefCount() argument
556 switch (Action) in AcpiUtUpdateRefCount()
617 Action)); in AcpiUtUpdateRefCount()
658 UINT16 Action) in AcpiUtUpdateObjectReference() argument
702 AcpiUtUpdateRefCount (PrevObject, Action); in AcpiUtUpdateObjectReference()
735 AcpiUtUpdateRefCount (NextObject, Action); in AcpiUtUpdateObjectReference()
744 NextObject, Action, &StateList); in AcpiUtUpdateObjectReference()
765 Object->BankField.RegionObj, Action, &StateList); in AcpiUtUpdateObjectReference()
776 Object->IndexField.DataObj, Action, &StateList); in AcpiUtUpdateObjectReference()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaAttr.cpp228 Action = Sema::PSK_Push_Set; in ActOnPragmaOptionsAlign()
231 Action = Sema::PSK_Push_Set; in ActOnPragmaOptionsAlign()
238 Action = Sema::PSK_Push_Set; in ActOnPragmaOptionsAlign()
248 Action = Sema::PSK_Push_Set; in ActOnPragmaOptionsAlign()
254 Action = Sema::PSK_Pop; in ActOnPragmaOptionsAlign()
373 if (Action & Sema::PSK_Pop) { in ActOnPragmaPack()
553 if ((Action == PSK_Push_Set || Action == PSK_Push || Action == PSK_Pop) && in ActOnPragmaFloatControl()
624 if (Action == PSK_Reset) { in Act()
629 if (Action & PSK_Push) in Act()
632 else if (Action & PSK_Pop) { in Act()
[all …]

1234567891011