Searched refs:Action (Results 1 - 25 of 236) sorted by relevance

12345678910

/freebsd-current/contrib/llvm-project/clang/include/clang/Driver/
H A DUtil.h18 class Action;
25 typedef SmallVector<Action*, 3> ActionList;
H A DAction.h1 //===- Action.h - Abstract compilation steps --------------------*- C++ -*-===//
35 /// Action - Represent an abstract compilation step to perform.
47 class Action { class in namespace:clang::driver
134 Action(ActionClass Kind, types::ID Type) : Action(Kind, ActionList(), Type) {} function in class:clang::driver::Action
135 Action(ActionClass Kind, Action *Input, types::ID Type) function in class:clang::driver::Action
136 : Action(Kind, ActionList({Input}), Type) {}
137 Action(ActionClass Kind, Action *Inpu function in class:clang::driver::Action
139 Action(ActionClass Kind, const ActionList &Inputs, types::ID Type) function in class:clang::driver::Action
[all...]
H A DCompilation.h13 #include "clang/Driver/Action.h"
60 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)
145 unsigned isOffloadingHostKind(Action::OffloadKind Kind) const {
153 const std::multimap<Action::OffloadKind,
159 template <Action::OffloadKind Kind>
165 getOffloadToolChains(Action
[all...]
H A DInputInfo.h12 #include "clang/Driver/Action.h"
41 const Action* Act;
45 static types::ID GetActionType(const Action *A) {
51 InputInfo(const Action *A, const char *_BaseInput)
58 InputInfo(const Action *A, const char *_Filename, const char *_BaseInput)
68 InputInfo(const Action *A, const llvm::opt::Arg *_InputArg,
80 const Action *getAction() const { return Act; }
81 void setAction(const Action *A) { Act = A; }
/freebsd-current/contrib/llvm-project/llvm/lib/Support/
H A DPGOOptions.cpp17 IntrusiveRefCntPtr<vfs::FileSystem> FS, PGOAction Action,
22 Action(Action), CSAction(CSAction),
24 (Action == SampleUse && !PseudoProbeForProfiling)),
27 // Note, we do allow ProfileFile.empty() for Action=IRUse LTO can
32 (this->Action != IRInstr && this->Action != SampleUse));
39 assert(this->CSAction != CSIRUse || this->Action == IRUse);
42 assert(this->MemoryProfile.empty() || this->Action != PGOOptions::IRInstr);
44 // If neither Action no
14 PGOOptions(std::string ProfileFile, std::string CSProfileGenFile, std::string ProfileRemappingFile, std::string MemoryProfile, IntrusiveRefCntPtr<vfs::FileSystem> FS, PGOAction Action, CSPGOAction CSAction, bool DebugInfoForProfiling, bool PseudoProbeForProfiling, bool AtomicCounterUpdate) argument
[all...]
/freebsd-current/contrib/llvm-project/llvm/include/llvm-c/
H A DAnalysis.h44 LLVMBool LLVMVerifyModule(LLVMModuleRef M, LLVMVerifierFailureAction Action,
49 LLVMBool LLVMVerifyFunction(LLVMValueRef Fn, LLVMVerifierFailureAction Action);
/freebsd-current/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); local
111 llvm::any_of(Action->getSuperClasses(),
118 EmitAction(Action, 2, O);
125 void CallingConvEmitter::EmitAction(Record *Action, argument
129 if (Action->isSubClassOf("CCPredicateAction")) {
132 if (Action->isSubClassOf("CCIfType")) {
133 ListInit *VTs = Action->getValueAsListInit("VTs");
140 } else if (Action->isSubClassOf("CCIf")) {
141 O << Action
[all...]
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Host/
H A DFileAction.h19 enum Action { enum in class:lldb_private::FileAction
38 Action GetAction() const { return m_action; }
49 Action m_action = eFileActionNone; // The action for this file
/freebsd-current/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDependencyTracker.h81 bool isLiveAction(LiveRootWorklistActionTy Action) { argument
82 switch (Action) {
94 bool isTypeAction(LiveRootWorklistActionTy Action) { argument
95 switch (Action) {
108 bool isSingleAction(LiveRootWorklistActionTy Action) { argument
109 switch (Action) {
121 bool isChildrenAction(LiveRootWorklistActionTy Action) { argument
122 switch (Action) {
137 LiveRootWorklistItemTy(LiveRootWorklistActionTy Action, argument
139 RootCU.setInt(Action);
144 LiveRootWorklistItemTy(LiveRootWorklistActionTy Action, UnitEntryPairTy RootEntry, UnitEntryPairTy ReferencedBy) argument
[all...]
/freebsd-current/contrib/llvm-project/clang/lib/Driver/
H A DAction.cpp1 //===- Action.cpp - Abstract compilation steps ----------------------------===//
9 #include "clang/Driver/Action.h"
18 Action::~Action() = default;
20 const char *Action::getClassName(ActionClass AC) {
58 void Action::propagateDeviceOffloadInfo(OffloadKind OKind, const char *OArch,
78 void Action::propagateHostOffloadInfo(unsigned OKinds, const char *OArch) {
92 void Action::propagateOffloadInfo(const Action *A) {
101 std::string Action
[all...]
/freebsd-current/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DTableGenBackend.h33 extern ManagedStatic<cl::opt<FnT>, OptCreatorT> Action;
38 Action->setInitialValue(CB);
39 Action->getParser().addLiteralOption(Name, CB, Desc);
/freebsd-current/contrib/googletest/googlemock/test/
H A Dgmock-more-actions_test.cc56 using testing::Action;
194 Action<int()> a = Invoke(Nullary); // NOLINT
200 Action<bool(int)> a = Invoke(Unary); // NOLINT
207 Action<const char*(const char*, short)> a = Invoke(Binary); // NOLINT
214 Action<int(int, char, short)> a = Invoke(Ternary); // NOLINT
220 Action<int(int, int, int, int)> a = Invoke(SumOf4); // NOLINT
226 Action<int(int, int, int, int, int)> a = Invoke(SumOf5); // NOLINT
232 Action<int(int, int, int, int, int, int)> a = Invoke(SumOf6); // NOLINT
243 Action<std::string(const char*, const char*, const char*, const char*,
254 Action<st
[all...]
H A Dgmock-actions_test.cc530 Action<MyGlobalFunction> action = MakeAction(new MyActionImpl);
532 // When exercising the Perform() method of Action<F>, we must pass
540 // Tests that Action<F> can be constructed from a pointer to
543 Action<MyGlobalFunction> action(new MyActionImpl);
546 // Tests that Action<F> delegates actual work to ActionInterface<F>.
548 const Action<MyGlobalFunction> action(new MyActionImpl);
554 // Tests that Action<F> can be copied.
556 Action<MyGlobalFunction> a1(new MyActionImpl);
557 Action<MyGlobalFunction> a2(a1); // Tests the copy constructor.
578 // Tests that an Action<Fro
[all...]
/freebsd-current/contrib/llvm-project/clang/lib/Testing/
H A DTestAST.cpp120 Action =
123 if (!Action->BeginSourceFile(*Clang, Main)) {
125 Action.reset(); // Don't call EndSourceFile if BeginSourceFile failed.
128 if (auto Err = Action->Execute())
131 // Action->EndSourceFile() would destroy the ASTContext, we want to keep it.
141 if (Action) {
146 Action->EndSourceFile(); // Destroy ASTContext and Sema.
149 Action.reset();
156 Action = std::move(M.Action);
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Analysis/
H A DAnalysis.cpp68 LLVMBool LLVMVerifyModule(LLVMModuleRef M, LLVMVerifierFailureAction Action, argument
70 raw_ostream *DebugOS = Action != LLVMReturnStatusAction ? &errs() : nullptr;
80 if (Action == LLVMAbortProcessAction && Result)
89 LLVMBool LLVMVerifyFunction(LLVMValueRef Fn, LLVMVerifierFailureAction Action) { argument
91 *unwrap<Function>(Fn), Action != LLVMReturnStatusAction ? &errs()
94 if (Action == LLVMAbortProcessAction && Result)
/freebsd-current/contrib/llvm-project/lldb/utils/TableGen/
H A DLLDBTableGen.cpp32 static cl::opt<ActionType> Action(
33 cl::desc("Action to perform:"),
46 switch (Action) {
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Support/
H A DPGOOptions.h33 PGOAction Action = NoAction, CSPGOAction CSAction = NoCSAction,
45 PGOAction Action; member in struct:llvm::PGOOptions
/freebsd-current/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dreport.cpp108 static const char *stringifyAction(AllocatorAction Action) { argument
109 switch (Action) {
124 void NORETURN reportInvalidChunkState(AllocatorAction Action, void *Ptr) { argument
127 stringifyAction(Action), Ptr);
130 void NORETURN reportMisalignedPointer(AllocatorAction Action, void *Ptr) { argument
133 stringifyAction(Action), Ptr);
138 void NORETURN reportDeallocTypeMismatch(AllocatorAction Action, void *Ptr, argument
142 stringifyAction(Action), Ptr, TypeA, TypeB);
H A Dreport.h45 void NORETURN reportInvalidChunkState(AllocatorAction Action, void *Ptr);
46 void NORETURN reportMisalignedPointer(AllocatorAction Action, void *Ptr);
47 void NORETURN reportDeallocTypeMismatch(AllocatorAction Action, void *Ptr,
/freebsd-current/contrib/llvm-project/llvm/lib/LineEditor/
H A DLineEditor.cpp55 CompletionAction Action; local
58 Action.Kind = CompletionAction::AK_ShowCompletions;
59 return Action;
70 Action.Kind = CompletionAction::AK_ShowCompletions;
72 Action.Completions.push_back(Comp.DisplayText);
74 Action.Kind = CompletionAction::AK_Insert;
75 Action.Text = CommonPrefix;
78 return Action;
84 CompletionAction Action; local
85 Action
143 LineEditor::CompletionAction Action = Data->LE->getCompletionAction( local
[all...]
/freebsd-current/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchFinder.h149 /// Calls 'Action' with the BoundNodes on every match.
153 /// Does not take ownership of 'Action'.
156 MatchCallback *Action);
158 MatchCallback *Action);
160 MatchCallback *Action);
162 MatchCallback *Action);
164 MatchCallback *Action);
166 MatchCallback *Action);
168 MatchCallback *Action);
170 MatchCallback *Action);
[all...]
/freebsd-current/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 in struct:llvm::LegalizeActionStep
151 LegalizeActionStep(LegalizeAction Action, unsigned TypeIdx, argument
153 : Action(Action), TypeIdx(TypeIdx), NewType(NewType) {}
157 switch (Step.Action) {
159 Action = LegalizeActions::Legal;
162 Action = LegalizeActions::NarrowScalar;
165 Action = LegalizeActions::WidenScalar;
168 Action
[all...]
H A DLegacyLegalizerInfo.h79 LegacyLegalizeActions::LegacyLegalizeAction Action);
103 LegacyLegalizeActions::LegacyLegalizeAction Action; member in struct:llvm::LegacyLegalizeActionStep
109 LegacyLegalizeActionStep(LegacyLegalizeActions::LegacyLegalizeAction Action, argument
111 : Action(Action), TypeIdx(TypeIdx), NewType(NewType) {}
114 return std::tie(Action, TypeIdx, NewType) ==
115 std::tie(RHS.Action, RHS.TypeIdx, RHS.NewType);
131 const LegacyLegalizeActions::LegacyLegalizeAction Action) {
133 switch (Action) {
146 /// should be handled. This must be called after all "set*Action"method
130 needsLegalizingToDifferentSize( const LegacyLegalizeActions::LegacyLegalizeAction Action) argument
154 setAction(const InstrAspect &Aspect, LegacyLegalizeActions::LegacyLegalizeAction Action) argument
[all...]
/freebsd-current/contrib/llvm-project/clang/lib/Tooling/
H A DStandaloneExecution.cpp63 auto &Action = Actions.front();
64 Tool.appendArgumentsAdjuster(Action.second);
66 if (Tool.run(Action.first.get()))
H A DExecution.cpp43 ToolExecutor::execute(std::unique_ptr<FrontendActionFactory> Action) { argument
44 return execute(std::move(Action), ArgumentsAdjuster());
47 llvm::Error ToolExecutor::execute(std::unique_ptr<FrontendActionFactory> Action, argument
52 Actions.emplace_back(std::move(Action), std::move(Adjuster));

Completed in 219 milliseconds

12345678910