Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLibCallsShrinkWrap.cpp315 float UpperBound; in generateOneRangeCond() local
318 UpperBound = 709.0f; in generateOneRangeCond()
321 UpperBound = 88.0f; in generateOneRangeCond()
324 UpperBound = 11356.0f; in generateOneRangeCond()
331 return createCond(CI, CmpInst::FCMP_OGT, UpperBound); in generateOneRangeCond()
337 float UpperBound, LowerBound; in generateTwoRangeCond() local
342 UpperBound = 710.0f; in generateTwoRangeCond()
347 UpperBound = 89.0f; in generateTwoRangeCond()
352 UpperBound = 11357.0f; in generateTwoRangeCond()
356 UpperBound = 709.0f; in generateTwoRangeCond()
[all …]
H A DLowerSwitch.cpp157 ConstantInt *UpperBound, BasicBlock *OrigBlock, in NewLeafBlock() argument
175 } else if (Leaf.High == UpperBound) { in NewLeafBlock()
188 Constant *UpperBound = ConstantExpr::getAdd(NegLo, Leaf.High); in NewLeafBlock() local
189 Comp = new ICmpInst(NewLeaf, ICmpInst::ICMP_ULE, Add, UpperBound, in NewLeafBlock()
229 ConstantInt *UpperBound, Value *Val, in SwitchConvert() argument
233 assert(LowerBound && UpperBound && "Bounds must be initialized"); in SwitchConvert()
241 if (Begin->Low == LowerBound && Begin->High == UpperBound) { in SwitchConvert()
242 APInt NumMergedCases = UpperBound->getValue() - LowerBound->getValue(); in SwitchConvert()
246 return NewLeafBlock(*Begin, Val, LowerBound, UpperBound, OrigBlock, in SwitchConvert()
283 << UpperBound->getValue() << "]\n"); in SwitchConvert()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DScheduleDAG.cpp552 int UpperBound, LowerBound; in AddPred() local
554 UpperBound = Node2Index[X->NodeNum]; in AddPred()
557 if (LowerBound < UpperBound) { in AddPred()
560 DFS(Y, UpperBound, HasLoop); in AddPred()
563 Shift(Visited, LowerBound, UpperBound); in AddPred()
573 void ScheduleDAGTopologicalSort::DFS(const SUnit *SU, int UpperBound, in DFS() argument
588 if (Node2Index[s] == UpperBound) { in DFS()
593 if (!Visited.test(s) && Node2Index[s] < UpperBound) { in DFS()
605 int UpperBound = Node2Index[TargetSU.NodeNum]; in GetSubGraph() local
610 if (LowerBound > UpperBound) { in GetSubGraph()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVType.h246 int64_t UpperBound = 0; // DW_AT_upper_bound value. variable
268 int64_t getUpperBound() const override { return UpperBound; } in getUpperBound()
269 void setUpperBound(int64_t Value) override { UpperBound = Value; } in setUpperBound()
272 return {LowerBound, UpperBound}; in getBounds()
276 UpperBound = Upper; in setBounds()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DLoopUnrollPass.h106 LoopUnrollOptions &setUpperBound(bool UpperBound) { in setUpperBound()
107 AllowUpperBound = UpperBound; in setUpperBound()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContextImpl.h367 Metadata *UpperBound;
370 MDNodeKeyImpl(Metadata *CountNode, Metadata *LowerBound, Metadata *UpperBound,
372 : CountNode(CountNode), LowerBound(LowerBound), UpperBound(UpperBound),
376 UpperBound(N->getRawUpperBound()), Stride(N->getRawStride()) {}
396 BoundsEqual(UpperBound, RHS->getRawUpperBound()) &&
404 LowerBound, UpperBound, Stride);
405 return hash_combine(CountNode, LowerBound, UpperBound, Stride);
412 Metadata *UpperBound;
415 MDNodeKeyImpl(Metadata *CountNode, Metadata *LowerBound, Metadata *UpperBound,
417 : CountNode(CountNode), LowerBound(LowerBound), UpperBound(UpperBound),
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DProgramState.cpp331 DefinedOrUnknownSVal UpperBound, in assumeInBoundDual() argument
333 if (Idx.isUnknown() || UpperBound.isUnknown()) in assumeInBoundDual()
357 svalBuilder.evalBinOpNN(this, BO_Add, UpperBound.castAs<NonLoc>(), in assumeInBoundDual()
375 DefinedOrUnknownSVal UpperBound, in assumeInBound() argument
379 assumeInBoundDual(Idx, UpperBound, indexTy); in assumeInBound()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopUnrollPass.cpp218 UP.UpperBound = false; in gatherUnrollingPreferences()
258 UP.UpperBound = false; in gatherUnrollingPreferences()
276 UP.UpperBound = *UserUpperBound; in gatherUnrollingPreferences()
1003 if (!TripCount && MaxTripCount && (UP.UpperBound || MaxOrZero) && in computeUnrollCount()
1420 std::optional<bool> UpperBound = std::nullopt, in LoopUnroll() argument
1427 ProvidedRuntime(Runtime), ProvidedUpperBound(UpperBound), in LoopUnroll()
1488 int AllowPartial, int Runtime, int UpperBound, in INITIALIZE_PASS_DEPENDENCY()
1499 UpperBound == -1 ? std::nullopt : std::optional<bool>(UpperBound), in INITIALIZE_PASS_DEPENDENCY()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp612 const APInt &UpperBound = CUB->getAPInt(); in intersectConstraints() local
613 LLVM_DEBUG(dbgs() << "\t\tupper bound = " << UpperBound << "\n"); in intersectConstraints()
614 if (Xq.sgt(UpperBound) || Yq.sgt(UpperBound)) { in intersectConstraints()
1250 if (const SCEV *UpperBound = collectUpperBound(CurLoop, Delta->getType())) { in strongSIVtest() local
1251 LLVM_DEBUG(dbgs() << "\t UpperBound = " << *UpperBound); in strongSIVtest()
1252 LLVM_DEBUG(dbgs() << ", " << *UpperBound->getType() << "\n"); in strongSIVtest()
1257 const SCEV *Product = SE->getMulExpr(UpperBound, AbsCoeff); in strongSIVtest()
1428 if (const SCEV *UpperBound = collectUpperBound(CurLoop, Delta->getType())) { in weakCrossingSIVtest() local
1429 LLVM_DEBUG(dbgs() << "\t UpperBound = " << *UpperBound << "\n"); in weakCrossingSIVtest()
1430 const SCEV *ConstantTwo = SE->getConstant(UpperBound->getType(), 2); in weakCrossingSIVtest()
[all …]
H A DMemorySSA.cpp1436 unsigned long UpperBound = VersionStack.size() - 1; in optimizeUsesInBlock() local
1438 if (UpperBound - LocInfo.LowerBound > MaxCheckLimit) { in optimizeUsesInBlock()
1442 << UpperBound - LocInfo.LowerBound in optimizeUsesInBlock()
1451 while (UpperBound > LocInfo.LowerBound) { in optimizeUsesInBlock()
1452 if (isa<MemoryPhi>(VersionStack[UpperBound])) { in optimizeUsesInBlock()
1460 while (VersionStack[UpperBound] != Result) { in optimizeUsesInBlock()
1461 assert(UpperBound != 0); in optimizeUsesInBlock()
1462 --UpperBound; in optimizeUsesInBlock()
1468 MemoryDef *MD = cast<MemoryDef>(VersionStack[UpperBound]); in optimizeUsesInBlock()
1473 --UpperBound; in optimizeUsesInBlock()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/
H A DScalar.h61 int Runtime = -1, int UpperBound = -1,
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DNeonEmitter.cpp2161 std::string LowerBound, UpperBound; in genIntrinsicRangeCheckCode() local
2167 UpperBound = "63"; in genIntrinsicRangeCheckCode()
2175 UpperBound = "15"; in genIntrinsicRangeCheckCode()
2177 UpperBound = "31"; in genIntrinsicRangeCheckCode()
2179 UpperBound = "63"; in genIntrinsicRangeCheckCode()
2187 UpperBound = utostr(Def->getReturnType().getElementSizeInBits() - 1); in genIntrinsicRangeCheckCode()
2195 UpperBound = "RFT(TV, true)"; in genIntrinsicRangeCheckCode()
2200 UpperBound = "RFT(TV, false, true)"; in genIntrinsicRangeCheckCode()
2202 UpperBound = "RFT(TV, false, false)"; in genIntrinsicRangeCheckCode()
2207 UpperBound = utostr(T.getNumElements() - 1); in genIntrinsicRangeCheckCode()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DDXContainer.h321 uint32_t UpperBound; member
327 sys::swapByteOrder(UpperBound); in swapBytes()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyTargetTransformInfo.cpp142 UP.Partial = UP.Runtime = UP.UpperBound = true; in getUnrollingPreferences()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DGIMatchTableExecutorImpl.h238 uint16_t UpperBound = readU16(); in executeMatchTable() local
246 << LowerBound << ", " << UpperBound << "), Default=" << Default in executeMatchTable()
249 if (Opcode < LowerBound || UpperBound <= Opcode) { in executeMatchTable()
269 uint16_t UpperBound = readU16(); in executeMatchTable() local
278 << UpperBound << "), Default=" << Default in executeMatchTable()
296 if (TypeID < LowerBound || UpperBound <= TypeID) { in executeMatchTable()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DScheduleDAG.h741 void DFS(const SUnit *SU, int UpperBound, bool& HasLoop);
745 void Shift(BitVector& Visited, int LowerBound, int UpperBound);
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDIBuilder.h696 Metadata *UpperBound, Metadata *Stride);
701 DIGenericSubrange::BoundType UpperBound,
H A DDebugInfoMetadata.h365 Metadata *LowerBound, Metadata *UpperBound,
383 Metadata *UpperBound, Metadata *Stride),
384 (CountNode, LowerBound, UpperBound, Stride))
421 Metadata *LowerBound, Metadata *UpperBound,
433 Metadata *UpperBound, Metadata *Stride),
434 (CountNode, LowerBound, UpperBound, Stride))
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVScope.cpp1137 unsigned UpperBound; in resolveExtra()
1138 std::tie(LowerBound, UpperBound) = Type->getBounds(); in resolveExtra()
1145 ArrayInfo << "[" << LowerBound << ".." << UpperBound << "]"; in resolveExtra() local
1147 ArrayInfo << "[" << UpperBound + 1 << "]"; in resolveExtra()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDie.cpp541 if (std::optional<int64_t> UpperBound = in getTypeSizeImpl() local
546 Size *= *UpperBound - LowerBound + 1; in getTypeSizeImpl()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp6200 const Expr **E, int32_t &UpperBound, in getNumThreads() argument
6227 UpperBound = 1; in getNumThreads()
6258 UpperBound = in getNumThreads()
6259 UpperBound in getNumThreads()
6261 : std::min(UpperBound, in getNumThreads()
6265 if (UpperBound == -1) in getNumThreads()
6266 UpperBound = 0; in getNumThreads()
6287 UpperBound = 1; in getNumThreads()
6291 CodeGenFunction &CGF, const OMPExecutableDirective &D, int32_t &UpperBound, in getNumThreadsExprForTargetDirective() argument
6306 UpperBound = UpperBound ? Constant->getZExtValue() in getNumThreadsExprForTargetDirective()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DDXContainerYAML.cpp214 IO.mapRequired("UpperBound", Res.UpperBound); in mapping()
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DClauseT.h890 using UpperBound = E;
891 std::tuple<OPT(LowerBound), UpperBound> t;
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DGlobalISelMatchTable.cpp655 const int64_t UpperBound = Values.rbegin()->getRawValue() + 1; in emit() local
660 << MatchTable::IntValue(2, UpperBound) << MatchTable::Comment(")") in emit()

12