Home
last modified time | relevance | path

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

/external/clang/lib/StaticAnalyzer/Checkers/
DChrootChecker.cpp108 SVal ArgVal = state->getSVal(ArgExpr, C.getLocationContext()); in Chdir() local
110 if (const MemRegion *R = ArgVal.getAsRegion()) { in Chdir()
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,
1313 SVal ArgVal = State->getSVal(ArgExpr, C.getLocationContext()); in FreeMemAux() local
1314 if (!ArgVal.getAs<DefinedOrUnknownSVal>()) in FreeMemAux()
1316 DefinedOrUnknownSVal location = ArgVal.castAs<DefinedOrUnknownSVal>(); in FreeMemAux()
1330 if (ArgVal.isUnknownOrUndef()) in FreeMemAux()
1333 const MemRegion *R = ArgVal.getAsRegion(); in FreeMemAux()
1338 ReportBadFree(C, ArgVal, ArgExpr->getSourceRange(), ParentExpr); in FreeMemAux()
1346 ReportBadFree(C, ArgVal, ArgExpr->getSourceRange(), ParentExpr); in FreeMemAux()
[all …]
DBasicObjCFoundationChecks.cpp574 SVal ArgVal = state->getSVal(Arg, C.getLocationContext()); in checkPreStmt() local
575 Optional<DefinedSVal> DefArgVal = ArgVal.getAs<DefinedSVal>(); in checkPreStmt()
DCStringChecker.cpp1269 SVal ArgVal = state->getSVal(Arg, LCtx); in evalstrLengthCommon() local
1271 state = checkNonNull(C, state, Arg, ArgVal); in evalstrLengthCommon()
1276 SVal strLength = getCStringLength(C, state, Arg, ArgVal); in evalstrLengthCommon()
DRetainCountChecker.cpp2976 SVal ArgVal, in updateOutParameter() argument
2978 auto *ArgRegion = dyn_cast_or_null<TypedValueRegion>(ArgVal.getAsRegion()); in updateOutParameter()
/external/clang/lib/CodeGen/
DCGDecl.cpp1786 llvm::Value *ArgVal = (DoStore ? Arg.getDirectValue() : nullptr); in EmitParmDecl() local
1818 EmitARCStoreStrongCall(lv.getAddress(), ArgVal, true); in EmitParmDecl()
1825 ArgVal = EmitARCRetainNonBlock(ArgVal); in EmitParmDecl()
1832 EHStack.pushCleanup<ConsumeARCParameter>(getARCCleanupKind(), ArgVal, in EmitParmDecl()
1837 EmitARCInitWeak(DeclPtr, ArgVal); in EmitParmDecl()
1849 EmitStoreOfScalar(ArgVal, lv, /* isInitialization */ true); in EmitParmDecl()
DCGOpenMPRuntime.cpp1123 auto ArgVal = CtorCGF.EmitLoadOfScalar( in emitThreadPrivateVarDefinition() local
1126 Address Arg = Address(ArgVal, VDAddr.getAlignment()); in emitThreadPrivateVarDefinition()
1131 ArgVal = CtorCGF.EmitLoadOfScalar( in emitThreadPrivateVarDefinition()
1134 CtorCGF.Builder.CreateStore(ArgVal, CtorCGF.ReturnValue); in emitThreadPrivateVarDefinition()
1155 auto ArgVal = DtorCGF.EmitLoadOfScalar( in emitThreadPrivateVarDefinition() local
1158 DtorCGF.emitDestroy(Address(ArgVal, VDAddr.getAlignment()), ASTTy, in emitThreadPrivateVarDefinition()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp3024 SelectionDAG &DAG, SDValue ArgVal, in extendArgForPPC64() argument
3027 ArgVal = DAG.getNode(ISD::AssertSext, dl, MVT::i64, ArgVal, in extendArgForPPC64()
3030 ArgVal = DAG.getNode(ISD::AssertZext, dl, MVT::i64, ArgVal, in extendArgForPPC64()
3033 return DAG.getNode(ISD::TRUNCATE, dl, ObjectVT, ArgVal); in extendArgForPPC64()
3113 SDValue ArgVal; in LowerFormalArguments_64SVR4() local
3255 ArgVal = DAG.getCopyFromReg(Chain, dl, VReg, MVT::i64); in LowerFormalArguments_64SVR4()
3258 ArgVal = extendArgForPPC64(Flags, ObjectVT, DAG, ArgVal, dl); in LowerFormalArguments_64SVR4()
3268 ArgVal = DAG.getCopyFromReg(Chain, dl, VReg, MVT::i64); in LowerFormalArguments_64SVR4()
3273 ArgVal = extendArgForPPC64(Flags, ObjectVT, DAG, ArgVal, dl); in LowerFormalArguments_64SVR4()
3303 ArgVal = DAG.getCopyFromReg(Chain, dl, VReg, ObjectVT); in LowerFormalArguments_64SVR4()
[all …]
DPPCISelLowering.h806 SDValue ArgVal, SDLoc dl) const;
/external/llvm/include/llvm/Support/
DCommandLine.h678 StringRef ArgVal;
680 ArgVal = Arg;
682 ArgVal = ArgName;
685 if (Values[i].Name == ArgVal) {
690 return O.error("Cannot find option named '" + ArgVal + "'!");
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp319 SVal ArgVal = Call.getArgSVal(Idx); in addParameterValuesToBindings() local
320 if (!ArgVal.isUnknown()) { in addParameterValuesToBindings()
322 Bindings.push_back(std::make_pair(ParamLoc, ArgVal)); in addParameterValuesToBindings()
DExprEngine.cpp615 SVal ArgVal = State->getSVal(Arg, LCtx); in ProcessDeleteDtor() local
619 if (State->isNull(ArgVal).isConstrainedTrue()) { in ProcessDeleteDtor()
632 ArgVal.getAsRegion(), in ProcessDeleteDtor()
/external/llvm/lib/Target/Mips/
DMipsFastISel.cpp1091 const Value *ArgVal = CLI.OutVals[VA.getValNo()]; in processCallArgs() local
1130 unsigned ArgReg = getRegForValue(ArgVal); in processCallArgs()
1175 if (isa<UndefValue>(ArgVal)) in processCallArgs()
1194 unsigned Alignment = DL.getABITypeAlignment(ArgVal->getType()); in processCallArgs()
/external/llvm/lib/Target/X86/
DX86FastISel.cpp2951 const Value *ArgVal = OutVals[VA.getValNo()]; in fastLowerCall() local
3026 if (isa<UndefValue>(ArgVal)) in fastLowerCall()
3034 unsigned Alignment = DL.getABITypeAlignment(ArgVal->getType()); in fastLowerCall()
3043 } else if (isa<ConstantInt>(ArgVal) || isa<ConstantPointerNull>(ArgVal)) { in fastLowerCall()
3047 if (!X86FastEmitStore(ArgVT, ArgVal, AM, MMO)) in fastLowerCall()
3050 bool ValIsKill = hasTrivialKill(ArgVal); in fastLowerCall()
/external/llvm/lib/Analysis/
DCFLAliasAnalysis.cpp323 auto &ArgVal = Arguments[I]; in tryInterproceduralAnalysis() local
342 Output.push_back(Edge(FuncValue, ArgVal, EdgeType::Assign, in tryInterproceduralAnalysis()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp1620 const APFloat &ArgVal = C->getValueAPF(); in visitCallInst() local
1621 APFloat Val(ArgVal.getSemantics(), 1.0); in visitCallInst()
1622 APFloat::opStatus Status = Val.divide(ArgVal, in visitCallInst()
/external/llvm/lib/Target/AArch64/
DAArch64FastISel.cpp2921 const Value *ArgVal = CLI.OutVals[VA.getValNo()]; in processCallArgs() local
2924 unsigned ArgReg = getRegForValue(ArgVal); in processCallArgs()
2966 if (isa<UndefValue>(ArgVal)) in processCallArgs()
2981 unsigned Alignment = DL.getABITypeAlignment(ArgVal->getType()); in processCallArgs()
/external/llvm/lib/Target/ARM/
DARMFastISel.cpp1944 const Value *ArgVal = Args[VA.getValNo()]; in ProcessCallArgs() local
2007 if (isa<UndefValue>(ArgVal)) in ProcessCallArgs()