Home
last modified time | relevance | path

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

12

/external/clang/lib/StaticAnalyzer/Checkers/
DChrootChecker.cpp109 SVal ArgVal = state->getSVal(ArgExpr, C.getLocationContext()); in Chdir() local
111 if (const MemRegion *R = ArgVal.getAsRegion()) { in Chdir()
DMallocChecker.cpp368 void ReportBadFree(CheckerContext &C, SVal ArgVal, SourceRange Range,
370 void ReportFreeAlloca(CheckerContext &C, SVal ArgVal,
375 void ReportOffsetFree(CheckerContext &C, SVal ArgVal, SourceRange Range,
1321 SVal ArgVal = State->getSVal(ArgExpr, C.getLocationContext()); in FreeMemAux() local
1322 if (!ArgVal.getAs<DefinedOrUnknownSVal>()) in FreeMemAux()
1324 DefinedOrUnknownSVal location = ArgVal.castAs<DefinedOrUnknownSVal>(); in FreeMemAux()
1338 if (ArgVal.isUnknownOrUndef()) in FreeMemAux()
1341 const MemRegion *R = ArgVal.getAsRegion(); in FreeMemAux()
1346 ReportBadFree(C, ArgVal, ArgExpr->getSourceRange(), ParentExpr); in FreeMemAux()
1354 ReportBadFree(C, ArgVal, ArgExpr->getSourceRange(), ParentExpr); in FreeMemAux()
[all …]
DBasicObjCFoundationChecks.cpp573 SVal ArgVal = state->getSVal(Arg, C.getLocationContext()); in checkPreStmt() local
574 Optional<DefinedSVal> DefArgVal = ArgVal.getAs<DefinedSVal>(); in checkPreStmt()
DCStringChecker.cpp1273 SVal ArgVal = state->getSVal(Arg, LCtx); in evalstrLengthCommon() local
1275 state = checkNonNull(C, state, Arg, ArgVal); in evalstrLengthCommon()
1280 SVal strLength = getCStringLength(C, state, Arg, ArgVal); in evalstrLengthCommon()
/external/clang/lib/Sema/
DSemaStmtAttr.cpp250 llvm::APSInt ArgVal(32); in handleOpenCLUnrollHint() local
252 if (!E->isIntegerConstantExpr(ArgVal, S.Context)) { in handleOpenCLUnrollHint()
258 int Val = ArgVal.getSExtValue(); in handleOpenCLUnrollHint()
/external/clang/lib/CodeGen/
DCGDecl.cpp1795 llvm::Value *ArgVal = (DoStore ? Arg.getDirectValue() : nullptr); in EmitParmDecl() local
1827 EmitARCStoreStrongCall(lv.getAddress(), ArgVal, true); in EmitParmDecl()
1834 ArgVal = EmitARCRetainNonBlock(ArgVal); in EmitParmDecl()
1841 EHStack.pushCleanup<ConsumeARCParameter>(getARCCleanupKind(), ArgVal, in EmitParmDecl()
1846 EmitARCInitWeak(DeclPtr, ArgVal); in EmitParmDecl()
1858 EmitStoreOfScalar(ArgVal, lv, /* isInitialization */ true); in EmitParmDecl()
/external/llvm/include/llvm/Support/
DCommandLine.h741 StringRef ArgVal;
743 ArgVal = Arg;
745 ArgVal = ArgName;
748 if (Values[i].Name == ArgVal) {
753 return O.error("Cannot find option named '" + ArgVal + "'!");
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DCommandLine.h772 StringRef ArgVal;
774 ArgVal = Arg;
776 ArgVal = ArgName;
779 if (Values[i].Name == ArgVal) {
784 return O.error("Cannot find option named '" + ArgVal + "'!");
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DCommandLine.h755 StringRef ArgVal;
757 ArgVal = Arg;
759 ArgVal = ArgName;
762 if (Values[i].Name == ArgVal) {
767 return O.error("Cannot find option named '" + ArgVal + "'!");
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp3114 SDValue ArgVal, in extendArgForPPC64() argument
3117 ArgVal = DAG.getNode(ISD::AssertSext, dl, MVT::i64, ArgVal, in extendArgForPPC64()
3120 ArgVal = DAG.getNode(ISD::AssertZext, dl, MVT::i64, ArgVal, in extendArgForPPC64()
3123 return DAG.getNode(ISD::TRUNCATE, dl, ObjectVT, ArgVal); in extendArgForPPC64()
3199 SDValue ArgVal; in LowerFormalArguments_64SVR4() local
3341 ArgVal = DAG.getCopyFromReg(Chain, dl, VReg, MVT::i64); in LowerFormalArguments_64SVR4()
3344 ArgVal = extendArgForPPC64(Flags, ObjectVT, DAG, ArgVal, dl); in LowerFormalArguments_64SVR4()
3354 ArgVal = DAG.getCopyFromReg(Chain, dl, VReg, MVT::i64); in LowerFormalArguments_64SVR4()
3359 ArgVal = extendArgForPPC64(Flags, ObjectVT, DAG, ArgVal, dl); in LowerFormalArguments_64SVR4()
3389 ArgVal = DAG.getCopyFromReg(Chain, dl, VReg, ObjectVT); in LowerFormalArguments_64SVR4()
[all …]
DPPCISelLowering.h873 SelectionDAG &DAG, SDValue ArgVal,
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp329 SVal ArgVal = Call.getArgSVal(Idx); in addParameterValuesToBindings() local
330 if (!ArgVal.isUnknown()) { in addParameterValuesToBindings()
332 Bindings.push_back(std::make_pair(ParamLoc, ArgVal)); in addParameterValuesToBindings()
DExprEngine.cpp616 SVal ArgVal = State->getSVal(Arg, LCtx); in ProcessDeleteDtor() local
620 if (State->isNull(ArgVal).isConstrainedTrue()) { in ProcessDeleteDtor()
633 ArgVal.getAsRegion(), in ProcessDeleteDtor()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp3601 SDValue ArgVal, in extendArgForPPC64() argument
3604 ArgVal = DAG.getNode(ISD::AssertSext, dl, MVT::i64, ArgVal, in extendArgForPPC64()
3607 ArgVal = DAG.getNode(ISD::AssertZext, dl, MVT::i64, ArgVal, in extendArgForPPC64()
3610 return DAG.getNode(ISD::TRUNCATE, dl, ObjectVT, ArgVal); in extendArgForPPC64()
3682 SDValue ArgVal; in LowerFormalArguments_64SVR4() local
3823 ArgVal = DAG.getCopyFromReg(Chain, dl, VReg, MVT::i64); in LowerFormalArguments_64SVR4()
3826 ArgVal = extendArgForPPC64(Flags, ObjectVT, DAG, ArgVal, dl); in LowerFormalArguments_64SVR4()
3837 ArgVal = DAG.getCopyFromReg(Chain, dl, VReg, MVT::i64); in LowerFormalArguments_64SVR4()
3842 ArgVal = extendArgForPPC64(Flags, ObjectVT, DAG, ArgVal, dl); in LowerFormalArguments_64SVR4()
3872 ArgVal = DAG.getCopyFromReg(Chain, dl, VReg, ObjectVT); in LowerFormalArguments_64SVR4()
[all …]
DPPCISelLowering.h1030 SelectionDAG &DAG, SDValue ArgVal,
/external/llvm/include/llvm/ExecutionEngine/Orc/
DRPCUtils.h275 Error operator()(ArgT &ArgVal, ArgTs &... ArgVals) { in operator()
276 this->Arg = std::move(ArgVal); in operator()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DCFLAndersAliasAnalysis.cpp410 auto ArgVal = InterfaceValue{Arg.getArgNo() + 1, 0}; in populateExternalRelations()
412 ExtRelations.push_back(ExternalRelation{ArgVal, RetVal, 0}); in populateExternalRelations()
/external/llvm/lib/Target/Mips/
DMipsFastISel.cpp1104 const Value *ArgVal = CLI.OutVals[VA.getValNo()]; in processCallArgs() local
1143 unsigned ArgReg = getRegForValue(ArgVal); in processCallArgs()
1188 if (isa<UndefValue>(ArgVal)) in processCallArgs()
1207 unsigned Alignment = DL.getABITypeAlignment(ArgVal->getType()); in processCallArgs()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsFastISel.cpp1142 const Value *ArgVal = CLI.OutVals[VA.getValNo()]; in processCallArgs() local
1181 unsigned ArgReg = getRegForValue(ArgVal); in processCallArgs()
1226 if (isa<UndefValue>(ArgVal)) in processCallArgs()
1245 unsigned Alignment = DL.getABITypeAlignment(ArgVal->getType()); in processCallArgs()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.h283 SDValue ArgVal,
/external/llvm/lib/Target/X86/
DX86FastISel.cpp3130 const Value *ArgVal = OutVals[VA.getValNo()]; in fastLowerCall() local
3220 if (isa<UndefValue>(ArgVal)) in fastLowerCall()
3228 unsigned Alignment = DL.getABITypeAlignment(ArgVal->getType()); in fastLowerCall()
3237 } else if (isa<ConstantInt>(ArgVal) || isa<ConstantPointerNull>(ArgVal)) { in fastLowerCall()
3241 if (!X86FastEmitStore(ArgVT, ArgVal, AM, MMO)) in fastLowerCall()
3244 bool ValIsKill = hasTrivialKill(ArgVal); in fastLowerCall()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86FastISel.cpp3338 const Value *ArgVal = OutVals[VA.getValNo()]; in fastLowerCall() local
3428 if (isa<UndefValue>(ArgVal)) in fastLowerCall()
3436 unsigned Alignment = DL.getABITypeAlignment(ArgVal->getType()); in fastLowerCall()
3445 } else if (isa<ConstantInt>(ArgVal) || isa<ConstantPointerNull>(ArgVal)) { in fastLowerCall()
3449 if (!X86FastEmitStore(ArgVT, ArgVal, AM, MMO)) in fastLowerCall()
3452 bool ValIsKill = hasTrivialKill(ArgVal); in fastLowerCall()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DInlineFunction.cpp1158 Value *ArgVal = CS.getArgument(Arg.getArgNo()); in AddAlignmentAssumptions() local
1159 if (getKnownAlignment(ArgVal, DL, CS.getInstruction(), AC, &DT) >= Align) in AddAlignmentAssumptions()
1163 .CreateAlignmentAssumption(DL, ArgVal, Align); in AddAlignmentAssumptions()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/Orc/
DRPCUtils.h878 Error operator()(ArgT &ArgVal, ArgTs &... ArgVals) { in operator()
879 this->Arg = std::move(ArgVal); in operator()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp2160 const APFloat &ArgVal = C->getValueAPF(); in visitCallInst() local
2161 APFloat Val(ArgVal.getSemantics(), 1.0); in visitCallInst()
2162 APFloat::opStatus Status = Val.divide(ArgVal, in visitCallInst()

12