Home
last modified time | relevance | path

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

1234567891011

/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Driver/
HDAction.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 …]
HDCompilation.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 …]
HDInputInfo.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-13-stable/contrib/llvm-project/llvm/utils/TableGen/
HDCallingConvEmitter.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-13-stable/contrib/llvm-project/clang/lib/Driver/
HDAction.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 …]
/freebsd-13-stable/contrib/googletest/googlemock/test/
HDgmock-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 …]
HDgmock-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-13-stable/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
HDDependencyTracker.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 …]
HDDependencyTracker.cpp124 LiveRootWorklistActionTy Action, const UnitEntryPairTy &Entry, in addActionToRootEntriesWorkList() argument
127 RootEntriesWorkList.emplace_back(Action, Entry, *ReferencedBy); in addActionToRootEntriesWorkList()
131 RootEntriesWorkList.emplace_back(Action, Entry); in addActionToRootEntriesWorkList()
165 LiveRootWorklistActionTy Action = in collectRootsToKeep() local
170 addActionToRootEntriesWorkList(Action, ChildEntry, ReferencedBy); in collectRootsToKeep()
182 LiveRootWorklistActionTy Action = in collectRootsToKeep() local
187 addActionToRootEntriesWorkList(Action, ChildEntry, ReferencedBy); in collectRootsToKeep()
429 LiveRootWorklistActionTy Action, const UnitEntryPairTy &RootEntry, in markDIEEntryAsKeptRec() argument
440 isLiveAction(Action) ? CompileUnit::PlainDwarf : CompileUnit::TypeTable); in markDIEEntryAsKeptRec()
441 assert((Info.getODRAvailable() || isLiveAction(Action) || in markDIEEntryAsKeptRec()
[all …]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
HDPGOOptions.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-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
HDLegalizerInfo.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 …]
HDLegacyLegalizerInfo.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-13-stable/contrib/llvm-project/llvm/lib/LineEditor/
HDLineEditor.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.Kind = CompletionAction::AK_ShowCompletions; in getCompletionAction()
[all …]
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
HDreport.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-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
HDEHStreamer.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-13-stable/contrib/llvm-project/clang/lib/Testing/
HDTestAST.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-13-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
HDLegacyLegalizerInfo.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()
375 auto Action = getAspectAction({Query.Opcode, i, Query.Types[i]}); in getAction() local
[all …]
/freebsd-13-stable/contrib/googletest/googlemock/include/gmock/
HDgmock-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-13-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/
HDASTMatchFinder.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-13-stable/contrib/llvm-project/llvm/lib/Analysis/
HDAnalysis.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-13-stable/sys/contrib/dev/acpica/components/utilities/
HDutdelete.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-stable/contrib/llvm-project/clang/lib/ASTMatchers/
HDASTMatchFinder.cpp1586 MatchCallback *Action) { in addMatcher() argument
1588 if (Action) in addMatcher()
1589 TK = Action->getCheckTraversalKind(); in addMatcher()
1591 Matchers.DeclOrStmt.emplace_back(traverse(*TK, NodeMatch), Action); in addMatcher()
1593 Matchers.DeclOrStmt.emplace_back(NodeMatch, Action); in addMatcher()
1594 Matchers.AllCallbacks.insert(Action); in addMatcher()
1598 MatchCallback *Action) { in addMatcher() argument
1599 Matchers.Type.emplace_back(NodeMatch, Action); in addMatcher()
1600 Matchers.AllCallbacks.insert(Action); in addMatcher()
1604 MatchCallback *Action) { in addMatcher() argument
[all …]
/freebsd-13-stable/sys/dev/mwl/
HDmwlreg.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-13-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
HDNVPTXTargetTransformInfo.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()
372 return CastInst::Create(*Action.CastOp, II->getArgOperand(0), II->getType(), in simplifyNvvmIntrinsic()
[all …]
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
HDBackendUtil.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 …]

1234567891011