Home
last modified time | relevance | path

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

12345678910

/freebsd/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
136 : Action(Kind, ActionList({Input}), Type) {} in Action()
137 Action(ActionClass Kind, Action *Input) in Action() function
138 : Action(Kind, ActionList({Input}), Input->getType()) {} in Action()
139 Action(ActionClass Kind, const ActionList &Inputs, types::ID Type) in Action() function
143 virtual ~Action();
145 const char *getClassName() const { return Action::getClassName(getKind()); } in getClassName()
204 void propagateOffloadInfo(const Action *A);
[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()
145 unsigned isOffloadingHostKind(Action::OffloadKind Kind) const { in isOffloadingHostKind()
153 const std::multimap<Action::OffloadKind,
159 template <Action::OffloadKind Kind>
165 getOffloadToolChains(Action::OffloadKind Kind) const { in getOffloadToolChains()
170 template <Action::OffloadKind Kind> bool hasOffloadToolChain() const { in hasOffloadToolChain()
177 template <Action::OffloadKind Kind>
[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.h503 Action *BuildOffloadingActions(Compilation &C,
506 Action *HostAction) const;
513 Action::OffloadKind Kind, const ToolChain *TC,
638 Action *ConstructPhaseAction(
640 Action *Input,
641 Action::OffloadKind TargetDeviceOffloadKind = Action::OFK_None) const;
647 Compilation &C, const Action *A, const ToolChain *TC, StringRef BoundArch,
649 std::map<std::pair<const Action *, std::string>, InputInfoList>
651 Action::OffloadKind TargetDeviceOffloadKind) const;
777 const Action::OffloadKind &TargetDeviceOffloadKind) const;
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DCallingConvEmitter.cpp41 void EmitAction(Record *Action, unsigned Indent, raw_ostream &O);
109 Record *Action = CCActions->getElementAsRecord(i); in EmitCallingConv() local
111 llvm::any_of(Action->getSuperClasses(), in EmitCallingConv()
118 EmitAction(Action, 2, O); in EmitCallingConv()
125 void CallingConvEmitter::EmitAction(Record *Action, unsigned Indent, in EmitAction() argument
129 if (Action->isSubClassOf("CCPredicateAction")) { in EmitAction()
132 if (Action->isSubClassOf("CCIfType")) { in EmitAction()
133 ListInit *VTs = Action->getValueAsListInit("VTs"); in EmitAction()
141 } else if (Action->isSubClassOf("CCIf")) { in EmitAction()
142 O << Action->getValueAsString("Predicate"); in EmitAction()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Driver/
H A DAction.cpp18 Action::~Action() = default;
20 const char *Action::getClassName(ActionClass AC) { in getClassName()
58 void Action::propagateDeviceOffloadInfo(OffloadKind OKind, const char *OArch, in propagateDeviceOffloadInfo()
78 void Action::propagateHostOffloadInfo(unsigned OKinds, const char *OArch) { in propagateHostOffloadInfo()
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()
177 : Action(InputClass, _Type), Input(_Input), Id(_Id.str()) {} in InputAction()
181 BindArchAction::BindArchAction(Action *Input, StringRef ArchName) in BindArchAction()
[all …]
H A DDriver.cpp56 #include "clang/Driver/Action.h"
797 const ToolChain *HostTC = C.getSingleOffloadToolChain<Action::OFK_Host>(); in CreateOffloadingDeviceToolChains()
799 auto OFK = Action::OFK_Cuda; in CreateOffloadingDeviceToolChains()
825 const ToolChain *HostTC = C.getSingleOffloadToolChain<Action::OFK_Host>(); in CreateOffloadingDeviceToolChains()
826 auto OFK = Action::OFK_HIP; in CreateOffloadingDeviceToolChains()
874 const ToolChain *HostTC = C.getSingleOffloadToolChain<Action::OFK_Host>(); in CreateOffloadingDeviceToolChains()
888 C, C.getArgs(), Action::OFK_OpenMP, &*TempTC, true)) in CreateOffloadingDeviceToolChains()
895 C, C.getArgs(), Action::OFK_OpenMP, &*TempTC, true)) in CreateOffloadingDeviceToolChains()
900 getOffloadArchs(C, C.getArgs(), Action::OFK_OpenMP, nullptr, true)) in CreateOffloadingDeviceToolChains()
954 C.getSingleOffloadToolChain<Action in CreateOffloadingDeviceToolChains()
2356 PrintActions1(const Compilation & C,Action * A,std::map<Action *,unsigned> & Ids,Twine Indent={},int Kind=TopLevelAction) PrintActions1() argument
5433 BuildJobsForAction(Compilation & C,const Action * A,const ToolChain * TC,StringRef BoundArch,bool AtTopLevel,bool MultipleArchs,const char * LinkingOutput,std::map<std::pair<const Action *,std::string>,InputInfoList> & CachedResults,Action::OffloadKind TargetDeviceOffloadKind) const BuildJobsForAction() argument
5483 BuildJobsForActionNoCache(Compilation & C,const Action * A,const ToolChain * TC,StringRef BoundArch,bool AtTopLevel,bool MultipleArchs,const char * LinkingOutput,std::map<std::pair<const Action *,std::string>,InputInfoList> & CachedResults,Action::OffloadKind TargetDeviceOffloadKind) const BuildJobsForActionNoCache() argument
[all...]
/freebsd/contrib/googletest/googlemock/test/
H A Dgmock-more-actions_test.cc56 using testing::Action;
204 Action<int()> a = Invoke(Nullary); // NOLINT in TEST()
210 Action<bool(int)> a = Invoke(Unary); // NOLINT in TEST()
217 Action<const char*(const char*, short)> a = Invoke(Binary); // NOLINT in TEST()
224 Action<int(int, char, short)> a = Invoke(Ternary); // NOLINT in TEST()
230 Action<int(int, int, int, int)> a = Invoke(SumOf4); // NOLINT in TEST()
236 Action<int(int, int, int, int, int)> a = Invoke(SumOf5); // NOLINT in TEST()
242 Action<int(int, int, int, int, int, int)> a = Invoke(SumOf6); // NOLINT in TEST()
253 Action<std::string(const char*, const char*, const char*, const char*, in TEST()
264 Action<std::string(const char*, const char*, const char*, const char*, in TEST()
[all …]
H A Dgmock-actions_test.cc530 Action<MyGlobalFunction> action = MakeAction(new MyActionImpl); in TEST()
543 Action<MyGlobalFunction> action(new MyActionImpl); in TEST()
548 const Action<MyGlobalFunction> action(new MyActionImpl); in TEST()
556 Action<MyGlobalFunction> a1(new MyActionImpl); in TEST()
557 Action<MyGlobalFunction> a2(a1); // Tests the copy constructor. in TEST()
589 const Action<bool(int)> a1(new IsNotZero); // NOLINT in TEST()
590 const Action<int(char)> a2 = Action<int(char)>(a1); // NOLINT in TEST()
642 Action<int(bool, int, double)> a1 = ReturnSecondArgument(); // NOLINT in TEST()
649 Action<int()> a1 = ReturnZeroFromNullaryFunction(); in TEST()
652 Action<void*()> a2 = ReturnZeroFromNullaryFunction(); in TEST()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DPGOOptions.cpp17 IntrusiveRefCntPtr<vfs::FileSystem> FS, PGOAction Action, in PGOOptions() argument
23 Action(Action), CSAction(CSAction), ColdOptType(ColdType), in PGOOptions()
25 (Action == SampleUse && !PseudoProbeForProfiling)), in PGOOptions()
33 (this->Action != IRInstr && this->Action != SampleUse)); in PGOOptions()
40 assert(this->CSAction != CSIRUse || this->Action == IRUse); in PGOOptions()
43 assert(this->MemoryProfile.empty() || this->Action != PGOOptions::IRInstr); in PGOOptions()
47 assert(this->Action != NoAction || this->CSAction != NoCSAction || in PGOOptions()
52 assert(this->FS || !(this->Action == IRUse || this->CSAction == CSIRUse || in PGOOptions()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerInfo.h101 raw_ostream &operator<<(raw_ostream &OS, LegalizeActions::LegalizeAction Action);
145 LegalizeAction Action; member
151 LegalizeActionStep(LegalizeAction Action, unsigned TypeIdx, in LegalizeActionStep()
153 : Action(Action), TypeIdx(TypeIdx), NewType(NewType) {} in LegalizeActionStep()
157 switch (Step.Action) { in LegalizeActionStep()
159 Action = LegalizeActions::Legal; in LegalizeActionStep()
162 Action = LegalizeActions::NarrowScalar; in LegalizeActionStep()
165 Action = LegalizeActions::WidenScalar; in LegalizeActionStep()
168 Action = LegalizeActions::FewerElements; in LegalizeActionStep()
171 Action = LegalizeActions::MoreElements; in LegalizeActionStep()
[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/contrib/llvm-project/llvm/lib/LineEditor/
H A DLineEditor.cpp55 CompletionAction Action; in complete() local
58 Action.Kind = CompletionAction::AK_ShowCompletions; in complete()
59 return Action; in complete()
70 Action.Kind = CompletionAction::AK_ShowCompletions; 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
85 Action in getCompletionAction()
143 LineEditor::CompletionAction Action = Data->LE->getCompletionAction( ElCompletionFn() local
[all...]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DEHStreamer.cpp132 ActionEntry Action = { ValueForTypeID, NextAction, PrevAction }; in computeActionsTable() local
133 Actions.push_back(Action); in computeActionsTable()
319 if (Site.LPad == Prev.LPad && Site.Action == Prev.Action) { in computeCallSiteTable()
535 CallSiteTableSize += 12 + getULEB128Size(S.Action); in emitExceptionTable()
544 for (const ActionEntry &Action : Actions) { in emitExceptionTable() local
546 ActionTableSize += getSLEB128Size(Action.ValueForTypeID) + in emitExceptionTable()
547 getSLEB128Size(Action.NextAction); in emitExceptionTable()
611 if (S.Action == 0) in emitExceptionTable()
615 Twine((S.Action - 1) / 2 + 1)); in emitExceptionTable()
617 Asm->emitULEB128(S.Action); in emitExceptionTable()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Testing/
H A DTestAST.cpp123 Action = in TestAST()
126 if (!Action->BeginSourceFile(*Clang, Main)) { in TestAST()
128 Action.reset(); // Don't call EndSourceFile if BeginSourceFile failed. in TestAST()
131 if (auto Err = Action->Execute()) in TestAST()
144 if (Action) { in clear()
149 Action->EndSourceFile(); // Destroy ASTContext and Sema. in clear()
152 Action.reset(); in clear()
159 Action = std::move(M.Action); in operator =()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegacyLegalizerInfo.cpp28 raw_ostream &llvm::operator<<(raw_ostream &OS, LegacyLegalizeAction Action) { in operator <<() argument
29 switch (Action) { in operator <<()
122 const LegacyLegalizeAction Action = LLT2Action.second; in computeTables()
124 auto SizeAction = std::make_pair(Type.getSizeInBits(), Action); in computeTables()
257 LegacyLegalizeAction Action = Vec[VecIdx].second; in findAction()
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()
299 llvm_unreachable("Action ha
119 const LegacyLegalizeAction Action = LLT2Action.second; computeTables() local
254 LegacyLegalizeAction Action = Vec[VecIdx].second; findAction() local
372 auto Action = getAspectAction({Query.Opcode, i, Query.Types[i]}); getAction() local
[all...]
/freebsd/contrib/googletest/googlemock/include/gmock/
H A Dgmock-actions.h724 class Action;
733 class Action<R(Args...)> {
759 Action() = default;
769 Action(G&& fun) { // NOLINT
774 explicit Action(ActionInterface<F>* impl)
781 Action(const Action<Func>& action) // NOLINT
807 Action<F> action;
820 friend class Action;
873 operator Action<F>() const {
874 return Action<F>(new MonomorphicImpl<F>(impl_));
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dreport.cpp108 static const char *stringifyAction(AllocatorAction Action) { in reportAllocationSizeTooBig()
109 switch (Action) { in reportAllocationSizeTooBig()
124 void NORETURN reportInvalidChunkState(AllocatorAction Action, void *Ptr) {
127 stringifyAction(Action), Ptr); in stringifyAction()
130 void NORETURN reportMisalignedPointer(AllocatorAction Action, void *Ptr) { in stringifyAction()
133 stringifyAction(Action), Ptr); in stringifyAction()
138 void NORETURN reportDeallocTypeMismatch(AllocatorAction Action, void *Ptr,
142 stringifyAction(Action), Ptr, TypeA, TypeB); in reportInvalidChunkState()
125 stringifyAction(AllocatorAction Action) stringifyAction() argument
141 reportInvalidChunkState(AllocatorAction Action,void * Ptr) reportInvalidChunkState() argument
147 reportMisalignedPointer(AllocatorAction Action,void * Ptr) reportMisalignedPointer() argument
155 reportDeallocTypeMismatch(AllocatorAction Action,void * Ptr,u8 TypeA,u8 TypeB) reportDeallocTypeMismatch() argument
/freebsd/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/contrib/llvm-project/llvm/lib/Analysis/
H A DAnalysis.cpp67 LLVMBool LLVMVerifyModule(LLVMModuleRef M, LLVMVerifierFailureAction Action, in LLVMVerifyModule() argument
69 raw_ostream *DebugOS = Action != LLVMReturnStatusAction ? &errs() : nullptr; in LLVMVerifyModule()
79 if (Action == LLVMAbortProcessAction && Result) in LLVMVerifyModule()
88 LLVMBool LLVMVerifyFunction(LLVMValueRef Fn, LLVMVerifierFailureAction Action) { in LLVMVerifyFunction() argument
90 *unwrap<Function>(Fn), Action != LLVMReturnStatusAction ? &errs() in LLVMVerifyFunction()
93 if (Action == LLVMAbortProcessAction && Result) in LLVMVerifyFunction()
/freebsd/sys/dev/mwl/
H A Dmwlreg.h639 uint16_t Action; member
658 uint16_t Action; member
703 uint32_t Action; //HostCmd_ACT_GEN_GET 0x0000 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
803 uint16_t Action; member
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DBackendUtil.cpp169 bool AddEmitPasses(legacy::PassManager &CodeGenPasses, BackendAction Action,
184 BackendAction Action, std::unique_ptr<raw_pwrite_stream> &OS,
186 void RunCodegenPipeline(BackendAction Action,
228 void EmitAssembly(BackendAction Action, std::unique_ptr<raw_pwrite_stream> OS,
308 static CodeGenFileType getCodeGenFileType(BackendAction Action) { in getCodeGenFileType() argument
309 if (Action == Backend_EmitObj) in getCodeGenFileType()
311 else if (Action == Backend_EmitMCNull) in getCodeGenFileType()
314 assert(Action == Backend_EmitAssembly && "Invalid action!"); in getCodeGenFileType()
319 static bool actionRequiresCodeGen(BackendAction Action) { in actionRequiresCodeGen() argument
320 return Action != Backend_EmitNothing && Action != Backend_EmitBC && in actionRequiresCodeGen()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAttr.cpp233 PragmaMsStackAction Action = Sema::PSK_Reset; in ActOnPragmaOptionsAlign() local
241 Action = Sema::PSK_Push_Set; in ActOnPragmaOptionsAlign()
244 Action = Sema::PSK_Push_Set; in ActOnPragmaOptionsAlign()
251 Action = Sema::PSK_Push_Set; in ActOnPragmaOptionsAlign()
261 Action = Sema::PSK_Push_Set; in ActOnPragmaOptionsAlign()
267 Action = Sema::PSK_Pop; in ActOnPragmaOptionsAlign()
271 Action = Sema::PSK_Reset; in ActOnPragmaOptionsAlign()
283 AlignPackStack.Act(PragmaLoc, Action, StringRef(), Info); in ActOnPragmaOptionsAlign()
287 PragmaClangSectionAction Action, in ActOnPragmaClangSection() argument
315 if (Action == PragmaClangSectionAction::PCSA_Clear) { in ActOnPragmaClangSection()
[all …]
/freebsd/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/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXTargetTransformInfo.cpp172 const SimplifyAction Action = [II]() -> SimplifyAction { in simplifyNvvmIntrinsic() local
341 // If Action.FtzRequirementTy is not satisfied by the module's ftz state, we in simplifyNvvmIntrinsic()
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 in simplifyNvvmIntrinsic()
[all...]

12345678910