| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LibCallsShrinkWrap.cpp | 315 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 D | LowerSwitch.cpp | 155 ConstantInt *UpperBound, BasicBlock *OrigBlock, in NewLeafBlock() argument 173 } else if (Leaf.High == UpperBound) { in NewLeafBlock() 186 Constant *UpperBound = ConstantExpr::getAdd(NegLo, Leaf.High); in NewLeafBlock() local 187 Comp = new ICmpInst(NewLeaf, ICmpInst::ICMP_ULE, Add, UpperBound, in NewLeafBlock() 227 ConstantInt *UpperBound, Value *Val, in SwitchConvert() argument 231 assert(LowerBound && UpperBound && "Bounds must be initialized"); in SwitchConvert() 239 if (Begin->Low == LowerBound && Begin->High == UpperBound) { in SwitchConvert() 240 APInt NumMergedCases = UpperBound->getValue() - LowerBound->getValue(); in SwitchConvert() 244 return NewLeafBlock(*Begin, Val, LowerBound, UpperBound, OrigBlock, in SwitchConvert() 281 << UpperBound->getValue() << "]\n"); in SwitchConvert() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Frontend/HLSL/ |
| H A D | RootSignatureValidations.cpp | 186 if (!Interval.valid() || Info.UpperBound < Interval.start()) in getOverlapping() 199 uint32_t UpperBound = Info.UpperBound; in insert() local 205 if (UpperBound < LowerBound) in insert() 214 if (UpperBound < Interval.start()) in insert() 220 if (Interval.start() <= LowerBound && UpperBound <= Interval.stop()) { in insert() 225 Interval.stop() <= UpperBound) { in insert() 230 } else if (LowerBound < Interval.start() && UpperBound <= Interval.stop()) { in insert() 233 UpperBound = Interval.start() - 1; in insert() 234 } else if (Interval.start() <= LowerBound && Interval.stop() < UpperBound) { in insert() 241 assert(LowerBound <= UpperBound && "Attempting to insert an empty interval"); in insert() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ScheduleDAG.cpp | 554 int UpperBound, LowerBound; in AddPred() local 556 UpperBound = Node2Index[X->NodeNum]; in AddPred() 559 if (LowerBound < UpperBound) { in AddPred() 562 DFS(Y, UpperBound, HasLoop); in AddPred() 565 Shift(Visited, LowerBound, UpperBound); in AddPred() 575 void ScheduleDAGTopologicalSort::DFS(const SUnit *SU, int UpperBound, in DFS() argument 590 if (Node2Index[s] == UpperBound) { in DFS() 595 if (!Visited.test(s) && Node2Index[s] < UpperBound) { in DFS() 607 int UpperBound = Node2Index[TargetSU.NodeNum]; in GetSubGraph() local 612 if (LowerBound > UpperBound) { in GetSubGraph() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/HLSL/ |
| H A D | RootSignatureValidations.h | 49 uint32_t UpperBound; member 57 return std::tie(LowerBound, UpperBound, Class, Space, Visibility) == 58 std::tie(RHS.LowerBound, RHS.UpperBound, RHS.Class, RHS.Space, 63 return std::tie(Class, Space, LowerBound, UpperBound, Visibility) < 64 std::tie(RHS.Class, RHS.Space, RHS.LowerBound, RHS.UpperBound,
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | DXILResource.cpp | 1002 uint32_t UpperBound; in populate() member 1005 uint32_t UpperBound, Value *Name) in populate() 1006 : RC(RC), Space(Space), LowerBound(LowerBound), UpperBound(UpperBound), in populate() 1038 uint32_t UpperBound = Size < 0 ? UINT32_MAX : LowerBound + Size - 1; in populate() local 1040 UpperBound, Name); in populate() 1059 return std::tie(LHS.RC, LHS.Space, LHS.LowerBound, LHS.UpperBound, in populate() 1061 RHS.UpperBound, RHS.Name); in populate() 1090 assert(LastFreeRange.UpperBound == UINT32_MAX); in populate() 1092 if (B.UpperBound < UINT32_MAX) in populate() 1093 LastFreeRange.LowerBound = B.UpperBound + 1; in populate() [all …]
|
| H A D | DependenceAnalysis.cpp | 631 const APInt &UpperBound = CUB->getAPInt(); in intersectConstraints() local 632 LLVM_DEBUG(dbgs() << "\t\tupper bound = " << UpperBound << "\n"); in intersectConstraints() 633 if (Xq.sgt(UpperBound) || Yq.sgt(UpperBound)) { in intersectConstraints() 1269 if (const SCEV *UpperBound = collectUpperBound(CurLoop, Delta->getType())) { in strongSIVtest() local 1270 LLVM_DEBUG(dbgs() << "\t UpperBound = " << *UpperBound); in strongSIVtest() 1271 LLVM_DEBUG(dbgs() << ", " << *UpperBound->getType() << "\n"); in strongSIVtest() 1276 const SCEV *Product = SE->getMulExpr(UpperBound, AbsCoeff); in strongSIVtest() 1447 if (const SCEV *UpperBound = collectUpperBound(CurLoop, Delta->getType())) { in weakCrossingSIVtest() local 1448 LLVM_DEBUG(dbgs() << "\t UpperBound = " << *UpperBound << "\n"); in weakCrossingSIVtest() 1449 const SCEV *ConstantTwo = SE->getConstant(UpperBound->getType(), 2); in weakCrossingSIVtest() [all …]
|
| H A D | MemorySSA.cpp | 1436 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/DebugInfo/LogicalView/Core/ |
| H A D | LVType.h | 250 int64_t UpperBound = 0; // DW_AT_upper_bound value. variable 272 int64_t getUpperBound() const override { return UpperBound; } in getUpperBound() 273 void setUpperBound(int64_t Value) override { UpperBound = Value; } in setUpperBound() 276 return {LowerBound, UpperBound}; in getBounds() 280 UpperBound = Upper; in setBounds()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | R600FrameLowering.cpp | 32 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/lib/IR/ |
| H A D | LLVMContextImpl.h | 396 Metadata *UpperBound; 399 MDNodeKeyImpl(Metadata *CountNode, Metadata *LowerBound, Metadata *UpperBound, 401 : CountNode(CountNode), LowerBound(LowerBound), UpperBound(UpperBound), 405 UpperBound(N->getRawUpperBound()), Stride(N->getRawStride()) {} 425 BoundsEqual(UpperBound, RHS->getRawUpperBound()) && 433 LowerBound, UpperBound, Stride); 434 return hash_combine(CountNode, LowerBound, UpperBound, Stride); 441 Metadata *UpperBound; 444 MDNodeKeyImpl(Metadata *CountNode, Metadata *LowerBound, Metadata *UpperBound, 446 : CountNode(CountNode), LowerBound(LowerBound), UpperBound(UpperBound), [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/ |
| H A D | LoopUnrollPass.h | 106 LoopUnrollOptions &setUpperBound(bool UpperBound) { in setUpperBound() 107 AllowUpperBound = UpperBound; in setUpperBound()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | DynamicTypePropagation.cpp | 689 const ObjCObjectPointerType *UpperBound = OrigObjectPtrType; in checkPostStmt() local 691 std::swap(LowerBound, UpperBound); in checkPostStmt() 694 LowerBound = LowerBound->isObjCIdType() ? UpperBound : LowerBound; in checkPostStmt() 695 UpperBound = UpperBound->isObjCIdType() ? LowerBound : UpperBound; in checkPostStmt() 697 if (storeWhenMoreInformative(State, Sym, TrackedType, LowerBound, UpperBound, in checkPostStmt()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | ProgramState.cpp | 317 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 D | LoopUnrollPass.cpp | 217 UP.UpperBound = false; in gatherUnrollingPreferences() 259 UP.UpperBound = false; in gatherUnrollingPreferences() 277 UP.UpperBound = *UserUpperBound; in gatherUnrollingPreferences() 1004 if (!TripCount && MaxTripCount && (UP.UpperBound || MaxOrZero) && in computeUnrollCount() 1424 std::optional<bool> UpperBound = std::nullopt, in LoopUnroll() argument 1431 ProvidedRuntime(Runtime), ProvidedUpperBound(UpperBound), in LoopUnroll() 1492 int AllowPartial, int Runtime, int UpperBound, in INITIALIZE_PASS_DEPENDENCY() 1503 UpperBound == -1 ? std::nullopt : std::optional<bool>(UpperBound), in INITIALIZE_PASS_DEPENDENCY()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILOpBuilder.h | 60 Constant *getResBind(uint32_t LowerBound, uint32_t UpperBound,
|
| H A D | DXILOpBuilder.cpp | 590 Constant *DXILOpBuilder::getResBind(uint32_t LowerBound, uint32_t UpperBound, in getResBind() argument 597 ConstantInt::get(Int32Ty, UpperBound), in getResBind()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/ |
| H A D | Scalar.h | 72 int UpperBound = -1, int AllowPeeling = -1);
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | GIMatchTableExecutorImpl.h | 239 uint16_t UpperBound = readU16(); in executeMatchTable() local 247 << LowerBound << ", " << UpperBound << "), Default=" << Default in executeMatchTable() 250 if (Opcode < LowerBound || UpperBound <= Opcode) { in executeMatchTable() 270 uint16_t UpperBound = readU16(); in executeMatchTable() local 279 << UpperBound << "), Default=" << Default in executeMatchTable() 297 if (TypeID < LowerBound || UpperBound <= TypeID) { in executeMatchTable()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DIBuilder.h | 805 Metadata *LowerBound, Metadata *UpperBound, 848 Metadata *UpperBound, 854 DIGenericSubrange::BoundType UpperBound,
|
| H A D | DebugInfoMetadata.h | 368 Metadata *UpperBound, Metadata *Stride, 386 Metadata *UpperBound, Metadata *Stride), 387 (CountNode, LowerBound, UpperBound, Stride)) 425 Metadata *UpperBound, Metadata *Stride, StorageType Storage, 436 Metadata *UpperBound, Metadata *Stride), 437 (CountNode, LowerBound, UpperBound, Stride)) 1474 Metadata *UpperBound, Metadata *Stride, Metadata *Bias, 1480 LowerBound, UpperBound, Stride, Bias, Storage, ShouldCreate); 1487 Metadata *UpperBound, Metadata *Stride, Metadata *Bias, 1504 Metadata *LowerBound, Metadata *UpperBound, [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | ScheduleDAG.h | 745 void DFS(const SUnit *SU, int UpperBound, bool& HasLoop); 749 void Shift(BitVector& Visited, int LowerBound, int UpperBound);
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
| H A D | DXContainer.h | 449 uint32_t UpperBound; member 455 sys::swapByteOrder(UpperBound); in swapBytes()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaHLSL.cpp | 1091 uint32_t UpperBound) { in handleRootSignatureElements() argument 1094 << LowerBound << UpperBound; in handleRootSignatureElements() 1099 float UpperBound) { in handleRootSignatureElements() argument 1103 << llvm::formatv("{0:f}", UpperBound).sstr<6>(); in handleRootSignatureElements() 1186 Info.UpperBound = Info.LowerBound; // use inclusive ranges [] in handleRootSignatureElements() 1198 Info.UpperBound = Info.LowerBound; // use inclusive ranges [] in handleRootSignatureElements() 1209 Info.UpperBound = Info.LowerBound; // use inclusive ranges [] in handleRootSignatureElements() 1225 Info.UpperBound = Clause->NumDescriptors == RangeInfo::Unbounded in handleRootSignatureElements() 1298 << /*unbounded=*/(Info->UpperBound == RangeInfo::Unbounded) in handleRootSignatureElements() 1299 << Info->UpperBound << llvm::to_underlying(OInfo->Class) in handleRootSignatureElements() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | DXILResource.h | 654 uint32_t UpperBound; member 655 BindingRange(uint32_t LB, uint32_t UB) : LowerBound(LB), UpperBound(UB) {} in BindingRange()
|