Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGAtomic.cpp40 LValue LVal; member in __anon382cfbf20111::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.cpp3973 return LVal; in createSectionLVal()
5951 LValue LVal, RValue RVal) { in emitSimpleAtomicStore() argument
5952 if (LVal.isGlobalReg()) in emitSimpleAtomicStore()
5953 CGF.EmitStoreThroughGlobalRegLValue(RVal, LVal); in emitSimpleAtomicStore()
5955 CGF.EmitAtomicStore(RVal, LVal, AO, LVal.isVolatile(), /*isInit=*/false); in emitSimpleAtomicStore()
5961 if (LVal.isGlobalReg()) in emitSimpleAtomicLoad()
5962 return CGF.EmitLoadOfLValue(LVal, Loc); in emitSimpleAtomicLoad()
5965 LVal.isVolatile()); in emitSimpleAtomicLoad()
5970 switch (getEvaluationKind(LVal.getType())) { in emitOMPSimpleStore()
5974 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()
12194 CGF.ConvertTypeForMem(LVal.getType()), UniqueDeclName); in emitLastprivateConditionalUpdate()
12195 Last->setAlignment(LVal.getAlignment().getAsAlign()); in emitLastprivateConditionalUpdate()
12197 Address(Last, Last->getValueType(), LVal.getAlignment()), LVal.getType()); in emitLastprivateConditionalUpdate()
12232 switch (CGF.getEvaluationKind(LVal.getType())) { in emitLastprivateConditionalUpdate()
12234 llvm::Value *PrivVal = CGF.EmitLoadOfScalar(LVal, Loc); in emitLastprivateConditionalUpdate()
12302 LValue LVal = CGF.EmitLValue(FoundE); in checkAndEmitLastprivateConditional() local
12342 LValue LVal; in checkAndEmitSharedLastprivateConditional() local
[all …]
H A DCGExprComplex.cpp1326 LValue LVal = ComplexExprEmitter(*this).EmitBinAssignLValue(E, Val); in EmitComplexAssignmentLValue() local
1330 return LVal; in EmitComplexAssignmentLValue()
H A DCGOpenMPRuntime.h671 StringRef UniqueDeclName, LValue LVal,
H A DCodeGenFunction.h3350 void emitOMPSimpleStore(LValue LVal, RValue RVal, QualType RValTy,
3808 void EmitAtomicUpdate(LValue LVal, llvm::AtomicOrdering AO,
/openbsd/gnu/llvm/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.cpp200 SVal LVal = State->getSVal(BO->getLHS(), C.getLocationContext()); in checkPreStmt() local
202 verifyMatch(C, LVal, RVal); in checkPreStmt()
H A DCheckObjCDealloc.cpp285 SVal LVal = State->getLValue(PropImpl->getPropertyIvarDecl(), SelfVal); in checkBeginFunction() local
286 std::optional<Loc> LValLoc = LVal.getAs<Loc>(); in checkBeginFunction()
956 SVal LVal = State->getLValue(PropIvarDecl, ReceiverVal); in getValueReleasedByNillingOut() local
957 std::optional<Loc> LValLoc = LVal.getAs<Loc>(); in getValueReleasedByNillingOut()
/openbsd/gnu/llvm/clang/lib/AST/
H A DAPValue.cpp987 return llvm::ArrayRef(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.cpp2416 LValue LVal; in CheckEvaluationResult() local
4444 LValue LVal; in foundPointer() local
4593 LValue LVal; in foundPointer() local
5802 LValue LVal; in HandleCovariantReturnAdjustment() local
7948 LValue LVal; in VisitUnaryPostIncDec() local
8998 LValue LVal; in VisitCastExpr() local
11802 LValue LVal; in tryEvaluateBuiltinObjectSize() local
15298 LValue LVal; in EvaluateDestruction() local
15299 LVal.set(Base); in EvaluateDestruction()
15336 LValue LVal; in EvaluateAsConstantExpr() local
[all …]
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaStmtAsm.cpp71 static void emitAndFixInvalidAsmCastLValue(const Expr *LVal, Expr *BadArgument, in emitAndFixInvalidAsmCastLValue() argument
74 S.Diag(LVal->getBeginLoc(), diag::err_invalid_asm_cast_lvalue) in emitAndFixInvalidAsmCastLValue()
77 S.Diag(LVal->getBeginLoc(), diag::warn_invalid_asm_cast_lvalue) in emitAndFixInvalidAsmCastLValue()
324 const Expr *LVal = OutputExpr->IgnoreParenNoopCasts(Context); in ActOnGCCAsmStmt() local
325 emitAndFixInvalidAsmCastLValue(LVal, OutputExpr, *this); in ActOnGCCAsmStmt()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp2330 SVal LVal = LVNode->getSVal(Inner); in handle() local
2333 bool LVIsNull = LVState->isNull(LVal).isConstrainedTrue(); in handle()
2339 Result.combineWith(getParentTracker().track(LVal, RR, Opts, SFC)); in handle()
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp2792 static bool isCompatibleIVType(Value *LVal, Value *RVal) { in isCompatibleIVType() argument
2793 Type *LType = LVal->getType(); in isCompatibleIVType()