Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGAtomic.cpp40 LValue LVal; member in __anon7c18b1790111::AtomicInfo
74 LVal = lvalue; in AtomicInfo()
116 LVal = lvalue; in AtomicInfo()
127 LVal = lvalue; in AtomicInfo()
142 if (LVal.isSimple()) in getAtomicPointer()
207 LVal.getBaseInfo(), LVal.getTBAAInfo()); in projectValue()
297 if (LVal.isBitField()) in CreateTempAlloca()
1438 if (LVal.isSimple()) { in convertAtomicTempToRValue()
1455 LValue::MakeBitfield(addr, LVal.getBitFieldInfo(), LVal.getType(), in convertAtomicTempToRValue()
1459 LValue::MakeVectorElt(addr, LVal.getVectorIdx(), LVal.getType(), in convertAtomicTempToRValue()
[all …]
H A DCGStmtOpenMP.cpp3672 return LVal; in createSectionLVal()
5383 LValue LVal, RValue RVal) { in emitSimpleAtomicStore() argument
5384 if (LVal.isGlobalReg()) in emitSimpleAtomicStore()
5385 CGF.EmitStoreThroughGlobalRegLValue(RVal, LVal); in emitSimpleAtomicStore()
5387 CGF.EmitAtomicStore(RVal, LVal, AO, LVal.isVolatile(), /*isInit=*/false); in emitSimpleAtomicStore()
5393 if (LVal.isGlobalReg()) in emitSimpleAtomicLoad()
5394 return CGF.EmitLoadOfLValue(LVal, Loc); in emitSimpleAtomicLoad()
5397 LVal.isVolatile()); in emitSimpleAtomicLoad()
5402 switch (getEvaluationKind(LVal.getType())) { in emitOMPSimpleStore()
5406 LVal); in emitOMPSimpleStore()
[all …]
H A DCGOpenMPRuntime.cpp1487 LValue LVal = OMPRegionInfo->getThreadIDVariableLValue(CGF); in getThreadID() local
1492 !isa<llvm::Instruction>(LVal.getPointer(CGF)) || in getThreadID()
1497 ThreadID = CGF.EmitLoadOfScalar(LVal, Loc); in getThreadID()
12568 CGF.ConvertTypeForMem(LVal.getType()), UniqueDeclName); in emitLastprivateConditionalUpdate()
12570 LVal.getAlignment().getAsAlign()); in emitLastprivateConditionalUpdate()
12572 CGF.MakeAddrLValue(Last, LVal.getType(), LVal.getAlignment()); in emitLastprivateConditionalUpdate()
12607 switch (CGF.getEvaluationKind(LVal.getType())) { in emitLastprivateConditionalUpdate()
12609 llvm::Value *PrivVal = CGF.EmitLoadOfScalar(LVal, Loc); in emitLastprivateConditionalUpdate()
12676 LValue LVal = CGF.EmitLValue(FoundE); in checkAndEmitLastprivateConditional() local
12716 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.h907 StringRef UniqueDeclName, LValue LVal,
H A DCodeGenFunction.h3290 void emitOMPSimpleStore(LValue LVal, RValue RVal, QualType RValTy,
3740 void EmitAtomicUpdate(LValue LVal, llvm::AtomicOrdering AO,
/freebsd-13.1/contrib/llvm-project/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.cpp101 const SVal &LVal, const SVal &RVal,
269 const SVal LVal = State->getSVal(LHS, C.getLocationContext()); in checkPostStmt() local
274 handleComparison(C, BO, Result, LVal, RVal, in checkPostStmt()
286 const SVal &AmountVal = IsIterOnLHS ? RVal : LVal; in checkPostStmt()
450 SVal RetVal, const SVal &LVal, 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 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()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DAPValue.cpp916 return llvm::makeArrayRef(LVal.getPath(), LVal.PathLength); in getLValuePath()
938 LVal.Base = B; in setLValue()
939 LVal.IsOnePastTheEnd = false; in setLValue()
940 LVal.Offset = O; in setLValue()
941 LVal.resizePath((unsigned)-1); in setLValue()
942 LVal.IsNullPtr = IsNullPtr; in setLValue()
950 LVal.Base = B; in setLValueUninit()
952 LVal.Offset = O; in setLValueUninit()
953 LVal.IsNullPtr = IsNullPtr; in setLValueUninit()
954 LVal.resizePath(Size); in setLValueUninit()
[all …]
H A DExprConstant.cpp2398 LValue LVal; in CheckEvaluationResult() local
4394 LValue LVal; in foundPointer() local
4543 LValue LVal; in foundPointer() local
5712 LValue LVal; in HandleCovariantReturnAdjustment() local
7847 LValue LVal; in VisitUnaryPostIncDec() local
8848 LValue LVal; in VisitCastExpr() local
11449 LValue LVal; in tryEvaluateBuiltinObjectSize() local
14841 LValue LVal; in EvaluateDestruction() local
14842 LVal.set(Base); in EvaluateDestruction()
14875 LValue LVal; in EvaluateAsConstantExpr() local
[all …]
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp2089 SVal LVal = LVNode->getSVal(Inner); in handle() local
2092 bool LVIsNull = LVState->isNull(LVal).isConstrainedTrue(); in handle()
2098 Result.combineWith(getParentTracker().track(LVal, RR, Opts, SFC)); in handle()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp2781 static bool isCompatibleIVType(Value *LVal, Value *RVal) { in isCompatibleIVType() argument
2782 Type *LType = LVal->getType(); in isCompatibleIVType()