Home
last modified time | relevance | path

Searched refs:KnownSize (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DVLASizeChecker.cpp105 uint64_t KnownSize = 0; in checkVLA() local
107 KnownSize = KV->getZExtValue(); in checkVLA()
133 if (KnownSize <= SizeMax / IndexL) { in checkVLA()
134 KnownSize *= IndexL; in checkVLA()
141 KnownSize = 0; in checkVLA()
H A DArrayBoundChecker.cpp657 if (auto KnownSize = Size.getAs<NonLoc>()) { in performCheck() local
666 compareValueToThreshold(State, ByteOffset, *KnownSize, SVB); in performCheck()
675 *KnownSize, C)) { in performCheck()
682 *KnownSize, Location, AlsoMentionUnderflow); in performCheck()
683 reportOOB(C, ExceedsUpperBound, Msgs, ByteOffset, KnownSize); in performCheck()
700 reportOOB(C, ExceedsUpperBound, Msgs, ByteOffset, KnownSize, in performCheck()
706 SUR.recordUpperBoundAssumption(*KnownSize); in performCheck()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelAttributes.cpp310 ConstantInt *KnownSize in processUse() local
313 KnownSize, UMin->getType(), false, DL)); in processUse()
334 ConstantInt *KnownSize = mdconst::extract<ConstantInt>(MD->getOperand(I)); in processUse() local
336 ConstantFoldIntegerCast(KnownSize, GroupSize->getType(), false, DL)); in processUse()
H A DAMDGPUMachineFunction.cpp177 if (ConstantInt *KnownSize = in getLDSKernelIdMetadata() local
179 uint64_t ZExt = KnownSize->getZExtValue(); in getLDSKernelIdMetadata()
H A DAMDGPULegalizerInfo.cpp5729 std::optional<uint32_t> KnownSize = in getLDSKernelId() local
5731 if (KnownSize.has_value()) in getLDSKernelId()
5732 B.buildConstant(DstReg, *KnownSize); in getLDSKernelId()
H A DSIISelLowering.cpp2110 std::optional<uint32_t> KnownSize = in getLDSKernelId() local
2112 if (KnownSize.has_value()) in getLDSKernelId()
2113 return DAG.getConstant(*KnownSize, SL, MVT::i32); in getLDSKernelId()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp2538 unsigned KnownSize = VT.getSizeInBits().getKnownMinValue(); in getLMUL() local
2540 KnownSize *= 8; in getLMUL()
2542 switch (KnownSize) { in getLMUL()