Home
last modified time | relevance | path

Searched refs:MU (Results 1 – 25 of 27) sorted by relevance

12

/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/Orc/
H A DCore.h1160 : MU(std::move(MU)), RT(RT) {} in UnmaterializedInfo()
1162 std::unique_ptr<MaterializationUnit> MU; member
1243 Error defineImpl(MaterializationUnit &MU);
1348 : MU(std::move(MU)), MR(std::move(MR)) {} in MaterializationTask()
1353 std::unique_ptr<MaterializationUnit> MU;
1803 if (MU->getSymbols().empty()) { in define()
1825 if (auto Err = defineImpl(*MU)) in define()
1832 if (auto Err = P->notifyAdding(*RT, *MU)) in define()
1846 if (MU->getSymbols().empty()) { in define()
1868 if (auto Err = defineImpl(*MU)) in define()
[all …]
H A DDebugUtils.h67 raw_ostream &operator<<(raw_ostream &OS, const MaterializationUnit &MU);
H A DMachOPlatform.h91 const MaterializationUnit &MU) override;
H A DELFNixPlatform.h106 const MaterializationUnit &MU) override;
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/
H A DCore.cpp750 for (auto &KV : MU->getSymbols()) { in replace()
766 for (auto &KV : MU->getSymbols()) { in replace()
773 MustRunMU = std::move(MU); in replace()
1454 OS << I->second->MU.get() << ", " << I->second->MU->getName() << ")\n"; in dump()
1671 for (const auto &KV : MU.getSymbols()) { in defineImpl()
1703 MU.doDiscard(*this, S); in defineImpl()
1716 UMII->second->MU->doDiscard(*this, S); in defineImpl()
1720 for (auto &KV : MU.getSymbols()) { in defineImpl()
1737 for (auto &KV : MU->getSymbols()) in installMaterializationUnit()
1742 for (auto &KV : UMI->MU->getSymbols()) in installMaterializationUnit()
[all …]
H A DDebugUtils.cpp208 raw_ostream &operator<<(raw_ostream &OS, const MaterializationUnit &MU) { in operator <<() argument
209 OS << "MU@" << &MU << " (\"" << MU.getName() << "\""; in operator <<()
211 OS << ", " << MU.getSymbols(); in operator <<()
H A DLLJIT.cpp94 const MaterializationUnit &MU) override;
207 Error notifyAdding(ResourceTracker &RT, const MaterializationUnit &MU) { in notifyAdding() argument
209 if (auto &InitSym = MU.getInitializerSymbol()) in notifyAdding()
217 for (auto &KV : MU.getSymbols()) in notifyAdding()
504 const MaterializationUnit &MU) { in notifyAdding() argument
505 return S.notifyAdding(RT, MU); in notifyAdding()
H A DOrcV2CBindings.cpp443 void LLVMOrcDisposeMaterializationUnit(LLVMOrcMaterializationUnitRef MU) { in LLVMOrcDisposeMaterializationUnit() argument
444 std::unique_ptr<MaterializationUnit> TmpMU(unwrap(MU)); in LLVMOrcDisposeMaterializationUnit()
580 LLVMOrcMaterializationUnitRef MU) { in LLVMOrcMaterializationResponsibilityReplace() argument
581 std::unique_ptr<MaterializationUnit> TmpMU(unwrap(MU)); in LLVMOrcMaterializationResponsibilityReplace()
658 LLVMOrcMaterializationUnitRef MU) { in LLVMOrcJITDylibDefine() argument
659 std::unique_ptr<MaterializationUnit> TmpMU(unwrap(MU)); in LLVMOrcJITDylibDefine()
H A DELFNixPlatform.cpp171 const MaterializationUnit &MU) { in notifyAdding() argument
173 const auto &InitSym = MU.getInitializerSymbol(); in notifyAdding()
181 << " for MU " << MU.getName() << "\n"; in notifyAdding()
H A DMachOPlatform.cpp256 const MaterializationUnit &MU) { in notifyAdding() argument
258 const auto &InitSym = MU.getInitializerSymbol(); in notifyAdding()
266 << MU.getName() << "\n"; in notifyAdding()
/llvm-project-15.0.7/llvm/unittests/ExecutionEngine/Orc/
H A DCoreAPIsTest.cpp274 cantFail(JD.define(std::move(MU))); in TEST_F()
884 cantFail(JD.define(std::move(MU))); in TEST_F()
918 cantFail(JD.define(MU)); in TEST_F()
952 cantFail(JD.define(MU)); in TEST_F()
1038 cantFail(JD.define(MU)); in TEST_F()
1145 cantFail(JD.define(MU)); in TEST_F()
1197 cantFail(JD.define(MU)); in TEST_F()
1240 cantFail(JD.define(MU)); in TEST_F()
1313 cantFail(JD.define(MU)); in TEST_F()
1343 cantFail(JD.define(MU)); in TEST_F()
[all …]
H A DOrcCAPITest.cpp149 LLVMOrcMaterializationUnitRef MU = LLVMOrcAbsoluteSymbols(Pairs, 1); in definitionGeneratorFn() local
150 LLVMErrorRef Err = LLVMOrcJITDylibDefine(JD, MU); in definitionGeneratorFn()
263 LLVMOrcMaterializationUnitRef MU = LLVMOrcAbsoluteSymbols(Pairs, 1); in TEST_F() local
264 if (LLVMErrorRef E = LLVMOrcJITDylibDefine(MainDylib, MU)) in TEST_F()
643 LLVMOrcMaterializationUnitRef MU = LLVMOrcCreateCustomMaterializationUnit( in TEST_F() local
646 LLVMOrcJITDylibDefine(JD, MU); in TEST_F()
692 LLVMOrcMaterializationUnitRef MU = LLVMOrcAbsoluteSymbols(Pairs, 1); in TryToGenerateWithSuspendedLookup() local
696 Ctx->AsyncWork = [LS = *LookupState, JD, MU]() { in TryToGenerateWithSuspendedLookup()
697 LLVMErrorRef Err = LLVMOrcJITDylibDefine(JD, MU); in TryToGenerateWithSuspendedLookup()
H A DResourceTrackerTest.cpp127 auto MU = std::make_unique<SimpleMaterializationUnit>( in TEST_F() local
136 cantFail(JD.define(std::move(MU), RT)); in TEST_F()
165 auto MU = std::make_unique<SimpleMaterializationUnit>( in TEST_F() local
175 cantFail(JD.define(std::move(MU), RT)); in TEST_F()
202 auto MU = std::make_unique<SimpleMaterializationUnit>( in TEST_F() local
209 cantFail(JD.define(std::move(MU), RT)); in TEST_F()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCScheduleP10.td307 // A MU pipeline may take 5 cycles to complete.
358 // Save 1 cycles if pipeline BF reads the data from pipelines DX, MU, vMU, CY, DF, MM.
365 // Save 1 cycles if pipeline CY reads the data from pipelines DX, MU, vMU, BF, DF, MM.
372 // Save 1 cycles if pipeline MM reads the data from pipelines DX, MU, vMU, BF, CY, DF.
382 // Save 1 cycles if pipeline DF reads the data from pipelines DX, MU, vMU, BF, CY, DF, MM.
385 // Save 1 cycles if pipeline DV reads the data from pipelines DX, MU, vMU, BF, CY, DF, MM.
388 // Save 1 cycles if pipeline DX reads the data from pipelines DX, MU, vMU, BF, CY, DF, MM.
400 // Save 1 cycles if pipeline MU reads the data from pipelines DX, MU, DF.
412 // Save 1 cycles if pipeline vMU reads the data from pipelines DX, MU, vMU, BF, CY, DF, MM.
H A DPPCScheduleE500.td25 // 6 pipelined execution units: SU0, SU1, BU, LSU, MU.
30 def E500_MU : FuncUnit; // MU pipeline
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DMemorySSA.cpp363 return instructionClobbersQuery(MD, MU, MemoryLocOrCall(MU), AA).IsClobber; in defClobbersUseOrDef()
479 if (const auto *MU = dyn_cast<MemoryUse>(MA)) { in checkClobberSanity() local
480 (void)MU; in checkClobberSanity()
481 assert (MU == Start && in checkClobberSanity()
985 if (auto *MU = dyn_cast<MemoryUse>(Start)) in findClobber() local
986 Current = MU->getDefiningAccess(); in findClobber()
1399 auto *MU = dyn_cast<MemoryUse>(&MA); in optimizeUsesInBlock() local
1400 if (!MU) { in optimizeUsesInBlock()
1406 if (MU->isOptimized()) in optimizeUsesInBlock()
1414 MemoryLocOrCall UseMLOC(MU); in optimizeUsesInBlock()
[all …]
H A DMemorySSAUpdater.cpp238 void MemorySSAUpdater::insertUse(MemoryUse *MU, bool RenameUses) { in insertUse() argument
241 MU->setDefiningAccess(getPreviousDef(MU)); in insertUse()
257 auto *Defs = MSSA->getBlockDefs(MU->getBlock()); in insertUse()
265 BasicBlock *StartBlock = MU->getBlock(); in insertUse()
274 MSSA->renamePass(MU->getBlock(), FirstDef, Visited); in insertUse()
/llvm-project-15.0.7/llvm/examples/OrcV2Examples/OrcV2CBindingsLazy/
H A DOrcV2CBindingsLazy.c198 LLVMOrcMaterializationUnitRef MU = in main() local
200 LLVMOrcJITDylibDefine(MainJD, MU); in main()
/llvm-project-15.0.7/llvm/include/llvm-c/
H A DOrc.h619 void LLVMOrcDisposeMaterializationUnit(LLVMOrcMaterializationUnitRef MU);
858 LLVMOrcMaterializationUnitRef MU);
967 LLVMOrcMaterializationUnitRef MU);
/llvm-project-15.0.7/llvm/examples/OrcV2Examples/OrcV2CBindingsVeryLazy/
H A DOrcV2CBindingsVeryLazy.c254 LLVMOrcMaterializationUnitRef MU = in main() local
256 LLVMOrcJITDylibDefine(MainJD, MU); in main()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DMemorySSA.h442 if (auto *MU = dyn_cast<MemoryUse>(MUD))
443 return OperandTraits<MemoryUse>::op_begin(MU);
448 if (auto *MU = dyn_cast<MemoryUse>(MUD))
449 return OperandTraits<MemoryUse>::op_end(MU);
454 if (const auto *MU = dyn_cast<MemoryUse>(MUD))
455 return OperandTraits<MemoryUse>::operands(MU);
930 static bool defClobbersUseOrDef(MemoryDef *MD, const MemoryUseOrDef *MU,
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLICM.cpp158 static bool pointerInvalidatedByLoop(MemorySSA *MSSA, MemoryUse *MU,
162 MemoryUse &MU);
1261 if (const auto *MU = dyn_cast<MemoryUse>(&MA)) { in canSinkOrHoistInst() local
1262 auto *MD = MU->getDefiningAccess(); in canSinkOrHoistInst()
1270 if (!Flags.getIsSink() && !MSSA->dominates(SIMD, MU)) in canSinkOrHoistInst()
2257 static bool pointerInvalidatedByLoop(MemorySSA *MSSA, MemoryUse *MU, in pointerInvalidatedByLoop() argument
2265 Source = MU->getDefiningAccess(); in pointerInvalidatedByLoop()
2267 Source = MSSA->getSkipSelfWalker()->getClobberingMemoryAccess(MU); in pointerInvalidatedByLoop()
2294 if (pointerInvalidatedByBlock(*BB, *MSSA, *MU)) in pointerInvalidatedByLoop()
2298 return pointerInvalidatedByBlock(*I.getParent(), *MSSA, *MU); in pointerInvalidatedByLoop()
[all …]
H A DGVNHoist.cpp646 if (const MemoryUse *MU = dyn_cast<MemoryUse>(&MA)) { in hasMemoryUse() local
647 Instruction *Insn = MU->getMemoryInst(); in hasMemoryUse()
661 if (MemorySSAUtil::defClobbersUseOrDef(Def, MU, *AA)) in hasMemoryUse()
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dinsert-extract-shuffle-inseltpoison.ll215 ; CHECK-NEXT: [[MU:%.*]] = fmul double [[E1]], [[E3]]
216 ; CHECK-NEXT: ret double [[MU]]
H A Dinsert-extract-shuffle.ll215 ; CHECK-NEXT: [[MU:%.*]] = fmul double [[E1]], [[E3]]
216 ; CHECK-NEXT: ret double [[MU]]

12