Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGAtomic.cpp40 LValue LVal; member in __anondd1f4e750111::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()
1509 LValue::MakeBitfield(addr, LVal.getBitFieldInfo(), LVal.getType(), in convertAtomicTempToRValue()
1513 LValue::MakeVectorElt(addr, LVal.getVectorIdx(), LVal.getType(), in convertAtomicTempToRValue()
[all …]
H A DCGStmtOpenMP.cpp3915 return LVal; in createSectionLVal()
5887 LValue LVal, RValue RVal) { in emitSimpleAtomicStore() argument
5888 if (LVal.isGlobalReg()) in emitSimpleAtomicStore()
5889 CGF.EmitStoreThroughGlobalRegLValue(RVal, LVal); in emitSimpleAtomicStore()
5891 CGF.EmitAtomicStore(RVal, LVal, AO, LVal.isVolatile(), /*isInit=*/false); in emitSimpleAtomicStore()
5897 if (LVal.isGlobalReg()) in emitSimpleAtomicLoad()
5898 return CGF.EmitLoadOfLValue(LVal, Loc); in emitSimpleAtomicLoad()
5901 LVal.isVolatile()); in emitSimpleAtomicLoad()
5906 switch (getEvaluationKind(LVal.getType())) { in emitOMPSimpleStore()
5910 LVal); in emitOMPSimpleStore()
[all …]
H A DCGOpenMPRuntime.cpp1423 LValue LVal = OMPRegionInfo->getThreadIDVariableLValue(CGF); in getThreadID() local
1428 !isa<llvm::Instruction>(LVal.getPointer(CGF)) || in getThreadID()
1433 ThreadID = CGF.EmitLoadOfScalar(LVal, Loc); in getThreadID()
12582 CGF.ConvertTypeForMem(LVal.getType()), UniqueDeclName); in emitLastprivateConditionalUpdate()
12583 Last->setAlignment(LVal.getAlignment().getAsAlign()); in emitLastprivateConditionalUpdate()
12585 Address(Last, Last->getValueType(), LVal.getAlignment()), LVal.getType()); in emitLastprivateConditionalUpdate()
12620 switch (CGF.getEvaluationKind(LVal.getType())) { in emitLastprivateConditionalUpdate()
12622 llvm::Value *PrivVal = CGF.EmitLoadOfScalar(LVal, Loc); in emitLastprivateConditionalUpdate()
12690 LValue LVal = CGF.EmitLValue(FoundE); in checkAndEmitLastprivateConditional() local
12730 LValue LVal; in checkAndEmitSharedLastprivateConditional() local
[all …]
H A DCGExprComplex.cpp1153 LValue LVal = ComplexExprEmitter(*this).EmitBinAssignLValue(E, Val); in EmitComplexAssignmentLValue() local
1157 return LVal; in EmitComplexAssignmentLValue()
H A DCGOpenMPRuntime.h898 StringRef UniqueDeclName, LValue LVal,
H A DCodeGenFunction.h3348 void emitOMPSimpleStore(LValue LVal, RValue RVal, QualType RValTy,
3805 void EmitAtomicUpdate(LValue LVal, llvm::AtomicOrdering AO,
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DInvalidatedIteratorChecker.cpp93 SVal LVal = State->getSVal(BO->getLHS(), C.getLocationContext()); in checkPreStmt() local
96 verifyAccess(C, LVal); in checkPreStmt()
103 SVal LVal = State->getSVal(ASE->getLHS(), C.getLocationContext()); in checkPreStmt() local
104 verifyAccess(C, LVal); in checkPreStmt()
H A DIteratorRangeChecker.cpp166 SVal LVal = State->getSVal(BO->getLHS(), C.getLocationContext()); in checkPreStmt() local
169 verifyDereference(C, LVal); in checkPreStmt()
174 verifyRandomIncrOrDecr(C, BinaryOperator::getOverloadedOperator(OK), LVal, in checkPreStmt()
182 SVal LVal = State->getSVal(ASE->getLHS(), C.getLocationContext()); in checkPreStmt() local
183 verifyDereference(C, LVal); in checkPreStmt()
H A DIteratorModeling.cpp102 const SVal &LVal, const SVal &RVal,
268 const SVal LVal = State->getSVal(LHS, C.getLocationContext()); in checkPostStmt() local
273 handleComparison(C, BO, Result, LVal, RVal, in checkPostStmt()
285 const SVal &AmountVal = IsIterOnLHS ? RVal : LVal; in checkPostStmt()
449 SVal RetVal, const SVal &LVal, in handleComparison() argument
457 const auto *LPos = getIteratorPosition(State, LVal); in handleComparison()
479 State = setIteratorPosition(State, LVal, in handleComparison()
481 LPos = getIteratorPosition(State, LVal); in handleComparison()
H A DMismatchedIteratorChecker.cpp198 SVal LVal = State->getSVal(BO->getLHS(), C.getLocationContext()); in checkPreStmt() local
200 verifyMatch(C, LVal, RVal); in checkPreStmt()
H A DCheckObjCDealloc.cpp284 SVal LVal = State->getLValue(PropImpl->getPropertyIvarDecl(), SelfVal); in checkBeginFunction() local
285 Optional<Loc> LValLoc = LVal.getAs<Loc>(); in checkBeginFunction()
955 SVal LVal = State->getLValue(PropIvarDecl, ReceiverVal); in getValueReleasedByNillingOut() local
956 Optional<Loc> LValLoc = LVal.getAs<Loc>(); in getValueReleasedByNillingOut()
/llvm-project-15.0.7/clang/lib/AST/
H A DAPValue.cpp987 return llvm::makeArrayRef(LVal.getPath(), LVal.PathLength); in getLValuePath()
1009 LVal.Base = B; in setLValue()
1010 LVal.IsOnePastTheEnd = false; in setLValue()
1011 LVal.Offset = O; in setLValue()
1012 LVal.resizePath((unsigned)-1); in setLValue()
1013 LVal.IsNullPtr = IsNullPtr; in setLValue()
1021 LVal.Base = B; in setLValueUninit()
1023 LVal.Offset = O; in setLValueUninit()
1024 LVal.IsNullPtr = IsNullPtr; in setLValueUninit()
1025 LVal.resizePath(Size); in setLValueUninit()
[all …]
H A DExprConstant.cpp2415 LValue LVal; in CheckEvaluationResult() local
4442 LValue LVal; in foundPointer() local
4591 LValue LVal; in foundPointer() local
5794 LValue LVal; in HandleCovariantReturnAdjustment() local
7935 LValue LVal; in VisitUnaryPostIncDec() local
8977 LValue LVal; in VisitCastExpr() local
11713 LValue LVal; in tryEvaluateBuiltinObjectSize() local
15073 LValue LVal; in EvaluateDestruction() local
15074 LVal.set(Base); in EvaluateDestruction()
15107 LValue LVal; in EvaluateAsConstantExpr() local
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.monadic/
H A Dtransform.pass.cpp26 struct LVal { struct
100 assert(i.transform(LVal{}) == 1); in test_val_types()
101 ASSERT_SAME_TYPE(decltype(i.transform(LVal{})), std::optional<int>); in test_val_types()
H A Dand_then.pass.cpp26 struct LVal { struct
154 assert(i.and_then(LVal{}) == 1); in test_val_types()
156 ASSERT_SAME_TYPE(decltype(i.and_then(LVal{})), std::optional<int>); in test_val_types()
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dstore-constant.ll7 @LVal = external local_unnamed_addr global i64, align 8
80 store i64 -7, i64* @LVal, align 8
106 store i64 8, i64* @LVal, align 8
128 store i64 -32768, i64* @LVal, align 8
150 store i64 32767, i64* @LVal, align 8
169 store i64 -32769, i64* @LVal, align 8
192 store i64 32768, i64* @LVal, align 8
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaStmtAsm.cpp70 static void emitAndFixInvalidAsmCastLValue(const Expr *LVal, Expr *BadArgument, in emitAndFixInvalidAsmCastLValue() argument
73 S.Diag(LVal->getBeginLoc(), diag::err_invalid_asm_cast_lvalue) in emitAndFixInvalidAsmCastLValue()
76 S.Diag(LVal->getBeginLoc(), diag::warn_invalid_asm_cast_lvalue) in emitAndFixInvalidAsmCastLValue()
323 const Expr *LVal = OutputExpr->IgnoreParenNoopCasts(Context); in ActOnGCCAsmStmt() local
324 emitAndFixInvalidAsmCastLValue(LVal, OutputExpr, *this); in ActOnGCCAsmStmt()
/llvm-project-15.0.7/clang/unittests/Analysis/FlowSensitive/
H A DTransferTest.cpp3433 auto *LVal = in TEST() local
3435 ASSERT_THAT(LVal, NotNull()); in TEST()
3437 EXPECT_EQ(&LVal->getPointeeLoc(), in TEST()
3441 LVal = in TEST()
3443 ASSERT_THAT(LVal, NotNull()); in TEST()
3447 EXPECT_NE(&LVal->getPointeeLoc(), in TEST()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp2170 SVal LVal = LVNode->getSVal(Inner); in handle() local
2173 bool LVIsNull = LVState->isNull(LVal).isConstrainedTrue(); in handle()
2179 Result.combineWith(getParentTracker().track(LVal, RR, Opts, SFC)); in handle()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp2784 static bool isCompatibleIVType(Value *LVal, Value *RVal) { in isCompatibleIVType() argument
2785 Type *LType = LVal->getType(); in isCompatibleIVType()