Home
last modified time | relevance | path

Searched refs:SizeV (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DVLASizeChecker.cpp155 SVal SizeV = C.getSVal(SizeE); in checkVLAIndexSize() local
157 if (SizeV.isUndef()) { in checkVLAIndexSize()
164 if (SizeV.isUnknown()) in checkVLAIndexSize()
168 if (isTainted(State, SizeV)) { in checkVLAIndexSize()
170 std::make_unique<TaintBugVisitor>(SizeV)); in checkVLAIndexSize()
175 DefinedSVal SizeD = SizeV.castAs<DefinedSVal>(); in checkVLAIndexSize()
DObjCContainersChecker.cpp71 SVal SizeV = C.getSVal(Size); in REGISTER_MAP_WITH_PROGRAMSTATE() local
73 if (SizeV.isUnknownOrUndef()) in REGISTER_MAP_WITH_PROGRAMSTATE()
83 State->set<ArraySizeMap>(ArraySym, SizeV.castAs<DefinedSVal>())); in REGISTER_MAP_WITH_PROGRAMSTATE()
DStdLibraryFunctionsChecker.cpp297 const SVal SizeV = [this, &State, &Call, &Summary, &SvalBuilder]() { in apply() local
302 SVal SizeV = getArgSVal(Call, *SizeArgN); in apply() local
306 SizeV = SvalBuilder.evalBinOp(State, BO_Mul, SizeV, SizeMulV, in apply()
309 return SizeV; in apply()
319 SVal Feasible = SvalBuilder.evalBinOp(State, Op, SizeV, BufDynSize, in apply()
/external/clang/lib/StaticAnalyzer/Checkers/
DObjCContainersChecker.cpp69 SVal SizeV = State->getSVal(Size, C.getLocationContext()); in REGISTER_MAP_WITH_PROGRAMSTATE() local
71 if (SizeV.isUnknownOrUndef()) in REGISTER_MAP_WITH_PROGRAMSTATE()
81 State->set<ArraySizeMap>(ArraySym, SizeV.castAs<DefinedSVal>())); in REGISTER_MAP_WITH_PROGRAMSTATE()
/external/clang/lib/CodeGen/
DCGDecl.cpp935 llvm::Value *SizeV = llvm::ConstantInt::get(Int64Ty, Size); in EmitLifetimeStart() local
938 Builder.CreateCall(CGM.getLLVMLifetimeStartFn(), {SizeV, Addr}); in EmitLifetimeStart()
940 return SizeV; in EmitLifetimeStart()
/external/llvm-project/clang/lib/CodeGen/
DCGDecl.cpp1325 llvm::Value *SizeV = llvm::ConstantInt::get(Int64Ty, Size); in EmitLifetimeStart() local
1328 Builder.CreateCall(CGM.getLLVMLifetimeStartFn(), {SizeV, Addr}); in EmitLifetimeStart()
1330 return SizeV; in EmitLifetimeStart()