Home
last modified time | relevance | path

Searched refs:LVal (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGAtomic.cpp40 LValue LVal; member in __anon5e56f1450111::AtomicInfo
74 LVal = lvalue; in AtomicInfo()
96 LVal = LValue::MakeBitfield( in AtomicInfo()
115 LVal = lvalue; in AtomicInfo()
126 LVal = lvalue; in AtomicInfo()
139 const LValue &getAtomicLValue() const { return LVal; } in getAtomicLValue()
141 if (LVal.isSimple()) in getAtomicPointer()
142 return LVal.emitRawPointer(CGF); in getAtomicPointer()
143 else if (LVal.isBitField()) in getAtomicPointer()
144 return LVal.getRawBitFieldPointer(CGF); in getAtomicPointer()
[all …]
H A DCGStmtOpenMP.cpp4015 LValue LVal = CGF.MakeAddrLValue(CGF.CreateMemTemp(Ty, Name), Ty); in createSectionLVal() local
4017 CGF.EmitStoreThroughLValue(RValue::get(Init), LVal, /*isInit*/ true); in createSectionLVal()
4018 return LVal; in createSectionLVal()
6055 LValue LVal, RValue RVal) { in emitSimpleAtomicStore() argument
6056 if (LVal.isGlobalReg()) in emitSimpleAtomicStore()
6057 CGF.EmitStoreThroughGlobalRegLValue(RVal, LVal); in emitSimpleAtomicStore()
6059 CGF.EmitAtomicStore(RVal, LVal, AO, LVal.isVolatile(), /*isInit=*/false); in emitSimpleAtomicStore()
6063 llvm::AtomicOrdering AO, LValue LVal, in emitSimpleAtomicLoad() argument
6065 if (LVal.isGlobalReg()) in emitSimpleAtomicLoad()
6066 return CGF.EmitLoadOfLValue(LVal, Loc); in emitSimpleAtomicLoad()
[all …]
H A DCGOpenMPRuntime.cpp1422 LValue LVal = OMPRegionInfo->getThreadIDVariableLValue(CGF); in getThreadID() local
1427 !isa<llvm::Instruction>(LVal.getPointer(CGF)) || in getThreadID()
1428 cast<llvm::Instruction>(LVal.getPointer(CGF))->getParent() == in getThreadID()
1430 cast<llvm::Instruction>(LVal.getPointer(CGF))->getParent() == in getThreadID()
1432 ThreadID = CGF.EmitLoadOfScalar(LVal, Loc); in getThreadID()
11748 LValue LVal, in emitLastprivateConditionalUpdate() argument
11763 CGF.ConvertTypeForMem(LVal.getType()), UniqueDeclName); in emitLastprivateConditionalUpdate()
11765 LVal.getAlignment().getAsAlign()); in emitLastprivateConditionalUpdate()
11767 CGF.MakeRawAddrLValue(Last, LVal.getType(), LVal.getAlignment()); in emitLastprivateConditionalUpdate()
11778 auto &&CodeGen = [&LastIVLVal, &IVLVal, IVVal, &LVal, &LastLVal, in emitLastprivateConditionalUpdate()
[all …]
H A DCGExprComplex.cpp1514 LValue LVal = ComplexExprEmitter(*this).EmitBinAssignLValue(E, Val); in EmitComplexAssignmentLValue() local
1518 return LVal; in EmitComplexAssignmentLValue()
H A DCGOpenMPRuntime.h607 StringRef UniqueDeclName, LValue LVal,
H A DCodeGenFunction.h3661 void emitOMPSimpleStore(LValue LVal, RValue RVal, QualType RValTy,
4163 void EmitAtomicUpdate(LValue LVal, llvm::AtomicOrdering AO,
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DInvalidatedIteratorChecker.cpp88 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 DIteratorRangeChecker.cpp165 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 DIteratorModeling.cpp103 SVal LVal, SVal RVal, OverloadedOperatorKind Op) const;
269 const SVal LVal = State->getSVal(LHS, C.getLocationContext()); in checkPostStmt() local
274 handleComparison(C, BO, Result, LVal, RVal, in checkPostStmt()
286 SVal AmountVal = IsIterOnLHS ? RVal : LVal; in checkPostStmt()
447 SVal RetVal, SVal LVal, SVal RVal, in handleComparison() argument
454 const auto *LPos = getIteratorPosition(State, LVal); in handleComparison()
476 State = setIteratorPosition(State, LVal, in handleComparison()
478 LPos = getIteratorPosition(State, LVal); in handleComparison()
H A DCheckObjCDealloc.cpp290 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 DAPValue.cpp996 const LV &LVal = *((const LV *)(const char *)&Data); in getLValuePath() local
997 return llvm::ArrayRef(LVal.getPath(), LVal.PathLength); in getLValuePath()
1018 LV &LVal = *((LV *)(char *)&Data); in setLValue() local
1019 LVal.Base = B; in setLValue()
1020 LVal.IsOnePastTheEnd = false; in setLValue()
1021 LVal.Offset = O; in setLValue()
1022 LVal.resizePath((unsigned)-1); in setLValue()
1023 LVal.IsNullPtr = IsNullPtr; in setLValue()
1030 LV &LVal = *((LV *)(char *)&Data); in setLValueUninit() local
1031 LVal.Base = B; in setLValueUninit()
[all …]
H A DExprConstant.cpp2118 static const ValueDecl *GetLValueBaseDecl(const LValue &LVal) { in GetLValueBaseDecl() argument
2119 return LVal.Base.dyn_cast<const ValueDecl*>(); in GetLValueBaseDecl()
2213 QualType Type, const LValue &LVal, in CheckLValueConstantExpression() argument
2218 APValue::LValueBase Base = LVal.getLValueBase(); in CheckLValueConstantExpression()
2219 const SubobjectDesignator &Designator = LVal.getLValueDesignator(); in CheckLValueConstantExpression()
2286 LVal.getLValueCallIndex() == 0) && in CheckLValueConstantExpression()
2510 LValue LVal; in CheckEvaluationResult() local
2511 LVal.setFrom(Info.Ctx, Value); in CheckEvaluationResult()
2512 return CheckLValueConstantExpression(Info, DiagLoc, Type, LVal, Kind, in CheckEvaluationResult()
3209 static bool HandleLValueMember(EvalInfo &Info, const Expr *E, LValue &LVal, in HandleLValueMember() argument
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmtAsm.cpp72 static void emitAndFixInvalidAsmCastLValue(const Expr *LVal, Expr *BadArgument, in emitAndFixInvalidAsmCastLValue() argument
75 S.Diag(LVal->getBeginLoc(), diag::err_invalid_asm_cast_lvalue) in emitAndFixInvalidAsmCastLValue()
78 S.Diag(LVal->getBeginLoc(), diag::warn_invalid_asm_cast_lvalue) in emitAndFixInvalidAsmCastLValue()
326 const Expr *LVal = OutputExpr->IgnoreParenNoopCasts(Context); in ActOnGCCAsmStmt() local
327 emitAndFixInvalidAsmCastLValue(LVal, OutputExpr, *this); in ActOnGCCAsmStmt()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp2351 SVal LVal = LVNode->getSVal(Inner); in handle() local
2354 bool LVIsNull = LVState->isNull(LVal).isConstrainedTrue(); in handle()
2360 Result.combineWith(getParentTracker().track(LVal, RR, Opts, SFC)); in handle()