| /llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/ |
| H A D | max_allocation_size.cpp | 57 if (!strcmp(Action, "malloc")) in allocate() 59 if (!strcmp(Action, "calloc")) in allocate() 61 if (!strcmp(Action, "realloc")) in allocate() 70 if (!strcmp(Action, "new")) in allocate() 86 if (!strcmp(Action, "malloc") || !strcmp(Action, "calloc") || in deallocate() 87 !strcmp(Action, "realloc") || !strcmp(Action, "realloc-after-malloc") || in deallocate() 90 if (!strcmp(Action, "new")) in deallocate() 99 const char *Action = Argv[1]; in main() local 105 deallocate(Action, P); in main() 112 deallocate(Action, P); in main() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Driver/ |
| H A D | Action.h | 47 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 138 Action(ActionClass Kind, Action *Input) in Action() function 144 virtual ~Action(); 230 class InputAction : public Action { 249 class BindArchAction : public Action { 318 Action &HostAction; 379 Action *getHostDependence() const; 389 Action * [all …]
|
| H A D | Compilation.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) in TCArgsKey() 150 const std::multimap<Action::OffloadKind, 156 template <Action::OffloadKind Kind> 162 getOffloadToolChains(Action::OffloadKind Kind) const { in getOffloadToolChains() 174 template <Action::OffloadKind Kind> 187 assert(OffloadKind != Action::OFK_Host && OffloadKind != Action::OFK_None && in addOffloadDeviceToolChain() 210 AllActions.push_back(std::unique_ptr<Action>(RawPtr)); in MakeAction() [all …]
|
| H A D | InputInfo.h | 41 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 D | Driver.h | 462 Action *BuildOffloadingActions(Compilation &C, 465 Action *HostAction) const; 472 Action::OffloadKind Kind, const ToolChain *TC) const; 585 Action *ConstructPhaseAction( 587 Action *Input, 588 Action::OffloadKind TargetDeviceOffloadKind = Action::OFK_None) const; 596 std::map<std::pair<const Action *, std::string>, InputInfoList> 598 Action::OffloadKind TargetDeviceOffloadKind) const; 703 const Action::OffloadKind &TargetDeviceOffloadKind) const; 715 std::map<std::pair<const Action *, std::string>, InputInfoList> [all …]
|
| /llvm-project-15.0.7/llvm/utils/TableGen/ |
| H A D | CallingConvEmitter.cpp | 113 EmitAction(Action, 2, O); in EmitCallingConv() 127 if (Action->isSubClassOf("CCIfType")) { in EmitAction() 135 } else if (Action->isSubClassOf("CCIf")) { in EmitAction() 138 errs() << *Action; in EmitAction() 146 if (Action->isSubClassOf("CCDelegateTo")) { in EmitAction() 147 Record *CC = Action->getValueAsDef("CC"); in EmitAction() 210 PrintFatalError(Action->getLoc(), in EmitAction() 247 int Size = Action->getValueAsInt("Size"); in EmitAction() 272 int Size = Action->getValueAsInt("Size"); in EmitAction() 311 PrintFatalError(Action->getLoc(), in EmitAction() [all …]
|
| /llvm-project-15.0.7/clang/lib/Driver/ |
| H A D | Action.cpp | 18 Action::~Action() = default; 20 const char *Action::getClassName(ActionClass AC) { in getClassName() 93 void Action::propagateOffloadInfo(const Action *A) { in propagateOffloadInfo() 102 std::string Action::getOffloadingKindPrefix() const { in getOffloadingKindPrefix() 141 Action::GetOffloadingFileNamePrefix(OffloadKind Kind, in GetOffloadingFileNamePrefix() 157 StringRef Action::GetOffloadKindName(OffloadKind Kind) { in GetOffloadKindName() 196 : Action(OffloadClass, DDeps.getActions(), Ty), in OffloadAction() 281 Action *OffloadAction::getHostDependence() const { in getHostDependence() 294 Action * 323 : Action(Kind, Input, Type) {} in JobAction() [all …]
|
| H A D | Driver.cpp | 771 auto OFK = Action::OFK_HIP; in CreateOffloadingDeviceToolChains() 2675 Action::OffloadKind AssociatedOffloadKind = Action::OFK_None; 3645 Action * 3818 Action* HA = nullptr; in makeHostLinkAction() 3836 Action *processHostLinkAction(Action *HostAction) { in processHostLinkAction() 4188 Action *LA; in BuildActions() 4419 Action::OFK_OpenMP, Action::OFK_Cuda, Action::OFK_HIP}; in BuildOffloadingActions() 4511 Action *FatbinAction = in BuildOffloadingActions() 4520 Action *FatbinAction = in BuildOffloadingActions() 4527 Action *PackagerAction = in BuildOffloadingActions() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | PGOOptions.h | 26 std::string ProfileRemappingFile = "", PGOAction Action = NoAction, 31 ProfileRemappingFile(ProfileRemappingFile), Action(Action), in ProfileFile() 33 (Action == SampleUse && in ProfileFile() 41 (this->Action != IRInstr && this->Action != SampleUse)); in ProfileFile() 48 assert(this->CSAction != CSIRUse || this->Action == IRUse); in ProfileFile() 52 assert(this->Action != NoAction || this->CSAction != NoCSAction || in ProfileFile() 58 PGOAction Action; member
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | LegalizerInfo.h | 144 LegalizeAction Action; member 152 : Action(Action), TypeIdx(TypeIdx), NewType(NewType) {} in LegalizeActionStep() 156 switch (Step.Action) { in LegalizeActionStep() 158 Action = LegalizeActions::Legal; in LegalizeActionStep() 176 Action = LegalizeActions::Lower; in LegalizeActionStep() 182 Action = LegalizeActions::Custom; in LegalizeActionStep() 395 LegalizeAction Action; variable 401 : Predicate(Predicate), Action(Action), Mutation(Mutation) {} in Predicate() 468 add({Predicate, Action}); in actionIf() 1242 auto Action = getAction(Query).Action; in isLegalOrCustom() local [all …]
|
| H A D | LegacyLegalizerInfo.h | 78 LegacyLegalizeActions::LegacyLegalizeAction Action); 102 LegacyLegalizeActions::LegacyLegalizeAction Action; member 108 LegacyLegalizeActionStep(LegacyLegalizeActions::LegacyLegalizeAction Action, in LegacyLegalizeActionStep() 110 : Action(Action), TypeIdx(TypeIdx), NewType(NewType) {} in LegacyLegalizeActionStep() 113 return std::tie(Action, TypeIdx, NewType) == 114 std::tie(RHS.Action, RHS.TypeIdx, RHS.NewType); 130 const LegacyLegalizeActions::LegacyLegalizeAction Action) { in needsLegalizingToDifferentSize() argument 132 switch (Action) { in needsLegalizingToDifferentSize() 154 LegacyLegalizeActions::LegacyLegalizeAction Action) { in setAction() argument 155 assert(!needsLegalizingToDifferentSize(Action)); in setAction() [all …]
|
| /llvm-project-15.0.7/llvm/lib/LineEditor/ |
| H A D | LineEditor.cpp | 56 CompletionAction Action; in complete() local 60 return Action; 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 87 return Action; in getCompletionAction() 147 switch (Action.Kind) { in ElCompletionFn() 149 ::el_insertstr(EL, Action.Text.c_str()); in ElCompletionFn() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | FuzzyMatch.h | 97 using Action = bool; variable 98 constexpr static Action Miss = false; // Word character was skipped. 99 constexpr static Action Match = true; // Matched against a pattern character. 103 bool allowMatch(int P, int W, Action Last) const; 104 int skipPenalty(int W, Action Last) const; 105 int matchBonus(int P, int W, Action Last) const; 128 Action Prev : 1;
|
| H A D | ClangdServer.cpp | 696 auto Action = [Pos, CB = std::move(CB), in locateSymbolAt() local 728 auto Action = in findDocumentHighlights() local 794 auto Action = [File = File.str(), Pos, in prepareCallHierarchy() local 841 auto Action = in documentSymbols() local 853 auto Action = in foldingRanges() local 865 auto Action = in findType() local 900 auto Action = in symbolInfo() local 931 auto Action = in documentLinks() local 943 auto Action = in semanticHighlights() local 955 auto Action = in getAST() local [all …]
|
| /llvm-project-15.0.7/bolt/include/bolt/Passes/ |
| H A D | ShrinkWrapping.h | 155 } Action; member 158 WorklistItem() : Action(None) {} in WorklistItem() 159 WorklistItem(ActionType Action) : Action(Action) {} in WorklistItem() 160 WorklistItem(ActionType Action, int OffsetUpdate) in WorklistItem() 161 : Action(Action), OffsetUpdate(OffsetUpdate) {} in WorklistItem() 329 } Action; member 333 WorklistItem(ActionType Action, unsigned AffectedReg) in WorklistItem() 334 : Action(Action), FIEToInsert(), AffectedReg(AffectedReg) {} in WorklistItem() 336 : Action(Action), FIEToInsert(), AffectedReg(AffectedReg), in WorklistItem() 338 WorklistItem(ActionType Action, const FrameIndexEntry &FIE, in WorklistItem() [all …]
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | EHStreamer.cpp | 134 Actions.push_back(Action); in computeActionsTable() 314 if (Site.LPad == Prev.LPad && Site.Action == Prev.Action) { in computeCallSiteTable() 600 if (S.Action == 0) in emitExceptionTable() 606 Asm->emitULEB128(S.Action); in emitExceptionTable() 740 if (S.Action == 0) in emitExceptionTable() 746 Asm->emitULEB128(S.Action); in emitExceptionTable() 765 if (Action.ValueForTypeID > 0) in emitExceptionTable() 768 else if (Action.ValueForTypeID < 0) in emitExceptionTable() 774 Asm->emitSLEB128(Action.ValueForTypeID); in emitExceptionTable() 778 if (Action.Previous == unsigned(-1)) { in emitExceptionTable() [all …]
|
| /llvm-project-15.0.7/llvm/utils/unittest/googlemock/include/gmock/ |
| H A D | gmock-actions.h | 348 class Action { 368 Action() {} 386 explicit Action(const Action<Func>& action) : fun_(action.fun_) {} 406 friend class Action; 439 operator Action<F>() const { 471 return Action<F>(impl); 648 operator Action<F>() const { 694 operator Action<F>() const { 734 operator Action<F>() const { return Action<F>(); } // NOLINT 974 template <typename... Action> [all …]
|
| /llvm-project-15.0.7/clang/lib/Testing/ |
| H A D | TestAST.cpp | 117 Action = std::make_unique<SyntaxOnlyAction>(); in TestAST() 119 if (!Action->BeginSourceFile(*Clang, Main)) { in TestAST() 121 Action.reset(); // Don't call EndSourceFile if BeginSourceFile failed. in TestAST() 124 if (auto Err = Action->Execute()) in TestAST() 137 if (Action) { in clear() 142 Action->EndSourceFile(); // Destroy ASTContext and Sema. in clear() 145 Action.reset(); in clear() 152 Action = std::move(M.Action); in operator =()
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/ |
| H A D | report.cpp | 108 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()
|
| /llvm-project-15.0.7/lldb/unittests/Host/ |
| H A D | FileActionTest.cpp | 15 FileAction Action; in TEST() local 16 Action.Open(47, FileSpec("/tmp"), /*read*/ true, /*write*/ false); in TEST() 17 EXPECT_EQ(Action.GetAction(), FileAction::eFileActionOpen); in TEST() 18 EXPECT_EQ(Action.GetFileSpec(), FileSpec("/tmp")); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegacyLegalizerInfo.cpp | 29 switch (Action) { in operator <<() 119 const LegacyLegalizeAction Action = LLT2Action.second; in computeTables() local 121 auto SizeAction = std::make_pair(Type.getSizeInBits(), Action); in computeTables() 254 LegacyLegalizeAction Action = Vec[VecIdx].second; in findAction() local 255 switch (Action) { in findAction() 261 return {Size, Action}; in findAction() 279 return {Vec[i].first, Action}; in findAction() 288 return {Vec[i].first, Action}; in findAction() 373 if (Action.first != Legal) { in getAction() 375 << Action.first << ", " << Action.second << "\n"); in getAction() [all …]
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/ |
| H A D | ASTMatchFinder.cpp | 1566 if (Action) in addMatcher() 1572 Matchers.AllCallbacks.insert(Action); in addMatcher() 1578 Matchers.AllCallbacks.insert(Action); in addMatcher() 1584 if (Action) in addMatcher() 1590 Matchers.AllCallbacks.insert(Action); in addMatcher() 1596 Matchers.AllCallbacks.insert(Action); in addMatcher() 1602 Matchers.AllCallbacks.insert(Action); in addMatcher() 1608 Matchers.AllCallbacks.insert(Action); in addMatcher() 1614 Matchers.AllCallbacks.insert(Action); in addMatcher() 1620 Matchers.AllCallbacks.insert(Action); in addMatcher() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchFinder.h | 155 MatchCallback *Action); 157 MatchCallback *Action); 159 MatchCallback *Action); 161 MatchCallback *Action); 163 MatchCallback *Action); 165 MatchCallback *Action); 167 MatchCallback *Action); 169 MatchCallback *Action); 170 void addMatcher(const AttrMatcher &NodeMatch, MatchCallback *Action); 182 MatchCallback *Action);
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | Analysis.cpp | 100 LLVMBool LLVMVerifyModule(LLVMModuleRef M, LLVMVerifierFailureAction Action, in LLVMVerifyModule() argument 102 raw_ostream *DebugOS = Action != LLVMReturnStatusAction ? &errs() : nullptr; in LLVMVerifyModule() 112 if (Action == LLVMAbortProcessAction && Result) in LLVMVerifyModule() 121 LLVMBool LLVMVerifyFunction(LLVMValueRef Fn, LLVMVerifierFailureAction Action) { in LLVMVerifyFunction() argument 123 *unwrap<Function>(Fn), Action != LLVMReturnStatusAction ? &errs() in LLVMVerifyFunction() 126 if (Action == LLVMAbortProcessAction && Result) in LLVMVerifyFunction()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | BackendUtil.cpp | 157 RunOptimizationPipeline(BackendAction Action, 160 void RunCodegenPipeline(BackendAction Action, 193 void EmitAssembly(BackendAction Action, 313 if (Action == Backend_EmitObj) in getCodeGenFileType() 315 else if (Action == Backend_EmitMCNull) in getCodeGenFileType() 324 return Action != Backend_EmitNothing && Action != Backend_EmitBC && in actionRequiresCodeGen() 325 Action != Backend_EmitLL; in actionRequiresCodeGen() 936 switch (Action) { in RunOptimizationPipeline() 990 switch (Action) { in RunCodegenPipeline() 1035 RunCodegenPipeline(Action, OS, DwoOS); in EmitAssembly() [all …]
|