Searched refs:LVal (Results 1 - 16 of 16) sorted by relevance

/netbsd-current/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DInvalidatedIteratorChecker.cpp93 SVal LVal = State->getSVal(BO->getLHS(), C.getLocationContext()); local
96 verifyAccess(C, LVal);
103 SVal LVal = State->getSVal(ASE->getLHS(), C.getLocationContext()); local
104 verifyAccess(C, LVal);
H A DIteratorRangeChecker.cpp166 SVal LVal = State->getSVal(BO->getLHS(), C.getLocationContext()); local
169 verifyDereference(C, LVal);
174 verifyRandomIncrOrDecr(C, BinaryOperator::getOverloadedOperator(OK), LVal,
182 SVal LVal = State->getSVal(ASE->getLHS(), C.getLocationContext()); local
183 verifyDereference(C, LVal);
H A DMismatchedIteratorChecker.cpp198 SVal LVal = State->getSVal(BO->getLHS(), C.getLocationContext()); local
200 verifyMatch(C, LVal, RVal);
H A DIteratorModeling.cpp101 const SVal &LVal, const SVal &RVal,
269 const SVal LVal = State->getSVal(LHS, C.getLocationContext()); local
274 handleComparison(C, BO, Result, LVal, RVal,
286 const SVal &AmountVal = IsIterOnLHS ? RVal : LVal;
450 SVal RetVal, const SVal &LVal,
458 const auto *LPos = getIteratorPosition(State, LVal);
480 State = setIteratorPosition(State, LVal,
482 LPos = getIteratorPosition(State, LVal);
449 handleComparison(CheckerContext &C, const Expr *CE, SVal RetVal, const SVal &LVal, const SVal &RVal, OverloadedOperatorKind Op) const argument
H A DCheckObjCDealloc.cpp284 SVal LVal = State->getLValue(PropImpl->getPropertyIvarDecl(), SelfVal); local
285 Optional<Loc> LValLoc = LVal.getAs<Loc>();
955 SVal LVal = State->getLValue(PropIvarDecl, ReceiverVal); local
956 Optional<Loc> LValLoc = LVal.getAs<Loc>();
/netbsd-current/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGAtomic.cpp40 LValue LVal; member in class:__anon409::AtomicInfo
74 LVal = lvalue;
97 LVal = LValue::MakeBitfield(Address(Addr, lvalue.getAlignment()),
116 LVal = lvalue;
127 LVal = lvalue;
140 const LValue &getAtomicLValue() const { return LVal; }
142 if (LVal.isSimple())
143 return LVal.getPointer(CGF);
144 else if (LVal.isBitField())
145 return LVal
2007 LValue LVal = atomics.getAtomicLValue(); local
2085 EmitAtomicUpdate( LValue LVal, llvm::AtomicOrdering AO, const llvm::function_ref<RValue(RValue)> &UpdateOp, bool IsVolatile) argument
[all...]
H A DCGStmtOpenMP.cpp3643 LValue LVal = CGF.MakeAddrLValue(CGF.CreateMemTemp(Ty, Name), Ty); local
3645 CGF.EmitStoreThroughLValue(RValue::get(Init), LVal, /*isInit*/ true); local
3646 return LVal;
5355 LValue LVal, RValue RVal) {
5356 if (LVal.isGlobalReg())
5357 CGF.EmitStoreThroughGlobalRegLValue(RVal, LVal);
5359 CGF.EmitAtomicStore(RVal, LVal, AO, LVal.isVolatile(), /*isInit=*/false);
5363 llvm::AtomicOrdering AO, LValue LVal,
5365 if (LVal
5354 emitSimpleAtomicStore(CodeGenFunction &CGF, llvm::AtomicOrdering AO, LValue LVal, RValue RVal) argument
5362 emitSimpleAtomicLoad(CodeGenFunction &CGF, llvm::AtomicOrdering AO, LValue LVal, SourceLocation Loc) argument
5372 emitOMPSimpleStore(LValue LVal, RValue RVal, QualType RValTy, SourceLocation Loc) argument
5378 LVal); local
[all...]
H A DCGOpenMPRuntime.cpp1483 LValue LVal = OMPRegionInfo->getThreadIDVariableLValue(CGF); local
1488 !isa<llvm::Instruction>(LVal.getPointer(CGF)) ||
1489 cast<llvm::Instruction>(LVal.getPointer(CGF))->getParent() ==
1491 cast<llvm::Instruction>(LVal.getPointer(CGF))->getParent() ==
1493 ThreadID = CGF.EmitLoadOfScalar(LVal, Loc);
12393 LValue LVal,
12407 CGF.ConvertTypeForMem(LVal.getType()), UniqueDeclName);
12409 LVal.getAlignment().getAsAlign());
12411 CGF.MakeAddrLValue(Last, LVal.getType(), LVal
[all...]
H A DCGExprComplex.cpp1153 LValue LVal = ComplexExprEmitter(*this).EmitBinAssignLValue(E, Val); local
1157 return LVal;
H A DCGOpenMPRuntime.h882 StringRef UniqueDeclName, LValue LVal,
1819 /// Checks if the provided \p LVal is lastprivate conditional and emits the
H A DCodeGenFunction.h3290 void emitOMPSimpleStore(LValue LVal, RValue RVal, QualType RValTy,
3739 void EmitAtomicUpdate(LValue LVal, llvm::AtomicOrdering AO,
/netbsd-current/external/apache2/llvm/dist/clang/lib/AST/
H A DAPValue.cpp915 const LV &LVal = *((const LV *)(const char *)&Data); local
916 return llvm::makeArrayRef(LVal.getPath(), LVal.PathLength);
937 LV &LVal = *((LV *)(char *)&Data); local
938 LVal.Base = B;
939 LVal.IsOnePastTheEnd = false;
940 LVal.Offset = O;
941 LVal.resizePath((unsigned)-1);
942 LVal.IsNullPtr = IsNullPtr;
949 LV &LVal local
[all...]
H A DExprConstant.cpp2028 static const ValueDecl *GetLValueBaseDecl(const LValue &LVal) {
2029 return LVal.Base.dyn_cast<const ValueDecl*>();
2122 QualType Type, const LValue &LVal,
2127 APValue::LValueBase Base = LVal.getLValueBase();
2128 const SubobjectDesignator &Designator = LVal.getLValueDesignator();
2198 LVal.getLValueCallIndex() == 0) &&
2398 LValue LVal;
2399 LVal.setFrom(Info.Ctx, Value);
2400 return CheckLValueConstantExpression(Info, DiagLoc, Type, LVal, Kind,
3119 /// Update LVal t
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaStmtAsm.cpp70 static void emitAndFixInvalidAsmCastLValue(const Expr *LVal, Expr *BadArgument, argument
73 S.Diag(LVal->getBeginLoc(), diag::err_invalid_asm_cast_lvalue)
76 S.Diag(LVal->getBeginLoc(), diag::warn_invalid_asm_cast_lvalue)
323 const Expr *LVal = OutputExpr->IgnoreParenNoopCasts(Context); local
324 emitAndFixInvalidAsmCastLValue(LVal, OutputExpr, *this);
/netbsd-current/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp2091 SVal LVal = LVNode->getSVal(Inner); local
2094 bool LVIsNull = LVState->isNull(LVal).isConstrainedTrue();
2100 if (auto KV = LVal.getAs<KnownSVal>())
2106 // If the LVal is null, check if we are dealing with null reference.
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp2749 static bool isCompatibleIVType(Value *LVal, Value *RVal) { argument
2750 Type *LType = LVal->getType();

Completed in 489 milliseconds