Searched refs:Limit (Results 1 - 25 of 68) sorted by relevance

123

/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DAllocationOrder.h54 unsigned next(unsigned Limit = 0) {
59 if (!Limit)
60 Limit = Order.size();
61 while (Pos < int(Limit)) {
70 /// Limit'th register in the RegisterClassInfo allocation order.
72 /// This can produce more than Limit registers if there are hints.
73 unsigned nextWithDups(unsigned Limit) { argument
78 if (Pos < int(Limit))
H A DInterferenceCache.cpp195 SlotIndex Limit = BI->First.isValid() ? BI->First : Stop; local
197 i != e && RegMaskSlots[i] < Limit; ++i)
252 SlotIndex Limit = BI->Last.isValid() ? BI->Last : Start; local
254 i && RegMaskSlots[i-1].getDeadSlot() > Limit; --i)
H A DSpillPlacement.cpp351 unsigned Limit = bundles->getNumBundles() * 10; local
352 while(Limit-- > 0 && !TodoList.empty()) {
H A DRegisterPressure.cpp971 unsigned Limit = RCI->getRegPressureSetLimit(i);
973 Limit += LiveThruPressureVec[i];
975 if (Limit > POld) {
976 if (Limit > PNew)
979 PDiff = PNew - Limit; // Just exceeded limit.
980 } else if (Limit > PNew)
981 PDiff = Limit - POld; // Just obeyed limit.
1171 unsigned Limit = RCI->getRegPressureSetLimit(PSetID);
1173 Limit += LiveThruPressure[PSetID];
1187 if (PNew > Limit)
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DState.cpp95 unsigned Limit = getCtx().getDiagnostics().getConstexprBacktraceLimit(); local
96 if (Limit)
97 CallStackNotes = std::min(CallStackNotes, Limit + 1);
107 addCallStack(Limit);
117 void State::addCallStack(unsigned Limit) { argument
121 if (Limit && Limit < ActiveCalls) {
122 SkipStart = Limit / 2 + Limit % 2;
123 SkipEnd = ActiveCalls - Limit /
[all...]
H A DState.h122 void addCallStack(unsigned Limit);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Format/
H A DUnwrappedLineFormatter.cpp214 unsigned Limit =
216 // If we already exceed the column limit, we set 'Limit' to 0. The different
218 Limit = TheLine->Last->TotalLength > Limit
220 : Limit - TheLine->Last->TotalLength;
226 return tryMergeSimpleBlock(I, E, Limit);
239 ? tryMergeSimpleBlock(I, E, Limit)
247 ? tryMergeSimpleBlock(I, E, Limit)
267 I[i + 1]->Last->TotalLength < Limit;
272 Limit
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNHazardRecognizer.h69 int getWaitStatesSince(IsHazardFn IsHazard, int Limit);
70 int getWaitStatesSinceDef(unsigned Reg, IsHazardFn IsHazardDef, int Limit);
71 int getWaitStatesSinceSetReg(IsHazardFn IsHazard, int Limit);
H A DSIMachineFunctionInfo.h914 void limitOccupancy(unsigned Limit) { argument
915 if (Occupancy > Limit)
916 Occupancy = Limit;
919 void increaseOccupancy(const MachineFunction &MF, unsigned Limit) { argument
920 if (Occupancy < Limit)
921 Occupancy = Limit;
H A DGCNHazardRecognizer.cpp418 int GCNHazardRecognizer::getWaitStatesSince(IsHazardFn IsHazard, int Limit) { argument
420 auto IsExpiredFn = [Limit] (MachineInstr *, int WaitStates) {
421 return WaitStates >= Limit;
437 if (WaitStates >= Limit)
445 int Limit) {
452 return getWaitStatesSince(IsHazardFn, Limit);
456 int Limit) {
461 return getWaitStatesSince(IsHazardFn, Limit);
443 getWaitStatesSinceDef(unsigned Reg, IsHazardFn IsHazardDef, int Limit) argument
455 getWaitStatesSinceSetReg(IsHazardFn IsHazard, int Limit) argument
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/CrossTU/
H A DCrossTranslationUnit.h225 ASTLoadGuard(unsigned Limit) : Limit(Limit) {} argument
229 operator bool() const { return Count < Limit; }
238 const unsigned Limit; member in class:clang::cross_tu::CrossTranslationUnitContext::ASTLoadGuard
292 /// Limit the number of loaded ASTs. Used to limit the memory usage of the
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A Dxxhash.cpp79 const unsigned char *const Limit = BEnd - 32; local
94 } while (P <= Limit);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeEnumInjectedSources.cpp20 Expected<std::string> readStreamData(BinaryStream &Stream, uint32_t Limit) { argument
21 uint32_t Offset = 0, DataLength = std::min(Limit, Stream.getLength());
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp241 const SCEV *Limit; member in struct:__anon2705::LoopICmp
243 const SCEV *Limit)
244 : Pred(Pred), IV(IV), Limit(Limit) {}
248 << ", Limit = " << *Limit << "\n"; local
447 auto *Limit = dyn_cast<SCEVConstant>(LatchCheck.Limit); local
449 if (!Limit || !Start)
464 Limit
242 LoopICmp(ICmpInst::Predicate Pred, const SCEVAddRecExpr *IV, const SCEV *Limit) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZSelectionDAGInfo.cpp204 SDValue Limit = DAG.getNode(ISD::ADD, DL, PtrVT, Src, Length); local
206 Limit, Src, Char);
243 // Search from Src for a null character, stopping once Src reaches Limit.
247 // This can be used for strlen by setting Limit to 0.
251 SDValue Limit) {
255 Limit, Src, DAG.getConstant(0, DL, MVT::i32));
273 SDValue Limit = DAG.getNode(ISD::ADD, DL, PtrVT, Src, MaxLength); local
274 return getBoundedStrlen(DAG, DL, Chain, Src, Limit);
248 getBoundedStrlen(SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, SDValue Src, SDValue Limit) argument
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DPrettyClassLayoutGraphicalDumper.cpp143 uint32_t Limit = opts::pretty::ClassRecursionDepth; local
144 if (Limit == 0)
146 return RecursionLevel < Limit;
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/
H A DCloneDetection.cpp419 const StmtSequence &Seq, std::size_t Limit,
449 StmtSequence(S, Seq.getContainingDecl()), Limit, MacroStack);
450 if (Complexity >= Limit)
451 return Limit;
456 StmtSequence(S, Seq.getContainingDecl()), Limit, MacroStack);
457 if (Complexity >= Limit)
458 return Limit;
418 calculateStmtComplexity( const StmtSequence &Seq, std::size_t Limit, const std::string &ParentMacroStack) argument
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DCodeViewRecordIO.cpp19 RecordLimit Limit; local
20 Limit.MaxLength = MaxLength;
21 Limit.BeginOffset = getCurrentOffset();
22 Limits.push_back(Limit);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64LoadStoreOptimizer.cpp133 unsigned Limit,
138 bool findMatchingStore(MachineBasicBlock::iterator I, unsigned Limit,
163 int UnscaledOffset, unsigned Limit);
169 findMatchingUpdateInsnBackward(MachineBasicBlock::iterator I, unsigned Limit);
745 // visited instructions. Stop after visiting Limit iterations.
747 const TargetRegisterInfo *TRI, unsigned Limit,
753 if (!Limit)
755 --Limit;
1171 MachineBasicBlock::iterator I, unsigned Limit,
1224 } while (MBBI != B && Count < Limit);
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DCFG.cpp157 // Limit the number of blocks we visit. The goal is to avoid run-away compile
159 unsigned Limit = 32; local
185 if (!--Limit) {
H A DMemoryDependenceAnalysis.cpp80 // Limit for the number of instructions to scan in a block.
92 // Limit on the number of memdep results to process.
187 unsigned Limit = getDefaultBlockScanLimit(); local
192 // Debug intrinsics don't cause dependences and should not affect Limit
196 // Limit the amount of scanning we do so we don't end up with quadratic
198 --Limit;
199 if (!Limit)
330 BasicBlock *BB, Instruction *QueryInst, unsigned *Limit,
342 MemLoc, isLoad, ScanIt, BB, QueryInst, Limit, OBB);
443 BasicBlock *BB, Instruction *QueryInst, unsigned *Limit,
328 getPointerDependencyFrom( const MemoryLocation &MemLoc, bool isLoad, BasicBlock::iterator ScanIt, BasicBlock *BB, Instruction *QueryInst, unsigned *Limit, OrderedBasicBlock *OBB) argument
441 getSimplePointerDependencyFrom( const MemoryLocation &MemLoc, bool isLoad, BasicBlock::iterator ScanIt, BasicBlock *BB, Instruction *QueryInst, unsigned *Limit, OrderedBasicBlock *OBB) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMFrameLowering.cpp1512 unsigned Limit = (1 << 12) - 1; local
1524 Limit = std::min(Limit, (1U << 8) - 1);
1545 Limit = std::min(Limit, (1U << 8) - 1);
1548 Limit = std::min(Limit, ((1U << 8) - 1) * 2);
1553 Limit = std::min(Limit, ((1U << 8) - 1) * 4);
1559 Limit
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_diag.cpp251 const uptr Limit = (uptr)-1; local
252 return (LHS > Limit - RHS) ? Limit : LHS + RHS;
/freebsd-11-stable/stand/i386/pxeldr/
H A Dpxeldr.S291 gdtdesc: .word gdt.1-gdt-1 # Limit
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryDependenceAnalysis.h443 /// annotated to the query instruction to refine the result. \p Limit
454 unsigned *Limit = nullptr,
460 Instruction *QueryInst, unsigned *Limit,

Completed in 410 milliseconds

123