Home
last modified time | relevance | path

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

/external/clang/lib/StaticAnalyzer/Checkers/
DMallocChecker.cpp365 void ReportBadFree(CheckerContext &C, SVal ArgVal, SourceRange Range,
367 void ReportFreeAlloca(CheckerContext &C, SVal ArgVal,
372 void ReportOffsetFree(CheckerContext &C, SVal ArgVal, SourceRange Range,
1309 SVal ArgVal = State->getSVal(ArgExpr, C.getLocationContext()); in FreeMemAux() local
1310 if (!ArgVal.getAs<DefinedOrUnknownSVal>()) in FreeMemAux()
1312 DefinedOrUnknownSVal location = ArgVal.castAs<DefinedOrUnknownSVal>(); in FreeMemAux()
1326 if (ArgVal.isUnknownOrUndef()) in FreeMemAux()
1329 const MemRegion *R = ArgVal.getAsRegion(); in FreeMemAux()
1334 ReportBadFree(C, ArgVal, ArgExpr->getSourceRange(), ParentExpr); in FreeMemAux()
1342 ReportBadFree(C, ArgVal, ArgExpr->getSourceRange(), ParentExpr); in FreeMemAux()
[all …]
DChrootChecker.cpp108 SVal ArgVal = state->getSVal(ArgExpr, C.getLocationContext()); in Chdir() local
110 if (const MemRegion *R = ArgVal.getAsRegion()) { in Chdir()
DBasicObjCFoundationChecks.cpp574 SVal ArgVal = state->getSVal(Arg, C.getLocationContext()); in checkPreStmt() local
575 Optional<DefinedSVal> DefArgVal = ArgVal.getAs<DefinedSVal>(); in checkPreStmt()
DCStringChecker.cpp1188 SVal ArgVal = state->getSVal(Arg, LCtx); in evalstrLengthCommon() local
1190 state = checkNonNull(C, state, Arg, ArgVal); in evalstrLengthCommon()
1195 SVal strLength = getCStringLength(C, state, Arg, ArgVal); in evalstrLengthCommon()
/external/llvm/include/llvm/Support/
DCommandLine.h676 StringRef ArgVal;
678 ArgVal = Arg;
680 ArgVal = ArgName;
683 if (Values[i].Name == ArgVal) {
688 return O.error("Cannot find option named '" + ArgVal + "'!");
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp2829 SelectionDAG &DAG, SDValue ArgVal, in extendArgForPPC64() argument
2832 ArgVal = DAG.getNode(ISD::AssertSext, dl, MVT::i64, ArgVal, in extendArgForPPC64()
2835 ArgVal = DAG.getNode(ISD::AssertZext, dl, MVT::i64, ArgVal, in extendArgForPPC64()
2838 return DAG.getNode(ISD::TRUNCATE, dl, ObjectVT, ArgVal); in extendArgForPPC64()
2914 SDValue ArgVal; in LowerFormalArguments_64SVR4() local
3058 ArgVal = DAG.getCopyFromReg(Chain, dl, VReg, MVT::i64); in LowerFormalArguments_64SVR4()
3063 ArgVal = extendArgForPPC64(Flags, ObjectVT, DAG, ArgVal, dl); in LowerFormalArguments_64SVR4()
3090 ArgVal = DAG.getCopyFromReg(Chain, dl, VReg, ObjectVT); in LowerFormalArguments_64SVR4()
3100 ArgVal = DAG.getCopyFromReg(Chain, dl, VReg, MVT::i64); in LowerFormalArguments_64SVR4()
3104 ArgVal = DAG.getNode(ISD::SRL, dl, MVT::i64, ArgVal, in LowerFormalArguments_64SVR4()
[all …]
DPPCISelLowering.h764 SDValue ArgVal, SDLoc dl) const;
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp301 SVal ArgVal = Call.getArgSVal(Idx); in addParameterValuesToBindings() local
302 if (!ArgVal.isUnknown()) { in addParameterValuesToBindings()
304 Bindings.push_back(std::make_pair(ParamLoc, ArgVal)); in addParameterValuesToBindings()
DExprEngine.cpp610 SVal ArgVal = State->getSVal(Arg, LCtx); in ProcessDeleteDtor() local
614 if (State->isNull(ArgVal).isConstrainedTrue()) { in ProcessDeleteDtor()
627 ArgVal.getAsRegion(), in ProcessDeleteDtor()
/external/clang/lib/CodeGen/
DCGOpenMPRuntime.cpp852 auto ArgVal = CtorCGF.EmitLoadOfScalar( in emitThreadPrivateVarDefinition() local
857 ArgVal, in emitThreadPrivateVarDefinition()
861 ArgVal = CtorCGF.EmitLoadOfScalar( in emitThreadPrivateVarDefinition()
865 CtorCGF.Builder.CreateStore(ArgVal, CtorCGF.ReturnValue); in emitThreadPrivateVarDefinition()
886 auto ArgVal = DtorCGF.EmitLoadOfScalar( in emitThreadPrivateVarDefinition() local
890 DtorCGF.emitDestroy(ArgVal, ASTTy, in emitThreadPrivateVarDefinition()
/external/llvm/lib/Target/Mips/
DMipsFastISel.cpp961 const Value *ArgVal = CLI.OutVals[VA.getValNo()]; in processCallArgs() local
998 unsigned ArgReg = getRegForValue(ArgVal); in processCallArgs()
1043 if (isa<UndefValue>(ArgVal)) in processCallArgs()
1062 unsigned Alignment = DL.getABITypeAlignment(ArgVal->getType()); in processCallArgs()
/external/llvm/lib/Target/X86/
DX86FastISel.cpp2916 const Value *ArgVal = OutVals[VA.getValNo()]; in fastLowerCall() local
2991 if (isa<UndefValue>(ArgVal)) in fastLowerCall()
2999 unsigned Alignment = DL.getABITypeAlignment(ArgVal->getType()); in fastLowerCall()
3008 } else if (isa<ConstantInt>(ArgVal) || isa<ConstantPointerNull>(ArgVal)) { in fastLowerCall()
3012 if (!X86FastEmitStore(ArgVT, ArgVal, AM, MMO)) in fastLowerCall()
3015 bool ValIsKill = hasTrivialKill(ArgVal); in fastLowerCall()
/external/llvm/lib/Analysis/
DCFLAliasAnalysis.cpp429 auto &ArgVal = Arguments[I]; in tryInterproceduralAnalysis() local
448 Output.push_back(Edge(FuncValue, ArgVal, EdgeType::Assign, in tryInterproceduralAnalysis()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp1073 const APFloat &ArgVal = C->getValueAPF(); in visitCallInst() local
1074 APFloat Val(ArgVal.getSemantics(), 1.0); in visitCallInst()
1075 APFloat::opStatus Status = Val.divide(ArgVal, in visitCallInst()
/external/llvm/lib/Target/AArch64/
DAArch64FastISel.cpp2945 const Value *ArgVal = CLI.OutVals[VA.getValNo()]; in processCallArgs() local
2948 unsigned ArgReg = getRegForValue(ArgVal); in processCallArgs()
2990 if (isa<UndefValue>(ArgVal)) in processCallArgs()
3005 unsigned Alignment = DL.getABITypeAlignment(ArgVal->getType()); in processCallArgs()
/external/llvm/lib/Target/ARM/
DARMFastISel.cpp1946 const Value *ArgVal = Args[VA.getValNo()]; in ProcessCallArgs() local
2009 if (isa<UndefValue>(ArgVal)) in ProcessCallArgs()