Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGAtomic.cpp40 LValue LVal; member in __anonce6b933c0111::AtomicInfo
74 LVal = lvalue; in AtomicInfo()
96 LVal = LValue::MakeBitfield(Address(Addr, IntTy, lvalue.getAlignment()), 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.getPointer(CGF); in getAtomicPointer()
143 else if (LVal.isBitField()) in getAtomicPointer()
144 return LVal.getBitFieldPointer(); in getAtomicPointer()
[all …]
H A DCGStmtOpenMP.cpp3970 LValue LVal = CGF.MakeAddrLValue(CGF.CreateMemTemp(Ty, Name), Ty); in createSectionLVal() local
3972 CGF.EmitStoreThroughLValue(RValue::get(Init), LVal, /*isInit*/ true); in createSectionLVal()
3973 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()
5959 llvm::AtomicOrdering AO, LValue LVal, in emitSimpleAtomicLoad() argument
5961 if (LVal.isGlobalReg()) in emitSimpleAtomicLoad()
5962 return CGF.EmitLoadOfLValue(LVal, Loc); in emitSimpleAtomicLoad()
[all …]
H A DCGOpenMPRuntime.cpp1420 LValue LVal = OMPRegionInfo->getThreadIDVariableLValue(CGF); in getThreadID() local
1425 !isa<llvm::Instruction>(LVal.getPointer(CGF)) || in getThreadID()
1426 cast<llvm::Instruction>(LVal.getPointer(CGF))->getParent() == in getThreadID()
1428 cast<llvm::Instruction>(LVal.getPointer(CGF))->getParent() == in getThreadID()
1430 ThreadID = CGF.EmitLoadOfScalar(LVal, Loc); in getThreadID()
12180 LValue LVal, in emitLastprivateConditionalUpdate() argument
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()
12208 auto &&CodeGen = [&LastIVLVal, &IVLVal, IVVal, &LVal, &LastLVal, in emitLastprivateConditionalUpdate()
[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-src/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-src/gnu/llvm/clang/lib/AST/
H A DAPValue.cpp986 const LV &LVal = *((const LV *)(const char *)&Data); in getLValuePath() local
987 return llvm::ArrayRef(LVal.getPath(), LVal.PathLength); in getLValuePath()
1008 LV &LVal = *((LV *)(char *)&Data); in setLValue() local
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()
1020 LV &LVal = *((LV *)(char *)&Data); in setLValueUninit() local
1021 LVal.Base = B; in setLValueUninit()
[all …]
H A DExprConstant.cpp2035 static const ValueDecl *GetLValueBaseDecl(const LValue &LVal) { in GetLValueBaseDecl() argument
2036 return LVal.Base.dyn_cast<const ValueDecl*>(); in GetLValueBaseDecl()
2129 QualType Type, const LValue &LVal, in CheckLValueConstantExpression() argument
2134 APValue::LValueBase Base = LVal.getLValueBase(); in CheckLValueConstantExpression()
2135 const SubobjectDesignator &Designator = LVal.getLValueDesignator(); in CheckLValueConstantExpression()
2203 LVal.getLValueCallIndex() == 0) && in CheckLValueConstantExpression()
2416 LValue LVal; in CheckEvaluationResult() local
2417 LVal.setFrom(Info.Ctx, Value); in CheckEvaluationResult()
2418 return CheckLValueConstantExpression(Info, DiagLoc, Type, LVal, Kind, in CheckEvaluationResult()
3140 static bool HandleLValueMember(EvalInfo &Info, const Expr *E, LValue &LVal, in HandleLValueMember() argument
[all …]
/openbsd-src/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-src/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-src/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()