Home
last modified time | relevance | path

Searched refs:UpperBound (Results 1 – 25 of 52) sorted by relevance

123

/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DLibCallsShrinkWrap.cpp319 float UpperBound; in generateOneRangeCond() local
322 UpperBound = 709.0f; in generateOneRangeCond()
325 UpperBound = 88.0f; in generateOneRangeCond()
346 UpperBound = 710.0f; in generateTwoRangeCond()
351 UpperBound = 89.0f; in generateTwoRangeCond()
360 UpperBound = 709.0f; in generateTwoRangeCond()
364 UpperBound = 88.0f; in generateTwoRangeCond()
372 UpperBound = 308.0f; in generateTwoRangeCond()
376 UpperBound = 38.0f; in generateTwoRangeCond()
380 UpperBound = 4932.0f; in generateTwoRangeCond()
[all …]
H A DLowerSwitch.cpp159 ConstantInt *UpperBound, BasicBlock *OrigBlock, in NewLeafBlock() argument
177 } else if (Leaf.High == UpperBound) { in NewLeafBlock()
190 Constant *UpperBound = ConstantExpr::getAdd(NegLo, Leaf.High); in NewLeafBlock() local
231 ConstantInt *UpperBound, Value *Val, in SwitchConvert() argument
235 assert(LowerBound && UpperBound && "Bounds must be initialized"); in SwitchConvert()
243 if (Begin->Low == LowerBound && Begin->High == UpperBound) { in SwitchConvert()
249 return NewLeafBlock(*Begin, Val, LowerBound, UpperBound, OrigBlock, in SwitchConvert()
286 << ", " << UpperBound->getSExtValue() << "]\n"); in SwitchConvert()
387 ConstantInt *UpperBound = nullptr; in ProcessSwitchInst() local
395 UpperBound = Cases.back().High; in ProcessSwitchInst()
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DScheduleDAG.cpp549 int UpperBound, LowerBound; in AddPred() local
551 UpperBound = Node2Index[X->NodeNum]; in AddPred()
554 if (LowerBound < UpperBound) { in AddPred()
557 DFS(Y, UpperBound, HasLoop); in AddPred()
585 if (Node2Index[s] == UpperBound) { in DFS()
607 if (LowerBound > UpperBound) { in GetSubGraph()
627 if (Node2Index[s] == UpperBound) { in GetSubGraph()
728 int UpperBound, LowerBound; in IsReachable() local
730 UpperBound = Node2Index[SU->NodeNum]; in IsReachable()
733 if (LowerBound < UpperBound) { in IsReachable()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DTooSmallLoopVariableCheck.cpp110 const Expr *UpperBound, in calcUpperBoundMagnitudeBits() argument
114 if (const auto *BinOperator = dyn_cast<BinaryOperator>(UpperBound)) { in calcUpperBoundMagnitudeBits()
148 const auto *UpperBound = in check() local
158 QualType UpperBoundType = UpperBound->getType(); in check()
164 calcUpperBoundMagnitudeBits(Context, UpperBound, UpperBoundType); in check()
H A DArgumentCommentCheck.cpp150 unsigned UpperBound = (ArgName.size() + 2) / 3 + 1; in isLikelyTypo() local
153 /*AllowReplacements=*/true, UpperBound); in isLikelyTypo()
154 if (ThisED >= UpperBound) in isLikelyTypo()
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DSparseSetTest.cpp190 const unsigned UpperBound = 300; in TEST() local
191 Set.setUniverse(UpperBound); in TEST()
192 for (unsigned i = 0; i < UpperBound; ++i) in TEST()
197 unsigned Expected = UpperBound; in TEST()
204 for (unsigned i = 0; i < UpperBound; ++i) in TEST()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DR600FrameLowering.cpp32 int UpperBound = FI == -1 ? MFI.getNumObjects() : FI; in getFrameIndexReference() local
34 for (int i = MFI.getObjectIndexBegin(); i < UpperBound; ++i) { in getFrameIndexReference()
/llvm-project-15.0.7/polly/lib/Transform/
H A DMaximalStaticExpansion.cpp359 auto UpperBound = getConstant(CurrentStmtDomain.dim_max(i), true, false); in expandAccess() local
360 assert(!UpperBound.is_null() && UpperBound.is_pos() && in expandAccess()
361 !UpperBound.is_nan() && in expandAccess()
363 assert(UpperBound.le(isl::val(CurrentAccessMap.ctx(), in expandAccess()
366 Sizes.push_back(UpperBound.get_num_si() + 1); in expandAccess()
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Scalar/
H A DLoopUnrollPass.h106 LoopUnrollOptions &setUpperBound(bool UpperBound) { in setUpperBound()
107 AllowUpperBound = UpperBound; in setUpperBound()
/llvm-project-15.0.7/openmp/libomptarget/DeviceRTL/src/
H A DTasking.cpp95 uint64_t *LowerBound, uint64_t *UpperBound, int64_t, int, in __kmpc_taskloop() argument
99 if (*LowerBound > *UpperBound) in __kmpc_taskloop()
/llvm-project-15.0.7/llvm/lib/IR/
H A DLLVMContextImpl.h317 Metadata *UpperBound;
322 : CountNode(CountNode), LowerBound(LowerBound), UpperBound(UpperBound),
326 UpperBound(N->getRawUpperBound()), Stride(N->getRawStride()) {}
346 BoundsEqual(UpperBound, RHS->getRawUpperBound()) &&
354 LowerBound, UpperBound, Stride);
355 return hash_combine(CountNode, LowerBound, UpperBound, Stride);
362 Metadata *UpperBound;
367 : CountNode(CountNode), LowerBound(LowerBound), UpperBound(UpperBound),
376 (UpperBound == RHS->getRawUpperBound()) &&
384 LowerBound, UpperBound, Stride);
[all …]
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DDynamicTypePropagation.cpp686 const ObjCObjectPointerType *UpperBound = OrigObjectPtrType; in checkPostStmt() local
688 std::swap(LowerBound, UpperBound); in checkPostStmt()
691 LowerBound = LowerBound->isObjCIdType() ? UpperBound : LowerBound; in checkPostStmt()
692 UpperBound = UpperBound->isObjCIdType() ? LowerBound : UpperBound; in checkPostStmt()
694 if (storeWhenMoreInformative(State, Sym, TrackedType, LowerBound, UpperBound, in checkPostStmt()
/llvm-project-15.0.7/llvm/test/Verifier/
H A Dinvalid-disubrange-upperBound.ll4 ; CHECK: UpperBound must be signed constant or DIVariable or DIExpression
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DProgramState.cpp319 DefinedOrUnknownSVal UpperBound, in assumeInBoundDual() argument
321 if (Idx.isUnknown() || UpperBound.isUnknown()) in assumeInBoundDual()
345 svalBuilder.evalBinOpNN(this, BO_Add, UpperBound.castAs<NonLoc>(), in assumeInBoundDual()
363 DefinedOrUnknownSVal UpperBound, in assumeInBound() argument
367 assumeInBoundDual(Idx, UpperBound, indexTy); in assumeInBound()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopUnrollPass.cpp211 UP.UpperBound = false; in gatherUnrollingPreferences()
249 UP.UpperBound = false; in gatherUnrollingPreferences()
267 UP.UpperBound = *UserUpperBound; in gatherUnrollingPreferences()
969 if (!TripCount && MaxTripCount && (UP.UpperBound || MaxOrZero) && in computeUnrollCount()
1382 Optional<bool> UpperBound = None, in LoopUnroll() argument
1389 ProvidedRuntime(Runtime), ProvidedUpperBound(UpperBound), in LoopUnroll()
1450 int AllowPartial, int Runtime, int UpperBound, in INITIALIZE_PASS_DEPENDENCY()
1461 UpperBound == -1 ? None : Optional<bool>(UpperBound), in INITIALIZE_PASS_DEPENDENCY()
/llvm-project-15.0.7/flang/unittests/Runtime/
H A DPointer.cpp27 EXPECT_EQ(p->GetDimension(0).UpperBound(), 11); in TEST()
H A DReduction.cpp495 EXPECT_EQ(res.GetDimension(0).UpperBound(), 2); in TEST()
505 EXPECT_EQ(res.GetDimension(0).UpperBound(), 2); in TEST()
516 EXPECT_EQ(res.GetDimension(0).UpperBound(), 2); in TEST()
527 EXPECT_EQ(res.GetDimension(0).UpperBound(), 2); in TEST()
540 EXPECT_EQ(res.GetDimension(0).UpperBound(), 2); in TEST()
554 EXPECT_EQ(res.GetDimension(0).UpperBound(), 3); in TEST()
565 EXPECT_EQ(res.GetDimension(0).UpperBound(), 2); in TEST()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DMemorySSA.cpp1462 unsigned long UpperBound = VersionStack.size() - 1; in optimizeUsesInBlock() local
1464 if (UpperBound - LocInfo.LowerBound > MaxCheckLimit) { in optimizeUsesInBlock()
1468 << UpperBound - LocInfo.LowerBound in optimizeUsesInBlock()
1477 while (UpperBound > LocInfo.LowerBound) { in optimizeUsesInBlock()
1478 if (isa<MemoryPhi>(VersionStack[UpperBound])) { in optimizeUsesInBlock()
1486 while (VersionStack[UpperBound] != Result) { in optimizeUsesInBlock()
1487 assert(UpperBound != 0); in optimizeUsesInBlock()
1488 --UpperBound; in optimizeUsesInBlock()
1501 --UpperBound; in optimizeUsesInBlock()
1510 if (MSSA->isLiveOnEntryDef(VersionStack[UpperBound])) in optimizeUsesInBlock()
[all …]
H A DDependenceAnalysis.cpp549 const APInt &UpperBound = CUB->getAPInt(); in intersectConstraints() local
551 if (Xq.sgt(UpperBound) || Yq.sgt(UpperBound)) { in intersectConstraints()
1188 LLVM_DEBUG(dbgs() << "\t UpperBound = " << *UpperBound); in strongSIVtest()
1194 const SCEV *Product = SE->getMulExpr(UpperBound, AbsCoeff); in strongSIVtest()
1738 const SCEV *Product = SE->getMulExpr(AbsCoeff, UpperBound); in weakZeroSrcSIVtest()
1847 const SCEV *Product = SE->getMulExpr(AbsCoeff, UpperBound); in weakZeroDstSIVtest()
1928 if (const SCEVConstant *UpperBound = in exactRDIVtest() local
1930 SrcUM = UpperBound->getAPInt(); in exactRDIVtest()
1938 if (const SCEVConstant *UpperBound = in exactRDIVtest() local
1940 DstUM = UpperBound->getAPInt(); in exactRDIVtest()
[all …]
/llvm-project-15.0.7/clang/utils/TableGen/
H A DNeonEmitter.cpp2121 std::string LowerBound, UpperBound; in genIntrinsicRangeCheckCode() local
2127 UpperBound = "63"; in genIntrinsicRangeCheckCode()
2135 UpperBound = "15"; in genIntrinsicRangeCheckCode()
2137 UpperBound = "31"; in genIntrinsicRangeCheckCode()
2139 UpperBound = "63"; in genIntrinsicRangeCheckCode()
2155 UpperBound = "RFT(TV, true)"; in genIntrinsicRangeCheckCode()
2160 UpperBound = "RFT(TV, false, true)"; in genIntrinsicRangeCheckCode()
2162 UpperBound = "RFT(TV, false, false)"; in genIntrinsicRangeCheckCode()
2167 UpperBound = utostr(T.getNumElements() - 1); in genIntrinsicRangeCheckCode()
2179 if (!UpperBound.empty()) in genIntrinsicRangeCheckCode()
[all …]
/llvm-project-15.0.7/flang/runtime/
H A Dinquiry.cpp54 storeIntegerAt(i, dimension.UpperBound()); in RTNAME()
/llvm-project-15.0.7/polly/include/polly/CodeGen/
H A DLoopGenerators.h75 Value *createLoop(Value *LowerBound, Value *UpperBound, Value *Stride,
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/
H A DInstructionSelectorImpl.h186 int64_t UpperBound = MatchTable[CurrentIdx++]; in executeMatchTable() local
194 << LowerBound << ", " << UpperBound << "), Default=" << Default in executeMatchTable()
197 if (Opcode < LowerBound || UpperBound <= Opcode) { in executeMatchTable()
214 int64_t UpperBound = MatchTable[CurrentIdx++]; in executeMatchTable() local
223 << UpperBound << "), Default=" << Default in executeMatchTable()
241 if (TypeID < LowerBound || UpperBound <= TypeID) { in executeMatchTable()
/llvm-project-15.0.7/llvm/include/llvm/Transforms/
H A DScalar.h185 int Runtime = -1, int UpperBound = -1,
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyTargetTransformInfo.cpp131 UP.Partial = UP.Runtime = UP.UpperBound = true; in getUnrollingPreferences()

123