Home
last modified time | relevance | path

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

1234567891011

/freebsd/contrib/llvm-project/clang/include/clang/Driver/
H A DAction.h47 class Action {
135 Action(ActionClass Kind, types::ID Type) : Action(Kind, ActionList(), Type) {} in Action() function
136 Action(ActionClass Kind, Action *Input, types::ID Type) in Action() function
137 : Action(Kind, ActionList({Input}), Type) {} in Action()
138 Action(ActionClass Kind, Action *Input) in Action() function
139 : Action(Kind, ActionList({Input}), Input->getType()) {} in Action()
140 Action(ActionClass Kind, const ActionList &Inputs, types::ID Type) in Action() function
144 virtual ~Action();
146 const char *getClassName() const { return Action::getClassName(getKind()); } in getClassName()
205 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()
139 unsigned isOffloadingHostKind(Action::OffloadKind Kind) const { in isOffloadingHostKind()
147 const std::multimap<Action::OffloadKind,
153 template <Action::OffloadKind Kind>
159 getOffloadToolChains(Action::OffloadKind Kind) const { in getOffloadToolChains()
164 template <Action::OffloadKind Kind> bool hasOffloadToolChain() const { in hasOffloadToolChain()
171 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()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DCallingConvEmitter.cpp49 void emitAction(const Record *Action, indent Indent, raw_ostream &O);
121 const Record *Action = CCActions->getElementAsRecord(I); in emitCallingConv() local
123 llvm::any_of(Action->getSuperClasses(), [](const Record *Class) { in emitCallingConv()
129 emitAction(Action, indent(2), O); in emitCallingConv()
150 void CallingConvEmitter::emitAction(const Record *Action, indent Indent, in emitAction() argument
181 int Size = Action->getValueAsInt("Size"); in emitAction()
182 int Align = Action->getValueAsInt("Align"); in emitAction()
202 if (Action->isSubClassOf("CCPredicateAction")) { in emitAction()
205 if (Action->isSubClassOf("CCIfType")) { in emitAction()
206 const ListInit *VTs = Action->getValueAsListInit("VTs"); 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()
60 void Action::propagateDeviceOffloadInfo(OffloadKind OKind, const char *OArch, in propagateDeviceOffloadInfo()
80 void Action::propagateHostOffloadInfo(unsigned OKinds, const char *OArch) { in propagateHostOffloadInfo()
94 void Action::propagateOffloadInfo(const Action *A) { in propagateOffloadInfo()
103 std::string Action::getOffloadingKindPrefix() const { in getOffloadingKindPrefix()
146 Action::GetOffloadingFileNamePrefix(OffloadKind Kind, in GetOffloadingFileNamePrefix()
162 StringRef Action::GetOffloadKindName(OffloadKind Kind) { in GetOffloadKindName()
185 : Action(InputClass, _Type), Input(_Input), Id(_Id.str()) {} in InputAction()
189 BindArchAction::BindArchAction(Action *Input, StringRef ArchName) in BindArchAction()
[all …]
H A DDriver.cpp986 getOffloadToolChain(C.getInputArgs(), Action::OFK_Cuda, *CudaTriple, in CreateOffloadingDeviceToolChains()
994 C.addOffloadDeviceToolChain(&TC, Action::OFK_Cuda); in CreateOffloadingDeviceToolChains()
995 OffloadArchs[&TC] = getOffloadArchs(C, C.getArgs(), Action::OFK_Cuda, &TC, in CreateOffloadingDeviceToolChains()
1010 getOffloadToolChain(C.getInputArgs(), Action::OFK_HIP, *HIPTriple, in CreateOffloadingDeviceToolChains()
1012 C.addOffloadDeviceToolChain(&TC, Action::OFK_HIP); in CreateOffloadingDeviceToolChains()
1017 OffloadArchs[&TC] = getOffloadArchs(C, C.getArgs(), Action::OFK_HIP, &TC, in CreateOffloadingDeviceToolChains()
1081 auto &TC = getOffloadToolChain(C.getInputArgs(), Action::OFK_OpenMP, TT, in CreateOffloadingDeviceToolChains()
1083 C.addOffloadDeviceToolChain(&TC, Action::OFK_OpenMP); in CreateOffloadingDeviceToolChains()
1085 getOffloadArchs(C, C.getArgs(), Action::OFK_OpenMP, &TC, in CreateOffloadingDeviceToolChains()
1109 auto &TC = getOffloadToolChain(C.getInputArgs(), Action::OFK_OpenMP, TT, in CreateOffloadingDeviceToolChains()
[all …]
/freebsd/contrib/googletest/googlemock/test/
H A Dgmock-more-actions_test.cc56 using testing::Action;
205 Action<int()> a = Invoke(Nullary); // NOLINT in TEST()
211 Action<bool(int)> a = Invoke(Unary); // NOLINT in TEST()
218 Action<const char*(const char*, short)> a = Invoke(Binary); // NOLINT in TEST()
225 Action<int(int, char, short)> a = Invoke(Ternary); // NOLINT in TEST()
231 Action<int(int, int, int, int)> a = Invoke(SumOf4); // NOLINT in TEST()
237 Action<int(int, int, int, int, int)> a = Invoke(SumOf5); // NOLINT in TEST()
243 Action<int(int, int, int, int, int, int)> a = Invoke(SumOf6); // NOLINT in TEST()
254 Action<std::string(const char*, const char*, const char*, const char*, in TEST()
265 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/Transforms/Vectorize/SandboxVectorizer/
H A DInstrMaps.h28 struct Action { struct
34 SmallVector<Action *> Operands; argument
36 Action(const LegalityResult *LR, ArrayRef<Value *> B, ArrayRef<Value *> UB, in Action() argument
42 friend raw_ostream &operator<<(raw_ostream &OS, const Action &A) {
54 DenseMap<Value *, Action *> OrigToVectorMap;
59 DenseMap<Action *, DenseMap<Value *, unsigned>> VectorToOrigLaneMap;
67 Action *getVectorForOrig(Value *Orig) const { in getVectorForOrig()
73 std::optional<unsigned> getOrigLane(Action *Vec, Value *Orig) const { in getOrigLane()
84 void registerVector(ArrayRef<Value *> Origs, Action *Vec) { in registerVector()
H A DLegality.h213 Action *Vec;
214 DiamondReuse(Action *Vec) in DiamondReuse()
221 Action *getVector() const { return Vec; } in getVector()
226 Action *Vec;
228 DiamondReuseWithShuffle(Action *Vec, const ShuffleMask &Mask) in DiamondReuseWithShuffle()
236 Action *getVector() const { return Vec; } in getVector()
257 PointerUnion<Action *, Value *> V = nullptr;
262 ExtractElementDescr(Action *V, int ExtractIdx) in ExtractElementDescr()
265 Action *getValue() const { return cast<Action *>(V); } in getValue()
267 bool needsExtract() const { return isa<Action *>(V); } in needsExtract()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerInfo.h103 LegalizeActions::LegalizeAction Action);
144 LegalizeAction Action; member
150 LegalizeActionStep(LegalizeAction Action, unsigned TypeIdx, in LegalizeActionStep()
152 : Action(Action), TypeIdx(TypeIdx), NewType(NewType) {} in LegalizeActionStep()
156 switch (Step.Action) { in LegalizeActionStep()
158 Action = LegalizeActions::Legal; in LegalizeActionStep()
161 Action = LegalizeActions::NarrowScalar; in LegalizeActionStep()
164 Action = LegalizeActions::WidenScalar; in LegalizeActionStep()
167 Action = LegalizeActions::FewerElements; in LegalizeActionStep()
170 Action = LegalizeActions::MoreElements; in LegalizeActionStep()
[all …]
H A DLegacyLegalizerInfo.h80 operator<<(raw_ostream &OS, LegacyLegalizeActions::LegacyLegalizeAction Action);
104 LegacyLegalizeActions::LegacyLegalizeAction Action; member
110 LegacyLegalizeActionStep(LegacyLegalizeActions::LegacyLegalizeAction Action, in LegacyLegalizeActionStep()
112 : Action(Action), TypeIdx(TypeIdx), NewType(NewType) {} in LegacyLegalizeActionStep()
115 return std::tie(Action, TypeIdx, NewType) ==
116 std::tie(RHS.Action, RHS.TypeIdx, RHS.NewType);
132 const LegacyLegalizeActions::LegacyLegalizeAction Action) { in needsLegalizingToDifferentSize() argument
134 switch (Action) { in needsLegalizingToDifferentSize()
156 LegacyLegalizeActions::LegacyLegalizeAction Action) { in setAction() argument
157 assert(!needsLegalizingToDifferentSize(Action)); in setAction()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/LineEditor/
H A DLineEditor.cpp56 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()
73 Action.Completions.push_back(Comp.DisplayText); in complete()
75 Action.Kind = CompletionAction::AK_Insert; in complete()
76 Action.Text = CommonPrefix; in complete()
79 return Action; in complete()
85 CompletionAction Action; in getCompletionAction() local
86 Action.Kind = CompletionAction::AK_ShowCompletions; in getCompletionAction()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CIR/FrontendAction/
H A DCIRGenAction.cpp26 getBackendActionFromOutputType(CIRGenAction::OutputType Action) { in getBackendActionFromOutputType() argument
27 switch (Action) { in getBackendActionFromOutputType()
55 CIRGenAction::OutputType Action; member in cir::CIRGenConsumer
68 CIRGenConsumer(CIRGenAction::OutputType Action, CompilerInstance &CI, in CIRGenConsumer() argument
70 : Action(Action), CI(CI), OutputStream(std::move(OS)), in CIRGenConsumer()
118 switch (Action) { in HandleTranslationUnit()
134 BackendAction BEAction = getBackendActionFromOutputType(Action); in HandleTranslationUnit()
159 : MLIRCtx(MLIRCtx ? MLIRCtx : new mlir::MLIRContext), Action(Act) {} in CIRGenAction()
165 CIRGenAction::OutputType Action) { in getOutputStream() argument
166 switch (Action) { in getOutputStream()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DEHStreamer.cpp131 ActionEntry Action = { ValueForTypeID, NextAction, PrevAction }; in computeActionsTable() local
132 Actions.push_back(Action); in computeActionsTable()
318 if (Site.LPad == Prev.LPad && Site.Action == Prev.Action) { in computeCallSiteTable()
534 CallSiteTableSize += 12 + getULEB128Size(S.Action); in emitExceptionTable()
543 for (const ActionEntry &Action : Actions) { in emitExceptionTable() local
545 ActionTableSize += getSLEB128Size(Action.ValueForTypeID) + in emitExceptionTable()
546 getSLEB128Size(Action.NextAction); in emitExceptionTable()
610 if (S.Action == 0) in emitExceptionTable()
614 Twine((S.Action - 1) / 2 + 1)); in emitExceptionTable()
616 Asm->emitULEB128(S.Action); in emitExceptionTable()
[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;
877 operator Action<F>() const {
878 return Action<F>(new MonomorphicImpl<F>(impl_));
[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/compiler-rt/lib/scudo/standalone/
H A Dreport.cpp117 static const char *stringifyAction(AllocatorAction Action) { in stringifyAction() argument
118 switch (Action) { in stringifyAction()
133 void NORETURN reportInvalidChunkState(AllocatorAction Action, const void *Ptr) { in reportInvalidChunkState() argument
136 stringifyAction(Action), Ptr); in reportInvalidChunkState()
139 void NORETURN reportMisalignedPointer(AllocatorAction Action, const void *Ptr) { in reportMisalignedPointer() argument
142 stringifyAction(Action), Ptr); in reportMisalignedPointer()
147 void NORETURN reportDeallocTypeMismatch(AllocatorAction Action, const void *Ptr, in reportDeallocTypeMismatch() argument
151 stringifyAction(Action), Ptr, TypeA, TypeB); in reportDeallocTypeMismatch()
/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() 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()
374 auto Action = getAspectAction({Query.Opcode, i, Query.Types[i]}); in getAction() local
[all …]
/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/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp1609 MatchCallback *Action) { in addMatcher() argument
1611 if (Action) in addMatcher()
1612 TK = Action->getCheckTraversalKind(); in addMatcher()
1614 Matchers.DeclOrStmt.emplace_back(traverse(*TK, NodeMatch), Action); in addMatcher()
1616 Matchers.DeclOrStmt.emplace_back(NodeMatch, Action); in addMatcher()
1617 Matchers.AllCallbacks.insert(Action); in addMatcher()
1621 MatchCallback *Action) { in addMatcher() argument
1622 Matchers.Type.emplace_back(NodeMatch, Action); in addMatcher()
1623 Matchers.AllCallbacks.insert(Action); in addMatcher()
1627 MatchCallback *Action) { in addMatcher() argument
[all …]
/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/llvm/lib/Analysis/
H A DAnalysis.cpp80 LLVMBool LLVMVerifyModule(LLVMModuleRef M, LLVMVerifierFailureAction Action, in LLVMVerifyModule() argument
82 raw_ostream *DebugOS = Action != LLVMReturnStatusAction ? &errs() : nullptr; in LLVMVerifyModule()
92 if (Action == LLVMAbortProcessAction && Result) in LLVMVerifyModule()
101 LLVMBool LLVMVerifyFunction(LLVMValueRef Fn, LLVMVerifierFailureAction Action) { in LLVMVerifyFunction() argument
103 *unwrap<Function>(Fn), Action != LLVMReturnStatusAction ? &errs() in LLVMVerifyFunction()
106 if (Action == LLVMAbortProcessAction && Result) in LLVMVerifyFunction()
/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 …]

1234567891011