| /freebsd/contrib/llvm-project/llvm/lib/Frontend/HLSL/ |
| H A D | RootSignatureValidations.cpp | 185 MapT::const_iterator Interval = Intervals.find(Info.LowerBound); in getOverlapping() 198 uint32_t LowerBound = Info.LowerBound; in insert() local 205 if (UpperBound < LowerBound) in insert() 208 Interval.advanceTo(LowerBound); in insert() 220 if (Interval.start() <= LowerBound && UpperBound <= Interval.stop()) { in insert() 224 } else if (LowerBound <= Interval.start() && in insert() 230 } else if (LowerBound < Interval.start() && UpperBound <= Interval.stop()) { in insert() 234 } else if (Interval.start() <= LowerBound && Interval.stop() < UpperBound) { in insert() 237 LowerBound = Interval.stop() + 1; in insert() 241 assert(LowerBound <= UpperBound && "Attempting to insert an empty interval"); in insert() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LibCallsShrinkWrap.cpp | 337 float UpperBound, LowerBound; in generateTwoRangeCond() local 341 LowerBound = -710.0f; in generateTwoRangeCond() 346 LowerBound = -89.0f; in generateTwoRangeCond() 351 LowerBound = -11357.0f; in generateTwoRangeCond() 355 LowerBound = -745.0f; in generateTwoRangeCond() 359 LowerBound = -103.0f; in generateTwoRangeCond() 363 LowerBound = -11399.0f; in generateTwoRangeCond() 367 LowerBound = -323.0f; in generateTwoRangeCond() 371 LowerBound = -45.0f; in generateTwoRangeCond() 375 LowerBound = -4950.0f; in generateTwoRangeCond() [all …]
|
| H A D | LowerSwitch.cpp | 154 BasicBlock *NewLeafBlock(CaseRange &Leaf, Value *Val, ConstantInt *LowerBound, in NewLeafBlock() argument 169 if (Leaf.Low == LowerBound) { in NewLeafBlock() 226 BasicBlock *SwitchConvert(CaseItr Begin, CaseItr End, ConstantInt *LowerBound, 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() 278 LLVM_DEBUG(dbgs() << "LHS Bounds ==> [" << LowerBound->getValue() << ", " in SwitchConvert() 291 SwitchConvert(LHS.begin(), LHS.end(), LowerBound, NewUpperBound, Val, in SwitchConvert() 387 ConstantInt *LowerBound = nullptr; in ProcessSwitchInst() local [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/HLSL/ |
| H A D | RootSignatureValidations.h | 48 uint32_t LowerBound; 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 | 644 MDVals.push_back(getIntMD(Binding.LowerBound)); in getAsMetadata() 752 << " Lower Bound: " << Binding.LowerBound << "\n" in print() 835 uint32_t LowerBound = in populateResourceInfos() local 842 ResourceInfo{/*RecordID=*/0, Space, LowerBound, in populateResourceInfos() 1001 uint32_t LowerBound; in populate() member 1004 Binding(ResourceClass RC, uint32_t Space, uint32_t LowerBound, in populate() 1006 : RC(RC), Space(Space), LowerBound(LowerBound), UpperBound(UpperBound), in populate() 1028 uint32_t LowerBound = in populate() local 1036 assert((Size < 0 || (unsigned)LowerBound + Size - 1 <= UINT32_MAX) && in populate() 1038 uint32_t UpperBound = Size < 0 ? UINT32_MAX : LowerBound + Size - 1; in populate() [all …]
|
| H A D | MemorySSA.cpp | 1323 unsigned long LowerBound; member 1413 LocInfo.LowerBound = 0; in optimizeUsesInBlock() 1431 assert(LocInfo.LowerBound < VersionStack.size() && in optimizeUsesInBlock() 1438 if (UpperBound - LocInfo.LowerBound > MaxCheckLimit) { in optimizeUsesInBlock() 1442 << UpperBound - LocInfo.LowerBound in optimizeUsesInBlock() 1451 while (UpperBound > LocInfo.LowerBound) { in optimizeUsesInBlock() 1486 LocInfo.LowerBound = VersionStack.size() - 1; in optimizeUsesInBlock()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/ |
| H A D | LVType.h | 249 int64_t LowerBound = 0; // DW_AT_lower_bound or DW_AT_count value. variable 262 return getIsSubrangeCount() ? LowerBound : 0; in getCount() 265 LowerBound = Value; in setCount() 269 int64_t getLowerBound() const override { return LowerBound; } in getLowerBound() 270 void setLowerBound(int64_t Value) override { LowerBound = Value; } in setLowerBound() 276 return {LowerBound, UpperBound}; in getBounds() 279 LowerBound = Lower; in setBounds()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ScheduleDAG.cpp | 554 int UpperBound, LowerBound; in AddPred() local 555 LowerBound = Node2Index[Y->NodeNum]; in AddPred() 559 if (LowerBound < UpperBound) { in AddPred() 565 Shift(Visited, LowerBound, UpperBound); in AddPred() 606 int LowerBound = Node2Index[StartSU.NodeNum]; in GetSubGraph() local 612 if (LowerBound > UpperBound) { in GetSubGraph() 666 if (Node2Index[s] == LowerBound) { in GetSubGraph() 683 void ScheduleDAGTopologicalSort::Shift(BitVector& Visited, int LowerBound, in Shift() argument 689 for (i = LowerBound; i <= UpperBound; ++i) { in Shift() 735 int UpperBound, LowerBound; in IsReachable() local [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | DXILResource.h | 347 uint32_t LowerBound; member 351 return std::tie(RecordID, Space, LowerBound, Size) == 352 std::tie(RHS.RecordID, RHS.Space, RHS.LowerBound, RHS.Size); 358 return std::tie(RecordID, Space, LowerBound, Size) < 359 std::tie(RHS.RecordID, RHS.Space, RHS.LowerBound, RHS.Size); 362 return Space == RHS.Space && LowerBound + Size - 1 >= RHS.LowerBound; in overlapsWith() 376 ResourceInfo(uint32_t RecordID, uint32_t Space, uint32_t LowerBound, 379 : Binding{RecordID, Space, LowerBound, Size}, HandleTy(HandleTy), 653 uint32_t LowerBound; member 655 BindingRange(uint32_t LB, uint32_t UB) : LowerBound(LB), UpperBound(UB) {} in BindingRange()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantRangeList.cpp | 55 auto LowerBound = lower_bound( in insert() local 59 if (LowerBound != Ranges.end() && LowerBound->contains(NewRange)) in insert() 63 SmallVector<ConstantRange, 2> ExistingTail(LowerBound, Ranges.end()); in insert() 64 Ranges.erase(LowerBound, Ranges.end()); in insert()
|
| H A D | LLVMContextImpl.h | 395 Metadata *LowerBound; 399 MDNodeKeyImpl(Metadata *CountNode, Metadata *LowerBound, Metadata *UpperBound, 401 : CountNode(CountNode), LowerBound(LowerBound), UpperBound(UpperBound), 404 : CountNode(N->getRawCountNode()), LowerBound(N->getRawLowerBound()), 424 BoundsEqual(LowerBound, RHS->getRawLowerBound()) && 433 LowerBound, UpperBound, Stride); 434 return hash_combine(CountNode, LowerBound, UpperBound, Stride); 440 Metadata *LowerBound; 444 MDNodeKeyImpl(Metadata *CountNode, Metadata *LowerBound, Metadata *UpperBound, 446 : CountNode(CountNode), LowerBound(LowerBound), UpperBound(UpperBound), [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaOpenACC.cpp | 720 Expr *LowerBound, in ActOnArraySectionExpr() argument 734 if (LowerBound && LowerBound->getType()->isNonOverloadPlaceholderType()) { in ActOnArraySectionExpr() 735 ExprResult Result = SemaRef.CheckPlaceholderExpr(LowerBound); in ActOnArraySectionExpr() 741 LowerBound = Result.get(); in ActOnArraySectionExpr() 794 if (LowerBound && !LowerBound->isTypeDependent()) { in ActOnArraySectionExpr() 797 LowerBound->getExprLoc(), LowerBound); in ActOnArraySectionExpr() 801 LowerBound = in ActOnArraySectionExpr() 802 LBRes.isUsable() ? LBRes.get() : GetRecovery(LowerBound, Context.IntTy); in ActOnArraySectionExpr() 855 std::optional<llvm::APSInt> LowerBoundValue = GetBoundValue(LowerBound); in ActOnArraySectionExpr() 861 Diag(LowerBound->getExprLoc(), diag::err_acc_subarray_negative) in ActOnArraySectionExpr() [all …]
|
| H A D | SemaHLSL.cpp | 1090 auto ReportError = [this, &HadError](SourceLocation Loc, uint32_t LowerBound, in handleRootSignatureElements() 1094 << LowerBound << UpperBound; in handleRootSignatureElements() 1098 float LowerBound, in handleRootSignatureElements() 1102 << llvm::formatv("{0:f}", LowerBound).sstr<6>() in handleRootSignatureElements() 1185 Info.LowerBound = Descriptor->Reg.Number; in handleRootSignatureElements() 1186 Info.UpperBound = Info.LowerBound; // use inclusive ranges [] in handleRootSignatureElements() 1197 Info.LowerBound = Constants->Reg.Number; in handleRootSignatureElements() 1198 Info.UpperBound = Info.LowerBound; // use inclusive ranges [] in handleRootSignatureElements() 1208 Info.LowerBound = Sampler->Reg.Number; in handleRootSignatureElements() 1209 Info.UpperBound = Info.LowerBound; // use inclusive ranges [] in handleRootSignatureElements() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILPostOptimizationValidation.cpp | 59 << R1.getBinding().LowerBound << " overlaps with resource " << R2.getName() in reportOverlappingError() 60 << " at register " << R2.getBinding().LowerBound << " in space " in reportOverlappingError()
|
| H A D | DXContainerGlobals.cpp | 193 BindInfo.LowerBound = Binding.LowerBound; in addResourcesForPSV() 194 BindInfo.UpperBound = Binding.LowerBound + Binding.Size - 1; in addResourcesForPSV()
|
| H A D | DXILOpBuilder.h | 60 Constant *getResBind(uint32_t LowerBound, uint32_t UpperBound,
|
| H A D | DXILOpLowering.cpp | 247 if (Binding.LowerBound != 0) in lowerToCreateHandle() 249 ConstantInt::get(Int32Ty, Binding.LowerBound)); in lowerToCreateHandle() 282 if (Binding.LowerBound != 0) in lowerToBindAndAnnotateHandle() 284 ConstantInt::get(Int32Ty, Binding.LowerBound)); in lowerToBindAndAnnotateHandle() 294 : Binding.LowerBound + Binding.Size - 1; in lowerToBindAndAnnotateHandle() 295 Constant *ResBind = OpBuilder.getResBind(Binding.LowerBound, UpperBound, in lowerToBindAndAnnotateHandle()
|
| H A D | DXILOpBuilder.cpp | 590 Constant *DXILOpBuilder::getResBind(uint32_t LowerBound, uint32_t UpperBound, in getResBind() argument 596 {ConstantInt::get(Int32Ty, LowerBound), in getResBind()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | DynamicTypePropagation.cpp | 688 const ObjCObjectPointerType *LowerBound = DestObjectPtrType; 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/llvm/lib/Target/PowerPC/ |
| H A D | PPCFrameLowering.cpp | 2161 int64_t LowerBound = 0; in processFunctionBeforeFrameFinalized() local 2167 LowerBound = TCSPDelta; in processFunctionBeforeFrameFinalized() 2176 MFI.setObjectOffset(FI, LowerBound + MFI.getObjectOffset(FI)); in processFunctionBeforeFrameFinalized() 2179 LowerBound -= (31 - TRI->getEncodingValue(MinFPR) + 1) * 8; in processFunctionBeforeFrameFinalized() 2187 MFI.setObjectOffset(FI, LowerBound + MFI.getObjectOffset(FI)); in processFunctionBeforeFrameFinalized() 2195 MFI.setObjectOffset(FI, LowerBound + MFI.getObjectOffset(FI)); in processFunctionBeforeFrameFinalized() 2205 MFI.setObjectOffset(FI, LowerBound + MFI.getObjectOffset(FI)); in processFunctionBeforeFrameFinalized() 2225 MFI.setObjectOffset(FI, LowerBound + MFI.getObjectOffset(FI)); in processFunctionBeforeFrameFinalized() 2234 MFI.setObjectOffset(FI, LowerBound + MFI.getObjectOffset(FI)); in processFunctionBeforeFrameFinalized() 2243 LowerBound -= (31 - MinReg + 1) * GPRegSize; in processFunctionBeforeFrameFinalized() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | GIMatchTableExecutorImpl.h | 238 uint16_t LowerBound = readU16(); in executeMatchTable() local 247 << LowerBound << ", " << UpperBound << "), Default=" << Default in executeMatchTable() 250 if (Opcode < LowerBound || UpperBound <= Opcode) { in executeMatchTable() 254 const auto EntryIdx = (Opcode - LowerBound); in executeMatchTable() 269 uint16_t LowerBound = readU16(); in executeMatchTable() local 278 << "]->getOperand(" << OpIdx << "), [" << LowerBound << ", " in executeMatchTable() 297 if (TypeID < LowerBound || UpperBound <= TypeID) { in executeMatchTable() 301 const auto NumEntry = (TypeID - LowerBound); in executeMatchTable()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DebugInfoMetadata.h | 359 int64_t LowerBound, StorageType Storage, 363 int64_t LowerBound, StorageType Storage, 367 Metadata *LowerBound, 378 DEFINE_MDNODE_GET(DISubrange, (int64_t Count, int64_t LowerBound = 0), 379 (Count, LowerBound)) 381 DEFINE_MDNODE_GET(DISubrange, (Metadata * CountNode, int64_t LowerBound = 0), 382 (CountNode, LowerBound)) 385 (Metadata * CountNode, Metadata *LowerBound, 387 (CountNode, LowerBound, UpperBound, Stride)) 424 getImpl(LLVMContext &Context, Metadata *CountNode, Metadata *LowerBound, [all …]
|
| H A D | DIBuilder.h | 805 Metadata *LowerBound, Metadata *UpperBound, 847 Metadata *LowerBound, 853 DIGenericSubrange::BoundType LowerBound,
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFDie.cpp | 562 int64_t LowerBound = 0; in getTypeSizeImpl() local 564 LowerBound = LowerBoundAttr->getAsSignedConstant().value_or(0); in getTypeSizeImpl() 565 Size *= *UpperBound - LowerBound + 1; in getTypeSizeImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/Disassembler/ |
| H A D | RISCVDisassembler.cpp | 403 template <unsigned Width, unsigned LowerBound> 409 if (Imm < LowerBound) in decodeUImmOperandGE() 416 template <unsigned Width, unsigned LowerBound> 422 if ((Imm + 1) < LowerBound) in decodeUImmPlus1OperandGE()
|