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.cpp107 uint64_t KnownSize = 0; in checkVLA() local
109 KnownSize = KV->getZExtValue(); in checkVLA()
135 if (KnownSize <= SizeMax / IndexL) { in checkVLA()
136 KnownSize *= IndexL; in checkVLA()
143 KnownSize = 0; in checkVLA()
H A DArrayBoundCheckerV2.cpp611 if (auto KnownSize = Size.getAs<NonLoc>()) { in performCheck() local
620 compareValueToThreshold(State, ByteOffset, *KnownSize, SVB); in performCheck()
629 *KnownSize, C)) { in performCheck()
635 getExceedsMsgs(C.getASTContext(), Reg, ByteOffset, *KnownSize, in performCheck()
637 reportOOB(C, ExceedsUpperBound, Msgs, ByteOffset, KnownSize); in performCheck()
653 reportOOB(C, ExceedsUpperBound, Msgs, ByteOffset, KnownSize, in performCheck()
659 SUR.recordUpperBoundAssumption(*KnownSize); in performCheck()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelAttributes.cpp288 ConstantInt *KnownSize in processUse() local
291 KnownSize, UMin->getType(), false, DL)); in processUse()
312 ConstantInt *KnownSize = mdconst::extract<ConstantInt>(MD->getOperand(I)); in processUse() local
314 ConstantFoldIntegerCast(KnownSize, GroupSize->getType(), false, DL)); in processUse()
H A DAMDGPUMachineFunction.cpp170 if (ConstantInt *KnownSize = in getLDSKernelIdMetadata() local
172 uint64_t ZExt = KnownSize->getZExtValue(); in getLDSKernelIdMetadata()
H A DAMDGPULegalizerInfo.cpp5623 std::optional<uint32_t> KnownSize = in getLDSKernelId() local
5625 if (KnownSize.has_value()) in getLDSKernelId()
5626 B.buildConstant(DstReg, *KnownSize); in getLDSKernelId()
H A DSIISelLowering.cpp2002 std::optional<uint32_t> KnownSize = in getLDSKernelId() local
2004 if (KnownSize.has_value()) in getLDSKernelId()
2005 return DAG.getConstant(*KnownSize, SL, MVT::i32); in getLDSKernelId()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp2451 unsigned KnownSize = VT.getSizeInBits().getKnownMinValue(); in getLMUL()
2453 KnownSize *= 8; in getLMUL()
2455 switch (KnownSize) { in getLMUL()
2450 unsigned KnownSize = VT.getSizeInBits().getKnownMinValue(); getLMUL() local