| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGAtomic.cpp | 39 LValue LVal; member in __anon5e56f1450111::AtomicInfo 73 LVal = lvalue; in AtomicInfo() 95 LVal = LValue::MakeBitfield( in AtomicInfo() 114 LVal = lvalue; in AtomicInfo() 125 LVal = lvalue; in AtomicInfo() 138 const LValue &getAtomicLValue() const { return LVal; } in getAtomicLValue() 140 if (LVal.isSimple()) in getAtomicPointer() 141 return LVal.emitRawPointer(CGF); in getAtomicPointer() 142 else if (LVal.isBitField()) in getAtomicPointer() 143 return LVal.getRawBitFieldPointer(CGF); in getAtomicPointer() [all …]
|
| H A D | CGStmtOpenMP.cpp | 4167 LValue LVal = CGF.MakeAddrLValue(CGF.CreateMemTemp(Ty, Name), Ty); in createSectionLVal() local 4169 CGF.EmitStoreThroughLValue(RValue::get(Init), LVal, /*isInit*/ true); in createSectionLVal() 4170 return LVal; in createSectionLVal() 6274 LValue LVal, RValue RVal) { in emitSimpleAtomicStore() argument 6275 if (LVal.isGlobalReg()) in emitSimpleAtomicStore() 6276 CGF.EmitStoreThroughGlobalRegLValue(RVal, LVal); in emitSimpleAtomicStore() 6278 CGF.EmitAtomicStore(RVal, LVal, AO, LVal.isVolatile(), /*isInit=*/false); in emitSimpleAtomicStore() 6282 llvm::AtomicOrdering AO, LValue LVal, in emitSimpleAtomicLoad() argument 6284 if (LVal.isGlobalReg()) in emitSimpleAtomicLoad() 6285 return CGF.EmitLoadOfLValue(LVal, Loc); in emitSimpleAtomicLoad() [all …]
|
| H A D | CGOpenMPRuntime.cpp | 1425 LValue LVal = OMPRegionInfo->getThreadIDVariableLValue(CGF); in getThreadID() local 1430 !isa<llvm::Instruction>(LVal.getPointer(CGF)) || in getThreadID() 1431 cast<llvm::Instruction>(LVal.getPointer(CGF))->getParent() == in getThreadID() 1433 cast<llvm::Instruction>(LVal.getPointer(CGF))->getParent() == in getThreadID() 1435 ThreadID = CGF.EmitLoadOfScalar(LVal, Loc); in getThreadID() 11813 LValue LVal, in emitLastprivateConditionalUpdate() argument 11828 CGF.ConvertTypeForMem(LVal.getType()), UniqueDeclName); in emitLastprivateConditionalUpdate() 11830 LVal.getAlignment().getAsAlign()); in emitLastprivateConditionalUpdate() 11832 CGF.MakeRawAddrLValue(Last, LVal.getType(), LVal.getAlignment()); in emitLastprivateConditionalUpdate() 11843 auto &&CodeGen = [&LastIVLVal, &IVLVal, IVVal, &LVal, &LastLVal, in emitLastprivateConditionalUpdate() [all …]
|
| H A D | CGExprComplex.cpp | 1521 LValue LVal = ComplexExprEmitter(*this).EmitBinAssignLValue(E, Val); in EmitComplexAssignmentLValue() local 1525 return LVal; in EmitComplexAssignmentLValue()
|
| H A D | CGOpenMPRuntime.h | 589 StringRef UniqueDeclName, LValue LVal,
|
| H A D | CodeGenFunction.h | 3700 void emitOMPSimpleStore(LValue LVal, RValue RVal, QualType RValTy, 4281 void EmitAtomicUpdate(LValue LVal, llvm::AtomicOrdering AO,
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | InvalidatedIteratorChecker.cpp | 88 SVal LVal = State->getSVal(BO->getLHS(), C.getLocationContext()); in checkPreStmt() local 91 verifyAccess(C, LVal); in checkPreStmt() 98 SVal LVal = State->getSVal(ASE->getLHS(), C.getLocationContext()); in checkPreStmt() local 99 verifyAccess(C, LVal); in checkPreStmt()
|
| H A D | IteratorRangeChecker.cpp | 165 SVal LVal = State->getSVal(BO->getLHS(), C.getLocationContext()); in checkPreStmt() local 168 verifyDereference(C, LVal); in checkPreStmt() 173 verifyRandomIncrOrDecr(C, BinaryOperator::getOverloadedOperator(OK), LVal, in checkPreStmt() 181 SVal LVal = State->getSVal(ASE->getLHS(), C.getLocationContext()); in checkPreStmt() local 182 verifyDereference(C, LVal); in checkPreStmt()
|
| H A D | IteratorModeling.cpp | 102 ConstCFGElementRef Elem, SVal RetVal, SVal LVal, 270 const SVal LVal = State->getSVal(LHS, C.getLocationContext()); in checkPostStmt() local 275 handleComparison(C, BO, C.getCFGElementRef(), Result, LVal, RVal, in checkPostStmt() 287 SVal AmountVal = IsIterOnLHS ? RVal : LVal; in checkPostStmt() 451 SVal LVal, SVal RVal, in handleComparison() argument 458 const auto *LPos = getIteratorPosition(State, LVal); in handleComparison() 480 State = setIteratorPosition(State, LVal, in handleComparison() 482 LPos = getIteratorPosition(State, LVal); in handleComparison()
|
| H A D | MismatchedIteratorChecker.cpp | 196 SVal LVal = State->getSVal(BO->getLHS(), C.getLocationContext()); in checkPreStmt() local 198 verifyMatch(C, LVal, RVal); in checkPreStmt()
|
| H A D | CheckObjCDealloc.cpp | 290 SVal LVal = State->getLValue(PropImpl->getPropertyIvarDecl(), SelfVal); in checkBeginFunction() local 291 std::optional<Loc> LValLoc = LVal.getAs<Loc>(); in checkBeginFunction() 946 SVal LVal = State->getLValue(PropIvarDecl, ReceiverVal); in getValueReleasedByNillingOut() local 947 std::optional<Loc> LValLoc = LVal.getAs<Loc>(); in getValueReleasedByNillingOut()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | APValue.cpp | 1005 const LV &LVal = *((const LV *)(const char *)&Data); in getLValuePath() local 1006 return {LVal.getPath(), LVal.PathLength}; in getLValuePath() 1027 LV &LVal = *((LV *)(char *)&Data); in setLValue() local 1028 LVal.Base = B; in setLValue() 1029 LVal.IsOnePastTheEnd = false; in setLValue() 1030 LVal.Offset = O; in setLValue() 1031 LVal.resizePath((unsigned)-1); in setLValue() 1032 LVal.IsNullPtr = IsNullPtr; in setLValue() 1039 LV &LVal = *((LV *)(char *)&Data); in setLValueUninit() local 1040 LVal.Base = B; in setLValueUninit() [all …]
|
| H A D | ExprConstant.cpp | 2087 static bool IsOpaqueConstantCall(const LValue &LVal) { in IsOpaqueConstantCall() argument 2089 llvm::dyn_cast_if_present<CallExpr>(LVal.Base.dyn_cast<const Expr *>()); in IsOpaqueConstantCall() 2161 static const ValueDecl *GetLValueBaseDecl(const LValue &LVal) { in GetLValueBaseDecl() argument 2162 return LVal.Base.dyn_cast<const ValueDecl*>(); in GetLValueBaseDecl() 2173 static bool GetLValueBaseAsString(const EvalInfo &Info, const LValue &LVal, in GetLValueBaseAsString() argument 2175 const auto *BaseExpr = LVal.Base.dyn_cast<const Expr *>(); in GetLValueBaseAsString() 2341 QualType Type, const LValue &LVal, in CheckLValueConstantExpression() argument 2346 APValue::LValueBase Base = LVal.getLValueBase(); in CheckLValueConstantExpression() 2347 const SubobjectDesignator &Designator = LVal.getLValueDesignator(); in CheckLValueConstantExpression() 2414 LVal.getLValueCallIndex() == 0) && in CheckLValueConstantExpression() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaStmtAsm.cpp | 71 static void emitAndFixInvalidAsmCastLValue(const Expr *LVal, Expr *BadArgument, in emitAndFixInvalidAsmCastLValue() argument 73 S.Diag(LVal->getBeginLoc(), diag::warn_invalid_asm_cast_lvalue) in emitAndFixInvalidAsmCastLValue() 359 const Expr *LVal = OutputExpr->IgnoreParenNoopCasts(Context); in ActOnGCCAsmStmt() local 360 emitAndFixInvalidAsmCastLValue(LVal, OutputExpr, *this); in ActOnGCCAsmStmt()
|
| H A D | SemaOpenACCAtomic.cpp | 79 PD << diag::OACCLValScalar::LVal); in CheckOperandVariable()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | BugReporterVisitors.cpp | 2303 SVal LVal = LVNode->getSVal(Inner); in handle() local 2306 bool LVIsNull = LVState->isNull(LVal).isConstrainedTrue(); in handle() 2312 Result.combineWith(getParentTracker().track(LVal, RR, Opts, SFC)); in handle()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | DiagnosticSemaKinds.td | 13419 "%enum_select<OACCLValScalar>{%LVal{an l-value}|%Scalar{of scalar "
|