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()
342 UpperBound = 710.0f; in generateTwoRangeCond()
347 UpperBound = 89.0f; in generateTwoRangeCond()
356 UpperBound = 709.0f; in generateTwoRangeCond()
360 UpperBound = 88.0f; in generateTwoRangeCond()
368 UpperBound = 308.0f; in generateTwoRangeCond()
372 UpperBound = 38.0f; in generateTwoRangeCond()
376 UpperBound = 4932.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
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()
246 return NewLeafBlock(*Begin, Val, LowerBound, UpperBound, OrigBlock, in SwitchConvert()
283 << UpperBound->getValue() << "]\n"); in SwitchConvert()
390 ConstantInt *UpperBound = nullptr; in ProcessSwitchInst() local
398 UpperBound = Cases.back().High; in ProcessSwitchInst()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DScheduleDAG.cpp550 int UpperBound, LowerBound; in AddPred() local
552 UpperBound = Node2Index[X->NodeNum]; in AddPred()
555 if (LowerBound < UpperBound) { in AddPred()
558 DFS(Y, UpperBound, HasLoop); in AddPred()
586 if (Node2Index[s] == UpperBound) { in DFS()
608 if (LowerBound > UpperBound) { in GetSubGraph()
628 if (Node2Index[s] == UpperBound) { in GetSubGraph()
731 int UpperBound, LowerBound; in IsReachable() local
733 UpperBound = Node2Index[SU->NodeNum]; in IsReachable()
736 if (LowerBound < UpperBound) { in IsReachable()
[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.h365 Metadata *UpperBound;
370 : CountNode(CountNode), LowerBound(LowerBound), UpperBound(UpperBound),
374 UpperBound(N->getRawUpperBound()), Stride(N->getRawStride()) {}
394 BoundsEqual(UpperBound, RHS->getRawUpperBound()) &&
402 LowerBound, UpperBound, Stride);
403 return hash_combine(CountNode, LowerBound, UpperBound, Stride);
410 Metadata *UpperBound;
415 : CountNode(CountNode), LowerBound(LowerBound), UpperBound(UpperBound),
424 (UpperBound == RHS->getRawUpperBound()) &&
432 LowerBound, UpperBound, Stride);
[all …]
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DProgramState.cpp317 DefinedOrUnknownSVal UpperBound, in assumeInBoundDual() argument
319 if (Idx.isUnknown() || UpperBound.isUnknown()) in assumeInBoundDual()
343 svalBuilder.evalBinOpNN(this, BO_Add, UpperBound.castAs<NonLoc>(), in assumeInBoundDual()
361 DefinedOrUnknownSVal UpperBound, in assumeInBound() argument
365 assumeInBoundDual(Idx, UpperBound, indexTy); in assumeInBound()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopUnrollPass.cpp212 UP.UpperBound = false; in gatherUnrollingPreferences()
252 UP.UpperBound = false; in gatherUnrollingPreferences()
270 UP.UpperBound = *UserUpperBound; in gatherUnrollingPreferences()
957 if (!TripCount && MaxTripCount && (UP.UpperBound || MaxOrZero) && in computeUnrollCount()
1373 std::optional<bool> UpperBound = std::nullopt, in LoopUnroll() argument
1380 ProvidedRuntime(Runtime), ProvidedUpperBound(UpperBound), in LoopUnroll()
1441 int AllowPartial, int Runtime, int UpperBound, in INITIALIZE_PASS_DEPENDENCY()
1452 UpperBound == -1 ? std::nullopt : std::optional<bool>(UpperBound), in INITIALIZE_PASS_DEPENDENCY()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/
H A DScalar.h61 int Runtime = -1, int UpperBound = -1,
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp612 const APInt &UpperBound = CUB->getAPInt(); in intersectConstraints() local
614 if (Xq.sgt(UpperBound) || Yq.sgt(UpperBound)) { in intersectConstraints()
1251 LLVM_DEBUG(dbgs() << "\t UpperBound = " << *UpperBound); in strongSIVtest()
1257 const SCEV *Product = SE->getMulExpr(UpperBound, AbsCoeff); in strongSIVtest()
1801 const SCEV *Product = SE->getMulExpr(AbsCoeff, UpperBound); in weakZeroSrcSIVtest()
1910 const SCEV *Product = SE->getMulExpr(AbsCoeff, UpperBound); in weakZeroDstSIVtest()
1991 if (const SCEVConstant *UpperBound = in exactRDIVtest() local
1993 SrcUM = UpperBound->getAPInt(); in exactRDIVtest()
2001 if (const SCEVConstant *UpperBound = in exactRDIVtest() local
2003 DstUM = UpperBound->getAPInt(); in exactRDIVtest()
[all …]
H A DMemorySSA.cpp1412 unsigned long UpperBound = VersionStack.size() - 1; in optimizeUsesInBlock() local
1414 if (UpperBound - LocInfo.LowerBound > MaxCheckLimit) { in optimizeUsesInBlock()
1418 << UpperBound - LocInfo.LowerBound in optimizeUsesInBlock()
1427 while (UpperBound > LocInfo.LowerBound) { in optimizeUsesInBlock()
1428 if (isa<MemoryPhi>(VersionStack[UpperBound])) { in optimizeUsesInBlock()
1436 while (VersionStack[UpperBound] != Result) { in optimizeUsesInBlock()
1437 assert(UpperBound != 0); in optimizeUsesInBlock()
1438 --UpperBound; in optimizeUsesInBlock()
1449 --UpperBound; in optimizeUsesInBlock()
1455 MU->setDefiningAccess(VersionStack[UpperBound], true); in optimizeUsesInBlock()
[all …]
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DNeonEmitter.cpp2168 std::string LowerBound, UpperBound; in genIntrinsicRangeCheckCode() local
2174 UpperBound = "63"; in genIntrinsicRangeCheckCode()
2182 UpperBound = "15"; in genIntrinsicRangeCheckCode()
2184 UpperBound = "31"; in genIntrinsicRangeCheckCode()
2186 UpperBound = "63"; in genIntrinsicRangeCheckCode()
2202 UpperBound = "RFT(TV, true)"; in genIntrinsicRangeCheckCode()
2207 UpperBound = "RFT(TV, false, true)"; in genIntrinsicRangeCheckCode()
2209 UpperBound = "RFT(TV, false, false)"; in genIntrinsicRangeCheckCode()
2214 UpperBound = utostr(T.getNumElements() - 1); in genIntrinsicRangeCheckCode()
2226 if (!UpperBound.empty()) in genIntrinsicRangeCheckCode()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DDXContainer.h317 uint32_t UpperBound; member
323 sys::swapByteOrder(UpperBound); in swapBytes()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyTargetTransformInfo.cpp130 UP.Partial = UP.Runtime = UP.UpperBound = true; in getUnrollingPreferences()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DGIMatchTableExecutorImpl.h231 uint16_t UpperBound = readU16(); in executeMatchTable() local
239 << LowerBound << ", " << UpperBound << "), Default=" << Default in executeMatchTable()
242 if (Opcode < LowerBound || UpperBound <= Opcode) { in executeMatchTable()
262 uint16_t UpperBound = readU16(); in executeMatchTable() local
271 << UpperBound << "), Default=" << Default in executeMatchTable()
289 if (TypeID < LowerBound || UpperBound <= TypeID) { in executeMatchTable()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DScheduleDAG.h723 void DFS(const SUnit *SU, int UpperBound, bool& HasLoop);
727 void Shift(BitVector& Visited, int LowerBound, int UpperBound);
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDIBuilder.h662 Metadata *UpperBound, Metadata *Stride);
667 DIGenericSubrange::BoundType UpperBound,
H A DDebugInfoMetadata.h364 Metadata *LowerBound, Metadata *UpperBound,
382 Metadata *UpperBound, Metadata *Stride),
383 (CountNode, LowerBound, UpperBound, Stride))
420 Metadata *LowerBound, Metadata *UpperBound,
432 Metadata *UpperBound, Metadata *Stride),
433 (CountNode, LowerBound, UpperBound, Stride))
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVScope.cpp1137 unsigned UpperBound; in resolveExtra() local
1138 std::tie(LowerBound, UpperBound) = Type->getBounds(); in resolveExtra()
1145 ArrayInfo << "[" << LowerBound << ".." << UpperBound << "]"; in resolveExtra()
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.cpp6212 UpperBound = 1; in getNumThreads()
6243 UpperBound = in getNumThreads()
6244 UpperBound in getNumThreads()
6251 UpperBound = 0; in getNumThreads()
6272 UpperBound = 1; in getNumThreads()
6291 UpperBound = UpperBound ? Constant->getZExtValue() in getNumThreadsExprForTargetDirective()
6297 if (UpperBound == -1) in getNumThreadsExprForTargetDirective()
6298 UpperBound = 0; in getNumThreadsExprForTargetDirective()
6304 UpperBound = 1; in getNumThreadsExprForTargetDirective()
6441 int32_t UpperBound = -1; in emitNumThreadsForTargetDirective() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DDXContainerYAML.cpp203 IO.mapRequired("UpperBound", Res.UpperBound); in mapping()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp2486 Value *UpperBound = Builder.CreateSub(CLI->getTripCount(), One); in applyStaticWorkshareLoop() local
2487 Builder.CreateStore(UpperBound, PUpperBound); in applyStaticWorkshareLoop()
3048 Value *UpperBound = CLI->getTripCount(); in applyDynamicWorkshareLoop() local
3049 Builder.CreateStore(UpperBound, PUpperBound); in applyDynamicWorkshareLoop()
3072 UpperBound, /* step */ One, Chunk}); in applyDynamicWorkshareLoop()
3105 UpperBound = Builder.CreateLoad(IVTy, PUpperBound, "ub"); in applyDynamicWorkshareLoop()
3108 CI->setOperand(1, UpperBound); in applyDynamicWorkshareLoop()

12