Home
last modified time | relevance | path

Searched refs:ML (Results 1 – 25 of 95) sorted by relevance

1234

/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblySortRegion.cpp18 const auto *ML = MLI.getLoopFor(MBB); in getRegionFor() local
20 if (!ML && !WE) in getRegionFor()
29 if ((ML && !WE) || (ML && WE && WE->contains(ML->getHeader()))) { in getRegionFor()
31 if (LoopMap.count(ML)) in getRegionFor()
32 return LoopMap[ML].get(); in getRegionFor()
33 LoopMap[ML] = std::make_unique<ConcreteSortRegion<MachineLoop>>(ML); in getRegionFor()
34 return LoopMap[ML].get(); in getRegionFor()
52 MachineBasicBlock *SortRegionInfo::getBottom(const MachineLoop *ML) { in getBottom() argument
53 MachineBasicBlock *Bottom = ML->getHeader(); in getBottom()
54 for (MachineBasicBlock *MBB : ML->blocks()) { in getBottom()
H A DWebAssemblySortRegion.h83 MachineBasicBlock *getBottom(const MachineLoop *ML);
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCCTRLoops.cpp77 bool processLoop(MachineLoop *ML);
79 void expandNormalLoops(MachineLoop *ML, MachineInstr *Start,
81 void expandCTRLoops(MachineLoop *ML, MachineInstr *Start, MachineInstr *Dec);
102 for (auto *ML : MLI) { in runOnMachineFunction() local
103 if (ML->isOutermost()) in runOnMachineFunction()
104 Changed |= processLoop(ML); in runOnMachineFunction()
146 bool PPCCTRLoops::processLoop(MachineLoop *ML) { in processLoop() argument
150 for (MachineLoop *I : *ML) in processLoop()
176 MachineBasicBlock *Preheader = ML->getLoopPreheader(); in processLoop()
214 for (auto *MBB : reverse(ML->getBlocks())) { in processLoop()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DMoveAutoInit.cpp46 MemoryLocation ML; in writeToAlloca()
48 ML = MemoryLocation::getForDest(MI); in writeToAlloca()
50 ML = MemoryLocation::get(SI); in writeToAlloca()
54 if (isa<AllocaInst>(getUnderlyingObject(ML.Ptr))) in writeToAlloca()
55 return ML; in writeToAlloca()
63 static BasicBlock *usersDominator(const MemoryLocation &ML, Instruction *I,
89 if (AA.getModRefInfo(MI, ML) != ModRefInfo::NoModRef && in usersDominator()
117 std::optional<MemoryLocation> ML = writeToAlloca(I); in runMoveAutoInit()
118 if (!ML) in runMoveAutoInit() local
124 BasicBlock *UsersDominator = usersDominator(ML in runMoveAutoInit()
47 MemoryLocation ML; writeToAlloca() local
64 usersDominator(const MemoryLocation & ML,Instruction * I,DominatorTree & DT,MemorySSA & MSSA) usersDominator() argument
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBlockPlacement.cpp45 bool fixBackwardsWLS(MachineLoop *ML);
46 bool processPostOrderLoops(MachineLoop *ML);
76 static MachineInstr *findWLS(MachineLoop *ML) { in findWLS() argument
77 MachineBasicBlock *Predecessor = ML->getLoopPredecessor(); in findWLS()
154 bool ARMBlockPlacement::fixBackwardsWLS(MachineLoop *ML) { in fixBackwardsWLS() argument
155 MachineInstr *WlsInstr = findWLS(ML); in fixBackwardsWLS()
206 bool ARMBlockPlacement::processPostOrderLoops(MachineLoop *ML) { in processPostOrderLoops() argument
208 for (auto *InnerML : *ML) in processPostOrderLoops()
210 return Changed | fixBackwardsWLS(ML); in processPostOrderLoops()
230 for (auto *ML : *MLI) in runOnMachineFunction()
[all …]
H A DMVETPAndVPTOptimisationsPass.cpp72 bool LowerWhileLoopStart(MachineLoop *ML);
73 bool MergeLoopEnd(MachineLoop *ML);
74 bool ConvertTailPredLoop(MachineLoop *ML, MachineDominatorTree *DT);
111 static bool findLoopComponents(MachineLoop *ML, MachineRegisterInfo *MRI, in findLoopComponents() argument
114 MachineBasicBlock *Header = ML->getHeader(); in findLoopComponents()
115 MachineBasicBlock *Latch = ML->getLoopLatch(); in findLoopComponents()
228 bool MVETPAndVPTOptimisations::LowerWhileLoopStart(MachineLoop *ML) { in LowerWhileLoopStart() argument
230 << ML->getHeader()->getName() << "\n"); in LowerWhileLoopStart()
233 if (!findLoopComponents(ML, MRI, LoopStart, LoopPhi, LoopDec, LoopEnd)) in LowerWhileLoopStart()
320 bool MVETPAndVPTOptimisations::MergeLoopEnd(MachineLoop *ML) { in MergeLoopEnd() argument
[all …]
H A DARMLowOverheadLoops.cpp129 MachineLoop &ML; member in __anona50655620111::PostOrderLoopTraversal
135 PostOrderLoopTraversal(MachineLoop &ML, MachineLoopInfo &MLI) in PostOrderLoopTraversal() argument
136 : ML(ML), MLI(MLI) { } in PostOrderLoopTraversal()
152 if (!ML.contains(Succ)) in ProcessLoop()
161 ML.getExitBlocks(ExitBlocks); in ProcessLoop()
165 Search(ML.getHeader()); in ProcessLoop()
175 if (auto *Preheader = ML.getLoopPreheader()) in ProcessLoop()
177 else if (auto *Preheader = MLI.findLoopPreheader(&ML, true, true)) in ProcessLoop()
366 MachineLoop &ML; member
388 LowOverheadLoop(MachineLoop &ML, MachineLoopInfo &MLI, in LowOverheadLoop()
[all …]
/freebsd/contrib/file/magic/Magdir/
H A Dpolyml16 # Type: Poly/ML saved data
19 0 string POLYSAVE Poly/ML saved state
22 0 string POLYMODU Poly/ML saved module
/freebsd/usr.bin/tabs/
H A Dtabs.c81 const char *cr, *ct, *st, *ML; in main() local
148 ML = tgetstr("ML", &ap); in main()
159 if (ML != NULL) { in main()
161 putp(ML); in main()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DVarLocBasedImpl.cpp430 MachineLoc ML = GetLocForOp(Op); in VarLoc() local
431 auto It = find(Locs, ML); in VarLoc()
433 Locs.push_back(ML); in VarLoc()
520 for (MachineLoc &ML : VL.Locs) in CreateCopyLoc()
521 if (ML == OldML) { in CreateCopyLoc()
522 ML.Kind = MachineLocKind::RegisterKind; in CreateCopyLoc()
523 ML.Value.RegNo = NewReg; in CreateCopyLoc()
534 for (MachineLoc &ML : VL.Locs) in CreateSpillLoc()
535 if (ML == OldML) { in CreateSpillLoc()
536 ML.Kind = MachineLocKind::SpillLocKind; in CreateSpillLoc()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineOrder.cpp25 enum class InlinePriorityMode : int { Size, Cost, CostBenefit, ML }; enumerator
36 clEnumValN(InlinePriorityMode::ML, "ml", "Use ML.")));
306 case InlinePriorityMode::ML: in getDefaultInlineOrder()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonGenMux.cpp230 MuxInfoList ML; in genMuxInBlock() local
322 ML.push_back(MuxInfo(At, DR, PR, SrcT, SrcF, Def1, Def2)); in genMuxInBlock()
325 for (MuxInfo &MX : ML) { in genMuxInBlock()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DMicrosoftCXXABI.cpp265 MethodVFTableLocation ML = in getThisArgumentTypeForMethod() local
274 if (ML.VBase || !ML.VFPtrOffset.isZero()) in getThisArgumentTypeForMethod()
663 const MethodVFTableLocation &ML);
1450 MethodVFTableLocation ML = in getVirtualFunctionPrologueThisAdjustment() local
1452 CharUnits Adjustment = ML.VFPtrOffset; in getVirtualFunctionPrologueThisAdjustment()
1461 if (ML.VBase) { in getVirtualFunctionPrologueThisAdjustment()
1464 Adjustment += DerivedLayout.getVBaseClassOffset(ML.VBase); in getVirtualFunctionPrologueThisAdjustment()
1498 MethodVFTableLocation ML = in adjustThisArgumentForVirtualFunctionCall() local
1501 CharUnits StaticOffset = ML.VFPtrOffset; in adjustThisArgumentForVirtualFunctionCall()
1510 if (ML.VBase) { in adjustThisArgumentForVirtualFunctionCall()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PreTileConfig.cpp137 auto *ML = MLI->getLoopFor(Header); in isLoopBackEdge() local
138 if (ML->contains(Bottom) && ML->isLoopLatch(Bottom)) in isLoopBackEdge()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DWindowScheduler.h107 WindowScheduler(MachineSchedContext *C, MachineLoop &ML);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineLICM.cpp594 const MachineLoop *ML = MLI->getLoopFor(BB); in HoistRegionPostRA() local
595 if (ML && ML->getHeader()->isEHPad()) continue; in HoistRegionPostRA()
820 const MachineLoop *ML = MLI->getLoopFor(BB); in HoistOutOfLoop() local
821 if (ML && ML->getHeader()->isEHPad()) in HoistOutOfLoop()
H A DWindowScheduler.cpp103 WindowScheduler::WindowScheduler(MachineSchedContext *C, MachineLoop &ML) in WindowScheduler() argument
104 : Context(C), MF(C->MF), MBB(ML.getHeader()), Loop(ML), in WindowScheduler()
H A DBranchFolding.cpp420 if (MachineLoop *ML = MLI->getLoopFor(&CurMBB)) in SplitMBBAt() local
421 ML->addBasicBlockToLoop(NewMBB, *MLI); in SplitMBBAt()
1064 MachineLoop *ML; in TailMergeBlocks() local
1077 ML = MLI->getLoopFor(IBB); in TailMergeBlocks()
1078 if (ML && IBB == ML->getHeader()) in TailMergeBlocks()
1106 if (ML != MLI->getLoopFor(PBB)) in TailMergeBlocks()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DMicrosoftMangle.cpp159 const MethodVFTableLocation &ML,
389 const MethodVFTableLocation &ML);
809 MethodVFTableLocation ML = in mangleMemberFunctionPointer() local
811 mangleVirtualMemPtrThunk(MD, ML); in mangleMemberFunctionPointer()
812 NVOffset = ML.VFPtrOffset.getQuantity(); in mangleMemberFunctionPointer()
813 VBTableOffset = ML.VBTableIndex * 4; in mangleMemberFunctionPointer()
814 if (ML.VBase) { in mangleMemberFunctionPointer()
907 MethodVFTableLocation ML = in mangleMemberFunctionPointerInClassNTTP() local
909 mangleVirtualMemPtrThunk(MD, ML); in mangleMemberFunctionPointerInClassNTTP()
917 const CXXMethodDecl *MD, const MethodVFTableLocation &ML) { in mangleVirtualMemPtrThunk() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64SchedA510.td451 def : InstRW<[CortexA510Write<4, CortexA510UnitVALU>], (instregex "ML[AS]v(2i32|4i16|8i8)$")>;
452 def : InstRW<[CortexA510Write<4, CortexA510UnitVALU>], (instregex "ML[AS]v(16i8|4i32|8i16)$")>;
453 def : InstRW<[CortexA510Write<4, CortexA510UnitVALU>], (instregex "ML[AS]v(2i32|4i16|4i32|8i16)_ind…
457 def : InstRW<[CortexA510Write<4, CortexA510UnitVALU>], (instregex "[SU]ML[AS]Lv")>;
897 def : InstRW<[CortexA510Write<4, CortexA510UnitVMAC>], (instregex "^ML[AS]_(ZZZI|ZPZZZ)_[BHS]",
898 "^(ML[AS]|MAD|MSB)_ZPmZZ_[BHS]")>;
901 def : InstRW<[CortexA510Write<4, CortexA510UnitVMAC>], (instregex "^ML[AS]_(ZZZI|ZPZZZ)_D",
902 "^(ML[AS]|MAD|MSB)_ZPmZZ_D")>;
905 def : InstRW<[CortexA510Write<4, CortexA510UnitVMAC>], (instregex "^[SU]ML[AS]L[BT]_ZZZ_[HSD]",
906 "^[SU]ML[AS]L[BT]_ZZZI_[SD]")>;
H A DAArch64SchedA55.td439 def : InstRW<[CortexA55WriteMlaVd_4], (instregex "ML[AS]v(2i32|4i16|8i8)$")>;
440 def : InstRW<[CortexA55WriteMlaVq_4], (instregex "ML[AS]v(16i8|4i32|8i16)$")>;
441 def : InstRW<[CortexA55WriteMlaIxVq_4], (instregex "ML[AS]v(2i32|4i16|4i32|8i16)_indexed$")>;
445 def : InstRW<[CortexA55WriteMlaLVq_4], (instregex "[SU]ML[AS]Lv")>;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp558 NeedLift = llvm::any_of(MemLocs, [C, this](const MemoryLocation &ML) { in moveUp() argument
559 return isModOrRefSet(AA->getModRefInfo(C, ML)); in moveUp()
584 auto ML = MemoryLocation::get(C); in moveUp() local
585 if (isModOrRefSet(AA->getModRefInfo(P, ML))) in moveUp()
588 MemLocs.push_back(ML); in moveUp()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLink.h727 orc::MemLifetime getMemLifetime() const { return ML; } in getMemLifetime()
730 void setMemLifetime(orc::MemLifetime ML) { this->ML = ML; } in setMemLifetime() argument
798 orc::MemLifetime ML = orc::MemLifetime::Standard; variable
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dprimary64.h160 ScopedLock ML(Region->MMLock); in unmapTestOnly()
178 ScopedLock ML(Region->MMLock); in verifyAllBlocksAreReleasedTestOnly()
195 ScopedLock ML(Region->MMLock); in verifyAllBlocksAreReleasedTestOnly()
241 ScopedLock ML(Region->MMLock); in popBlocks()
887 ScopedLock ML(Region->MMLock); in popBlocksWithCV()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DGVNExpression.h298 void setMemoryLeader(const MemoryAccess *ML) { MemoryLeader = ML; } in setMemoryLeader() argument

1234