Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGAtomic.cpp40 LValue LVal; member in __anone1dfd2bb0111::AtomicInfo
74 LVal = lvalue; in AtomicInfo()
115 LVal = lvalue; in AtomicInfo()
126 LVal = lvalue; in AtomicInfo()
141 if (LVal.isSimple()) in getAtomicPointer()
152 if (LVal.isSimple()) in getAtomicAddress()
215 LVal.getBaseInfo(), LVal.getTBAAInfo()); in projectValue()
305 if (LVal.isBitField()) in CreateTempAlloca()
1616 LValue::MakeBitfield(addr, LVal.getBitFieldInfo(), LVal.getType(), in convertAtomicTempToRValue()
1620 LValue::MakeVectorElt(addr, LVal.getVectorIdx(), LVal.getType(), in convertAtomicTempToRValue()
[all …]
H A DCGStmtOpenMP.cpp3973 return LVal; in createSectionLVal()
6001 LValue LVal, RValue RVal) { in emitSimpleAtomicStore() argument
6002 if (LVal.isGlobalReg()) in emitSimpleAtomicStore()
6003 CGF.EmitStoreThroughGlobalRegLValue(RVal, LVal); in emitSimpleAtomicStore()
6005 CGF.EmitAtomicStore(RVal, LVal, AO, LVal.isVolatile(), /*isInit=*/false); in emitSimpleAtomicStore()
6011 if (LVal.isGlobalReg()) in emitSimpleAtomicLoad()
6012 return CGF.EmitLoadOfLValue(LVal, Loc); in emitSimpleAtomicLoad()
6015 LVal.isVolatile()); in emitSimpleAtomicLoad()
6020 switch (getEvaluationKind(LVal.getType())) { in emitOMPSimpleStore()
6024 LVal); in emitOMPSimpleStore()
[all …]
H A DCGOpenMPRuntime.cpp1420 LValue LVal = OMPRegionInfo->getThreadIDVariableLValue(CGF); in getThreadID() local
1425 !isa<llvm::Instruction>(LVal.getPointer(CGF)) || in getThreadID()
1430 ThreadID = CGF.EmitLoadOfScalar(LVal, Loc); in getThreadID()
11733 CGF.ConvertTypeForMem(LVal.getType()), UniqueDeclName); in emitLastprivateConditionalUpdate()
11734 Last->setAlignment(LVal.getAlignment().getAsAlign()); in emitLastprivateConditionalUpdate()
11736 Address(Last, Last->getValueType(), LVal.getAlignment()), LVal.getType()); in emitLastprivateConditionalUpdate()
11771 switch (CGF.getEvaluationKind(LVal.getType())) { in emitLastprivateConditionalUpdate()
11773 llvm::Value *PrivVal = CGF.EmitLoadOfScalar(LVal, Loc); in emitLastprivateConditionalUpdate()
11841 LValue LVal = CGF.EmitLValue(FoundE); in checkAndEmitLastprivateConditional() local
11881 LValue LVal; in checkAndEmitSharedLastprivateConditional() local
[all …]
H A DCGExprComplex.cpp1437 LValue LVal = ComplexExprEmitter(*this).EmitBinAssignLValue(E, Val); in EmitComplexAssignmentLValue() local
1441 return LVal; in EmitComplexAssignmentLValue()
H A DCGOpenMPRuntime.h607 StringRef UniqueDeclName, LValue LVal,
H A DCodeGenFunction.h3435 void emitOMPSimpleStore(LValue LVal, RValue RVal, QualType RValTy,
3917 void EmitAtomicUpdate(LValue LVal, llvm::AtomicOrdering AO,
/freebsd-14.2/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.cpp160 SVal LVal = State->getSVal(BO->getLHS(), C.getLocationContext()); in checkPreStmt() local
163 verifyDereference(C, LVal); in checkPreStmt()
168 verifyRandomIncrOrDecr(C, BinaryOperator::getOverloadedOperator(OK), LVal, in checkPreStmt()
176 SVal LVal = State->getSVal(ASE->getLHS(), C.getLocationContext()); in checkPreStmt() local
177 verifyDereference(C, LVal); in checkPreStmt()
H A DIteratorModeling.cpp103 SVal LVal, SVal RVal, OverloadedOperatorKind Op) const;
268 const SVal LVal = State->getSVal(LHS, C.getLocationContext()); in checkPostStmt() local
273 handleComparison(C, BO, Result, LVal, RVal, in checkPostStmt()
285 SVal AmountVal = IsIterOnLHS ? RVal : LVal; in checkPostStmt()
446 SVal RetVal, SVal LVal, SVal RVal, in handleComparison() argument
453 const auto *LPos = getIteratorPosition(State, LVal); in handleComparison()
475 State = setIteratorPosition(State, LVal, in handleComparison()
477 LPos = getIteratorPosition(State, LVal); in handleComparison()
H A DMismatchedIteratorChecker.cpp190 SVal LVal = State->getSVal(BO->getLHS(), C.getLocationContext()); in checkPreStmt() local
192 verifyMatch(C, LVal, RVal); in checkPreStmt()
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-14.2/contrib/llvm-project/clang/lib/AST/
H A DAPValue.cpp993 return llvm::ArrayRef(LVal.getPath(), LVal.PathLength); in getLValuePath()
1015 LVal.Base = B; in setLValue()
1016 LVal.IsOnePastTheEnd = false; in setLValue()
1017 LVal.Offset = O; in setLValue()
1018 LVal.resizePath((unsigned)-1); in setLValue()
1019 LVal.IsNullPtr = IsNullPtr; in setLValue()
1027 LVal.Base = B; in setLValueUninit()
1029 LVal.Offset = O; in setLValueUninit()
1030 LVal.IsNullPtr = IsNullPtr; in setLValueUninit()
1031 LVal.resizePath(Size); in setLValueUninit()
[all …]
H A DExprConstant.cpp2503 LValue LVal; in CheckEvaluationResult() local
4512 LValue LVal; in foundPointer() local
4663 LValue LVal; in foundPointer() local
5887 LValue LVal; in HandleCovariantReturnAdjustment() local
8211 LValue LVal; in VisitUnaryPostIncDec() local
9291 LValue LVal; in VisitCastExpr() local
12079 LValue LVal; in tryEvaluateBuiltinObjectSize() local
15655 LValue LVal; in EvaluateDestruction() local
15656 LVal.set(Base); in EvaluateDestruction()
15704 LValue LVal; in EvaluateAsConstantExpr() local
[all …]
/freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp2347 SVal LVal = LVNode->getSVal(Inner); in handle() local
2350 bool LVIsNull = LVState->isNull(LVal).isConstrainedTrue(); in handle()
2356 Result.combineWith(getParentTracker().track(LVal, RR, Opts, SFC)); in handle()