Home
last modified time | relevance | path

Searched refs:getAction (Results 1 – 18 of 18) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/CodeGen/GlobalISel/
H A DLegalizerInfoTest.cpp67 EXPECT_EQ(L.getAction({opcode, {LLT::scalar(8)}}), in TEST()
69 EXPECT_EQ(L.getAction({opcode, {LLT::scalar(16)}}), in TEST()
71 EXPECT_EQ(L.getAction({opcode, {LLT::scalar(32)}}), in TEST()
73 EXPECT_EQ(L.getAction({opcode, {LLT::scalar(64)}}), in TEST()
80 EXPECT_EQ(L.getAction({opcode, {LLT::scalar(1)}}), in TEST()
153 EXPECT_EQ(L.getAction({G_PTRTOINT, {s64, p0}}), in TEST()
179 EXPECT_EQ(L.getAction({G_UREM, {LLT::scalar(16)}}), in TEST()
181 EXPECT_EQ(L.getAction({G_UREM, {LLT::scalar(32)}}), in TEST()
202 EXPECT_EQ(L.getAction({G_UREM, {LLT::scalar(2)}}), in TEST()
204 EXPECT_EQ(L.getAction({G_UREM, {LLT::scalar(7)}}), in TEST()
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerInfo.cpp99 switch (Rule.getAction()) { in hasNoSimpleLoops()
118 if (Rule.getAction() == Custom || Rule.getAction() == Legal) in mutationIsSane()
125 switch (Rule.getAction()) { in mutationIsSane()
135 if (Rule.getAction() == FewerElements) { in mutationIsSane()
144 } else if (Rule.getAction() == MoreElements) in mutationIsSane()
162 if (Rule.getAction() == NarrowScalar) { in mutationIsSane()
325 return getLegacyLegalizerInfo().getAction(Query); in getAction()
329 LegalizerInfo::getAction(const MachineInstr &MI, in getAction() function in LegalizerInfo
355 return getAction({MI.getOpcode(), Types, MemDescrs}); in getAction()
360 return getAction(MI, MRI).Action == Legal; in isLegal()
[all …]
H A DLoadStoreOpt.cpp337 auto Action = LI->getAction(Query).Action; in isLegalOrBeforeLegalizer()
652 LegalizeActionStep ActionStep = LI.getAction(Q); in initializeStoreMergeTargetInfo()
H A DLegacyLegalizerInfo.cpp370 LegacyLegalizerInfo::getAction(const LegalityQuery &Query) const { in getAction() function in LegacyLegalizerInfo
H A DLegalizerHelper.cpp121 auto Step = LI.getAction(MI, MRI); in legalizeInstrStep()
3325 if (LI.getAction({G_FNEG, {Ty}}).Action == Lower) in lower()
5544 auto QAction = LI.getAction(Q).Action; in lowerBitCount()
5829 if (LI.getAction({RevOpcode, {Ty, ShTy}}).Action == Lower) in lowerFunnelShift()
H A DCombinerHelper.cpp136 return LI->getAction(Query).Action == LegalizeActions::Legal; in isLegal()
542 if (LI->getAction({LoadMI->getOpcode(), {UseTy, SrcTy}, {MMDesc}}) in matchCombineExtendingLoads()
/llvm-project-15.0.7/clang/lib/Driver/
H A DAction.cpp188 : Action(OffloadClass, HDep.getAction()), HostTC(HDep.getToolChain()) { in OffloadAction()
191 HDep.getAction()->propagateHostOffloadInfo(HDep.getOffloadKinds(), in OffloadAction()
217 : Action(OffloadClass, HDep.getAction()), HostTC(HDep.getToolChain()), in OffloadAction()
222 HDep.getAction()->propagateHostOffloadInfo(HDep.getOffloadKinds(), in OffloadAction()
/llvm-project-15.0.7/clang/include/clang/Driver/
H A DInputInfo.h80 const Action *getAction() const { return Act; } in getAction() function
H A DAction.h339 Action *getAction() const { return &HostAction; } in getAction() function
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerInfo.h408 LegalizeAction getAction() const { return Action; } in getAction() function
1228 LegalizeActionStep getAction(const LegalityQuery &Query) const;
1234 LegalizeActionStep getAction(const MachineInstr &MI,
1238 return getAction(Query).Action == LegalizeAction::Legal; in isLegal()
1242 auto Action = getAction(Query).Action; in isLegalOrCustom()
H A DLegalizationArtifactCombiner.h635 LI.getAction({TargetOpcode::G_BUILD_VECTOR, {NewBVTy, SrcTy}}); in findValueFromBuildVector()
847 LegalizeActionStep ActionStep = LI.getAction( in tryCombineUnmergeValues()
1268 auto Step = LI.getAction(Query); in isInstUnsupported()
1273 return LI.getAction(Query).Action == LegalizeActions::Legal; in isInstLegal()
H A DLegacyLegalizerInfo.h289 LegacyLegalizeActionStep getAction(const LegalityQuery &Query) const;
/llvm-project-15.0.7/clang/lib/Driver/ToolChains/
H A DHIPUtility.cpp65 const auto *A = II.getAction(); in constructHIPFatbinCommand()
H A DCuda.cpp523 auto *A = II.getAction(); in ConstructJob()
H A DCommonArgs.cpp232 if (auto *IA = II.getAction()) in AddLinkerInputs()
H A DClang.cpp8350 const Action *OffloadAction = Input.getAction(); in ConstructJob()
/llvm-project-15.0.7/lldb/tools/lldb-test/
H A Dlldb-test.cpp203 static Expected<Error (*)(lldb_private::Module &)> getAction();
710 Expected<Error (*)(lldb_private::Module &)> opts::symbols::getAction() { in getAction() function in opts::symbols
818 auto ActionOr = getAction(); in dumpSymbols()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp4168 static Action getAction(Instruction *Ext, const SetOfInstrs &InsertedInsts,
4277 TypePromotionHelper::Action TypePromotionHelper::getAction( in getAction() function in TypePromotionHelper
4713 TypePromotionHelper::getAction(Ext, InsertedInsts, TLI, PromotedInsts); in matchOperationAddr()
5754 TypePromotionHelper::getAction(I, InsertedInsts, *TLI, PromotedInsts); in tryToPromoteExts()