Home
last modified time | relevance | path

Searched refs:LoopCount (Results 1 – 7 of 7) sorted by relevance

/openbsd-src/gnu/llvm/llvm/tools/llvm-exegesis/lib/
H A DSnippetRepetitor.cpp84 const APInt LoopCount( in Repeat() local
87 assert(LoopCount.uge(1) && "Trip count should be at least 1."); in Repeat()
89 ET.setRegTo(State.getSubtargetInfo(), LoopCounter, LoopCount)) in Repeat()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenPGO.cpp515 uint64_t LoopCount = PGO.getRegionCount(S); in VisitDoStmt() local
519 uint64_t BodyCount = setCount(LoopCount + CurrentCount); in VisitDoStmt()
530 setCount(BC.BreakCount + CondCount - LoopCount); in VisitDoStmt()
1117 uint64_t LoopCount) const { in createProfileWeightsForLoop()
1123 return createProfileWeights(LoopCount, in createProfileWeightsForLoop()
1124 std::max(*CondCount, LoopCount) - LoopCount); in createProfileWeightsForLoop()
H A DCoverageMappingGen.cpp1236 Counter LoopCount = in VisitCXXForRangeStmt() local
1239 addCounters(BC.BreakCount, subtractCounters(LoopCount, BodyCount)); in VisitCXXForRangeStmt()
1249 subtractCounters(LoopCount, BodyCount)); in VisitCXXForRangeStmt()
1269 Counter LoopCount = in VisitObjCForCollectionStmt() local
1272 addCounters(BC.BreakCount, subtractCounters(LoopCount, BodyCount)); in VisitObjCForCollectionStmt()
H A DCodeGenFunction.h1524 uint64_t LoopCount) const;
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCInstrInfo.cpp5537 MachineInstr *Loop, *EndLoop, *LoopCount; member in __anon26f37eeb0c11::PPCPipelinerLoopInfo
5544 MachineInstr *LoopCount) in PPCPipelinerLoopInfo() argument
5545 : Loop(Loop), EndLoop(EndLoop), LoopCount(LoopCount), in PPCPipelinerLoopInfo()
5550 if (LoopCount->getOpcode() == PPC::LI8 || LoopCount->getOpcode() == PPC::LI) in PPCPipelinerLoopInfo()
5551 TripCount = LoopCount->getOperand(1).getImm(); in PPCPipelinerLoopInfo()
5585 if (LoopCount->getOpcode() == PPC::LI8 || in adjustTripCount()
5586 LoopCount->getOpcode() == PPC::LI) { in adjustTripCount()
5587 int64_t TripCount = LoopCount->getOperand(1).getImm() + TripCountAdjust; in adjustTripCount()
5588 LoopCount->getOperand(1).setImm(TripCount); in adjustTripCount()
5599 LoopCount->eraseFromParent(); in disposed()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonInstrInfo.cpp732 Register LoopCount; member in __anon3f80531c0111::HexagonPipelinerLoopInfo
746 LoopCount = Loop->getOperand(1).getReg(); in HexagonPipelinerLoopInfo()
762 .addReg(LoopCount) in createTripCountGreaterCondition()
790 Register LoopCount = Loop->getOperand(1).getReg(); in adjustTripCount() local
794 .addReg(LoopCount) in adjustTripCount()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.cpp6777 MachineInstr *EndLoop, *LoopCount; member in __anonf242aa430a11::ARMPipelinerLoopInfo
6802 ARMPipelinerLoopInfo(MachineInstr *EndLoop, MachineInstr *LoopCount) in ARMPipelinerLoopInfo() argument
6803 : EndLoop(EndLoop), LoopCount(LoopCount), in ARMPipelinerLoopInfo()
6809 return MI == EndLoop || MI == LoopCount; in shouldIgnoreForPipelining()