Home
last modified time | relevance | path

Searched refs:ArgVal (Results 1 – 10 of 10) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
DMallocChecker.cpp112 void ReportBadFree(CheckerContext &C, SVal ArgVal, SourceRange range) const;
274 SVal ArgVal = state->getSVal(ArgExpr); in FreeMemAux() local
276 DefinedOrUnknownSVal location = cast<DefinedOrUnknownSVal>(ArgVal); in FreeMemAux()
295 if (ArgVal.isUnknownOrUndef()) in FreeMemAux()
298 const MemRegion *R = ArgVal.getAsRegion(); in FreeMemAux()
303 ReportBadFree(C, ArgVal, ArgExpr->getSourceRange()); in FreeMemAux()
311 ReportBadFree(C, ArgVal, ArgExpr->getSourceRange()); in FreeMemAux()
327 ReportBadFree(C, ArgVal, ArgExpr->getSourceRange()); in FreeMemAux()
455 void MallocChecker::ReportBadFree(CheckerContext &C, SVal ArgVal, in ReportBadFree() argument
464 const MemRegion *MR = ArgVal.getAsRegion(); in ReportBadFree()
[all …]
DChrootChecker.cpp111 SVal ArgVal = state->getSVal(ArgExpr); in Chdir() local
113 if (const MemRegion *R = ArgVal.getAsRegion()) { in Chdir()
DBasicObjCFoundationChecks.cpp390 SVal ArgVal = state->getSVal(Arg); in checkPreStmt() local
391 DefinedSVal *DefArgVal = dyn_cast<DefinedSVal>(&ArgVal); in checkPreStmt()
DCStringChecker.cpp1057 SVal ArgVal = state->getSVal(Arg); in evalstrLengthCommon() local
1059 state = checkNonNull(C, state, Arg, ArgVal); in evalstrLengthCommon()
1064 SVal strLength = getCStringLength(C, state, Arg, ArgVal); in evalstrLengthCommon()
/external/llvm/lib/Target/X86/
DX86FastISel.cpp1541 Value *ArgVal = *i; in DoSelectCall() local
1550 PointerType *Ty = cast<PointerType>(ArgVal->getType()); in DoSelectCall()
1571 if (ConstantInt *CI = dyn_cast<ConstantInt>(ArgVal)) { in DoSelectCall()
1575 ArgVal = ConstantExpr::getSExt(CI,Type::getInt32Ty(CI->getContext())); in DoSelectCall()
1577 ArgVal = ConstantExpr::getZExt(CI,Type::getInt32Ty(CI->getContext())); in DoSelectCall()
1585 if (ArgVal->getType()->isIntegerTy(1) && isa<TruncInst>(ArgVal) && in DoSelectCall()
1586 cast<TruncInst>(ArgVal)->getParent() == I->getParent() && in DoSelectCall()
1587 ArgVal->hasOneUse()) { in DoSelectCall()
1588 ArgVal = cast<TruncInst>(ArgVal)->getOperand(0); in DoSelectCall()
1589 ArgReg = getRegForValue(ArgVal); in DoSelectCall()
[all …]
/external/llvm/lib/Target/Alpha/
DAlphaISelLowering.cpp404 SDValue ArgVal; in LowerFormalArguments() local
413 ArgVal = DAG.getCopyFromReg(Chain, dl, args_float[ArgNo], ObjectVT); in LowerFormalArguments()
418 ArgVal = DAG.getCopyFromReg(Chain, dl, args_float[ArgNo], ObjectVT); in LowerFormalArguments()
423 ArgVal = DAG.getCopyFromReg(Chain, dl, args_int[ArgNo], MVT::i64); in LowerFormalArguments()
433 ArgVal = DAG.getLoad(ObjectVT, dl, Chain, FIN, MachinePointerInfo(), in LowerFormalArguments()
436 InVals.push_back(ArgVal); in LowerFormalArguments()
/external/llvm/include/llvm/Support/
DCommandLine.h617 StringRef ArgVal;
619 ArgVal = Arg;
621 ArgVal = ArgName;
625 if (Values[i].Name == ArgVal) {
630 return O.error("Cannot find option named '" + ArgVal + "'!");
/external/clang/lib/StaticAnalyzer/Core/
DRegionStore.cpp1809 SVal ArgVal = state->getSVal(*AI); in enterStackFrame() local
1811 svalBuilder.makeLoc(MRMgr.getVarRegion(*PI, frame)), ArgVal); in enterStackFrame()
1820 SVal ArgVal = state->getSVal(*AI); in enterStackFrame() local
1822 svalBuilder.makeLoc(MRMgr.getVarRegion(*PI,frame)), ArgVal); in enterStackFrame()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp1933 SDValue ArgVal; in LowerFormalArguments_Darwin() local
2025 ArgVal = DAG.getCopyFromReg(Chain, dl, VReg, MVT::i32); in LowerFormalArguments_Darwin()
2039 ArgVal = DAG.getCopyFromReg(Chain, dl, VReg, MVT::i64); in LowerFormalArguments_Darwin()
2045 ArgVal = DAG.getNode(ISD::AssertSext, dl, MVT::i64, ArgVal, in LowerFormalArguments_Darwin()
2048 ArgVal = DAG.getNode(ISD::AssertZext, dl, MVT::i64, ArgVal, in LowerFormalArguments_Darwin()
2051 ArgVal = DAG.getNode(ISD::TRUNCATE, dl, MVT::i32, ArgVal); in LowerFormalArguments_Darwin()
2080 ArgVal = DAG.getCopyFromReg(Chain, dl, VReg, ObjectVT); in LowerFormalArguments_Darwin()
2097 ArgVal = DAG.getCopyFromReg(Chain, dl, VReg, ObjectVT); in LowerFormalArguments_Darwin()
2131 ArgVal = DAG.getLoad(ObjectVT, dl, Chain, FIN, MachinePointerInfo(), in LowerFormalArguments_Darwin()
2135 InVals.push_back(ArgVal); in LowerFormalArguments_Darwin()
/external/llvm/lib/Target/CellSPU/
DSPUISelLowering.cpp1131 SDValue ArgVal; in LowerFormalArguments() local
1174 ArgVal = DAG.getCopyFromReg(Chain, dl, VReg, ObjectVT); in LowerFormalArguments()
1182 ArgVal = DAG.getLoad(ObjectVT, dl, Chain, FIN, MachinePointerInfo(), in LowerFormalArguments()
1187 InVals.push_back(ArgVal); in LowerFormalArguments()
1189 Chain = ArgVal.getOperand(0); in LowerFormalArguments()
1221 SDValue ArgVal = DAG.getRegister(VReg, MVT::v16i8); in LowerFormalArguments() local
1222 SDValue Store = DAG.getStore(Chain, dl, ArgVal, FIN, MachinePointerInfo(), in LowerFormalArguments()