/external/clang/lib/StaticAnalyzer/Checkers/ |
D | MallocChecker.cpp | 232 void ReportBadFree(CheckerContext &C, SVal ArgVal, SourceRange Range) const; 235 void ReportOffsetFree(CheckerContext &C, SVal ArgVal, SourceRange Range)const; 684 SVal ArgVal = State->getSVal(ArgExpr, C.getLocationContext()); in FreeMemAux() local 685 if (!ArgVal.getAs<DefinedOrUnknownSVal>()) in FreeMemAux() 687 DefinedOrUnknownSVal location = ArgVal.castAs<DefinedOrUnknownSVal>(); in FreeMemAux() 701 if (ArgVal.isUnknownOrUndef()) in FreeMemAux() 704 const MemRegion *R = ArgVal.getAsRegion(); in FreeMemAux() 709 ReportBadFree(C, ArgVal, ArgExpr->getSourceRange()); in FreeMemAux() 717 ReportBadFree(C, ArgVal, ArgExpr->getSourceRange()); in FreeMemAux() 734 ReportBadFree(C, ArgVal, ArgExpr->getSourceRange()); in FreeMemAux() [all …]
|
D | ChrootChecker.cpp | 108 SVal ArgVal = state->getSVal(ArgExpr, C.getLocationContext()); in Chdir() local 110 if (const MemRegion *R = ArgVal.getAsRegion()) { in Chdir()
|
D | BasicObjCFoundationChecks.cpp | 420 SVal ArgVal = state->getSVal(Arg, C.getLocationContext()); in checkPreStmt() local 421 Optional<DefinedSVal> DefArgVal = ArgVal.getAs<DefinedSVal>(); in checkPreStmt()
|
D | CStringChecker.cpp | 1138 SVal ArgVal = state->getSVal(Arg, LCtx); in evalstrLengthCommon() local 1140 state = checkNonNull(C, state, Arg, ArgVal); in evalstrLengthCommon() 1145 SVal strLength = getCStringLength(C, state, Arg, ArgVal); in evalstrLengthCommon()
|
/external/llvm/lib/Target/X86/ |
D | X86FastISel.cpp | 1705 Value *ArgVal = *i; in DoSelectCall() local 1714 PointerType *Ty = cast<PointerType>(ArgVal->getType()); in DoSelectCall() 1735 if (ConstantInt *CI = dyn_cast<ConstantInt>(ArgVal)) { in DoSelectCall() 1739 ArgVal = ConstantExpr::getSExt(CI,Type::getInt32Ty(CI->getContext())); in DoSelectCall() 1741 ArgVal = ConstantExpr::getZExt(CI,Type::getInt32Ty(CI->getContext())); in DoSelectCall() 1749 if (ArgVal->getType()->isIntegerTy(1) && isa<TruncInst>(ArgVal) && in DoSelectCall() 1750 cast<TruncInst>(ArgVal)->getParent() == I->getParent() && in DoSelectCall() 1751 ArgVal->hasOneUse()) { in DoSelectCall() 1752 ArgVal = cast<TruncInst>(ArgVal)->getOperand(0); in DoSelectCall() 1753 ArgReg = getRegForValue(ArgVal); in DoSelectCall() [all …]
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CallEvent.cpp | 296 SVal ArgVal = Call.getArgSVal(Idx); in addParameterValuesToBindings() local 297 if (!ArgVal.isUnknown()) { in addParameterValuesToBindings() 299 Bindings.push_back(std::make_pair(ParamLoc, ArgVal)); in addParameterValuesToBindings()
|
/external/llvm/include/llvm/Support/ |
D | CommandLine.h | 625 StringRef ArgVal; 627 ArgVal = Arg; 629 ArgVal = ArgName; 632 if (Values[i].Name == ArgVal) { 637 return O.error("Cannot find option named '" + ArgVal + "'!");
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 2088 SelectionDAG &DAG, SDValue ArgVal, in extendArgForPPC64() argument 2091 ArgVal = DAG.getNode(ISD::AssertSext, dl, MVT::i64, ArgVal, in extendArgForPPC64() 2094 ArgVal = DAG.getNode(ISD::AssertZext, dl, MVT::i64, ArgVal, in extendArgForPPC64() 2097 return DAG.getNode(ISD::TRUNCATE, dl, MVT::i32, ArgVal); in extendArgForPPC64() 2177 SDValue ArgVal; in LowerFormalArguments_64SVR4() local 2296 ArgVal = DAG.getCopyFromReg(Chain, dl, VReg, MVT::i64); in LowerFormalArguments_64SVR4() 2301 ArgVal = extendArgForPPC64(Flags, ObjectVT, DAG, ArgVal, dl); in LowerFormalArguments_64SVR4() 2326 ArgVal = DAG.getCopyFromReg(Chain, dl, VReg, ObjectVT); in LowerFormalArguments_64SVR4() 2343 ArgVal = DAG.getCopyFromReg(Chain, dl, VReg, ObjectVT); in LowerFormalArguments_64SVR4() 2371 ArgVal = DAG.getLoad(ObjectVT, dl, Chain, FIN, MachinePointerInfo(), in LowerFormalArguments_64SVR4() [all …]
|
D | PPCISelLowering.h | 554 SDValue ArgVal, DebugLoc dl) const;
|